twilio-sync
Advanced tools
Comparing version 0.3.0-rc9 to 0.3.0
@@ -279,9 +279,8 @@ 'use strict'; | ||
var _decompose = decompose(arg); | ||
var _decompose = decompose(arg), | ||
id = _decompose.id, | ||
purpose = _decompose.purpose, | ||
data = _decompose.data, | ||
mode = _decompose.mode; | ||
var id = _decompose.id; | ||
var purpose = _decompose.purpose; | ||
var data = _decompose.data; | ||
var mode = _decompose.mode; | ||
return this._getCached(id, 'doc') || this._getDocument(id).then(function (body) { | ||
@@ -313,9 +312,8 @@ if (body) { | ||
var _decompose2 = decompose(arg); | ||
var _decompose2 = decompose(arg), | ||
id = _decompose2.id, | ||
purpose = _decompose2.purpose, | ||
context = _decompose2.context, | ||
mode = _decompose2.mode; | ||
var id = _decompose2.id; | ||
var purpose = _decompose2.purpose; | ||
var context = _decompose2.context; | ||
var mode = _decompose2.mode; | ||
return this._getCached(id, 'map') || this._getMap(id).then(function (body) { | ||
@@ -347,9 +345,8 @@ if (body) { | ||
var _decompose3 = decompose(arg); | ||
var _decompose3 = decompose(arg), | ||
id = _decompose3.id, | ||
purpose = _decompose3.purpose, | ||
context = _decompose3.context, | ||
mode = _decompose3.mode; | ||
var id = _decompose3.id; | ||
var purpose = _decompose3.purpose; | ||
var context = _decompose3.context; | ||
var mode = _decompose3.mode; | ||
return this._getCached(id, 'list') || this._getList(id).then(function (body) { | ||
@@ -356,0 +353,0 @@ if (body) { |
@@ -6,6 +6,10 @@ 'use strict'; | ||
* since vanilla has the bug in path calculation and maintaner doesn't accept the patch. | ||
* | ||
* | ||
* Should return to the using of original module when situation will change | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _typeof2 = require('babel-runtime/helpers/typeof'); | ||
@@ -257,2 +261,3 @@ | ||
module.exports = JsonDiff; | ||
exports.default = JsonDiff; | ||
module.exports = exports['default']; |
@@ -61,7 +61,6 @@ 'use strict'; | ||
for (var _iterator = (0, _getIterator3.default)(p1), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { | ||
var _step$value = (0, _slicedToArray3.default)(_step.value, 2); | ||
var _step$value = (0, _slicedToArray3.default)(_step.value, 2), | ||
key = _step$value[0], | ||
value = _step$value[1]; | ||
var key = _step$value[0]; | ||
var value = _step$value[1]; | ||
if (!p2.has(key)) { | ||
@@ -124,7 +123,6 @@ result.push({ sid: key, type: value.type }); | ||
this._backoff.on('ready', function () { | ||
var _getAction2 = _this._getAction(); | ||
var _getAction2 = _this._getAction(), | ||
action = _getAction2.action, | ||
list = _getAction2.list; | ||
var action = _getAction2.action; | ||
var list = _getAction2.list; | ||
if (action) { | ||
@@ -326,7 +324,6 @@ _this._request(action, list.map(function (x) { | ||
for (var _iterator2 = (0, _getIterator3.default)(this._persisted), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) { | ||
var _step2$value = (0, _slicedToArray3.default)(_step2.value, 2); | ||
var _step2$value = (0, _slicedToArray3.default)(_step2.value, 2), | ||
key = _step2$value[0], | ||
value = _step2$value[1]; | ||
var key = _step2$value[0]; | ||
var value = _step2$value[1]; | ||
listToRemove.push({ object_sid: key, type: value.type }); // eslint-disable-line camelcase | ||
@@ -333,0 +330,0 @@ } |
{ | ||
"name": "twilio-sync", | ||
"version": "0.3.0-rc9", | ||
"version": "0.3.0", | ||
"description": "Twilio Sync client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1539366
20874