@xyo-network/etherscan-ethereum-gas-plugin 2.73.4 → 2.74.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.
- package/dist/Config.d.mts +7 -0
- package/dist/Config.d.mts.map +1 -0
- package/dist/Config.d.ts +7 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Plugin.d.mts +3 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/Plugin.d.ts +3 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Schema.d.mts +3 -0
- package/dist/Schema.d.mts.map +1 -0
- package/dist/Schema.d.ts +3 -0
- package/dist/Schema.d.ts.map +1 -0
- package/dist/Witness.d.mts +9 -0
- package/dist/Witness.d.mts.map +1 -0
- package/dist/Witness.d.ts +9 -0
- package/dist/Witness.d.ts.map +1 -0
- package/dist/docs.json +26589 -27054
- package/dist/index.d.mts +7 -21
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +7 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/getGasFromEtherscan.d.mts +3 -0
- package/dist/lib/getGasFromEtherscan.d.mts.map +1 -0
- package/dist/lib/getGasFromEtherscan.d.ts +3 -0
- package/dist/lib/getGasFromEtherscan.d.ts.map +1 -0
- package/dist/lib/index.d.mts +2 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/package.json +11 -17
- package/tsup.config.ts +0 -16
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
|
@@ -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.
|
|
14
|
-
"@xyo-network/axios": "~2.
|
|
15
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.
|
|
16
|
-
"@xyo-network/module-model": "~2.
|
|
17
|
-
"@xyo-network/payload-builder": "~2.
|
|
18
|
-
"@xyo-network/payload-model": "~2.
|
|
19
|
-
"@xyo-network/payloadset-plugin": "~2.
|
|
20
|
-
"@xyo-network/witness": "~2.
|
|
13
|
+
"@xylabs/assert": "^2.11.6",
|
|
14
|
+
"@xyo-network/axios": "~2.74.1",
|
|
15
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.74.1",
|
|
16
|
+
"@xyo-network/module-model": "~2.74.1",
|
|
17
|
+
"@xyo-network/payload-builder": "~2.74.1",
|
|
18
|
+
"@xyo-network/payload-model": "~2.74.1",
|
|
19
|
+
"@xyo-network/payloadset-plugin": "~2.74.1",
|
|
20
|
+
"@xyo-network/witness": "~2.74.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
24
|
-
"@xylabs/tsconfig": "^
|
|
25
|
-
"publint": "^0.2.2",
|
|
26
|
-
"tsup": "^7.2.0",
|
|
23
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.28",
|
|
24
|
+
"@xylabs/tsconfig": "^3.0.28",
|
|
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.
|
|
67
|
+
"version": "2.74.1"
|
|
74
68
|
}
|
package/tsup.config.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
})
|