Skip to content

Commit

Permalink
3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Conner committed Oct 6, 2016
1 parent baa0b1f commit f065dd9
Show file tree
Hide file tree
Showing 22 changed files with 321 additions and 2,227 deletions.
6 changes: 3 additions & 3 deletions dist/client.js
Expand Up @@ -47,19 +47,19 @@ var Client = exports.Client = function () {

if (options.apiHostname && (0, _isString2.default)(options.apiHostname)) {
var apiHostnameParsed = _url2.default.parse(options.apiHostname);
options.apiProtocol = apiHostnameParsed.protocol;
options.apiProtocol = apiHostnameParsed.protocol || 'https:';
options.apiHost = apiHostnameParsed.host;
}

if (options.micHostname && (0, _isString2.default)(options.micHostname)) {
var micHostnameParsed = _url2.default.parse(options.micHostname);
options.micProtocol = micHostnameParsed.protocol;
options.micProtocol = micHostnameParsed.protocol || 'https:';
options.micHost = micHostnameParsed.host;
}

if (options.liveServiceHostname && (0, _isString2.default)(options.liveServiceHostname)) {
var liveServiceHostnameParsed = _url2.default.parse(options.liveServiceHostname);
options.liveServiceProtocol = liveServiceHostnameParsed.protocol;
options.liveServiceProtocol = liveServiceHostnameParsed.protocol || 'https:';
options.liveServiceHost = liveServiceHostnameParsed.host;
}

Expand Down
2 changes: 2 additions & 0 deletions dist/datastore/src/cachestore.js
Expand Up @@ -683,6 +683,7 @@ var CacheStore = exports.CacheStore = function (_NetworkStore) {

var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

options = (0, _assign2.default)({ useDeltaFetch: this.useDeltaFetch }, options);
return this.syncManager.pull(query, options).then(function (entities) {
return _this10.clear(query, options).then(function () {
var saveRequest = new _request.CacheRequest({
Expand All @@ -706,6 +707,7 @@ var CacheStore = exports.CacheStore = function (_NetworkStore) {
}, {
key: 'sync',
value: function sync(query, options) {
options = (0, _assign2.default)({ useDeltaFetch: this.useDeltaFetch }, options);
return this.syncManager.sync(query, options);
}
}, {
Expand Down

0 comments on commit f065dd9

Please sign in to comment.