@xyo-network/gas-price-plugin 2.42.3 → 2.42.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/cjs/Diviner.d.ts +2 -2
- package/dist/cjs/Diviner.d.ts.map +1 -1
- package/dist/cjs/Diviner.js.map +1 -1
- package/dist/cjs/Plugin.d.ts +2 -2
- package/dist/cjs/Plugin.d.ts.map +1 -1
- package/dist/docs.json +300 -234
- package/dist/esm/Diviner.d.ts +2 -2
- package/dist/esm/Diviner.d.ts.map +1 -1
- package/dist/esm/Diviner.js.map +1 -1
- package/dist/esm/Plugin.d.ts +2 -2
- package/dist/esm/Plugin.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/Diviner.ts +2 -2
- package/src/Plugin.ts +2 -2
package/dist/esm/Diviner.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractDiviner, DivinerConfig } from '@xyo-network/diviner';
|
|
2
|
-
import {
|
|
2
|
+
import { ModuleParams } from '@xyo-network/module';
|
|
3
3
|
import { XyoPayloads } from '@xyo-network/payload';
|
|
4
4
|
import { Promisable } from '@xyo-network/promise';
|
|
5
5
|
import { XyoEthereumGasDivinerConfigSchema } from './Schema';
|
|
@@ -9,7 +9,7 @@ export type XyoEthereumGasDivinerConfig = DivinerConfig<{
|
|
|
9
9
|
export declare class XyoEthereumGasDiviner extends AbstractDiviner {
|
|
10
10
|
static configSchema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
11
11
|
static targetSchema: "network.xyo.blockchain.ethereum.gas";
|
|
12
|
-
static create(params?:
|
|
12
|
+
static create(params?: ModuleParams<XyoEthereumGasDivinerConfig>): Promise<XyoEthereumGasDiviner>;
|
|
13
13
|
divine(payloads: XyoPayloads): Promisable<XyoPayloads>;
|
|
14
14
|
queries(): string[];
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAA+B,MAAM,sBAAsB,CAAA;AAElG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAA+B,MAAM,sBAAsB,CAAA;AAElG,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAA;AAE5D,MAAM,MAAM,2BAA2B,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,iCAAiC,CAAA;CAAE,CAAC,CAAA;AAEtG,qBAAa,qBAAsB,SAAQ,eAAe;IACxD,OAAgB,YAAY,uDAAoC;IAChE,OAAgB,YAAY,wCAAuB;WAE7B,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,2BAA2B,CAAC;IAI/D,MAAM,CAAC,QAAQ,EAAE,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAK7D,OAAO;CAGjB"}
|
package/dist/esm/Diviner.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.js","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAiB,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAK5E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAA;AAI5D,MAAM,OAAO,qBAAsB,SAAQ,eAAe;IACxD,MAAM,CAAU,YAAY,GAAG,iCAAiC,CAAA;IAChE,MAAM,CAAU,YAAY,GAAG,oBAAoB,CAAA;IAEnD,MAAM,CAAU,KAAK,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Diviner.js","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAiB,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAK5E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAA;AAI5D,MAAM,OAAO,qBAAsB,SAAQ,eAAe;IACxD,MAAM,CAAU,YAAY,GAAG,iCAAiC,CAAA;IAChE,MAAM,CAAU,YAAY,GAAG,oBAAoB,CAAA;IAEnD,MAAM,CAAU,KAAK,CAAC,MAAM,CAAC,MAAkD;QAC7E,OAAO,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAA0B,CAAA;IAC9D,CAAC;IAEe,MAAM,CAAC,QAAqB;QAC1C,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAA;QAChC,OAAO,CAAC,IAAI,CAAC,CAAA;IACf,CAAC;IAEQ,OAAO;QACd,OAAO,CAAC,2BAA2B,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;IAC1D,CAAC"}
|
package/dist/esm/Plugin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ModuleParams } from '@xyo-network/module';
|
|
2
2
|
import { PayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin';
|
|
3
|
-
export declare const XyoEthereumGasPlugin: () => PayloadSetDivinerPlugin<
|
|
3
|
+
export declare const XyoEthereumGasPlugin: () => PayloadSetDivinerPlugin<ModuleParams<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
4
4
|
security?: {
|
|
5
5
|
allowed?: Record<string, string[][]> | undefined;
|
|
6
6
|
disallowed?: Record<string, string[]> | undefined;
|
package/dist/esm/Plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAIhG,eAAO,MAAM,oBAAoB;;;;;;;;;GAQ9B,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/exists": "^2.6.
|
|
14
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.42.
|
|
15
|
-
"@xyo-network/diviner": "^2.42.
|
|
16
|
-
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^2.42.
|
|
17
|
-
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^2.42.
|
|
18
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.42.
|
|
19
|
-
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^2.42.
|
|
20
|
-
"@xyo-network/gas-price-payload-plugin": "^2.42.
|
|
21
|
-
"@xyo-network/module": "^2.42.
|
|
22
|
-
"@xyo-network/payload": "^2.42.
|
|
23
|
-
"@xyo-network/payloadset-plugin": "^2.42.
|
|
24
|
-
"@xyo-network/promise": "^2.42.
|
|
13
|
+
"@xylabs/exists": "^2.6.10",
|
|
14
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.42.4",
|
|
15
|
+
"@xyo-network/diviner": "^2.42.4",
|
|
16
|
+
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^2.42.4",
|
|
17
|
+
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^2.42.4",
|
|
18
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.42.4",
|
|
19
|
+
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^2.42.4",
|
|
20
|
+
"@xyo-network/gas-price-payload-plugin": "^2.42.4",
|
|
21
|
+
"@xyo-network/module": "^2.42.4",
|
|
22
|
+
"@xyo-network/payload": "^2.42.4",
|
|
23
|
+
"@xyo-network/payloadset-plugin": "^2.42.4",
|
|
24
|
+
"@xyo-network/promise": "^2.42.4",
|
|
25
25
|
"regression": "^2.0.1",
|
|
26
26
|
"tslib": "^2.4.1"
|
|
27
27
|
},
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
},
|
|
84
84
|
"sideEffects": false,
|
|
85
85
|
"types": "dist/esm/index.d.ts",
|
|
86
|
-
"version": "2.42.
|
|
86
|
+
"version": "2.42.4"
|
|
87
87
|
}
|
package/src/Diviner.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractDiviner, DivinerConfig, XyoDivinerDivineQuerySchema } from '@xyo-network/diviner'
|
|
2
2
|
import { XyoEthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'
|
|
3
|
-
import {
|
|
3
|
+
import { ModuleParams } from '@xyo-network/module'
|
|
4
4
|
import { XyoPayloads } from '@xyo-network/payload'
|
|
5
5
|
import { Promisable } from '@xyo-network/promise'
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ export class XyoEthereumGasDiviner extends AbstractDiviner {
|
|
|
13
13
|
static override configSchema = XyoEthereumGasDivinerConfigSchema
|
|
14
14
|
static override targetSchema = XyoEthereumGasSchema
|
|
15
15
|
|
|
16
|
-
static override async create(params?:
|
|
16
|
+
static override async create(params?: ModuleParams<XyoEthereumGasDivinerConfig>) {
|
|
17
17
|
return (await super.create(params)) as XyoEthereumGasDiviner
|
|
18
18
|
}
|
|
19
19
|
|
package/src/Plugin.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { XyoEthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'
|
|
2
|
-
import {
|
|
2
|
+
import { ModuleParams } from '@xyo-network/module'
|
|
3
3
|
import { PayloadSetSchema } from '@xyo-network/payload'
|
|
4
4
|
import { createPayloadSetPlugin, PayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'
|
|
5
5
|
|
|
6
6
|
import { XyoEthereumGasDiviner, XyoEthereumGasDivinerConfig } from './Diviner'
|
|
7
7
|
|
|
8
8
|
export const XyoEthereumGasPlugin = () =>
|
|
9
|
-
createPayloadSetPlugin<PayloadSetDivinerPlugin<
|
|
9
|
+
createPayloadSetPlugin<PayloadSetDivinerPlugin<ModuleParams<XyoEthereumGasDivinerConfig>>>(
|
|
10
10
|
{ required: { [XyoEthereumGasSchema]: 1 }, schema: PayloadSetSchema },
|
|
11
11
|
{
|
|
12
12
|
diviner: async (params) => {
|