@xyo-network/gas-price-plugin 2.45.1 → 2.46.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/cjs/Diviner.js +0 -3
- package/dist/cjs/Diviner.js.map +1 -1
- package/dist/docs.json +1749 -831
- package/dist/esm/Diviner.js +1 -4
- package/dist/esm/Diviner.js.map +1 -1
- package/dist/types/Diviner.d.ts +0 -1
- package/dist/types/Diviner.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/Diviner.ts +1 -5
package/dist/esm/Diviner.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractDiviner
|
|
1
|
+
import { AbstractDiviner } from '@xyo-network/diviner';
|
|
2
2
|
import { XyoEthereumGasSchema } from '@xyo-network/gas-price-payload-plugin';
|
|
3
3
|
import { divineGas } from './lib';
|
|
4
4
|
import { XyoEthereumGasDivinerConfigSchema } from './Schema';
|
|
@@ -12,8 +12,5 @@ export class XyoEthereumGasDiviner extends AbstractDiviner {
|
|
|
12
12
|
const cost = divineGas(payloads);
|
|
13
13
|
return [cost];
|
|
14
14
|
}
|
|
15
|
-
queries() {
|
|
16
|
-
return [XyoDivinerDivineQuerySchema, ...super.queries()];
|
|
17
|
-
}
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=Diviner.js.map
|
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,
|
|
1
|
+
{"version":3,"file":"Diviner.js","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAiB,MAAM,sBAAsB,CAAA;AACrE,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"}
|
package/dist/types/Diviner.d.ts
CHANGED
|
@@ -11,6 +11,5 @@ export declare class XyoEthereumGasDiviner extends AbstractDiviner {
|
|
|
11
11
|
static targetSchema: "network.xyo.blockchain.ethereum.gas";
|
|
12
12
|
static create(params?: ModuleParams<XyoEthereumGasDivinerConfig>): Promise<XyoEthereumGasDiviner>;
|
|
13
13
|
divine(payloads: XyoPayloads): Promisable<XyoPayloads>;
|
|
14
|
-
queries(): string[];
|
|
15
14
|
}
|
|
16
15
|
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,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;CAIvE"}
|
package/package.json
CHANGED
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/exists": "^2.7.1",
|
|
14
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.
|
|
15
|
-
"@xyo-network/diviner": "^2.
|
|
16
|
-
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^2.
|
|
17
|
-
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^2.
|
|
18
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.
|
|
19
|
-
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^2.
|
|
20
|
-
"@xyo-network/gas-price-payload-plugin": "^2.
|
|
21
|
-
"@xyo-network/module": "^2.
|
|
22
|
-
"@xyo-network/payload-builder": "^2.
|
|
23
|
-
"@xyo-network/payload-model": "^2.
|
|
24
|
-
"@xyo-network/payloadset-plugin": "^2.
|
|
25
|
-
"@xyo-network/promise": "^2.
|
|
14
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.46.1",
|
|
15
|
+
"@xyo-network/diviner": "^2.46.1",
|
|
16
|
+
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^2.46.1",
|
|
17
|
+
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^2.46.1",
|
|
18
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.46.1",
|
|
19
|
+
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^2.46.1",
|
|
20
|
+
"@xyo-network/gas-price-payload-plugin": "^2.46.1",
|
|
21
|
+
"@xyo-network/module": "^2.46.1",
|
|
22
|
+
"@xyo-network/payload-builder": "^2.46.1",
|
|
23
|
+
"@xyo-network/payload-model": "^2.46.1",
|
|
24
|
+
"@xyo-network/payloadset-plugin": "^2.46.1",
|
|
25
|
+
"@xyo-network/promise": "^2.46.1",
|
|
26
26
|
"regression": "^2.0.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
},
|
|
83
83
|
"sideEffects": false,
|
|
84
84
|
"types": "dist/types/index.d.ts",
|
|
85
|
-
"version": "2.
|
|
85
|
+
"version": "2.46.1"
|
|
86
86
|
}
|
package/src/Diviner.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractDiviner, DivinerConfig
|
|
1
|
+
import { AbstractDiviner, DivinerConfig } from '@xyo-network/diviner'
|
|
2
2
|
import { XyoEthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'
|
|
3
3
|
import { ModuleParams } from '@xyo-network/module'
|
|
4
4
|
import { XyoPayloads } from '@xyo-network/payload-model'
|
|
@@ -21,8 +21,4 @@ export class XyoEthereumGasDiviner extends AbstractDiviner {
|
|
|
21
21
|
const cost = divineGas(payloads)
|
|
22
22
|
return [cost]
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
override queries() {
|
|
26
|
-
return [XyoDivinerDivineQuerySchema, ...super.queries()]
|
|
27
|
-
}
|
|
28
24
|
}
|