@xyo-network/gas-price-plugin 2.75.14 → 2.75.16

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 (217) hide show
  1. package/dist/browser/Diviner.d.cts +1 -1
  2. package/dist/browser/Diviner.d.cts.map +1 -1
  3. package/dist/browser/Diviner.d.mts +1 -1
  4. package/dist/browser/Diviner.d.mts.map +1 -1
  5. package/dist/browser/Diviner.d.ts +1 -1
  6. package/dist/browser/Diviner.d.ts.map +1 -1
  7. package/dist/browser/Plugin.d.cts +2 -2
  8. package/dist/browser/Plugin.d.mts +2 -2
  9. package/dist/browser/Plugin.d.ts +2 -2
  10. package/dist/browser/index.cjs.map +1 -1
  11. package/dist/browser/index.js.map +1 -1
  12. package/dist/docs.json +799 -402
  13. package/dist/node/Diviner.d.cts +1 -1
  14. package/dist/node/Diviner.d.cts.map +1 -1
  15. package/dist/node/Diviner.d.mts +1 -1
  16. package/dist/node/Diviner.d.mts.map +1 -1
  17. package/dist/node/Diviner.d.ts +1 -1
  18. package/dist/node/Diviner.d.ts.map +1 -1
  19. package/dist/node/Plugin.d.cts +2 -2
  20. package/dist/node/Plugin.d.mts +2 -2
  21. package/dist/node/Plugin.d.ts +2 -2
  22. package/dist/node/index.js.map +1 -1
  23. package/dist/node/index.mjs.map +1 -1
  24. package/package.json +22 -22
  25. package/src/Diviner.ts +1 -1
  26. package/dist/browser/Diviner.cjs +0 -257
  27. package/dist/browser/Diviner.cjs.map +0 -1
  28. package/dist/browser/Diviner.js +0 -236
  29. package/dist/browser/Diviner.js.map +0 -1
  30. package/dist/browser/Plugin.cjs +0 -272
  31. package/dist/browser/Plugin.cjs.map +0 -1
  32. package/dist/browser/Plugin.js +0 -251
  33. package/dist/browser/Plugin.js.map +0 -1
  34. package/dist/browser/Schema.cjs +0 -29
  35. package/dist/browser/Schema.cjs.map +0 -1
  36. package/dist/browser/Schema.js +0 -8
  37. package/dist/browser/Schema.js.map +0 -1
  38. package/dist/browser/lib/average.cjs +0 -50
  39. package/dist/browser/lib/average.cjs.map +0 -1
  40. package/dist/browser/lib/average.js +0 -29
  41. package/dist/browser/lib/average.js.map +0 -1
  42. package/dist/browser/lib/divineGas.cjs +0 -240
  43. package/dist/browser/lib/divineGas.cjs.map +0 -1
  44. package/dist/browser/lib/divineGas.js +0 -219
  45. package/dist/browser/lib/divineGas.js.map +0 -1
  46. package/dist/browser/lib/identities/index.cjs +0 -60
  47. package/dist/browser/lib/identities/index.cjs.map +0 -1
  48. package/dist/browser/lib/identities/index.js +0 -37
  49. package/dist/browser/lib/identities/index.js.map +0 -1
  50. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.cjs +0 -30
  51. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.cjs.map +0 -1
  52. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js +0 -9
  53. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
  54. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.cjs +0 -30
  55. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.cjs.map +0 -1
  56. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -9
  57. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
  58. package/dist/browser/lib/identities/isEthereumGasEthersPayload.cjs +0 -30
  59. package/dist/browser/lib/identities/isEthereumGasEthersPayload.cjs.map +0 -1
  60. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js +0 -9
  61. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
  62. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.cjs +0 -30
  63. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.cjs.map +0 -1
  64. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js +0 -9
  65. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
  66. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.cjs +0 -30
  67. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.cjs.map +0 -1
  68. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js +0 -9
  69. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
  70. package/dist/browser/lib/index.cjs +0 -242
  71. package/dist/browser/lib/index.cjs.map +0 -1
  72. package/dist/browser/lib/index.js +0 -219
  73. package/dist/browser/lib/index.js.map +0 -1
  74. package/dist/browser/lib/transforms/index.cjs +0 -172
  75. package/dist/browser/lib/transforms/index.cjs.map +0 -1
  76. package/dist/browser/lib/transforms/index.js +0 -149
  77. package/dist/browser/lib/transforms/index.js.map +0 -1
  78. package/dist/browser/lib/transforms/transformGasFromBlocknative.cjs +0 -70
  79. package/dist/browser/lib/transforms/transformGasFromBlocknative.cjs.map +0 -1
  80. package/dist/browser/lib/transforms/transformGasFromBlocknative.js +0 -49
  81. package/dist/browser/lib/transforms/transformGasFromBlocknative.js.map +0 -1
  82. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.cjs +0 -40
  83. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.cjs.map +0 -1
  84. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js +0 -19
  85. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
  86. package/dist/browser/lib/transforms/transformGasFromEthers.cjs +0 -46
  87. package/dist/browser/lib/transforms/transformGasFromEthers.cjs.map +0 -1
  88. package/dist/browser/lib/transforms/transformGasFromEthers.js +0 -25
  89. package/dist/browser/lib/transforms/transformGasFromEthers.js.map +0 -1
  90. package/dist/browser/lib/transforms/transformGasFromEtherscan.cjs +0 -49
  91. package/dist/browser/lib/transforms/transformGasFromEtherscan.cjs.map +0 -1
  92. package/dist/browser/lib/transforms/transformGasFromEtherscan.js +0 -28
  93. package/dist/browser/lib/transforms/transformGasFromEtherscan.js.map +0 -1
  94. package/dist/browser/lib/transforms/transformGasFromEthgasstation.cjs +0 -57
  95. package/dist/browser/lib/transforms/transformGasFromEthgasstation.cjs.map +0 -1
  96. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js +0 -36
  97. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
  98. package/dist/browser/test/index.cjs +0 -189
  99. package/dist/browser/test/index.cjs.map +0 -1
  100. package/dist/browser/test/index.js +0 -166
  101. package/dist/browser/test/index.js.map +0 -1
  102. package/dist/browser/test/sampleBlocknativeGas.cjs +0 -118
  103. package/dist/browser/test/sampleBlocknativeGas.cjs.map +0 -1
  104. package/dist/browser/test/sampleBlocknativeGas.js +0 -97
  105. package/dist/browser/test/sampleBlocknativeGas.js.map +0 -1
  106. package/dist/browser/test/sampleEtherchainGasV2.cjs +0 -40
  107. package/dist/browser/test/sampleEtherchainGasV2.cjs.map +0 -1
  108. package/dist/browser/test/sampleEtherchainGasV2.js +0 -19
  109. package/dist/browser/test/sampleEtherchainGasV2.js.map +0 -1
  110. package/dist/browser/test/sampleEthersGas.cjs +0 -35
  111. package/dist/browser/test/sampleEthersGas.cjs.map +0 -1
  112. package/dist/browser/test/sampleEthersGas.js +0 -14
  113. package/dist/browser/test/sampleEthersGas.js.map +0 -1
  114. package/dist/browser/test/sampleEtherscanGas.cjs +0 -41
  115. package/dist/browser/test/sampleEtherscanGas.cjs.map +0 -1
  116. package/dist/browser/test/sampleEtherscanGas.js +0 -20
  117. package/dist/browser/test/sampleEtherscanGas.js.map +0 -1
  118. package/dist/browser/test/sampleEthgasstationGas.cjs +0 -45
  119. package/dist/browser/test/sampleEthgasstationGas.cjs.map +0 -1
  120. package/dist/browser/test/sampleEthgasstationGas.js +0 -24
  121. package/dist/browser/test/sampleEthgasstationGas.js.map +0 -1
  122. package/dist/node/Diviner.js +0 -264
  123. package/dist/node/Diviner.js.map +0 -1
  124. package/dist/node/Diviner.mjs +0 -239
  125. package/dist/node/Diviner.mjs.map +0 -1
  126. package/dist/node/Plugin.js +0 -279
  127. package/dist/node/Plugin.js.map +0 -1
  128. package/dist/node/Plugin.mjs +0 -254
  129. package/dist/node/Plugin.mjs.map +0 -1
  130. package/dist/node/Schema.js +0 -34
  131. package/dist/node/Schema.js.map +0 -1
  132. package/dist/node/Schema.mjs +0 -8
  133. package/dist/node/Schema.mjs.map +0 -1
  134. package/dist/node/lib/average.js +0 -54
  135. package/dist/node/lib/average.js.map +0 -1
  136. package/dist/node/lib/average.mjs +0 -29
  137. package/dist/node/lib/average.mjs.map +0 -1
  138. package/dist/node/lib/divineGas.js +0 -247
  139. package/dist/node/lib/divineGas.js.map +0 -1
  140. package/dist/node/lib/divineGas.mjs +0 -222
  141. package/dist/node/lib/divineGas.mjs.map +0 -1
  142. package/dist/node/lib/identities/index.js +0 -68
  143. package/dist/node/lib/identities/index.js.map +0 -1
  144. package/dist/node/lib/identities/index.mjs +0 -37
  145. package/dist/node/lib/identities/index.mjs.map +0 -1
  146. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js +0 -34
  147. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
  148. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs +0 -9
  149. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs.map +0 -1
  150. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -34
  151. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
  152. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs +0 -9
  153. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs.map +0 -1
  154. package/dist/node/lib/identities/isEthereumGasEthersPayload.js +0 -34
  155. package/dist/node/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
  156. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs +0 -9
  157. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs.map +0 -1
  158. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js +0 -34
  159. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
  160. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs +0 -9
  161. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs.map +0 -1
  162. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js +0 -34
  163. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
  164. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs +0 -9
  165. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs.map +0 -1
  166. package/dist/node/lib/index.js +0 -249
  167. package/dist/node/lib/index.js.map +0 -1
  168. package/dist/node/lib/index.mjs +0 -222
  169. package/dist/node/lib/index.mjs.map +0 -1
  170. package/dist/node/lib/transforms/index.js +0 -183
  171. package/dist/node/lib/transforms/index.js.map +0 -1
  172. package/dist/node/lib/transforms/index.mjs +0 -152
  173. package/dist/node/lib/transforms/index.mjs.map +0 -1
  174. package/dist/node/lib/transforms/transformGasFromBlocknative.js +0 -77
  175. package/dist/node/lib/transforms/transformGasFromBlocknative.js.map +0 -1
  176. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs +0 -52
  177. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs.map +0 -1
  178. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js +0 -44
  179. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
  180. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs +0 -19
  181. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs.map +0 -1
  182. package/dist/node/lib/transforms/transformGasFromEthers.js +0 -50
  183. package/dist/node/lib/transforms/transformGasFromEthers.js.map +0 -1
  184. package/dist/node/lib/transforms/transformGasFromEthers.mjs +0 -25
  185. package/dist/node/lib/transforms/transformGasFromEthers.mjs.map +0 -1
  186. package/dist/node/lib/transforms/transformGasFromEtherscan.js +0 -53
  187. package/dist/node/lib/transforms/transformGasFromEtherscan.js.map +0 -1
  188. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs +0 -28
  189. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs.map +0 -1
  190. package/dist/node/lib/transforms/transformGasFromEthgasstation.js +0 -61
  191. package/dist/node/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
  192. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs +0 -36
  193. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs.map +0 -1
  194. package/dist/node/test/index.js +0 -197
  195. package/dist/node/test/index.js.map +0 -1
  196. package/dist/node/test/index.mjs +0 -166
  197. package/dist/node/test/index.mjs.map +0 -1
  198. package/dist/node/test/sampleBlocknativeGas.js +0 -122
  199. package/dist/node/test/sampleBlocknativeGas.js.map +0 -1
  200. package/dist/node/test/sampleBlocknativeGas.mjs +0 -97
  201. package/dist/node/test/sampleBlocknativeGas.mjs.map +0 -1
  202. package/dist/node/test/sampleEtherchainGasV2.js +0 -44
  203. package/dist/node/test/sampleEtherchainGasV2.js.map +0 -1
  204. package/dist/node/test/sampleEtherchainGasV2.mjs +0 -19
  205. package/dist/node/test/sampleEtherchainGasV2.mjs.map +0 -1
  206. package/dist/node/test/sampleEthersGas.js +0 -39
  207. package/dist/node/test/sampleEthersGas.js.map +0 -1
  208. package/dist/node/test/sampleEthersGas.mjs +0 -14
  209. package/dist/node/test/sampleEthersGas.mjs.map +0 -1
  210. package/dist/node/test/sampleEtherscanGas.js +0 -45
  211. package/dist/node/test/sampleEtherscanGas.js.map +0 -1
  212. package/dist/node/test/sampleEtherscanGas.mjs +0 -20
  213. package/dist/node/test/sampleEtherscanGas.mjs.map +0 -1
  214. package/dist/node/test/sampleEthgasstationGas.js +0 -49
  215. package/dist/node/test/sampleEthgasstationGas.js.map +0 -1
  216. package/dist/node/test/sampleEthgasstationGas.mjs +0 -24
  217. package/dist/node/test/sampleEthgasstationGas.mjs.map +0 -1
