@xyo-network/gas-price-plugin 2.83.0 → 2.84.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.
Files changed (108) hide show
  1. package/dist/browser/Diviner.d.cts +1 -2
  2. package/dist/browser/Diviner.d.cts.map +1 -1
  3. package/dist/browser/Diviner.d.mts +1 -2
  4. package/dist/browser/Diviner.d.mts.map +1 -1
  5. package/dist/browser/Diviner.d.ts +1 -2
  6. package/dist/browser/Diviner.d.ts.map +1 -1
  7. package/dist/browser/Plugin.d.cts +393 -3
  8. package/dist/browser/Plugin.d.cts.map +1 -1
  9. package/dist/browser/Plugin.d.mts +393 -3
  10. package/dist/browser/Plugin.d.mts.map +1 -1
  11. package/dist/browser/Plugin.d.ts +393 -3
  12. package/dist/browser/Plugin.d.ts.map +1 -1
  13. package/dist/browser/index.cjs +4 -4
  14. package/dist/browser/index.cjs.map +1 -1
  15. package/dist/browser/index.js +4 -4
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/browser/lib/divineGas.d.cts +1 -1
  18. package/dist/browser/lib/divineGas.d.cts.map +1 -1
  19. package/dist/browser/lib/divineGas.d.mts +1 -1
  20. package/dist/browser/lib/divineGas.d.mts.map +1 -1
  21. package/dist/browser/lib/divineGas.d.ts +1 -1
  22. package/dist/browser/lib/divineGas.d.ts.map +1 -1
  23. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts +5 -2
  24. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +1 -1
  25. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts +5 -2
  26. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -1
  27. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts +5 -2
  28. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -1
  29. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +5 -2
  30. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +1 -1
  31. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +5 -2
  32. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -1
  33. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +5 -2
  34. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -1
  35. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts +5 -2
  36. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts.map +1 -1
  37. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts +5 -2
  38. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -1
  39. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts +5 -2
  40. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -1
  41. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts +5 -2
  42. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +1 -1
  43. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts +5 -2
  44. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -1
  45. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts +5 -2
  46. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -1
  47. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts +5 -2
  48. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +1 -1
  49. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts +5 -2
  50. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -1
  51. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts +5 -2
  52. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -1
  53. package/dist/node/Diviner.d.cts +1 -2
  54. package/dist/node/Diviner.d.cts.map +1 -1
  55. package/dist/node/Diviner.d.mts +1 -2
  56. package/dist/node/Diviner.d.mts.map +1 -1
  57. package/dist/node/Diviner.d.ts +1 -2
  58. package/dist/node/Diviner.d.ts.map +1 -1
  59. package/dist/node/Plugin.d.cts +393 -3
  60. package/dist/node/Plugin.d.cts.map +1 -1
  61. package/dist/node/Plugin.d.mts +393 -3
  62. package/dist/node/Plugin.d.mts.map +1 -1
  63. package/dist/node/Plugin.d.ts +393 -3
  64. package/dist/node/Plugin.d.ts.map +1 -1
  65. package/dist/node/{index.mjs → index.cjs} +71 -41
  66. package/dist/node/index.cjs.map +1 -0
  67. package/dist/node/index.js +40 -70
  68. package/dist/node/index.js.map +1 -1
  69. package/dist/node/lib/divineGas.d.cts +1 -1
  70. package/dist/node/lib/divineGas.d.cts.map +1 -1
  71. package/dist/node/lib/divineGas.d.mts +1 -1
  72. package/dist/node/lib/divineGas.d.mts.map +1 -1
  73. package/dist/node/lib/divineGas.d.ts +1 -1
  74. package/dist/node/lib/divineGas.d.ts.map +1 -1
  75. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts +5 -2
  76. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +1 -1
  77. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts +5 -2
  78. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -1
  79. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts +5 -2
  80. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -1
  81. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +5 -2
  82. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +1 -1
  83. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +5 -2
  84. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -1
  85. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +5 -2
  86. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -1
  87. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts +5 -2
  88. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts.map +1 -1
  89. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts +5 -2
  90. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -1
  91. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts +5 -2
  92. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -1
  93. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts +5 -2
  94. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +1 -1
  95. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts +5 -2
  96. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -1
  97. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts +5 -2
  98. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -1
  99. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts +5 -2
  100. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +1 -1
  101. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts +5 -2
  102. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -1
  103. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts +5 -2
  104. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -1
  105. package/package.json +27 -28
  106. package/src/Diviner.ts +2 -3
  107. package/src/lib/divineGas.ts +2 -2
  108. package/dist/node/index.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAc,OAAO,EAAE,KAAG,kBAW/C,CAAA"}
