@xyo-network/gas-price-plugin 4.1.0 → 4.2.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.
@@ -1,26 +1,4 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import { DivinerParams, DivinerConfig, DivinerModule } from '@xyo-network/diviner-model';
3
- import { AnyConfigSchema } from '@xyo-network/module-model';
4
- import { Schema, Payload } from '@xyo-network/payload-model';
5
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
6
-
7
- type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query';
8
- declare const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema;
9
- type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config';
10
- declare const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema;
11
-
12
- type EthereumGasDivinerConfig = DivinerConfig<{
13
- schema: EthereumGasDivinerConfigSchema;
14
- }>;
15
- type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
16
- declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDiviner<TParams> implements DivinerModule {
17
- static readonly configSchemas: Schema[];
18
- static readonly defaultConfigSchema: Schema;
19
- static readonly targetSchema: string;
20
- protected divineHandler(payloads?: Payload[]): Payload[];
21
- }
22
-
23
- declare const EthereumGasPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<EthereumGasDiviner<EthereumGasDivinerParams>>;
24
-
25
- export { EthereumGasDiviner, EthereumGasDivinerConfigSchema, EthereumGasDivinerQuerySchema, EthereumGasPlugin, EthereumGasPlugin as default };
26
- export type { EthereumGasDivinerConfig, EthereumGasDivinerParams };
1
+ export * from './Diviner.ts';
2
+ export { EthereumGasPlugin as default, EthereumGasPlugin } from './Plugin.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/gas-price-plugin",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,32 +29,31 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/exists": "^4.13.15",
33
- "@xyo-network/blocknative-ethereum-gas-payload-plugin": "^4.1.0",
34
- "@xyo-network/diviner-abstract": "^4.1.1",
35
- "@xyo-network/diviner-model": "^4.1.1",
36
- "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^4.1.0",
37
- "@xyo-network/ethers-ethereum-gas-payload-plugin": "^4.1.0",
38
- "@xyo-network/etherscan-ethereum-gas-payload-plugin": "^4.1.0",
39
- "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^4.1.0",
40
- "@xyo-network/gas-price-payload-plugin": "^4.1.0",
41
- "@xyo-network/module-model": "^4.1.1",
42
- "@xyo-network/payload-builder": "^4.1.1",
43
- "@xyo-network/payload-model": "^4.1.1",
44
- "@xyo-network/payloadset-plugin": "^4.1.1",
32
+ "@xylabs/exists": "^4.15.1",
33
+ "@xyo-network/blocknative-ethereum-gas-payload-plugin": "^4.2.0",
34
+ "@xyo-network/diviner-abstract": "^4.3.0",
35
+ "@xyo-network/diviner-model": "^4.3.0",
36
+ "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^4.2.0",
37
+ "@xyo-network/ethers-ethereum-gas-payload-plugin": "^4.2.0",
38
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "^4.2.0",
39
+ "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^4.2.0",
40
+ "@xyo-network/gas-price-payload-plugin": "^4.2.0",
41
+ "@xyo-network/module-model": "^4.3.0",
42
+ "@xyo-network/payload-builder": "^4.3.0",
43
+ "@xyo-network/payload-model": "^4.3.0",
44
+ "@xyo-network/payloadset-plugin": "^4.3.0",
45
45
  "regression": "^2.0.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/regression": "^2.0.6",
49
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
50
- "@xylabs/tsconfig": "^7.0.0-rc.24",
51
- "@xylabs/vitest-extended": "^4.13.15",
52
- "@xyo-network/blocknative-ethereum-gas-plugin": "^4.1.0",
53
- "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "^4.1.0",
54
- "@xyo-network/ethers-ethereum-gas-plugin": "^4.1.0",
55
- "@xyo-network/etherscan-ethereum-gas-plugin": "^4.1.0",
56
- "@xyo-network/witness-blockchain-abstract": "^4.1.1",
57
- "knip": "^5.61.3",
49
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
50
+ "@xylabs/tsconfig": "^7.0.1",
51
+ "@xylabs/vitest-extended": "^4.15.1",
52
+ "@xyo-network/blocknative-ethereum-gas-plugin": "^4.2.0",
53
+ "@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "^4.2.0",
54
+ "@xyo-network/ethers-ethereum-gas-plugin": "^4.2.0",
55
+ "@xyo-network/etherscan-ethereum-gas-plugin": "^4.2.0",
56
+ "@xyo-network/witness-blockchain-abstract": "^4.3.0",
58
57
  "typescript": "^5.8.3",
59
58
  "vitest": "^3.2.4"
60
59
  },