@xyo-network/gas-price-plugin 3.1.1 → 3.2.0-rc.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/neutral/Plugin.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EthereumGasDiviner } from './Diviner.ts';
|
|
2
|
-
export declare const EthereumGasPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<EthereumGasDiviner<import(".store/@xylabs-object-npm-4.
|
|
3
|
-
account?: import(".store/@xyo-network-account-model-virtual-
|
|
2
|
+
export declare const EthereumGasPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<EthereumGasDiviner<import(".store/@xylabs-object-npm-4.4.12-63cf432727/package").BaseParamsFields & {
|
|
3
|
+
account?: import(".store/@xyo-network-account-model-virtual-3409e52736/package").AccountInstance | "random";
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
|
-
additionalSigners?: import(".store/@xyo-network-account-model-virtual-
|
|
5
|
+
additionalSigners?: import(".store/@xyo-network-account-model-virtual-3409e52736/package").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
7
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
8
8
|
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
2
|
+
/**
|
|
3
|
+
* Averages the supplied FeeData
|
|
4
|
+
* @param input An array of FeeData or undefined
|
|
5
|
+
* @returns The average of the supplied FeeData
|
|
6
|
+
*/
|
|
2
7
|
export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
|
|
3
8
|
//# sourceMappingURL=average.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AAsBpE;;;;GAIG;AACH,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/gas-price-plugin",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0-rc.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,33 +29,36 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/exists": "^4.
|
|
33
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^3.
|
|
34
|
-
"@xyo-network/diviner-abstract": "^3.
|
|
35
|
-
"@xyo-network/diviner-model": "^3.
|
|
36
|
-
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^3.
|
|
37
|
-
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^3.
|
|
38
|
-
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^3.
|
|
39
|
-
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^3.
|
|
40
|
-
"@xyo-network/gas-price-payload-plugin": "^3.
|
|
41
|
-
"@xyo-network/module-model": "^3.
|
|
42
|
-
"@xyo-network/payload-builder": "^3.
|
|
43
|
-
"@xyo-network/payload-model": "^3.
|
|
44
|
-
"@xyo-network/payloadset-plugin": "^3.
|
|
32
|
+
"@xylabs/exists": "^4.4.12",
|
|
33
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^3.2.0-rc.1",
|
|
34
|
+
"@xyo-network/diviner-abstract": "^3.6.0-rc.1",
|
|
35
|
+
"@xyo-network/diviner-model": "^3.6.0-rc.1",
|
|
36
|
+
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": "^3.2.0-rc.1",
|
|
37
|
+
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^3.2.0-rc.1",
|
|
38
|
+
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^3.2.0-rc.1",
|
|
39
|
+
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^3.2.0-rc.1",
|
|
40
|
+
"@xyo-network/gas-price-payload-plugin": "^3.2.0-rc.1",
|
|
41
|
+
"@xyo-network/module-model": "^3.6.0-rc.1",
|
|
42
|
+
"@xyo-network/payload-builder": "^3.6.0-rc.1",
|
|
43
|
+
"@xyo-network/payload-model": "^3.6.0-rc.1",
|
|
44
|
+
"@xyo-network/payloadset-plugin": "^3.6.0-rc.1",
|
|
45
45
|
"regression": "^2.0.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/regression": "^2.0.6",
|
|
49
|
-
"@xylabs/ts-scripts-yarn3": "^4.
|
|
50
|
-
"@xylabs/tsconfig": "^4.
|
|
51
|
-
"@
|
|
52
|
-
"@xyo-network/
|
|
53
|
-
"@xyo-network/
|
|
54
|
-
"@xyo-network/
|
|
55
|
-
"@xyo-network/
|
|
56
|
-
"
|
|
49
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
|
50
|
+
"@xylabs/tsconfig": "^4.2.4",
|
|
51
|
+
"@xylabs/vitest-extended": "^4.4.12",
|
|
52
|
+
"@xyo-network/blocknative-ethereum-gas-plugin": "^3.2.0-rc.1",
|
|
53
|
+
"@xyo-network/etherchain-gas-ethereum-blockchain-plugins": "^3.2.0-rc.1",
|
|
54
|
+
"@xyo-network/ethers-ethereum-gas-plugin": "^3.2.0-rc.1",
|
|
55
|
+
"@xyo-network/etherscan-ethereum-gas-plugin": "^3.2.0-rc.1",
|
|
56
|
+
"@xyo-network/witness-blockchain-abstract": "^3.6.0-rc.1",
|
|
57
|
+
"typescript": "^5.7.2",
|
|
58
|
+
"vitest": "^2.1.8"
|
|
57
59
|
},
|
|
58
60
|
"publishConfig": {
|
|
59
61
|
"access": "public"
|
|
60
|
-
}
|
|
62
|
+
},
|
|
63
|
+
"stableVersion": "3.1.2"
|
|
61
64
|
}
|