1
+ {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,QAAQ,kBAAkB,CAW/E,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { EthereumGasPayload } from '@xyo-network/gas-price-payload-plugin';
2
2
  import { Payload } from '@xyo-network/payload-model';
3
- export declare const divineGas: (payloads: Payload[]) => EthereumGasPayload;
3
+ export declare const divineGas: (payloads: Payload[]) => Promise<EthereumGasPayload>;
4
4
  //# sourceMappingURL=divineGas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAc,OAAO,EAAE,KAAG,kBAW/C,CAAA"}
1
+ {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,QAAQ,kBAAkB,CAW/E,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { EthereumGasPayload } from '@xyo-network/gas-price-payload-plugin';
2
2
  import { Payload } from '@xyo-network/payload-model';
3
- export declare const divineGas: (payloads: Payload[]) => EthereumGasPayload;
3
+ export declare const divineGas: (payloads: Payload[]) => Promise<EthereumGasPayload>;
4
4
  //# sourceMappingURL=divineGas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAc,OAAO,EAAE,KAAG,kBAW/C,CAAA"}
1
+ {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,QAAQ,kBAAkB,CAW/E,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
2
+ export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.blocknative";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.blocknative";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;CAEvE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;;;;EAEvE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
2
+ export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.blocknative";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.blocknative";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;CAEvE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;;;;EAEvE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
2
+ export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.blocknative";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.blocknative";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;CAEvE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;;;;EAEvE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
2
+ export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;CAExE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;;;;EAExE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
2
+ export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;CAExE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;;;;EAExE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
2
+ export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;CAExE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;;;;EAExE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
2
+ export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethers";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethers";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;CAElE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;;;;EAElE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
2
+ export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethers";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethers";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;CAElE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;;;;EAElE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
2
+ export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethers";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethers";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;CAElE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;;;;EAElE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
2
+ export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherscan";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherscan";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;CAErE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;;;;EAErE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
2
+ export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherscan";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherscan";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;CAErE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;;;;EAErE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
2
+ export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.etherscan";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.etherscan";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;CAErE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;;;;EAErE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
2
+ export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;CAEzE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;;;;EAEzE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
2
+ export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;CAEzE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;;;;EAEzE,CAAA"}
@@ -1,6 +1,9 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
2
+ export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is (import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
3
3
  schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
4
4
  timestamp: number;
5
- };
5
+ }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
6
+ schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
7
+ timestamp: number;
8
+ });
6
9
  //# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;CAEzE,CAAA"}
