@xyo-network/gas-price-plugin 2.66.2 → 2.66.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/docs.json +570 -621
- package/dist/types/Diviner.d.ts +2 -2
- package/dist/types/Diviner.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/Diviner.ts +2 -2
package/dist/types/Diviner.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractDirectDiviner } from '@xyo-network/abstract-diviner';
|
|
2
|
-
import { DivinerConfig,
|
|
2
|
+
import { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner';
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
5
|
import { Promisable } from '@xyo-network/promise';
|
|
@@ -8,7 +8,7 @@ export type EthereumGasDivinerConfig = DivinerConfig<{
|
|
|
8
8
|
schema: EthereumGasDivinerConfigSchema;
|
|
9
9
|
}>;
|
|
10
10
|
export type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
|
|
11
|
-
export declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDirectDiviner<TParams> implements
|
|
11
|
+
export declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDirectDiviner<TParams> implements DivinerModule {
|
|
12
12
|
static readonly configSchemas: string[];
|
|
13
13
|
static targetSchema: string;
|
|
14
14
|
protected divineHandler(payloads?: Payload[]): Promisable<Payload[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,CAAC,CAAA;AAChG,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAE/F,qBAAa,kBAAkB,CAAC,OAAO,SAAS,wBAAwB,GAAG,wBAAwB,CACjG,SAAQ,qBAAqB,CAAC,OAAO,CACrC,YAAW,aAAa;IAExB,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAmC;IACnF,OAAgB,YAAY,EAAE,MAAM,CAAoB;cAErC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAI9E"}
|
package/package.json
CHANGED
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/exists": "^2.9.3",
|
|
14
|
-
"@xyo-network/abstract-diviner": "
|
|
15
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "
|
|
16
|
-
"@xyo-network/diviner": "
|
|
17
|
-
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "
|
|
18
|
-
"@xyo-network/ethers-ethereum-gas-payload-plugin": "
|
|
19
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "
|
|
20
|
-
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "
|
|
21
|
-
"@xyo-network/gas-price-payload-plugin": "
|
|
22
|
-
"@xyo-network/module": "
|
|
23
|
-
"@xyo-network/payload-builder": "
|
|
24
|
-
"@xyo-network/payload-model": "
|
|
25
|
-
"@xyo-network/payloadset-plugin": "
|
|
26
|
-
"@xyo-network/promise": "
|
|
14
|
+
"@xyo-network/abstract-diviner": "~2.66.4",
|
|
15
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.66.4",
|
|
16
|
+
"@xyo-network/diviner": "~2.66.4",
|
|
17
|
+
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "~2.66.4",
|
|
18
|
+
"@xyo-network/ethers-ethereum-gas-payload-plugin": "~2.66.4",
|
|
19
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "~2.66.4",
|
|
20
|
+
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "~2.66.4",
|
|
21
|
+
"@xyo-network/gas-price-payload-plugin": "~2.66.4",
|
|
22
|
+
"@xyo-network/module": "~2.66.4",
|
|
23
|
+
"@xyo-network/payload-builder": "~2.66.4",
|
|
24
|
+
"@xyo-network/payload-model": "~2.66.4",
|
|
25
|
+
"@xyo-network/payloadset-plugin": "~2.66.4",
|
|
26
|
+
"@xyo-network/promise": "~2.66.4",
|
|
27
27
|
"regression": "^2.0.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
},
|
|
84
84
|
"sideEffects": false,
|
|
85
85
|
"types": "dist/types/index.d.ts",
|
|
86
|
-
"version": "2.66.
|
|
86
|
+
"version": "2.66.4"
|
|
87
87
|
}
|
package/src/Diviner.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractDirectDiviner } from '@xyo-network/abstract-diviner'
|
|
2
|
-
import { DivinerConfig,
|
|
2
|
+
import { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner'
|
|
3
3
|
import { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'
|
|
4
4
|
import { AnyConfigSchema } from '@xyo-network/module'
|
|
5
5
|
import { Payload } from '@xyo-network/payload-model'
|
|
@@ -13,7 +13,7 @@ export type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGas
|
|
|
13
13
|
|
|
14
14
|
export class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams>
|
|
15
15
|
extends AbstractDirectDiviner<TParams>
|
|
16
|
-
implements
|
|
16
|
+
implements DivinerModule
|
|
17
17
|
{
|
|
18
18
|
static override readonly configSchemas: string[] = [EthereumGasDivinerConfigSchema]
|
|
19
19
|
static override targetSchema: string = EthereumGasSchema
|