@xyo-network/etherchain-ethereum-gas-v2-plugin 2.73.3 → 2.73.4

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 (51) hide show
  1. package/dist/docs.json +75 -75
  2. package/dist/index.d.mts +22 -0
  3. package/dist/index.d.ts +22 -0
  4. package/dist/index.js +80 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.mjs +51 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +34 -21
  9. package/tsup.config.ts +16 -0
  10. package/dist/cjs/Config.js +0 -3
  11. package/dist/cjs/Config.js.map +0 -1
  12. package/dist/cjs/Plugin.js +0 -15
  13. package/dist/cjs/Plugin.js.map +0 -1
  14. package/dist/cjs/Schema.js +0 -5
  15. package/dist/cjs/Schema.js.map +0 -1
  16. package/dist/cjs/Witness.js +0 -19
  17. package/dist/cjs/Witness.js.map +0 -1
  18. package/dist/cjs/index.js +0 -12
  19. package/dist/cjs/index.js.map +0 -1
  20. package/dist/cjs/lib/getV2GasFromEtherchain.js +0 -11
  21. package/dist/cjs/lib/getV2GasFromEtherchain.js.map +0 -1
  22. package/dist/cjs/lib/index.js +0 -5
  23. package/dist/cjs/lib/index.js.map +0 -1
  24. package/dist/esm/Config.js +0 -2
  25. package/dist/esm/Config.js.map +0 -1
  26. package/dist/esm/Plugin.js +0 -10
  27. package/dist/esm/Plugin.js.map +0 -1
  28. package/dist/esm/Schema.js +0 -2
  29. package/dist/esm/Schema.js.map +0 -1
  30. package/dist/esm/Witness.js +0 -16
  31. package/dist/esm/Witness.js.map +0 -1
  32. package/dist/esm/index.js +0 -8
  33. package/dist/esm/index.js.map +0 -1
  34. package/dist/esm/lib/getV2GasFromEtherchain.js +0 -6
  35. package/dist/esm/lib/getV2GasFromEtherchain.js.map +0 -1
  36. package/dist/esm/lib/index.js +0 -2
  37. package/dist/esm/lib/index.js.map +0 -1
  38. package/dist/types/Config.d.ts +0 -6
  39. package/dist/types/Config.d.ts.map +0 -1
  40. package/dist/types/Plugin.d.ts +0 -2
  41. package/dist/types/Plugin.d.ts.map +0 -1
  42. package/dist/types/Schema.d.ts +0 -3
  43. package/dist/types/Schema.d.ts.map +0 -1
  44. package/dist/types/Witness.d.ts +0 -10
  45. package/dist/types/Witness.d.ts.map +0 -1
  46. package/dist/types/index.d.ts +0 -7
  47. package/dist/types/index.d.ts.map +0 -1
  48. package/dist/types/lib/getV2GasFromEtherchain.d.ts +0 -3
  49. package/dist/types/lib/getV2GasFromEtherchain.d.ts.map +0 -1
  50. package/dist/types/lib/index.d.ts +0 -2
  51. package/dist/types/lib/index.d.ts.map +0 -1