1
+ {"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;;;;EAEzE,CAAA"}
package/package.json CHANGED
@@ -11,35 +11,33 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xylabs/exists": "^2.13.20",
14
- "@xylabs/promise": "^2.13.20",
15
- "@xyo-network/abstract-diviner": "^2.83.2",
16
- "@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.83.0",
17
- "@xyo-network/diviner": "^2.83.2",
18
- "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "~2.83.0",
19
- "@xyo-network/ethers-ethereum-gas-payload-plugin": "~2.83.0",
20
- "@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.83.0",
21
- "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "~2.83.0",
22
- "@xyo-network/gas-price-payload-plugin": "~2.83.0",
23
- "@xyo-network/module-model": "^2.83.2",
24
- "@xyo-network/payload-builder": "^2.83.2",
25
- "@xyo-network/payload-model": "^2.83.2",
26
- "@xyo-network/payloadset-plugin": "^2.83.2",
14
+ "@xyo-network/abstract-diviner": "^2.84.3",
15
+ "@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.84.1",
16
+ "@xyo-network/diviner": "^2.84.3",
17
+ "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "~2.84.1",
18
+ "@xyo-network/ethers-ethereum-gas-payload-plugin": "~2.84.1",
19
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.84.1",
20
+ "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "~2.84.1",
21
+ "@xyo-network/gas-price-payload-plugin": "~2.84.1",
22
+ "@xyo-network/module-model": "^2.84.3",
23
+ "@xyo-network/payload-builder": "^2.84.3",
24
+ "@xyo-network/payload-model": "^2.84.3",
25
+ "@xyo-network/payloadset-plugin": "^2.84.3",
27
26
  "regression": "^2.0.1"
28
27
  },
29
28
  "devDependencies": {
30
29
  "@types/regression": "^2.0.6",
31
- "@xylabs/ts-scripts-yarn3": "^3.2.10",
32
- "@xylabs/tsconfig": "^3.2.10",
33
- "@xyo-network/account": "^2.83.2",
34
- "@xyo-network/blocknative-ethereum-gas-plugin": "~2.83.0",
35
- "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "~2.83.0",
36
- "@xyo-network/ethers-ethereum-gas-plugin": "~2.83.0",
37
- "@xyo-network/etherscan-ethereum-gas-plugin": "~2.83.0",
38
- "@xyo-network/witness-blockchain-abstract": "^2.83.2",
30
+ "@xylabs/ts-scripts-yarn3": "^3.2.19",
31
+ "@xylabs/tsconfig": "^3.2.19",
32
+ "@xyo-network/account": "^2.84.3",
33
+ "@xyo-network/blocknative-ethereum-gas-plugin": "~2.84.1",
34
+ "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "~2.84.1",
35
+ "@xyo-network/ethers-ethereum-gas-plugin": "~2.84.1",
36
+ "@xyo-network/etherscan-ethereum-gas-plugin": "~2.84.1",
37
+ "@xyo-network/witness-blockchain-abstract": "^2.84.3",
39
38
  "typescript": "^5.3.3"
40
39
  },
41
40
  "description": "Typescript/Javascript Plugins for XYO Platform",
42
- "docs": "dist/docs.json",
43
41
  "types": "dist/node/index.d.ts",
44
42
  "exports": {
45
43
  ".": {
@@ -55,19 +53,19 @@
55
53
  },
56
54
  "node": {
57
55
  "require": {
58
- "types": "./dist/node/index.d.ts",
59
- "default": "./dist/node/index.js"
56
+ "types": "./dist/node/index.d.cts",
57
+ "default": "./dist/node/index.cjs"
60
58
  },
61
59
  "import": {
62
60
  "types": "./dist/node/index.d.mts",
63
- "default": "./dist/node/index.mjs"
61
+ "default": "./dist/node/index.js"
64
62
  }
65
63
  }
66
64
  },
67
65
  "./package.json": "./package.json"
68
66
  },
69
- "main": "dist/node/index.js",
70
- "module": "dist/node/index.mjs",
67
+ "main": "dist/node/index.cjs",
68
+ "module": "dist/node/index.js",
71
69
  "homepage": "https://xyo.network",
72
70
  "license": "LGPL-3.0-only",
73
71
  "publishConfig": {
@@ -78,5 +76,6 @@
78
76
  "url": "https://github.com/XYOracleNetwork/plugins.git"
79
77
  },
80
78
  "sideEffects": false,
81
- "version": "2.83.0"
79
+ "version": "2.84.1",
80
+ "type": "module"
82
81
  }
