@xyo-network/etherscan-ethereum-gas-plugin 3.4.2 → 3.4.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.
- package/dist/types/Config.d.ts +7 -0
- package/dist/types/Config.d.ts.map +1 -0
- package/dist/types/Plugin.d.ts +3 -0
- package/dist/types/Plugin.d.ts.map +1 -0
- package/dist/types/Schema.d.ts +3 -0
- package/dist/types/Schema.d.ts.map +1 -0
- package/dist/types/Witness.d.ts +11 -0
- package/dist/types/Witness.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lib/getGasFromEtherscan.d.ts +3 -0
- package/dist/types/lib/getGasFromEtherscan.d.ts.map +1 -0
- package/dist/types/lib/index.d.ts +2 -0
- package/dist/types/lib/index.d.ts.map +1 -0
- package/package.json +18 -18
- package/dist/neutral/index.d.ts +0 -23
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { WitnessConfig } from '@xyo-network/witness-model';
|
|
2
|
+
import type { EthereumGasEtherscanWitnessConfigSchema } from './Schema.ts';
|
|
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,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAA;AAE1E,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,uCAAuC,CAAA;CAChD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAA;AAE1D,eAAO,MAAM,0BAA0B,qGASpC,CAAA"}
|
|
@@ -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,uCACY,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
2
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import type { Payload, Schema } from '@xyo-network/payload-model';
|
|
4
|
+
import type { WitnessParams } from '@xyo-network/witness-model';
|
|
5
|
+
import type { EthereumGasEtherscanWitnessConfig } from './Config.ts';
|
|
6
|
+
export declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
|
|
7
|
+
static readonly configSchemas: Schema[];
|
|
8
|
+
static readonly defaultConfigSchema: Schema;
|
|
9
|
+
protected observeHandler(): Promise<Payload[]>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAA;AAIpE,qBAAa,2BAA4B,SAAQ,eAAe,CAAC,aAAa,CAAC,eAAe,CAAC,iCAAiC,CAAC,CAAC,CAAC;IACjI,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAoE;IACpH,gBAAyB,mBAAmB,EAAE,MAAM,CAA0C;cAErE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAO9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,0BAA0B,IAAI,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAC/F,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../../src/lib/getGasFromEtherscan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAA;AAEtG,eAAO,MAAM,mBAAmB,GAAU,QAAQ,MAAM,KAAG,OAAO,CAAC,4BAA4B,CAG9F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/etherscan-ethereum-gas-plugin",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,31 +21,31 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/types/index.d.ts",
|
|
25
25
|
"default": "./dist/neutral/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
|
-
"types": "dist/
|
|
30
|
+
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xylabs/axios": "^4.
|
|
34
|
-
"@xyo-network/abstract-witness": "^3.9.
|
|
35
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^3.4.
|
|
36
|
-
"@xyo-network/module-model": "^3.9.
|
|
37
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
38
|
-
"@xyo-network/payload-model": "^3.9.
|
|
39
|
-
"@xyo-network/payloadset-plugin": "^3.9.
|
|
40
|
-
"@xyo-network/witness-model": "^3.9.
|
|
32
|
+
"@xylabs/assert": "^4.6.0",
|
|
33
|
+
"@xylabs/axios": "^4.6.0",
|
|
34
|
+
"@xyo-network/abstract-witness": "^3.9.36",
|
|
35
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^3.4.4",
|
|
36
|
+
"@xyo-network/module-model": "^3.9.36",
|
|
37
|
+
"@xyo-network/payload-builder": "^3.9.36",
|
|
38
|
+
"@xyo-network/payload-model": "^3.9.36",
|
|
39
|
+
"@xyo-network/payloadset-plugin": "^3.9.36",
|
|
40
|
+
"@xyo-network/witness-model": "^3.9.36"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
44
|
-
"@xylabs/tsconfig": "^
|
|
45
|
-
"@xylabs/vitest-extended": "^4.
|
|
46
|
-
"@xyo-network/payload-wrapper": "^3.9.
|
|
47
|
-
"typescript": "^5.
|
|
48
|
-
"vitest": "^3.0.
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.5",
|
|
44
|
+
"@xylabs/tsconfig": "^6.0.5",
|
|
45
|
+
"@xylabs/vitest-extended": "^4.6.0",
|
|
46
|
+
"@xyo-network/payload-wrapper": "^3.9.36",
|
|
47
|
+
"typescript": "^5.8.2",
|
|
48
|
+
"vitest": "^3.0.8"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
package/dist/neutral/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { WitnessConfig, WitnessParams } from '@xyo-network/witness-model';
|
|
2
|
-
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
3
|
-
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
4
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
6
|
-
|
|
7
|
-
type EthereumGasEtherscanWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.etherscan.witness.config';
|
|
8
|
-
declare const EthereumGasEtherscanWitnessConfigSchema: EthereumGasEtherscanWitnessConfigSchema;
|
|
9
|
-
|
|
10
|
-
type EthereumGasEtherscanWitnessConfig = WitnessConfig<{
|
|
11
|
-
apiKey: string;
|
|
12
|
-
schema: EthereumGasEtherscanWitnessConfigSchema;
|
|
13
|
-
}>;
|
|
14
|
-
|
|
15
|
-
declare class EthereumGasEtherscanWitness extends AbstractWitness<WitnessParams<AnyConfigSchema<EthereumGasEtherscanWitnessConfig>>> {
|
|
16
|
-
static readonly configSchemas: Schema[];
|
|
17
|
-
static readonly defaultConfigSchema: Schema;
|
|
18
|
-
protected observeHandler(): Promise<Payload[]>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare const EthereumGasEtherscanPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<EthereumGasEtherscanWitness>;
|
|
22
|
-
|
|
23
|
-
export { EthereumGasEtherscanPlugin, EthereumGasEtherscanWitness, type EthereumGasEtherscanWitnessConfig, EthereumGasEtherscanWitnessConfigSchema, EthereumGasEtherscanPlugin as default };
|