Skip to content

Commit

Permalink
2017-06-08 3.23.0
Browse files Browse the repository at this point in the history
  * feat(places): Add places.getObject(); fixes algolia/places#381
  • Loading branch information
vvo committed Jun 8, 2017
1 parent 0c9b9c0 commit ebac754
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 24 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
CHANGELOG

2017-06-08 3.23.0
* feat(places): Add places.getObject(); fixes algolia/places#381

2017-05-29 3.22.3
* fix(dependency): Do not pin debug dependency anymore
fixes #556
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "algoliasearch",
"version": "3.22.3",
"version": "3.23.0",
"homepage": "https://github.com/algolia/algoliasearch-client-js",
"authors": [
"Algolia Team <support@algolia.com>"
Expand Down
12 changes: 10 additions & 2 deletions dist/algoliasearch.angular.js
@@ -1,4 +1,4 @@
/*! algoliasearch 3.22.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
/*! algoliasearch 3.23.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

module.exports = function load (src, opts, cb) {
Expand Down Expand Up @@ -6335,6 +6335,14 @@ function createPlacesClient(algoliasearch) {
var client = algoliasearch(appID, apiKey, opts);
var index = client.initIndex('places');
index.search = buildSearchMethod('query', '/1/places/query');
index.getObject = function(objectID, callback) {
return this.as._jsonRequest({
method: 'GET',
url: '/1/places/' + encodeURIComponent(objectID),
hostType: 'read',
callback: callback
});
};
return index;
};
}
Expand Down Expand Up @@ -6432,6 +6440,6 @@ function cleanup() {
},{"1":1}],36:[function(require,module,exports){
'use strict';

module.exports = '3.22.3';
module.exports = '3.23.0';

},{}]},{},[19]);
6 changes: 3 additions & 3 deletions dist/algoliasearch.angular.min.js

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions dist/algoliasearch.jquery.js
@@ -1,4 +1,4 @@
/*! algoliasearch 3.22.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
/*! algoliasearch 3.23.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

module.exports = function load (src, opts, cb) {
Expand Down Expand Up @@ -6281,6 +6281,14 @@ function createPlacesClient(algoliasearch) {
var client = algoliasearch(appID, apiKey, opts);
var index = client.initIndex('places');
index.search = buildSearchMethod('query', '/1/places/query');
index.getObject = function(objectID, callback) {
return this.as._jsonRequest({
method: 'GET',
url: '/1/places/' + encodeURIComponent(objectID),
hostType: 'read',
callback: callback
});
};
return index;
};
}
Expand Down Expand Up @@ -6378,6 +6386,6 @@ function cleanup() {
},{"1":1}],36:[function(require,module,exports){
'use strict';

module.exports = '3.22.3';
module.exports = '3.23.0';

},{}]},{},[19]);
6 changes: 3 additions & 3 deletions dist/algoliasearch.jquery.min.js

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions dist/algoliasearch.js
@@ -1,4 +1,4 @@
/*! algoliasearch 3.22.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
/*! algoliasearch 3.23.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

module.exports = function load (src, opts, cb) {
Expand Down Expand Up @@ -6127,6 +6127,14 @@ function createPlacesClient(algoliasearch) {
var client = algoliasearch(appID, apiKey, opts);
var index = client.initIndex('places');
index.search = buildSearchMethod('query', '/1/places/query');
index.getObject = function(objectID, callback) {
return this.as._jsonRequest({
method: 'GET',
url: '/1/places/' + encodeURIComponent(objectID),
hostType: 'read',
callback: callback
});
};
return index;
};
}
Expand Down Expand Up @@ -6224,7 +6232,7 @@ function cleanup() {
},{"1":1}],35:[function(require,module,exports){
'use strict';

module.exports = '3.22.3';
module.exports = '3.23.0';

},{}]},{},[19])(19)
});
6 changes: 3 additions & 3 deletions dist/algoliasearch.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/algoliasearch.parse.js
Expand Up @@ -3656,7 +3656,7 @@ module.exports =



module.exports = '3.22.3';
module.exports = '3.23.0';


/***/ }
Expand Down
12 changes: 10 additions & 2 deletions dist/algoliasearchLite.js
@@ -1,4 +1,4 @@
/*! algoliasearch 3.22.3 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
/*! algoliasearch 3.23.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.algoliasearch = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (process){
/**
Expand Down Expand Up @@ -4048,6 +4048,14 @@ function createPlacesClient(algoliasearch) {
var client = algoliasearch(appID, apiKey, opts);
var index = client.initIndex('places');
index.search = buildSearchMethod('query', '/1/places/query');
index.getObject = function(objectID, callback) {
return this.as._jsonRequest({
method: 'GET',
url: '/1/places/' + encodeURIComponent(objectID),
hostType: 'read',
callback: callback
});
};
return index;
};
}
Expand Down Expand Up @@ -4145,7 +4153,7 @@ function cleanup() {
},{"1":1}],31:[function(require,module,exports){
'use strict';

module.exports = '3.22.3';
module.exports = '3.23.0';

},{}]},{},[15])(15)
});
6 changes: 3 additions & 3 deletions dist/algoliasearchLite.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "algoliasearch",
"version": "3.22.3",
"version": "3.23.0",
"description": "AlgoliaSearch API JavaScript client",
"main": "index.js",
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
@@ -1,3 +1,3 @@
'use strict';

module.exports = '3.22.3';
module.exports = '3.23.0';

0 comments on commit ebac754

Please sign in to comment.