package/src/Diviner.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { Promisable } from '@xylabs/promise'
2
1
  import { AbstractDiviner } from '@xyo-network/abstract-diviner'
3
2
  import { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner'
4
3
  import { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'
@@ -18,8 +17,8 @@ export class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = Ether
18
17
  static override readonly configSchemas: string[] = [EthereumGasDivinerConfigSchema]
19
18
  static override targetSchema: string = EthereumGasSchema
20
19
 
21
- protected override divineHandler(payloads?: Payload[]): Promisable<Payload[]> {
22
- const cost = divineGas(payloads ?? [])
20
+ protected override async divineHandler(payloads?: Payload[]): Promise<Payload[]> {
21
+ const cost = await divineGas(payloads ?? [])
23
22
  return [cost]
24
23
  }
25
24
  }
@@ -18,7 +18,7 @@ import {
18
18
  transformGasFromEthgasstation,
19
19
  } from './transforms'
20
20
 
21
- export const divineGas = (payloads: Payload[]): EthereumGasPayload => {
21
+ export const divineGas = async (payloads: Payload[]): Promise<EthereumGasPayload> => {
22
22
  const blocknative = payloads.filter(isEthereumGasBlocknativePayload).map(transformGasFromBlocknative)
23
23
  const etherchainV2 = payloads.filter(isEthereumGasEtherchainV2Payload).map(transformGasFromEtherchainV2)
24
24
  const ethers = payloads.filter(isEthereumGasEthersPayload).map(transformGasFromEthers)
@@ -27,6 +27,6 @@ export const divineGas = (payloads: Payload[]): EthereumGasPayload => {
27
27
  const transactionCosts: FeeData[] = [...blocknative, ...etherchainV2, ...ethers, ...etherscan, ...ethgasstation]
28
28
  const avg = average(transactionCosts)
29
29
  const timestamp = Date.now()
30
- const payload = new PayloadBuilder<EthereumGasPayload>({ schema: EthereumGasSchema }).fields({ ...avg, timestamp }).build()
30
+ const payload = await new PayloadBuilder<EthereumGasPayload>({ schema: EthereumGasSchema }).fields({ ...avg, timestamp }).build()
31
31
  return payload
32
32
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Diviner.ts","../../src/lib/divineGas.ts","../../src/lib/average.ts","../../src/lib/identities/isEthereumGasBlocknativePayload.ts","../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts","../../src/lib/identities/isEthereumGasEtherscanPayload.ts","../../src/lib/identities/isEthereumGasEthersPayload.ts","../../src/lib/identities/isEthereumGasEthgasstationPayload.ts","../../src/lib/transforms/transformGasFromBlocknative.ts","../../src/lib/transforms/transformGasFromEtherchainV2.ts","../../src/lib/transforms/transformGasFromEthers.ts","../../src/lib/transforms/transformGasFromEtherscan.ts","../../src/lib/transforms/transformGasFromEthgasstation.ts","../../src/Schema.ts","../../src/index.ts"],"sourcesContent":["import { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { EthereumGasDiviner } from './Diviner'\n\nexport const EthereumGasPlugin = () =>\n createPayloadSetDivinerPlugin<EthereumGasDiviner>(\n { required: { [EthereumGasSchema]: 1 }, schema: PayloadSetSchema },\n {\n diviner: async (params) => {\n return (await EthereumGasDiviner.create(params)) as EthereumGasDiviner\n },\n },\n )\n","import { Promisable } from '@xylabs/promise'\nimport { AbstractDiviner } from '@xyo-network/abstract-diviner'\nimport { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner'\nimport { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { divineGas } from './lib'\nimport { EthereumGasDivinerConfigSchema } from './Schema'\n\nexport type EthereumGasDivinerConfig = DivinerConfig<{ schema: EthereumGasDivinerConfigSchema }>\nexport type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>\n\nexport class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams>\n extends AbstractDiviner<TParams>\n implements DivinerModule\n{\n static override readonly configSchemas: string[] = [EthereumGasDivinerConfigSchema]\n static override targetSchema: string = EthereumGasSchema\n\n protected override divineHandler(payloads?: Payload[]): Promisable<Payload[]> {\n const cost = divineGas(payloads ?? [])\n return [cost]\n }\n}\n","import { EthereumGasPayload, EthereumGasSchema, FeeData } from '@xyo-network/gas-price-payload-plugin'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { average } from './average'\nimport {\n isEthereumGasBlocknativePayload,\n isEthereumGasEtherchainV2Payload,\n isEthereumGasEtherscanPayload,\n isEthereumGasEthersPayload,\n isEthereumGasEthgasstationPayload,\n} from './identities'\nimport {\n transformGasFromBlocknative,\n transformGasFromEtherchainV2,\n transformGasFromEthers,\n transformGasFromEtherscan,\n transformGasFromEthgasstation,\n} from './transforms'\n\nexport const divineGas = (payloads: Payload[]): EthereumGasPayload => {\n const blocknative = payloads.filter(isEthereumGasBlocknativePayload).map(transformGasFromBlocknative)\n const etherchainV2 = payloads.filter(isEthereumGasEtherchainV2Payload).map(transformGasFromEtherchainV2)\n const ethers = payloads.filter(isEthereumGasEthersPayload).map(transformGasFromEthers)\n const etherscan = payloads.filter(isEthereumGasEtherscanPayload).map(transformGasFromEtherscan)\n const ethgasstation = payloads.filter(isEthereumGasEthgasstationPayload).map(transformGasFromEthgasstation)\n const transactionCosts: FeeData[] = [...blocknative, ...etherchainV2, ...ethers, ...etherscan, ...ethgasstation]\n const avg = average(transactionCosts)\n const timestamp = Date.now()\n const payload = new PayloadBuilder<EthereumGasPayload>({ schema: EthereumGasSchema }).fields({ ...avg, timestamp }).build()\n return payload\n}\n","import { exists } from '@xylabs/exists'\nimport { FeeData } from '@xyo-network/gas-price-payload-plugin'\n\n/**\n * Averages an array of numbers\n * @param x Averages an array of numbers\n * @returns The average of the array of numbers or undefined if the\n * array is empty or undefined\n */\nconst listAverage = (x?: number[]) => (x?.length ? x.reduce((a, b) => a + b) / x.length : undefined)\n\n/**\n * Averages the property indicates by the supplied property\n * expression across the array of FeeData\n * @param data The array of data to average\n * @param propertyExpression The expression for the property to\n * average\n * @returns The average of the supplied property across the array\n */\nconst averageProperty = (data: FeeData[], propertyExpression: (x: FeeData) => number | undefined) => {\n return listAverage(data.map(propertyExpression).filter(exists))\n}\n\n/**\n * Averages the supplied FeeData\n * @param input An array of FeeData or undefined\n * @returns The average of the supplied FeeData\n */\nexport const average = (input?: (FeeData | undefined)[]): FeeData => {\n const data = input?.filter(exists) || []\n const averaged: FeeData = {\n baseFee: averageProperty(data, (x) => x.baseFee),\n feePerGas: {\n high: averageProperty(data, (x) => x.feePerGas.high),\n low: averageProperty(data, (x) => x.feePerGas.low),\n medium: averageProperty(data, (x) => x.feePerGas.medium),\n veryHigh: averageProperty(data, (x) => x.feePerGas.veryHigh),\n },\n priorityFeePerGas: {\n high: averageProperty(data, (x) => x.priorityFeePerGas.high),\n low: averageProperty(data, (x) => x.priorityFeePerGas.low),\n medium: averageProperty(data, (x) => x.priorityFeePerGas.medium),\n veryHigh: averageProperty(data, (x) => x.priorityFeePerGas.veryHigh),\n },\n }\n return averaged\n}\n","import { EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasBlocknativePayload = (payload?: Payload | null): payload is EthereumGasBlocknativePayload => {\n return payload?.schema === EthereumGasBlocknativeSchema\n}\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEtherchainV2Payload = (payload?: Payload | null): payload is EthereumGasEtherchainV2Payload => {\n return payload?.schema === EthereumGasEtherchainV2Schema\n}\n","import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEtherscanPayload = (payload?: Payload | null): payload is EthereumGasEtherscanPayload => {\n return payload?.schema === EthereumGasEtherscanSchema\n}\n","import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEthersPayload = (payload?: Payload | null): payload is EthereumGasEthersPayload => {\n return payload?.schema === EthereumGasEthersSchema\n}\n","import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEthgasstationPayload = (payload?: Payload | null): payload is EthereumGasEthgasstationPayload => {\n return payload?.schema === EthereumGasEthgasstationSchema\n}\n","/* eslint-disable sort-keys-fix/sort-keys-fix */\nimport { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasBlocknativePayload): number | undefined => {\n return payload?.blockPrices?.[0]?.baseFeePerGas\n}\n\nconst getFeePerGas = (payload: EthereumGasBlocknativePayload): Partial<FeePerGas> => {\n const sorted = payload.blockPrices?.[0].estimatedPrices?.sort((a, b) => a.confidence - b.confidence)\n const trend = linear([\n [0, sorted?.[0].price],\n [1, sorted?.[1].price],\n [2, sorted?.[2].price],\n [3, sorted?.[3].price],\n [4, sorted?.[4].price],\n ])\n const feePerGas: FeePerGas = {\n low: trend.predict(0.5)[1],\n medium: trend.predict(1.5)[1],\n high: trend.predict(2.5)[1],\n veryHigh: trend.predict(3.5)[1],\n }\n return feePerGas\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasBlocknativePayload): Partial<PriorityFeePerGas> => {\n const sorted = payload.blockPrices?.[0].estimatedPrices?.sort((a, b) => a.confidence - b.confidence)\n const trend = linear([\n [0, sorted?.[0].maxPriorityFeePerGas],\n [1, sorted?.[1].maxPriorityFeePerGas],\n [2, sorted?.[2].maxPriorityFeePerGas],\n [3, sorted?.[3].maxPriorityFeePerGas],\n [4, sorted?.[4].maxPriorityFeePerGas],\n ])\n const priorityFeePerGas: PriorityFeePerGas = {\n low: trend.predict(0.5)[1],\n medium: trend.predict(1.5)[1],\n high: trend.predict(2.5)[1],\n veryHigh: trend.predict(3.5)[1],\n }\n return priorityFeePerGas\n}\n\nexport const transformGasFromBlocknative = (payload: EthereumGasBlocknativePayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\nimport { FeeData, FeePerGas } from '@xyo-network/gas-price-payload-plugin'\n\nconst getFeePerGas = (payload: EthereumGasEtherchainV2Payload): Partial<FeePerGas> => {\n const { slow, standard, fast, rapid } = payload.data\n const low = slow / 1_000_000_000\n const medium = standard / 1_000_000_000\n const high = fast / 1_000_000_000\n const veryHigh = rapid / 1_000_000_000\n return { high, low, medium, veryHigh }\n}\n\nexport const transformGasFromEtherchainV2 = (payload: EthereumGasEtherchainV2Payload): FeeData => {\n const baseFee = undefined\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = {}\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\n\nconst getBaseFee = (payload: EthereumGasEthersPayload): number | undefined => {\n const { gasPrice } = payload\n return gasPrice ? gasPrice / 1_000_000_000 : undefined\n}\n\nconst getFeePerGas = (payload: EthereumGasEthersPayload): Partial<FeePerGas> => {\n const { maxFeePerGas } = payload\n const high = maxFeePerGas ? maxFeePerGas / 1_000_000_000 : undefined\n return { high }\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasEthersPayload): Partial<PriorityFeePerGas> => {\n const { maxPriorityFeePerGas } = payload\n const high = maxPriorityFeePerGas ? maxPriorityFeePerGas / 1_000_000_000 : undefined\n return { high }\n}\n\nexport const transformGasFromEthers = (payload: EthereumGasEthersPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasEtherscanPayload): number | undefined => {\n const { suggestBaseFee } = payload.result\n return parseFloat(suggestBaseFee)\n}\n\nconst getFeePerGas = (payload: EthereumGasEtherscanPayload): Partial<FeePerGas> => {\n const { FastGasPrice, ProposeGasPrice, SafeGasPrice } = payload.result\n const low = parseFloat(SafeGasPrice)\n const medium = parseFloat(ProposeGasPrice)\n const high = parseFloat(FastGasPrice)\n const veryHigh = linear([\n [0, low],\n [1, medium],\n [2, high],\n ]).predict(3)[1]\n return { high, low, medium, veryHigh }\n}\n\nexport const transformGasFromEtherscan = (payload: EthereumGasEtherscanPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = {}\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","/* eslint-disable sort-keys-fix/sort-keys-fix */\nimport { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasEthgasstationPayload): number | undefined => {\n const { baseFee } = payload\n return baseFee\n}\n\nconst getFeePerGas = (payload: EthereumGasEthgasstationPayload): Partial<FeePerGas> => {\n const { standard: medium, fast: high, instant: veryHigh } = payload.gasPrice\n const trend = linear([\n [1, medium],\n [2, high],\n [3, veryHigh],\n ])\n const low = trend.predict(0)[1]\n return { low, medium, high, veryHigh }\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasEthgasstationPayload): Partial<PriorityFeePerGas> => {\n const { standard: medium, fast: high, instant: veryHigh } = payload.priorityFee\n const trend = linear([\n [1, medium],\n [2, high],\n [3, veryHigh],\n ])\n const low = trend.predict(0)[1]\n return { low, medium, high, veryHigh }\n}\n\nexport const transformGasFromEthgasstation = (payload: EthereumGasEthgasstationPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","export type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query'\nexport const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query'\n\nexport type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config'\nexport const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config'\n","import { EthereumGasPlugin } from './Plugin'\n\nexport * from './Diviner'\nexport * from './Schema'\n\nexport { EthereumGasPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumGasPlugin\n"],"mappings":";AAAA,SAAS,qBAAAA,0BAAyB;AAClC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;AAEhC,SAAS,qBAAAC,0BAAyB;;;ACHlC,SAA6B,yBAAkC;AAC/D,SAAS,sBAAsB;;;ACD/B,SAAS,cAAc;AASvB,IAAM,cAAc,CAAC,OAAkB,uBAAG,UAAS,EAAE,OAAO,CAA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CAAC,EAAE,MAAM;AAC1H,SAAO;AACT;;;AY9BO,IAAM,gCAA+D;AAGrE,IAAM,iCAAiE;;;AbSvE,IAAM,qBAAN,cACG,gBAEV;AAAA,EACE,OAAyB,gBAA0B,CAAC,8BAA8B;AAAA,EAClF,OAAgB,eAAuBC;AAAA,EAEpB,cAAc,UAA6C;AAC5E,UAAM,OAAO,UAAU,YAAY,CAAC,CAAC;AACrC,WAAO,CAAC,IAAI;AAAA,EACd;AACF;;;ADlBO,IAAM,oBAAoB,MAC/B;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,kBAAiB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACjE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,mBAAmB,OAAO,MAAM;AAAA,IAChD;AAAA,EACF;AACF;;;AeNF,IAAO,cAAQ;","names":["EthereumGasSchema","EthereumGasSchema","getFeePerGas","getBaseFee","getFeePerGas","getPriorityFeePerGas","linear","getBaseFee","getFeePerGas","linear","getBaseFee","getFeePerGas","getPriorityFeePerGas","EthereumGasSchema","EthereumGasSchema"]}