@goldfishjs/requester
Advanced tools
Comparing version 1.1.4 to 1.1.5
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _get from "@babel/runtime/helpers/get"; | ||
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn"; | ||
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf"; | ||
import _get from "@babel/runtime/helpers/get"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
import Requester from './Requester'; | ||
@@ -12,2 +17,4 @@ | ||
var _super = _createSuper(MockRequester); | ||
function MockRequester(options, config) { | ||
@@ -18,3 +25,3 @@ var _this; | ||
_this = _possibleConstructorReturn(this, _getPrototypeOf(MockRequester).call(this, options)); | ||
_this = _super.call(this, options); | ||
_this.datahubConfig = config; | ||
@@ -21,0 +28,0 @@ return _this; |
{ | ||
"name": "@goldfishjs/requester", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "goldfish-requester", | ||
@@ -28,4 +28,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@goldfishjs/reactive-connect": "^1.1.4", | ||
"@goldfishjs/utils": "^1.1.4", | ||
"@goldfishjs/reactive-connect": "^1.1.5", | ||
"@goldfishjs/utils": "^1.1.5", | ||
"mini-types": "^0.1.0" | ||
@@ -32,0 +32,0 @@ }, |
11317
239