@xyo-network/gas-price-plugin 2.55.5 → 2.56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.XyoEthereumGasDiviner = void 0;
4
- const diviner_1 = require("@xyo-network/diviner");
4
+ const abstract_diviner_1 = require("@xyo-network/abstract-diviner");
5
5
  const gas_price_payload_plugin_1 = require("@xyo-network/gas-price-payload-plugin");
6
6
  const lib_1 = require("./lib");
7
7
  const Schema_1 = require("./Schema");
8
- class XyoEthereumGasDiviner extends diviner_1.AbstractDiviner {
8
+ class XyoEthereumGasDiviner extends abstract_diviner_1.AbstractDiviner {
9
9
  divine(payloads) {
10
10
  const cost = (0, lib_1.divineGas)(payloads !== null && payloads !== void 0 ? payloads : []);
11
11
  return [cost];
12
12
  }
13
13
  }
14
- exports.XyoEthereumGasDiviner = XyoEthereumGasDiviner;
15
14
  XyoEthereumGasDiviner.configSchema = Schema_1.XyoEthereumGasDivinerConfigSchema;
16
15
  XyoEthereumGasDiviner.targetSchema = gas_price_payload_plugin_1.XyoEthereumGasSchema;
16
+ exports.XyoEthereumGasDiviner = XyoEthereumGasDiviner;
17
17
  //# sourceMappingURL=Diviner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Diviner.js","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":";;;AAAA,kDAAmG;AACnG,oFAA4E;AAK5E,+BAAiC;AACjC,qCAA4D;AAK5D,MAAa,qBACX,SAAQ,yBAAwB;IAMvB,MAAM,CAAC,QAAoB;QAClC,MAAM,IAAI,GAAG,IAAA,eAAS,EAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,CAAC,CAAA;QACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IACf,CAAC;;AAVH,sDAWC;AAPiB,kCAAY,GAAW,0CAAiC,CAAA;AACxD,kCAAY,GAAW,+CAAoB,CAAA"}
1
+ {"version":3,"file":"Diviner.js","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":";;;AAAA,oEAA+D;AAE/D,oFAA4E;AAK5E,+BAAiC;AACjC,qCAA4D;AAK5D,MAAa,qBACX,SAAQ,kCAAwB;IAMvB,MAAM,CAAC,QAAoB;QAClC,MAAM,IAAI,GAAG,IAAA,eAAS,EAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,CAAC,CAAA;QACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IACf,CAAC;;AANe,kCAAY,GAAW,0CAAiC,CAAA;AACxD,kCAAY,GAAW,+CAAoB,CAAA;AALhD,sDAAqB"}