@xyo-network/etherscan-ethereum-gas-plugin 2.73.4 → 2.74.0

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.
@@ -0,0 +1,7 @@
1
+ import { WitnessConfig } from '@xyo-network/witness';
2
+ import { EthereumGasEtherscanWitnessConfigSchema } from './Schema';
3
+ export type EthereumGasEtherscanWitnessConfig = WitnessConfig<{
4
+ apiKey: string;
5
+ schema: EthereumGasEtherscanWitnessConfigSchema;
6
+ }>;
7
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
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,uCAAuC,EAAE,MAAM,UAAU,CAAA;AAElE,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,uCAAuC,CAAA;CAChD,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { WitnessConfig } from '@xyo-network/witness';
2
+ import { EthereumGasEtherscanWitnessConfigSchema } from './Schema';
3
+ export type EthereumGasEtherscanWitnessConfig = WitnessConfig<{
4
+ apiKey: string;
5
+ schema: EthereumGasEtherscanWitnessConfigSchema;
6
+ }>;
7
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
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,uCAAuC,EAAE,MAAM,UAAU,CAAA;AAElE,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,uCAAuC,CAAA;CAChD,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanWitness } from './Witness';
2
+ export declare const EthereumGasEtherscanPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<EthereumGasEtherscanWitness>;
3
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAA;AAEvD,eAAO,MAAM,0BAA0B,qGASpC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanWitness } from './Witness';
2
+ export declare const EthereumGasEtherscanPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<EthereumGasEtherscanWitness>;
3
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAA;AAEvD,eAAO,MAAM,0BAA0B,qGASpC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type EthereumGasEtherscanWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherscan.witness.config';
2
+ export declare const EthereumGasEtherscanWitnessConfigSchema: EthereumGasEtherscanWitnessConfigSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uCAAuC,GAAG,8DAA8D,CAAA;AACpH,eAAO,MAAM,uCAAuC,EAAE,uCACU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type EthereumGasEtherscanWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherscan.witness.config';
2
+ export declare const EthereumGasEtherscanWitnessConfigSchema: EthereumGasEtherscanWitnessConfigSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uCAAuC,GAAG,8DAA8D,CAAA;AACpH,eAAO,MAAM,uCAAuC,EAAE,uCACU,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { AnyConfigSchema } from '@xyo-network/module-model';
2
+ import { Payload } from '@xyo-network/payload-model';
3
+ import { AbstractWitness, WitnessParams } from '@xyo-network/witness';
4
+ import { EthereumGasEtherscanWitnessConfig } from './Config';
5
+ export declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
6
+ static configSchemas: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config"[];
7
+ protected observeHandler(): Promise<Payload[]>;
8
+ }
9
+ //# sourceMappingURL=Witness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAErE,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAA;AAI5D,qBAAa,2BAA4B,SAAQ,eAAe,CAAC,aAAa,CAAC,eAAe,CAAC,iCAAiC,CAAC,CAAC,CAAC;IACjI,OAAgB,aAAa,mEAA4C;cAEhD,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAO9D"}
@@ -0,0 +1,9 @@
1
+ import { AnyConfigSchema } from '@xyo-network/module-model';
2
+ import { Payload } from '@xyo-network/payload-model';
3
+ import { AbstractWitness, WitnessParams } from '@xyo-network/witness';
4
+ import { EthereumGasEtherscanWitnessConfig } from './Config';
5
+ export declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
6
+ static configSchemas: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config"[];
7
+ protected observeHandler(): Promise<Payload[]>;
8
+ }
9
+ //# sourceMappingURL=Witness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAErE,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAA;AAI5D,qBAAa,2BAA4B,SAAQ,eAAe,CAAC,aAAa,CAAC,eAAe,CAAC,iCAAiC,CAAC,CAAC,CAAC;IACjI,OAAgB,aAAa,mEAA4C;cAEhD,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAO9D"}
package/dist/index.d.mts CHANGED
@@ -1,21 +1,7 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { WitnessConfig, AbstractWitness, WitnessParams } from '@xyo-network/witness';
5
-
6
- type EthereumGasEtherscanWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherscan.witness.config';
7
- declare const EthereumGasEtherscanWitnessConfigSchema: EthereumGasEtherscanWitnessConfigSchema;
8
-
9
- type EthereumGasEtherscanWitnessConfig = WitnessConfig<{
10
- apiKey: string;
11
- schema: EthereumGasEtherscanWitnessConfigSchema;
12
- }>;
13
-
14
- declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
15
- static configSchemas: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config"[];
16
- protected observeHandler(): Promise<Payload[]>;
17
- }
18
-
19
- declare const EthereumGasEtherscanPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<EthereumGasEtherscanWitness>;
20
-
21
- export { EthereumGasEtherscanPlugin, EthereumGasEtherscanWitness, EthereumGasEtherscanWitnessConfig, EthereumGasEtherscanWitnessConfigSchema, EthereumGasEtherscanPlugin as default };
1
+ import { EthereumGasEtherscanPlugin } from './Plugin';
2
+ export * from './Config';
3
+ export * from './Schema';
4
+ export * from './Witness';
5
+ export { EthereumGasEtherscanPlugin };
6
+ export default EthereumGasEtherscanPlugin;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAErD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAGrC,eAAe,0BAA0B,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,21 +1,7 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { WitnessConfig, AbstractWitness, WitnessParams } from '@xyo-network/witness';
5
-
6
- type EthereumGasEtherscanWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherscan.witness.config';
7
- declare const EthereumGasEtherscanWitnessConfigSchema: EthereumGasEtherscanWitnessConfigSchema;
8
-
9
- type EthereumGasEtherscanWitnessConfig = WitnessConfig<{
10
- apiKey: string;
11
- schema: EthereumGasEtherscanWitnessConfigSchema;
12
- }>;
13
-
14
- declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
15
- static configSchemas: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config"[];
16
- protected observeHandler(): Promise<Payload[]>;
17
- }
18
-
19
- declare const EthereumGasEtherscanPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<EthereumGasEtherscanWitness>;
20
-
21
- export { EthereumGasEtherscanPlugin, EthereumGasEtherscanWitness, EthereumGasEtherscanWitnessConfig, EthereumGasEtherscanWitnessConfigSchema, EthereumGasEtherscanPlugin as default };
1
+ import { EthereumGasEtherscanPlugin } from './Plugin';
2
+ export * from './Config';
3
+ export * from './Schema';
4
+ export * from './Witness';
5
+ export { EthereumGasEtherscanPlugin };
6
+ export default EthereumGasEtherscanPlugin;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAErD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAGrC,eAAe,0BAA0B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanResponse } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
+ export declare const getGasFromEtherscan: (apiKey: string) => Promise<EthereumGasEtherscanResponse>;
3
+ //# sourceMappingURL=getGasFromEtherscan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../src/lib/getGasFromEtherscan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAA;AAEjG,eAAO,MAAM,mBAAmB,WAAkB,MAAM,KAAG,QAAQ,4BAA4B,CAG9F,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanResponse } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
+ export declare const getGasFromEtherscan: (apiKey: string) => Promise<EthereumGasEtherscanResponse>;
3
+ //# sourceMappingURL=getGasFromEtherscan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../src/lib/getGasFromEtherscan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAA;AAEjG,eAAO,MAAM,mBAAmB,WAAkB,MAAM,KAAG,QAAQ,4BAA4B,CAG9F,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './getGasFromEtherscan';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './getGasFromEtherscan';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
package/package.json CHANGED
@@ -10,26 +10,20 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/assert": "^2.10.16",
14
- "@xyo-network/axios": "~2.73.4",
15
- "@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.73.4",
16
- "@xyo-network/module-model": "~2.73.4",
17
- "@xyo-network/payload-builder": "~2.73.4",
18
- "@xyo-network/payload-model": "~2.73.4",
19
- "@xyo-network/payloadset-plugin": "~2.73.4",
20
- "@xyo-network/witness": "~2.73.4"
13
+ "@xylabs/assert": "^2.11.5",
14
+ "@xyo-network/axios": "~2.74.0",
15
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.74.0",
16
+ "@xyo-network/module-model": "~2.74.0",
17
+ "@xyo-network/payload-builder": "~2.74.0",
18
+ "@xyo-network/payload-model": "~2.74.0",
19
+ "@xyo-network/payloadset-plugin": "~2.74.0",
20
+ "@xyo-network/witness": "~2.74.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
24
- "@xylabs/tsconfig": "^2.19.12",
25
- "publint": "^0.2.2",
26
- "tsup": "^7.2.0",
23
+ "@xylabs/ts-scripts-yarn3": "^3.0.27",
24
+ "@xylabs/tsconfig": "^3.0.27",
27
25
  "typescript": "^5.2.2"
28
26
  },
29
- "scripts": {
30
- "package-compile": "tsup && publint",
31
- "package-recompile": "tsup && publint"
32
- },
33
27
  "description": "Primary SDK for using XYO Protocol 2.0",
34
28
  "docs": "dist/docs.json",
35
29
  "types": "dist/index.d.ts",
@@ -70,5 +64,5 @@
70
64
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
71
65
  },
72
66
  "sideEffects": false,
73
- "version": "2.73.4"
67
+ "version": "2.74.0"
74
68
  }