@liquality/provider
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -1,125 +0,2 @@ | ||
module.exports = | ||
/******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./lib/index.js"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
/***/ "./lib/Provider.js": | ||
/*!*************************!*\ | ||
!*** ./lib/Provider.js ***! | ||
\*************************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Provider; });\n/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../package.json */ \"./package.json\");\nvar _package_json__WEBPACK_IMPORTED_MODULE_0___namespace = /*#__PURE__*/__webpack_require__.t(/*! ../package.json */ \"./package.json\", 1);\n\nclass Provider {\n /**\n * Set client to a provider instance.\n * @param {!ChainAbstractionLayer} client - The ChainAbstractionLayer instance\n */\n setClient(client) {\n this.client = client;\n }\n /**\n * Get method for the provider\n * @param {!string} method - Name of the method\n * @return {function} Returns a method from a provider above current Provider\n * in the stack.\n */\n\n\n getMethod(method) {\n return this.client.getMethod(method, this).bind(this);\n }\n\n}\nProvider.version = _package_json__WEBPACK_IMPORTED_MODULE_0__[\"version\"];\n\n//# sourceURL=webpack:///./lib/Provider.js?"); | ||
/***/ }), | ||
/***/ "./lib/index.js": | ||
/*!**********************!*\ | ||
!*** ./lib/index.js ***! | ||
\**********************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Provider */ \"./lib/Provider.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Provider__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./lib/index.js?"); | ||
/***/ }), | ||
/***/ "./package.json": | ||
/*!**********************!*\ | ||
!*** ./package.json ***! | ||
\**********************/ | ||
/*! exports provided: name, umdName, umdExport, version, description, module, main, files, scripts, author, license, dependencies, engines, homepage, repository, bugs, publishConfig, gitHead, default */ | ||
/***/ (function(module) { | ||
eval("module.exports = {\"name\":\"@liquality/provider\",\"umdName\":\"Provider\",\"umdExport\":\"default\",\"version\":\"0.2.4\",\"description\":\"\",\"module\":\"lib/index.js\",\"main\":\"dist/index.cjs.js\",\"files\":[\"dist\",\"lib\"],\"scripts\":{\"build:node\":\"webpack --config ../../webpack/webpack.node.config.js\",\"build:browser\":\"webpack --config ../../webpack/webpack.browser.config.js\",\"build\":\"webpack --config ../../webpack/webpack.config.js\"},\"author\":\"Liquality <info@liquality.io>\",\"license\":\"MIT\",\"dependencies\":{\"@babel/runtime\":\"^7.4.3\"},\"engines\":{\"node\":\"~8.12.0\"},\"homepage\":\"https://github.com/liquality/chainabstractionlayer#readme\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/liquality/chainabstractionlayer.git\"},\"bugs\":{\"url\":\"https://github.com/liquality/chainabstractionlayer/issues\"},\"publishConfig\":{\"access\":\"public\"},\"gitHead\":\"22fc0167430b9d8e6e5130254f03ac24d28104f5\"};\n\n//# sourceURL=webpack:///./package.json?"); | ||
/***/ }) | ||
/******/ })["default"]; | ||
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e){e.exports={a:"0.2.5"}},function(e,t,r){"use strict";r.r(t);var n=r(0);class o{setClient(e){this.client=e}getMethod(e){return this.client.getMethod(e,this).bind(this)}}o.version=n.a;t.default=o}]).default; | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -1,135 +0,2 @@ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(); | ||
else if(typeof define === 'function' && define.amd) | ||
define([], factory); | ||
else if(typeof exports === 'object') | ||
exports["Provider"] = factory(); | ||
else | ||
root["Provider"] = factory(); | ||
})(window, function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./lib/index.js"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
/***/ "./lib/Provider.js": | ||
/*!*************************!*\ | ||
!*** ./lib/Provider.js ***! | ||
\*************************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Provider; });\n/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../package.json */ \"./package.json\");\nvar _package_json__WEBPACK_IMPORTED_MODULE_0___namespace = /*#__PURE__*/__webpack_require__.t(/*! ../package.json */ \"./package.json\", 1);\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\nvar Provider =\n/*#__PURE__*/\nfunction () {\n function Provider() {\n _classCallCheck(this, Provider);\n }\n\n _createClass(Provider, [{\n key: \"setClient\",\n\n /**\n * Set client to a provider instance.\n * @param {!ChainAbstractionLayer} client - The ChainAbstractionLayer instance\n */\n value: function setClient(client) {\n this.client = client;\n }\n /**\n * Get method for the provider\n * @param {!string} method - Name of the method\n * @return {function} Returns a method from a provider above current Provider\n * in the stack.\n */\n\n }, {\n key: \"getMethod\",\n value: function getMethod(method) {\n return this.client.getMethod(method, this).bind(this);\n }\n }]);\n\n return Provider;\n}();\n\n\nProvider.version = _package_json__WEBPACK_IMPORTED_MODULE_0__[\"version\"];\n\n//# sourceURL=webpack://Provider/./lib/Provider.js?"); | ||
/***/ }), | ||
/***/ "./lib/index.js": | ||
/*!**********************!*\ | ||
!*** ./lib/index.js ***! | ||
\**********************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Provider */ \"./lib/Provider.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Provider__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://Provider/./lib/index.js?"); | ||
/***/ }), | ||
/***/ "./package.json": | ||
/*!**********************!*\ | ||
!*** ./package.json ***! | ||
\**********************/ | ||
/*! exports provided: name, umdName, umdExport, version, description, module, main, files, scripts, author, license, dependencies, engines, homepage, repository, bugs, publishConfig, gitHead, default */ | ||
/***/ (function(module) { | ||
eval("module.exports = {\"name\":\"@liquality/provider\",\"umdName\":\"Provider\",\"umdExport\":\"default\",\"version\":\"0.2.4\",\"description\":\"\",\"module\":\"lib/index.js\",\"main\":\"dist/index.cjs.js\",\"files\":[\"dist\",\"lib\"],\"scripts\":{\"build:node\":\"webpack --config ../../webpack/webpack.node.config.js\",\"build:browser\":\"webpack --config ../../webpack/webpack.browser.config.js\",\"build\":\"webpack --config ../../webpack/webpack.config.js\"},\"author\":\"Liquality <info@liquality.io>\",\"license\":\"MIT\",\"dependencies\":{\"@babel/runtime\":\"^7.4.3\"},\"engines\":{\"node\":\"~8.12.0\"},\"homepage\":\"https://github.com/liquality/chainabstractionlayer#readme\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/liquality/chainabstractionlayer.git\"},\"bugs\":{\"url\":\"https://github.com/liquality/chainabstractionlayer/issues\"},\"publishConfig\":{\"access\":\"public\"},\"gitHead\":\"22fc0167430b9d8e6e5130254f03ac24d28104f5\"};\n\n//# sourceURL=webpack://Provider/./package.json?"); | ||
/***/ }) | ||
/******/ })["default"]; | ||
}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Provider=t():e.Provider=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e){e.exports={a:"0.2.5"}},function(e,t,n){"use strict";n.r(t);var r=n(0);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"setClient",value:function(e){this.client=e}},{key:"getMethod",value:function(e){return this.client.getMethod(e,this).bind(this)}}])&&o(t.prototype,n),r&&o(t,r),e}();u.version=r.a;t.default=u}]).default}); | ||
//# sourceMappingURL=provider.min.js.map |
@@ -5,3 +5,3 @@ { | ||
"umdExport": "default", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "", | ||
@@ -38,3 +38,3 @@ "module": "lib/index.js", | ||
}, | ||
"gitHead": "22fc0167430b9d8e6e5130254f03ac24d28104f5" | ||
"gitHead": "d8030342ccd1f3462707b74c2cbcec6c6f1010ea" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
10
27562
35
169
1