@@ -0,0 +1,22 @@
1
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
+ import * as _xyo_network_witness_model from '@xyo-network/witness-model';
3
+ import { WitnessConfig, WitnessParams, AbstractWitness } from '@xyo-network/witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module';
5
+ import { Payload } from '@xyo-network/payload-model';
6
+
7
+ declare const EthereumGasEtherchainV2Plugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<_xyo_network_witness_model.WitnessModule>;
8
+
9
+ type EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config';
10
+ declare const EthereumGasEtherchainV2WitnessConfigSchema: EthereumGasEtherchainV2WitnessConfigSchema;
11
+
12
+ type EthereumGasEtherchainV2WitnessConfig = WitnessConfig<{
13
+ schema: EthereumGasEtherchainV2WitnessConfigSchema;
14
+ }>;
15
+
16
+ type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
17
+ declare class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {
18
+ static configSchemas: "network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config"[];
19
+ protected observeHandler(): Promise<Payload[]>;
20
+ }
21
+
22
+ export { EtherchainEthereumGasWitnessV2, EtherchainEthereumGasWitnessV2Params, EthereumGasEtherchainV2Plugin, EthereumGasEtherchainV2WitnessConfig, EthereumGasEtherchainV2WitnessConfigSchema, EthereumGasEtherchainV2Plugin as default };
@@ -0,0 +1,22 @@
1
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
+ import * as _xyo_network_witness_model from '@xyo-network/witness-model';
3
+ import { WitnessConfig, WitnessParams, AbstractWitness } from '@xyo-network/witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module';
5
+ import { Payload } from '@xyo-network/payload-model';
6
+
7
+ declare const EthereumGasEtherchainV2Plugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<_xyo_network_witness_model.WitnessModule>;
8
+
9
+ type EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config';
10
+ declare const EthereumGasEtherchainV2WitnessConfigSchema: EthereumGasEtherchainV2WitnessConfigSchema;
11
+
12
+ type EthereumGasEtherchainV2WitnessConfig = WitnessConfig<{
13
+ schema: EthereumGasEtherchainV2WitnessConfigSchema;
14
+ }>;
15
+
16
+ type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
17
+ declare class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {
18
+ static configSchemas: "network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config"[];
19
+ protected observeHandler(): Promise<Payload[]>;
20
+ }
21
+
22
+ export { EtherchainEthereumGasWitnessV2, EtherchainEthereumGasWitnessV2Params, EthereumGasEtherchainV2Plugin, EthereumGasEtherchainV2WitnessConfig, EthereumGasEtherchainV2WitnessConfigSchema, EthereumGasEtherchainV2Plugin as default };
package/dist/index.js ADDED
@@ -0,0 +1,80 @@
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/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ EtherchainEthereumGasWitnessV2: () => EtherchainEthereumGasWitnessV2,
24
+ EthereumGasEtherchainV2Plugin: () => EthereumGasEtherchainV2Plugin,
25
+ EthereumGasEtherchainV2WitnessConfigSchema: () => EthereumGasEtherchainV2WitnessConfigSchema,
26
+ default: () => src_default
27
+ });
28
+ module.exports = __toCommonJS(src_exports);
29
+
30
+ // src/Plugin.ts
31
+ var import_etherchain_ethereum_gas_v2_payload_plugin2 = require("@xyo-network/etherchain-ethereum-gas-v2-payload-plugin");
32
+ var import_payload_model = require("@xyo-network/payload-model");
33
+ var import_payloadset_plugin = require("@xyo-network/payloadset-plugin");
34
+
35
+ // src/Witness.ts
36
+ var import_etherchain_ethereum_gas_v2_payload_plugin = require("@xyo-network/etherchain-ethereum-gas-v2-payload-plugin");
37
+ var import_witness = require("@xyo-network/witness");
38
+
39
+ // src/lib/getV2GasFromEtherchain.ts
40
+ var import_axios = require("@xyo-network/axios");
41
+ var url = "https://beaconcha.in/api/v1/execution/gasnow";
42
+ var getV2GasFromEtherchain = async () => {
43
+ return (await import_axios.axios.get(url)).data;
44
+ };
45
+
46
+ // src/Schema.ts
47
+ var EthereumGasEtherchainV2WitnessConfigSchema = "network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config";
48
+
49
+ // src/Witness.ts
50
+ var EtherchainEthereumGasWitnessV2 = class extends import_witness.AbstractWitness {
51
+ static configSchemas = [EthereumGasEtherchainV2WitnessConfigSchema];
52
+ async observeHandler() {
53
+ const payload = {
54
+ ...await getV2GasFromEtherchain(),
55
+ schema: import_etherchain_ethereum_gas_v2_payload_plugin.EthereumGasEtherchainV2Schema,
56
+ timestamp: Date.now()
57
+ };
58
+ return [payload];
59
+ }
60
+ };
61
+
62
+ // src/Plugin.ts
63
+ var EthereumGasEtherchainV2Plugin = () => (0, import_payloadset_plugin.createPayloadSetWitnessPlugin)(
64
+ { required: { [import_etherchain_ethereum_gas_v2_payload_plugin2.EthereumGasEtherchainV2Schema]: 1 }, schema: import_payload_model.PayloadSetSchema },
65
+ {
66
+ witness: async (params) => {
67
+ return await EtherchainEthereumGasWitnessV2.create(params);
68
+ }
69
+ }
70
+ );
71
+
72
+ // src/index.ts
73
+ var src_default = EthereumGasEtherchainV2Plugin;
74
+ // Annotate the CommonJS export names for ESM import in node:
75
+ 0 && (module.exports = {
76
+ EtherchainEthereumGasWitnessV2,
77
+ EthereumGasEtherchainV2Plugin,
78
+ EthereumGasEtherchainV2WitnessConfigSchema
79
+ });
80
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/Plugin.ts","../src/Witness.ts","../src/lib/getV2GasFromEtherchain.ts","../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Plugin } from './Plugin'\n\nexport * from './Config'\nexport * from './Schema'\nexport * from './Witness'\n\nexport { EthereumGasEtherchainV2Plugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumGasEtherchainV2Plugin\n","import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { AnyConfigSchema } from '@xyo-network/module'\nimport { Payload } from '@xyo-network/payload-model'\nimport { AbstractWitness, WitnessParams } from '@xyo-network/witness'\n\nimport { EthereumGasEtherchainV2WitnessConfig } from './Config'\nimport { getV2GasFromEtherchain } from './lib'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override configSchemas = [EthereumGasEtherchainV2WitnessConfigSchema]\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import { axios } from '@xyo-network/axios'\nimport { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\n\nconst url = 'https://beaconcha.in/api/v1/execution/gasnow'\n\nexport const getV2GasFromEtherchain = async (): Promise<EthereumGasEtherchainV2Response> => {\n return (await axios.get<EthereumGasEtherchainV2Response>(url)).data\n}\n","export type EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config'\nexport const EthereumGasEtherchainV2WitnessConfigSchema: EthereumGasEtherchainV2WitnessConfigSchema =\n 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,oDAA8C;AAC9C,2BAAiC;AACjC,+BAA8C;;;ACF9C,uDAA8E;AAG9E,qBAA+C;;;ACH/C,mBAAsB;AAGtB,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,mBAAM,IAAqC,GAAG,GAAG;AACjE;;;ACNO,IAAM,6CACX;;;AFSK,IAAM,iCAAN,cAA6C,+BAAsD;AAAA,EACxG,OAAgB,gBAAgB,CAAC,0CAA0C;AAAA,EAE3E,MAAyB,iBAAqC;AAC5D,UAAM,UAA0C;AAAA,MAC9C,GAAI,MAAM,uBAAuB;AAAA,MACjC,QAAQ;AAAA,MACR,WAAW,KAAK,IAAI;AAAA,IACtB;AACA,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADhBO,IAAM,gCAAgC,UAC3C;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,+EAA6B,GAAG,EAAE,GAAG,QAAQ,sCAAiB;AAAA,EAC7E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,+BAA+B,OAAO,MAAM;AAAA,IAC5D;AAAA,EACF;AACF;;;ADLF,IAAO,cAAQ;","names":["import_etherchain_ethereum_gas_v2_payload_plugin"]}
package/dist/index.mjs ADDED
@@ -0,0 +1,51 @@
1
+ // src/Plugin.ts
2
+ import { EthereumGasEtherchainV2Schema as EthereumGasEtherchainV2Schema2 } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
3
+ import { PayloadSetSchema } from "@xyo-network/payload-model";
4
+ import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
5
+
6
+ // src/Witness.ts
7
+ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
8
+ import { AbstractWitness } from "@xyo-network/witness";
9
+
10
+ // src/lib/getV2GasFromEtherchain.ts
11
+ import { axios } from "@xyo-network/axios";
12
+ var url = "https://beaconcha.in/api/v1/execution/gasnow";
13
+ var getV2GasFromEtherchain = async () => {
14
+ return (await axios.get(url)).data;
15
+ };
16
+
17
+ // src/Schema.ts
18
+ var EthereumGasEtherchainV2WitnessConfigSchema = "network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config";
19
+
20
+ // src/Witness.ts
21
+ var EtherchainEthereumGasWitnessV2 = class extends AbstractWitness {
22
+ static configSchemas = [EthereumGasEtherchainV2WitnessConfigSchema];
23
+ async observeHandler() {
24
+ const payload = {
25
+ ...await getV2GasFromEtherchain(),
26
+ schema: EthereumGasEtherchainV2Schema,
27
+ timestamp: Date.now()
28
+ };
29
+ return [payload];
30
+ }
31
+ };
32
+
33
+ // src/Plugin.ts
34
+ var EthereumGasEtherchainV2Plugin = () => createPayloadSetWitnessPlugin(
35
+ { required: { [EthereumGasEtherchainV2Schema2]: 1 }, schema: PayloadSetSchema },
36
+ {
37
+ witness: async (params) => {
38
+ return await EtherchainEthereumGasWitnessV2.create(params);
39
+ }
40
+ }
41
+ );
42
+
43
+ // src/index.ts
44
+ var src_default = EthereumGasEtherchainV2Plugin;
45
+ export {
46
+ EtherchainEthereumGasWitnessV2,
47
+ EthereumGasEtherchainV2Plugin,
48
+ EthereumGasEtherchainV2WitnessConfigSchema,
49
+ src_default as default
50
+ };
51
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Plugin.ts","../src/Witness.ts","../src/lib/getV2GasFromEtherchain.ts","../src/Schema.ts","../src/index.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { AnyConfigSchema } from '@xyo-network/module'\nimport { Payload } from '@xyo-network/payload-model'\nimport { AbstractWitness, WitnessParams } from '@xyo-network/witness'\n\nimport { EthereumGasEtherchainV2WitnessConfig } from './Config'\nimport { getV2GasFromEtherchain } from './lib'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override configSchemas = [EthereumGasEtherchainV2WitnessConfigSchema]\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import { axios } from '@xyo-network/axios'\nimport { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\n\nconst url = 'https://beaconcha.in/api/v1/execution/gasnow'\n\nexport const getV2GasFromEtherchain = async (): Promise<EthereumGasEtherchainV2Response> => {\n return (await axios.get<EthereumGasEtherchainV2Response>(url)).data\n}\n","export type EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config'\nexport const EthereumGasEtherchainV2WitnessConfigSchema: EthereumGasEtherchainV2WitnessConfigSchema =\n 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config'\n","import { EthereumGasEtherchainV2Plugin } from './Plugin'\n\nexport * from './Config'\nexport * from './Schema'\nexport * from './Witness'\n\nexport { EthereumGasEtherchainV2Plugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default EthereumGasEtherchainV2Plugin\n"],"mappings":";AAAA,SAAS,iCAAAA,sCAAqC;AAC9C,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACF9C,SAAyC,qCAAqC;AAG9E,SAAS,uBAAsC;;;ACH/C,SAAS,aAAa;AAGtB,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,MAAM,IAAqC,GAAG,GAAG;AACjE;;;ACNO,IAAM,6CACX;;;AFSK,IAAM,iCAAN,cAA6C,gBAAsD;AAAA,EACxG,OAAgB,gBAAgB,CAAC,0CAA0C;AAAA,EAE3E,MAAyB,iBAAqC;AAC5D,UAAM,UAA0C;AAAA,MAC9C,GAAI,MAAM,uBAAuB;AAAA,MACjC,QAAQ;AAAA,MACR,WAAW,KAAK,IAAI;AAAA,IACtB;AACA,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADhBO,IAAM,gCAAgC,MAC3C;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,8BAA6B,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EAC7E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,+BAA+B,OAAO,MAAM;AAAA,IAC5D;AAAA,EACF;AACF;;;AILF,IAAO,cAAQ;","names":["EthereumGasEtherchainV2Schema","EthereumGasEtherchainV2Schema"]}
package/package.json CHANGED
@@ -10,40 +10,54 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/axios": "~2.73.3",
14
- "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~2.73.3",
15
- "@xyo-network/module": "~2.73.3",
16
- "@xyo-network/payload-model": "~2.73.3",
17
- "@xyo-network/payloadset-plugin": "~2.73.3",
18
- "@xyo-network/witness": "~2.73.3"
13
+ "@xyo-network/axios": "~2.73.4",
14
+ "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~2.73.4",
15
+ "@xyo-network/module": "~2.73.4",
16
+ "@xyo-network/payload-model": "~2.73.4",
17
+ "@xyo-network/payloadset-plugin": "~2.73.4",
18
+ "@xyo-network/witness": "~2.73.4"
19
19
  },
20
20
  "devDependencies": {
21
- "@xylabs/ts-scripts-yarn3": "^2.19.5",
22
- "@xylabs/tsconfig": "^2.19.5",
21
+ "@xylabs/ts-scripts-yarn3": "^2.19.12",
22
+ "@xylabs/tsconfig": "^2.19.12",
23
+ "publint": "^0.2.2",
24
+ "tsup": "^7.2.0",
23
25
  "typescript": "^5.2.2"
24
26
  },
27
+ "scripts": {
28
+ "package-compile": "tsup && publint",
29
+ "package-recompile": "tsup && publint"
30
+ },
25
31
  "description": "Primary SDK for using XYO Protocol 2.0",
26
- "browser": "dist/esm/index.js",
27
32
  "docs": "dist/docs.json",
33
+ "types": "dist/index.d.ts",
28
34
  "exports": {
29
35
  ".": {
30
- "node": {
31
- "import": "./dist/esm/index.js",
32
- "require": "./dist/cjs/index.js"
33
- },
34
- "browser": {
35
- "import": "./dist/esm/index.js",
36
- "require": "./dist/cjs/index.js"
36
+ "require": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
37
39
  },
38
- "default": "./dist/esm/index.js"
40
+ "import": {
41
+ "types": "./dist/index.d.mts",
42
+ "default": "./dist/index.mjs"
43
+ }
39
44
  },
40
45
  "./dist/docs.json": {
41
46
  "default": "./dist/docs.json"
42
47
  },
48
+ "./cjs": {
49
+ "default": "./dist/index.js"
50
+ },
51
+ "./docs": {
52
+ "default": "./dist/docs.json"
53
+ },
54
+ "./esm": {
55
+ "default": "./dist/index.mjs"
56
+ },
43
57
  "./package.json": "./package.json"
44
58
  },
45
- "main": "dist/cjs/index.js",
46
- "module": "dist/esm/index.js",
59
+ "main": "dist/index.js",
60
+ "module": "dist/index.mjs",
47
61
  "homepage": "https://xyo.network",
48
62
  "license": "LGPL-3.0",
49
63
  "publishConfig": {
@@ -54,6 +68,5 @@
54
68
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
55
69
  },
56
70
  "sideEffects": false,
57
- "types": "dist/types/index.d.ts",
58
- "version": "2.73.3"
71
+ "version": "2.73.4"
59
72
  }
package/tsup.config.ts ADDED
@@ -0,0 +1,16 @@
1
+ import { defineConfig } from 'tsup'
2
+
3
+ // eslint-disable-next-line import/no-default-export
4
+ export default defineConfig({
5
+ bundle: true,
6
+ cjsInterop: true,
7
+ clean: false,
8
+ dts: {
9
+ entry: ['src/index.ts'],
10
+ },
11
+ entry: ['src/index.ts'],
12
+ format: ['cjs', 'esm'],
13
+ sourcemap: true,
14
+ splitting: false,
15
+ tsconfig: 'tsconfig.json',
16
+ })
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.js","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EthereumGasEtherchainV2Plugin = void 0;
4
- const tslib_1 = require("tslib");
5
- const etherchain_ethereum_gas_v2_payload_plugin_1 = require("@xyo-network/etherchain-ethereum-gas-v2-payload-plugin");
6
- const payload_model_1 = require("@xyo-network/payload-model");
7
- const payloadset_plugin_1 = require("@xyo-network/payloadset-plugin");
8
- const Witness_1 = require("./Witness");
9
- const EthereumGasEtherchainV2Plugin = () => (0, payloadset_plugin_1.createPayloadSetWitnessPlugin)({ required: { [etherchain_ethereum_gas_v2_payload_plugin_1.EthereumGasEtherchainV2Schema]: 1 }, schema: payload_model_1.PayloadSetSchema }, {
10
- witness: (params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
11
- return (yield Witness_1.EtherchainEthereumGasWitnessV2.create(params));
12
- }),
13
- });
14
- exports.EthereumGasEtherchainV2Plugin = EthereumGasEtherchainV2Plugin;
15
- //# sourceMappingURL=Plugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;;AAAA,sHAAsG;AACtG,8DAA6D;AAC7D,sEAA8E;AAE9E,uCAA0D;AAEnD,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAChD,IAAA,iDAA6B,EAC3B,EAAE,QAAQ,EAAE,EAAE,CAAC,yEAA6B,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gCAAgB,EAAE,EAC9E;IACE,OAAO,EAAE,CAAO,MAAM,EAAE,EAAE;QACxB,OAAO,CAAC,MAAM,wCAA8B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAmC,CAAA;IAChG,CAAC,CAAA;CACF,CACF,CAAA;AARU,QAAA,6BAA6B,iCAQvC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EthereumGasEtherchainV2WitnessConfigSchema = void 0;
4
- exports.EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config';
5
- //# sourceMappingURL=Schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.js","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":";;;AACa,QAAA,0CAA0C,GACrD,kEAAkE,CAAA"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EtherchainEthereumGasWitnessV2 = void 0;
4
- const tslib_1 = require("tslib");
5
- const etherchain_ethereum_gas_v2_payload_plugin_1 = require("@xyo-network/etherchain-ethereum-gas-v2-payload-plugin");
6
- const witness_1 = require("@xyo-network/witness");
7
- const lib_1 = require("./lib");
8
- const Schema_1 = require("./Schema");
9
- class EtherchainEthereumGasWitnessV2 extends witness_1.AbstractWitness {
10
- observeHandler() {
11
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
- const payload = Object.assign(Object.assign({}, (yield (0, lib_1.getV2GasFromEtherchain)())), { schema: etherchain_ethereum_gas_v2_payload_plugin_1.EthereumGasEtherchainV2Schema, timestamp: Date.now() });
13
- return [payload];
14
- });
15
- }
16
- }
17
- exports.EtherchainEthereumGasWitnessV2 = EtherchainEthereumGasWitnessV2;
18
- EtherchainEthereumGasWitnessV2.configSchemas = [Schema_1.EthereumGasEtherchainV2WitnessConfigSchema];
19
- //# sourceMappingURL=Witness.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":";;;;AAAA,sHAAsI;AAGtI,kDAAqE;AAGrE,+BAA8C;AAC9C,qCAAqE;AAIrE,MAAa,8BAA+B,SAAQ,yBAAqD;IAG9E,cAAc;;YACrC,MAAM,OAAO,mCACR,CAAC,MAAM,IAAA,4BAAsB,GAAE,CAAC,KACnC,MAAM,EAAE,yEAA6B,EACrC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,GACtB,CAAA;YACD,OAAO,CAAC,OAAO,CAAC,CAAA;QAClB,CAAC;KAAA;;AAVH,wEAWC;AAViB,4CAAa,GAAG,CAAC,mDAA0C,CAAC,CAAA"}
package/dist/cjs/index.js DELETED
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EthereumGasEtherchainV2Plugin = void 0;
4
- const tslib_1 = require("tslib");
5
- const Plugin_1 = require("./Plugin");
6
- Object.defineProperty(exports, "EthereumGasEtherchainV2Plugin", { enumerable: true, get: function () { return Plugin_1.EthereumGasEtherchainV2Plugin; } });
7
- tslib_1.__exportStar(require("./Config"), exports);
8
- tslib_1.__exportStar(require("./Schema"), exports);
9
- tslib_1.__exportStar(require("./Witness"), exports);
10
- // eslint-disable-next-line import/no-default-export
11
- exports.default = Plugin_1.EthereumGasEtherchainV2Plugin;
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qCAAwD;AAM/C,8GANA,sCAA6B,OAMA;AAJtC,mDAAwB;AACxB,mDAAwB;AACxB,oDAAyB;AAIzB,oDAAoD;AACpD,kBAAe,sCAA6B,CAAA"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getV2GasFromEtherchain = void 0;
4
- const tslib_1 = require("tslib");
5
- const axios_1 = require("@xyo-network/axios");
6
- const url = 'https://beaconcha.in/api/v1/execution/gasnow';
7
- const getV2GasFromEtherchain = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
8
- return (yield axios_1.axios.get(url)).data;
9
- });
10
- exports.getV2GasFromEtherchain = getV2GasFromEtherchain;
11
- //# sourceMappingURL=getV2GasFromEtherchain.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV2GasFromEtherchain.js","sourceRoot":"","sources":["../../../src/lib/getV2GasFromEtherchain.ts"],"names":[],"mappings":";;;;AAAA,8CAA0C;AAG1C,MAAM,GAAG,GAAG,8CAA8C,CAAA;AAEnD,MAAM,sBAAsB,GAAG,GAAmD,EAAE;IACzF,OAAO,CAAC,MAAM,aAAK,CAAC,GAAG,CAAkC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA;AACrE,CAAC,CAAA,CAAA;AAFY,QAAA,sBAAsB,0BAElC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./getV2GasFromEtherchain"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.js","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin';
2
- import { PayloadSetSchema } from '@xyo-network/payload-model';
3
- import { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
4
- import { EtherchainEthereumGasWitnessV2 } from './Witness';
5
- export const EthereumGasEtherchainV2Plugin = () => createPayloadSetWitnessPlugin({ required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema }, {
6
- witness: async (params) => {
7
- return (await EtherchainEthereumGasWitnessV2.create(params));
8
- },
9
- });
10
- //# sourceMappingURL=Plugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,wDAAwD,CAAA;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAA;AAE1D,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAChD,6BAA6B,CAC3B,EAAE,QAAQ,EAAE,EAAE,CAAC,6BAA6B,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAC9E;IACE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;QACxB,OAAO,CAAC,MAAM,8BAA8B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAmC,CAAA;IAChG,CAAC;CACF,CACF,CAAA"}
@@ -1,2 +0,0 @@
1
- export const EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config';
2
- //# sourceMappingURL=Schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.js","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,0CAA0C,GACrD,kEAAkE,CAAA"}
@@ -1,16 +0,0 @@
1
- import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin';
2
- import { AbstractWitness } from '@xyo-network/witness';
3
- import { getV2GasFromEtherchain } from './lib';
4
- import { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema';
5
- export class EtherchainEthereumGasWitnessV2 extends AbstractWitness {
6
- static configSchemas = [EthereumGasEtherchainV2WitnessConfigSchema];
7
- async observeHandler() {
8
- const payload = {
9
- ...(await getV2GasFromEtherchain()),
10
- schema: EthereumGasEtherchainV2Schema,
11
- timestamp: Date.now(),
12
- };
13
- return [payload];
14
- }
15
- }
16
- //# sourceMappingURL=Witness.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,6BAA6B,EAAE,MAAM,wDAAwD,CAAA;AAGtI,OAAO,EAAE,eAAe,EAAiB,MAAM,sBAAsB,CAAA;AAGrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAA;AAIrE,MAAM,OAAO,8BAA+B,SAAQ,eAAqD;IACvG,MAAM,CAAU,aAAa,GAAG,CAAC,0CAA0C,CAAC,CAAA;IAEzD,KAAK,CAAC,cAAc;QACrC,MAAM,OAAO,GAAmC;YAC9C,GAAG,CAAC,MAAM,sBAAsB,EAAE,CAAC;YACnC,MAAM,EAAE,6BAA6B;YACrC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;SACtB,CAAA;QACD,OAAO,CAAC,OAAO,CAAC,CAAA;IAClB,CAAC"}
package/dist/esm/index.js DELETED
@@ -1,8 +0,0 @@
1
- import { EthereumGasEtherchainV2Plugin } from './Plugin';
2
- export * from './Config';
3
- export * from './Schema';
4
- export * from './Witness';
5
- export { EthereumGasEtherchainV2Plugin };
6
- // eslint-disable-next-line import/no-default-export
7
- export default EthereumGasEtherchainV2Plugin;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,6BAA6B,EAAE,CAAA;AAExC,oDAAoD;AACpD,eAAe,6BAA6B,CAAA"}
@@ -1,6 +0,0 @@
1
- import { axios } from '@xyo-network/axios';
2
- const url = 'https://beaconcha.in/api/v1/execution/gasnow';
3
- export const getV2GasFromEtherchain = async () => {
4
- return (await axios.get(url)).data;
5
- };
6
- //# sourceMappingURL=getV2GasFromEtherchain.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV2GasFromEtherchain.js","sourceRoot":"","sources":["../../../src/lib/getV2GasFromEtherchain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,GAAG,GAAG,8CAA8C,CAAA;AAE1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,IAA8C,EAAE;IACzF,OAAO,CAAC,MAAM,KAAK,CAAC,GAAG,CAAkC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA;AACrE,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './getV2GasFromEtherchain';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
@@ -1,6 +0,0 @@
1
- import { WitnessConfig } from '@xyo-network/witness';
2
- import { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema';
3
- export type EthereumGasEtherchainV2WitnessConfig = WitnessConfig<{
4
- schema: EthereumGasEtherchainV2WitnessConfigSchema;
5
- }>;
6
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAA;AAErE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC;IAC/D,MAAM,EAAE,0CAA0C,CAAA;CACnD,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<import("@xyo-network/witness-model").WitnessModule>;
2
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,4HAQvC,CAAA"}
@@ -1,3 +0,0 @@
1
- export type EthereumGasEtherchainV2WitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config';
2
- export declare const EthereumGasEtherchainV2WitnessConfigSchema: EthereumGasEtherchainV2WitnessConfigSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0CAA0C,GAAG,kEAAkE,CAAA;AAC3H,eAAO,MAAM,0CAA0C,EAAE,0CACW,CAAA"}
@@ -1,10 +0,0 @@
1
- import { AnyConfigSchema } from '@xyo-network/module';
2
- import { Payload } from '@xyo-network/payload-model';
3
- import { AbstractWitness, WitnessParams } from '@xyo-network/witness';
4
- import { EthereumGasEtherchainV2WitnessConfig } from './Config';
5
- export type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
6
- export declare class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {
7
- static configSchemas: "network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config"[];
8
- protected observeHandler(): Promise<Payload[]>;
9
- }
10
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAA;AAI/D,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,OAAgB,aAAa,uEAA+C;cAEnD,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
@@ -1,7 +0,0 @@
1
- import { EthereumGasEtherchainV2Plugin } from './Plugin';
2
- export * from './Config';
3
- export * from './Schema';
4
- export * from './Witness';
5
- export { EthereumGasEtherchainV2Plugin };
6
- export default EthereumGasEtherchainV2Plugin;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,6BAA6B,EAAE,CAAA;AAGxC,eAAe,6BAA6B,CAAA"}
@@ -1,3 +0,0 @@
1
- import { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin';
2
- export declare const getV2GasFromEtherchain: () => Promise<EthereumGasEtherchainV2Response>;
3
- //# sourceMappingURL=getV2GasFromEtherchain.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV2GasFromEtherchain.d.ts","sourceRoot":"","sources":["../../../src/lib/getV2GasFromEtherchain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AAIxG,eAAO,MAAM,sBAAsB,QAAa,QAAQ,+BAA+B,CAEtF,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './getV2GasFromEtherchain';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}