@@ -1,19 +0,0 @@
1
- // src/test/sampleEtherchainGasV2.ts
2
- import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins";
3
- var sampleEtherchainGasV2 = {
4
- code: 200,
5
- data: {
6
- fast: 19803047330,
7
- priceUSD: 1195.77,
8
- rapid: 29714286170,
9
- slow: 112e8,
10
- standard: 12e9,
11
- timestamp: 1668621234096
12
- },
13
- schema: EthereumGasEtherchainV2Schema,
14
- timestamp: 1668621240790
15
- };
16
- export {
17
- sampleEtherchainGasV2
18
- };
19
- //# sourceMappingURL=sampleEtherchainGasV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":";AAAA,SAAyC,qCAAqC;AAEvE,IAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/test/sampleEthersGas.ts
21
- var sampleEthersGas_exports = {};
22
- __export(sampleEthersGas_exports, {
23
- sampleEthersGas: () => sampleEthersGas
24
- });
25
- module.exports = __toCommonJS(sampleEthersGas_exports);
26
- var import_ethers_ethereum_gas_payload_plugin = require("@xyo-network/ethers-ethereum-gas-payload-plugin");
27
- var sampleEthersGas = {
28
- gasPrice: 13547863640,
29
- lastBaseFeePerGas: 13447862081,
30
- maxFeePerGas: 28395724162,
31
- maxPriorityFeePerGas: 15e8,
32
- schema: import_ethers_ethereum_gas_payload_plugin.EthereumGasEthersSchema,
33
- timestamp: 1668697958837
34
- };
35
- // Annotate the CommonJS export names for ESM import in node:
36
- 0 && (module.exports = {
37
- sampleEthersGas
38
- });
39
- //# sourceMappingURL=sampleEthersGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gDAAkE;AAE3D,IAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,14 +0,0 @@
1
- // src/test/sampleEthersGas.ts
2
- import { EthereumGasEthersSchema } from "@xyo-network/ethers-ethereum-gas-payload-plugin";
3
- var sampleEthersGas = {
4
- gasPrice: 13547863640,
5
- lastBaseFeePerGas: 13447862081,
6
- maxFeePerGas: 28395724162,
7
- maxPriorityFeePerGas: 15e8,
8
- schema: EthereumGasEthersSchema,
9
- timestamp: 1668697958837
10
- };
11
- export {
12
- sampleEthersGas
13
- };
14
- //# sourceMappingURL=sampleEthersGas.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAAmC,+BAA+B;AAE3D,IAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/test/sampleEtherscanGas.ts
21
- var sampleEtherscanGas_exports = {};
22
- __export(sampleEtherscanGas_exports, {
23
- sampleEtherscanGas: () => sampleEtherscanGas
24
- });
25
- module.exports = __toCommonJS(sampleEtherscanGas_exports);
26
- var import_etherscan_ethereum_gas_payload_plugin = require("@xyo-network/etherscan-ethereum-gas-payload-plugin");
27
- var sampleEtherscanGas = {
28
- message: "OK",
29
- result: {
30
- FastGasPrice: "30",
31
- LastBlock: "15990556",
32
- ProposeGasPrice: "29",
33
- SafeGasPrice: "28",
34
- gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
35
- suggestBaseFee: "27.616709247"
36
- },
37
- schema: import_etherscan_ethereum_gas_payload_plugin.EthereumGasEtherscanSchema,
38
- status: "1",
39
- timestamp: 1668697958837
40
- };
41
- // Annotate the CommonJS export names for ESM import in node:
42
- 0 && (module.exports = {
43
- sampleEtherscanGas
44
- });
45
- //# sourceMappingURL=sampleEtherscanGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAAwE;AAEjE,IAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,20 +0,0 @@
1
- // src/test/sampleEtherscanGas.ts
2
- import { EthereumGasEtherscanSchema } from "@xyo-network/etherscan-ethereum-gas-payload-plugin";
3
- var sampleEtherscanGas = {
4
- message: "OK",
5
- result: {
6
- FastGasPrice: "30",
7
- LastBlock: "15990556",
8
- ProposeGasPrice: "29",
9
- SafeGasPrice: "28",
10
- gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
11
- suggestBaseFee: "27.616709247"
12
- },
13
- schema: EthereumGasEtherscanSchema,
14
- status: "1",
15
- timestamp: 1668697958837
16
- };
17
- export {
18
- sampleEtherscanGas
19
- };
20
- //# sourceMappingURL=sampleEtherscanGas.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAAsC,kCAAkC;AAEjE,IAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/test/sampleEthgasstationGas.ts
21
- var sampleEthgasstationGas_exports = {};
22
- __export(sampleEthgasstationGas_exports, {
23
- sampleEthgasstationGas: () => sampleEthgasstationGas
24
- });
25
- module.exports = __toCommonJS(sampleEthgasstationGas_exports);
26
- var import_ethgasstation_ethereum_gas_payload_plugin = require("@xyo-network/ethgasstation-ethereum-gas-payload-plugin");
27
- var sampleEthgasstationGas = {
28
- baseFee: 10,
29
- blockNumber: 16028883,
30
- blockTime: 11.88,
31
- gasPrice: {
32
- fast: 12,
33
- instant: 13,
34
- standard: 12
35
- },
36
- nextBaseFee: 10,
37
- priorityFee: {
38
- fast: 2,
39
- instant: 2,
40
- standard: 2
41
- },
42
- schema: import_ethgasstation_ethereum_gas_payload_plugin.EthereumGasEthgasstationSchema,
43
- timestamp: 1668697958837
44
- };
45
- // Annotate the CommonJS export names for ESM import in node:
46
- 0 && (module.exports = {
47
- sampleEthgasstationGas
48
- });
49
- //# sourceMappingURL=sampleEthgasstationGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthgasstationGas.ts"],"sourcesContent":["import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\n\nexport const sampleEthgasstationGas: EthereumGasEthgasstationPayload = {\n baseFee: 10,\n blockNumber: 16028883,\n blockTime: 11.88,\n gasPrice: {\n fast: 12,\n instant: 13,\n standard: 12,\n },\n nextBaseFee: 10,\n priorityFee: {\n fast: 2,\n instant: 2,\n standard: 2,\n },\n schema: EthereumGasEthgasstationSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uDAAgF;AAEzE,IAAM,yBAA0D;AAAA,EACrE,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,24 +0,0 @@
1
- // src/test/sampleEthgasstationGas.ts
2
- import { EthereumGasEthgasstationSchema } from "@xyo-network/ethgasstation-ethereum-gas-payload-plugin";
3
- var sampleEthgasstationGas = {
4
- baseFee: 10,
5
- blockNumber: 16028883,
6
- blockTime: 11.88,
7
- gasPrice: {
8
- fast: 12,
9
- instant: 13,
10
- standard: 12
11
- },
12
- nextBaseFee: 10,
13
- priorityFee: {
14
- fast: 2,
15
- instant: 2,
16
- standard: 2
17
- },
18
- schema: EthereumGasEthgasstationSchema,
19
- timestamp: 1668697958837
20
- };
21
- export {
22
- sampleEthgasstationGas
23
- };
24
- //# sourceMappingURL=sampleEthgasstationGas.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthgasstationGas.ts"],"sourcesContent":["import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\n\nexport const sampleEthgasstationGas: EthereumGasEthgasstationPayload = {\n baseFee: 10,\n blockNumber: 16028883,\n blockTime: 11.88,\n gasPrice: {\n fast: 12,\n instant: 13,\n standard: 12,\n },\n nextBaseFee: 10,\n priorityFee: {\n fast: 2,\n instant: 2,\n standard: 2,\n },\n schema: EthereumGasEthgasstationSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAA0C,sCAAsC;AAEzE,IAAM,yBAA0D;AAAA,EACrE,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}