@graffy/react
Advanced tools
Comparing version 0.14.6 to 0.14.7-alpha.5
@@ -21,3 +21,3 @@ "use strict"; | ||
children = _ref.children; | ||
return _react["default"].createElement(GraffyContext.Provider, { | ||
return /*#__PURE__*/_react["default"].createElement(GraffyContext.Provider, { | ||
value: store | ||
@@ -24,0 +24,0 @@ }, children); |
@@ -5,3 +5,3 @@ { | ||
"author": "aravind (https://github.com/aravindet)", | ||
"version": "0.14.6", | ||
"version": "0.14.7-alpha.5", | ||
"main": "index.js", | ||
@@ -12,3 +12,3 @@ "source": "src/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/aravindet/graffy.git" | ||
"url": "git+https://github.com/usegraffy/graffy.git" | ||
}, | ||
@@ -15,0 +15,0 @@ "license": "Apache-2.0", |
@@ -27,8 +27,4 @@ "use strict"; | ||
var consumeSubscription = | ||
/*#__PURE__*/ | ||
function () { | ||
var _ref = (0, _asyncToGenerator2["default"])( | ||
/*#__PURE__*/ | ||
_regenerator["default"].mark(function _callee(subscription, setState) { | ||
var consumeSubscription = /*#__PURE__*/function () { | ||
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(subscription, setState) { | ||
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, _value, val; | ||
@@ -142,8 +138,4 @@ | ||
var retrieveResult = | ||
/*#__PURE__*/ | ||
function () { | ||
var _ref2 = (0, _asyncToGenerator2["default"])( | ||
/*#__PURE__*/ | ||
_regenerator["default"].mark(function _callee2(promise, setState) { | ||
var retrieveResult = /*#__PURE__*/function () { | ||
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(promise, setState) { | ||
return _regenerator["default"].wrap(function _callee2$(_context2) { | ||
@@ -184,10 +176,7 @@ while (1) { | ||
function useQuery(query, _ref3) { | ||
if (_ref3 === void 0) { | ||
_ref3 = {}; | ||
} | ||
function useQuery(query, _temp) { | ||
var _ref3 = _temp === void 0 ? {} : _temp, | ||
once = _ref3.once, | ||
options = (0, _objectWithoutPropertiesLoose2["default"])(_ref3, ["once"]); | ||
var _ref4 = _ref3, | ||
once = _ref4.once, | ||
options = (0, _objectWithoutPropertiesLoose2["default"])(_ref4, ["once"]); | ||
var queryRef = useRef(null); | ||
@@ -194,0 +183,0 @@ |
12163
303