@xyo-network/etherchain-ethereum-gas-v2-plugin 5.4.10 → 5.5.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.
package/dist/browser/index.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-
|
|
|
8
8
|
import { AbstractWitness } from "@xyo-network/witness-abstract";
|
|
9
9
|
|
|
10
10
|
// src/lib/getV2GasFromEtherchain.ts
|
|
11
|
-
import {
|
|
11
|
+
import { assertEx, fetchJsonClient } from "@xylabs/sdk-js";
|
|
12
12
|
var url = "https://beaconcha.in/api/v1/execution/gasnow";
|
|
13
13
|
var getV2GasFromEtherchain = async () => {
|
|
14
|
-
return (await
|
|
14
|
+
return assertEx((await fetchJsonClient.get(url)).data, () => "Empty Etherchain response");
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// src/Schema.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import {
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import { assertEx, fetchJsonClient } from '@xylabs/sdk-js'\nimport type { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\n\nconst url = 'https://beaconcha.in/api/v1/execution/gasnow'\n\nexport const getV2GasFromEtherchain = async (): Promise<EthereumGasEtherchainV2Response> => {\n return assertEx((await fetchJsonClient.get<EthereumGasEtherchainV2Response>(url)).data, () => 'Empty Etherchain response')\n}\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type EthereumGasEtherchainV2WitnessConfigSchema = typeof EthereumGasEtherchainV2WitnessConfigSchema\nexport const EthereumGasEtherchainV2WitnessConfigSchema\n = asSchema('network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config', true)\n"],"mappings":";AAAA,SAAS,iCAAAA,sCAAqC;AAC9C,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,qCAAqC;AAG9C,SAAS,uBAAuB;;;ACJhC,SAAS,UAAU,uBAAuB;AAG1C,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,SAAO,UAAU,MAAM,gBAAgB,IAAqC,GAAG,GAAG,MAAM,MAAM,2BAA2B;AAC3H;;;ACPA,SAAS,gBAAgB;AAGlB,IAAM,6CACT,SAAS,oEAAoE,IAAI;;;AFS9E,IAAM,iCAAN,cAA6C,gBAAsD;AAAA,EACxG,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,0CAA0C;AAAA,EACtH,OAAyB,sBAA8B;AAAA,EAEvD,MAAyB,iBAAqC;AAC5D,UAAM,UAA0C;AAAA,MAC9C,GAAI,MAAM,uBAAuB;AAAA,MACjC,QAAQ;AAAA,MACR,WAAW,KAAK,IAAI;AAAA,IACtB;AACA,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADnBO,IAAM,gCAAgC,MAC3C;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,8BAA6B,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EAC7E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,+BAA+B,OAAO,MAAM;AAAA,IAC5D;AAAA,EACF;AACF;","names":["EthereumGasEtherchainV2Schema","EthereumGasEtherchainV2Schema"]}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-
|
|
|
8
8
|
import { AbstractWitness } from "@xyo-network/witness-abstract";
|
|
9
9
|
|
|
10
10
|
// src/lib/getV2GasFromEtherchain.ts
|
|
11
|
-
import {
|
|
11
|
+
import { assertEx, fetchJsonClient } from "@xylabs/sdk-js";
|
|
12
12
|
var url = "https://beaconcha.in/api/v1/execution/gasnow";
|
|
13
13
|
var getV2GasFromEtherchain = async () => {
|
|
14
|
-
return (await
|
|
14
|
+
return assertEx((await fetchJsonClient.get(url)).data, () => "Empty Etherchain response");
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// src/Schema.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import {
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import { assertEx, fetchJsonClient } from '@xylabs/sdk-js'\nimport type { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\n\nconst url = 'https://beaconcha.in/api/v1/execution/gasnow'\n\nexport const getV2GasFromEtherchain = async (): Promise<EthereumGasEtherchainV2Response> => {\n return assertEx((await fetchJsonClient.get<EthereumGasEtherchainV2Response>(url)).data, () => 'Empty Etherchain response')\n}\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type EthereumGasEtherchainV2WitnessConfigSchema = typeof EthereumGasEtherchainV2WitnessConfigSchema\nexport const EthereumGasEtherchainV2WitnessConfigSchema\n = asSchema('network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config', true)\n"],"mappings":";AAAA,SAAS,iCAAAA,sCAAqC;AAC9C,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,qCAAqC;AAG9C,SAAS,uBAAuB;;;ACJhC,SAAS,UAAU,uBAAuB;AAG1C,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,SAAO,UAAU,MAAM,gBAAgB,IAAqC,GAAG,GAAG,MAAM,MAAM,2BAA2B;AAC3H;;;ACPA,SAAS,gBAAgB;AAGlB,IAAM,6CACT,SAAS,oEAAoE,IAAI;;;AFS9E,IAAM,iCAAN,cAA6C,gBAAsD;AAAA,EACxG,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,0CAA0C;AAAA,EACtH,OAAyB,sBAA8B;AAAA,EAEvD,MAAyB,iBAAqC;AAC5D,UAAM,UAA0C;AAAA,MAC9C,GAAI,MAAM,uBAAuB;AAAA,MACjC,QAAQ;AAAA,MACR,WAAW,KAAK,IAAI;AAAA,IACtB;AACA,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADnBO,IAAM,gCAAgC,MAC3C;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,8BAA6B,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EAC7E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,+BAA+B,OAAO,MAAM;AAAA,IAC5D;AAAA,EACF;AACF;","names":["EthereumGasEtherchainV2Schema","EthereumGasEtherchainV2Schema"]}
|
package/dist/node/index.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-
|
|
|
8
8
|
import { AbstractWitness } from "@xyo-network/witness-abstract";
|
|
9
9
|
|
|
10
10
|
// src/lib/getV2GasFromEtherchain.ts
|
|
11
|
-
import {
|
|
11
|
+
import { assertEx, fetchJsonClient } from "@xylabs/sdk-js";
|
|
12
12
|
var url = "https://beaconcha.in/api/v1/execution/gasnow";
|
|
13
13
|
var getV2GasFromEtherchain = async () => {
|
|
14
|
-
return (await
|
|
14
|
+
return assertEx((await fetchJsonClient.get(url)).data, () => "Empty Etherchain response");
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// src/Schema.ts
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import {
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getV2GasFromEtherchain.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { EtherchainEthereumGasWitnessV2 } from './Witness.ts'\n\nexport const EthereumGasEtherchainV2Plugin = () =>\n createPayloadSetWitnessPlugin(\n { required: { [EthereumGasEtherchainV2Schema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EtherchainEthereumGasWitnessV2.create(params)) as EtherchainEthereumGasWitnessV2\n },\n },\n )\n","import type { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport { EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessParams } from '@xyo-network/witness-model'\n\nimport type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts'\nimport { getV2GasFromEtherchain } from './lib/index.ts'\nimport { EthereumGasEtherchainV2WitnessConfigSchema } from './Schema.ts'\n\nexport type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>\n\nexport class EtherchainEthereumGasWitnessV2 extends AbstractWitness<EtherchainEthereumGasWitnessV2Params> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasEtherchainV2WitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasEtherchainV2WitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const payload: EthereumGasEtherchainV2Payload = {\n ...(await getV2GasFromEtherchain()),\n schema: EthereumGasEtherchainV2Schema,\n timestamp: Date.now(),\n }\n return [payload]\n }\n}\n","import { assertEx, fetchJsonClient } from '@xylabs/sdk-js'\nimport type { EthereumGasEtherchainV2Response } from '@xyo-network/etherchain-ethereum-gas-v2-payload-plugin'\n\nconst url = 'https://beaconcha.in/api/v1/execution/gasnow'\n\nexport const getV2GasFromEtherchain = async (): Promise<EthereumGasEtherchainV2Response> => {\n return assertEx((await fetchJsonClient.get<EthereumGasEtherchainV2Response>(url)).data, () => 'Empty Etherchain response')\n}\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type EthereumGasEtherchainV2WitnessConfigSchema = typeof EthereumGasEtherchainV2WitnessConfigSchema\nexport const EthereumGasEtherchainV2WitnessConfigSchema\n = asSchema('network.xyo.blockchain.ethereum.gas.etherchain.v2.witness.config', true)\n"],"mappings":";AAAA,SAAS,iCAAAA,sCAAqC;AAC9C,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,qCAAqC;AAG9C,SAAS,uBAAuB;;;ACJhC,SAAS,UAAU,uBAAuB;AAG1C,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,SAAO,UAAU,MAAM,gBAAgB,IAAqC,GAAG,GAAG,MAAM,MAAM,2BAA2B;AAC3H;;;ACPA,SAAS,gBAAgB;AAGlB,IAAM,6CACT,SAAS,oEAAoE,IAAI;;;AFS9E,IAAM,iCAAN,cAA6C,gBAAsD;AAAA,EACxG,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,0CAA0C;AAAA,EACtH,OAAyB,sBAA8B;AAAA,EAEvD,MAAyB,iBAAqC;AAC5D,UAAM,UAA0C;AAAA,MAC9C,GAAI,MAAM,uBAAuB;AAAA,MACjC,QAAQ;AAAA,MACR,WAAW,KAAK,IAAI;AAAA,IACtB;AACA,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADnBO,IAAM,gCAAgC,MAC3C;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,8BAA6B,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EAC7E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,+BAA+B,OAAO,MAAM;AAAA,IAC5D;AAAA,EACF;AACF;","names":["EthereumGasEtherchainV2Schema","EthereumGasEtherchainV2Schema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/etherchain-ethereum-gas-v2-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -31,23 +31,22 @@
|
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~5.
|
|
34
|
+
"@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~5.5.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@bitauth/libauth": "~3.0.0",
|
|
38
38
|
"@metamask/providers": "^22.1.1",
|
|
39
39
|
"@opentelemetry/api": "^1.9.1",
|
|
40
|
-
"@opentelemetry/sdk-trace-base": "^2.7.
|
|
40
|
+
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
41
41
|
"@scure/base": "^2.2.0",
|
|
42
42
|
"@scure/bip39": "~2.2.0",
|
|
43
43
|
"@types/node": "^25.6.0",
|
|
44
|
-
"@xylabs/geo": "^5.0
|
|
45
|
-
"@xylabs/sdk-js": "^5.0
|
|
46
|
-
"@xylabs/threads": "^5.0
|
|
47
|
-
"@xylabs/toolchain": "~7.
|
|
48
|
-
"@xylabs/tsconfig": "~7.
|
|
49
|
-
"@xylabs/vitest-extended": "~5.0
|
|
50
|
-
"@xylabs/vitest-matchers": "~5.0.100",
|
|
44
|
+
"@xylabs/geo": "^5.1.0",
|
|
45
|
+
"@xylabs/sdk-js": "^5.1.0",
|
|
46
|
+
"@xylabs/threads": "^5.1.0",
|
|
47
|
+
"@xylabs/toolchain": "~7.12.3",
|
|
48
|
+
"@xylabs/tsconfig": "~7.12.3",
|
|
49
|
+
"@xylabs/vitest-extended": "~5.1.0",
|
|
51
50
|
"@xyo-network/account": "~5.5.2",
|
|
52
51
|
"@xyo-network/account-model": "^5.5.2",
|
|
53
52
|
"@xyo-network/api": "~5.5.2",
|
|
@@ -59,32 +58,31 @@
|
|
|
59
58
|
"@xyo-network/config-payload-plugin": "~5.5.2",
|
|
60
59
|
"@xyo-network/huri": "~5.5.2",
|
|
61
60
|
"@xyo-network/manifest-model": "~5.5.2",
|
|
62
|
-
"@xyo-network/module-model": "^5.
|
|
61
|
+
"@xyo-network/module-model": "^5.6.2",
|
|
63
62
|
"@xyo-network/payload-builder": "~5.5.2",
|
|
64
63
|
"@xyo-network/payload-model": "^5.5.2",
|
|
65
64
|
"@xyo-network/payload-plugin": "~5.5.2",
|
|
66
65
|
"@xyo-network/payload-wrapper": "~5.5.2",
|
|
67
66
|
"@xyo-network/query-payload-plugin": "~5.5.2",
|
|
68
|
-
"@xyo-network/sdk-js": "^5.
|
|
67
|
+
"@xyo-network/sdk-js": "^5.6.2",
|
|
69
68
|
"@xyo-network/sdk-protocol-js": "~5.5.2",
|
|
70
69
|
"@xyo-network/wallet": "~5.5.2",
|
|
71
70
|
"@xyo-network/wallet-model": "~5.5.2",
|
|
72
|
-
"@xyo-network/witness-abstract": "^5.
|
|
73
|
-
"@xyo-network/witness-model": "^5.
|
|
74
|
-
"ajv": "^8.
|
|
71
|
+
"@xyo-network/witness-abstract": "^5.6.2",
|
|
72
|
+
"@xyo-network/witness-model": "^5.6.2",
|
|
73
|
+
"ajv": "^8.20.0",
|
|
75
74
|
"async-mutex": "^0.5.0",
|
|
76
|
-
"axios": "^1.15.2",
|
|
77
75
|
"bn.js": "^5.2.3",
|
|
78
76
|
"buffer": "^6.0.3",
|
|
79
77
|
"chalk": "^5.6.2",
|
|
80
78
|
"debug": "~4.4.3",
|
|
81
79
|
"esbuild": "~0.28.0",
|
|
82
|
-
"eslint": "^10.
|
|
80
|
+
"eslint": "^10.3.0",
|
|
83
81
|
"ethers": "^6.16.0",
|
|
84
82
|
"hash-wasm": "^4.12.0",
|
|
85
83
|
"idb": "^8.0.3",
|
|
86
|
-
"lru-cache": "^11.3.
|
|
87
|
-
"mapbox-gl": "
|
|
84
|
+
"lru-cache": "^11.3.6",
|
|
85
|
+
"mapbox-gl": "~3.23.1",
|
|
88
86
|
"observable-fns": "~0.6.1",
|
|
89
87
|
"pako": "~2.1.0",
|
|
90
88
|
"store2": "~2.14.4",
|
|
@@ -93,26 +91,26 @@
|
|
|
93
91
|
"vitest": "^4.1.5",
|
|
94
92
|
"wasm-feature-detect": "~1.8.0",
|
|
95
93
|
"webextension-polyfill": "^0.12.0",
|
|
96
|
-
"zod": "^4.3
|
|
94
|
+
"zod": "^4.4.3"
|
|
97
95
|
},
|
|
98
96
|
"peerDependencies": {
|
|
99
|
-
"@xylabs/sdk-js": ">=5.0
|
|
100
|
-
"@xyo-network/account": ">=5.5.2 <6",
|
|
97
|
+
"@xylabs/sdk-js": ">=5.1.0 <6",
|
|
98
|
+
"@xyo-network/account": ">=5.5.2 <5.6",
|
|
101
99
|
"@xyo-network/account-model": ">=5.5.2 <6",
|
|
102
|
-
"@xyo-network/api-models": ">=5.5.2 <6",
|
|
103
|
-
"@xyo-network/boundwitness-builder": ">=5.5.2 <6",
|
|
100
|
+
"@xyo-network/api-models": ">=5.5.2 <5.6",
|
|
101
|
+
"@xyo-network/boundwitness-builder": ">=5.5.2 <5.6",
|
|
104
102
|
"@xyo-network/boundwitness-validator": ">=5.5.2 <6",
|
|
105
|
-
"@xyo-network/config-payload-plugin": ">=5.5.2 <6",
|
|
106
|
-
"@xyo-network/huri": ">=5.5.2 <6",
|
|
107
|
-
"@xyo-network/manifest-model": ">=5.5.2 <6",
|
|
108
|
-
"@xyo-network/module-model": ">=5.
|
|
109
|
-
"@xyo-network/payload-builder": ">=5.5.2 <6",
|
|
103
|
+
"@xyo-network/config-payload-plugin": ">=5.5.2 <5.6",
|
|
104
|
+
"@xyo-network/huri": ">=5.5.2 <5.6",
|
|
105
|
+
"@xyo-network/manifest-model": ">=5.5.2 <5.6",
|
|
106
|
+
"@xyo-network/module-model": ">=5.6.2 <6",
|
|
107
|
+
"@xyo-network/payload-builder": ">=5.5.2 <5.6",
|
|
110
108
|
"@xyo-network/payload-model": ">=5.5.2 <6",
|
|
111
|
-
"@xyo-network/sdk-js": ">=5.
|
|
112
|
-
"@xyo-network/wallet-model": ">=5.5.2 <6",
|
|
113
|
-
"@xyo-network/witness-abstract": ">=5.
|
|
114
|
-
"@xyo-network/witness-model": ">=5.
|
|
115
|
-
"zod": ">=4.3
|
|
109
|
+
"@xyo-network/sdk-js": ">=5.6.2 <6",
|
|
110
|
+
"@xyo-network/wallet-model": ">=5.5.2 <5.6",
|
|
111
|
+
"@xyo-network/witness-abstract": ">=5.6.2 <6",
|
|
112
|
+
"@xyo-network/witness-model": ">=5.6.2 <6",
|
|
113
|
+
"zod": ">=4.4.3 <5"
|
|
116
114
|
},
|
|
117
115
|
"publishConfig": {
|
|
118
116
|
"access": "public"
|