Comparing version 0.1.24 to 0.1.25
@@ -88,4 +88,4 @@ 'use strict'; | ||
_this.subscribes.push(subscribe); | ||
subscribe.subscribe(); | ||
subscribe.on('change', _this.onChange); | ||
subscribe.subscribe(); | ||
subscribe.subscribing = false; | ||
@@ -113,2 +113,4 @@ | ||
_this.schema = createSchema(_this.resolve); | ||
_this.refresh(); | ||
return _this; | ||
@@ -127,2 +129,10 @@ } | ||
case 0: | ||
if (this.schema) { | ||
_context.next = 2; | ||
break; | ||
} | ||
return _context.abrupt('return'); | ||
case 2: | ||
prevData = this.data; | ||
@@ -132,3 +142,3 @@ _iteratorNormalCompletion = true; | ||
_iteratorError = undefined; | ||
_context.prev = 4; | ||
_context.prev = 6; | ||
@@ -143,14 +153,14 @@ | ||
_context.next = 12; | ||
_context.next = 14; | ||
break; | ||
case 8: | ||
_context.prev = 8; | ||
_context.t0 = _context['catch'](4); | ||
case 10: | ||
_context.prev = 10; | ||
_context.t0 = _context['catch'](6); | ||
_didIteratorError = true; | ||
_iteratorError = _context.t0; | ||
case 12: | ||
_context.prev = 12; | ||
_context.prev = 13; | ||
case 14: | ||
_context.prev = 14; | ||
_context.prev = 15; | ||
@@ -161,7 +171,7 @@ if (!_iteratorNormalCompletion && _iterator.return) { | ||
case 15: | ||
_context.prev = 15; | ||
case 17: | ||
_context.prev = 17; | ||
if (!_didIteratorError) { | ||
_context.next = 18; | ||
_context.next = 20; | ||
break; | ||
@@ -172,9 +182,9 @@ } | ||
case 18: | ||
return _context.finish(15); | ||
case 20: | ||
return _context.finish(17); | ||
case 19: | ||
return _context.finish(12); | ||
case 21: | ||
return _context.finish(14); | ||
case 20: | ||
case 22: | ||
_queryOptions = this.queryOptions; | ||
@@ -187,6 +197,6 @@ rootValue = _queryOptions.rootValue; | ||
documentAST = parse(source); | ||
_context.next = 29; | ||
_context.next = 31; | ||
return execute(this.schema, documentAST, rootValue, contextValue, variableValues, operationName); | ||
case 29: | ||
case 31: | ||
_ref = _context.sent; | ||
@@ -201,3 +211,3 @@ data = _ref.data; | ||
case 33: | ||
case 35: | ||
case 'end': | ||
@@ -207,3 +217,3 @@ return _context.stop(); | ||
} | ||
}, _callee, this, [[4, 8, 12, 20], [13,, 15, 19]]); | ||
}, _callee, this, [[6, 10, 14, 22], [15,, 17, 21]]); | ||
})); | ||
@@ -210,0 +220,0 @@ |
{ | ||
"name": "amelisa", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Data engine with offline and realtime", | ||
@@ -62,6 +62,6 @@ "browser": "lib/web", | ||
"babel-cli": "^6.6.5", | ||
"babel-core": "^6.7.4", | ||
"babel-eslint": "^6.0.3", | ||
"babel-core": "^6.7.7", | ||
"babel-eslint": "^6.0.4", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-plugin-add-module-exports": "^0.2.0", | ||
"babel-plugin-transform-runtime": "^6.6.0", | ||
@@ -79,4 +79,4 @@ "babel-polyfill": "^6.7.4", | ||
"phantomjs2": "^2.2.0", | ||
"snazzy": "^3.0.1", | ||
"standard": "^6.0.8", | ||
"snazzy": "^4.0.0", | ||
"standard": "^7.0.1", | ||
"webpack": "^1.12.9", | ||
@@ -83,0 +83,0 @@ "ws": "^1.1.0" |
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
382964
9799