@xyo-network/etherchain-ethereum-gas-v2-plugin 5.4.7 → 5.4.10

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.
@@ -1,2 +1,2 @@
1
- export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<import("@xyo-network/witness-model").WitnessModule<import("@xyo-network/witness-model").WitnessParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/witness-model").WitnessConfig>>, import("@xyo-network/witness-model").WitnessModuleEventData>>;
1
+ export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/sdk-js").PayloadSetWitnessPlugin<import("@xyo-network/sdk-js").WitnessModule<import("@xyo-network/sdk-js").WitnessParams<import("@xyo-network/sdk-js").AnyConfigSchema<import("@xyo-network/sdk-js").WitnessConfig>>, import("@xyo-network/sdk-js").WitnessModuleEventData>>;
2
2
  //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,sVAQvC,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,ySAQvC,CAAA"}
@@ -1,6 +1,6 @@
1
- import { AbstractWitness } from '@xyo-network/abstract-witness';
2
1
  import type { AnyConfigSchema } from '@xyo-network/module-model';
3
2
  import type { Payload, Schema } from '@xyo-network/payload-model';
3
+ import { AbstractWitness } from '@xyo-network/witness-abstract';
4
4
  import type { WitnessParams } from '@xyo-network/witness-model';
5
5
  import type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts';
6
6
  export type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
@@ -1,11 +1,11 @@
1
1
  // src/Plugin.ts
2
2
  import { EthereumGasEtherchainV2Schema as EthereumGasEtherchainV2Schema2 } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
3
3
  import { PayloadSetSchema } from "@xyo-network/payload-model";
4
- import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
4
+ import { createPayloadSetWitnessPlugin } from "@xyo-network/sdk-js";
5
5
 
6
6
  // src/Witness.ts
7
- import { AbstractWitness } from "@xyo-network/abstract-witness";
8
7
  import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
8
+ import { AbstractWitness } from "@xyo-network/witness-abstract";
9
9
 
10
10
  // src/lib/getV2GasFromEtherchain.ts
11
11
  import { axiosJson } from "@xylabs/sdk-js";
@@ -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/payloadset-plugin'\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 { AbstractWitness } from '@xyo-network/abstract-witness'\nimport 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 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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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;;;ACF9C,SAAS,uBAAuB;AAEhC,SAAS,qCAAqC;;;ACF9C,SAAS,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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"]}
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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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"]}
@@ -1,2 +1,2 @@
1
- export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<import("@xyo-network/witness-model").WitnessModule<import("@xyo-network/witness-model").WitnessParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/witness-model").WitnessConfig>>, import("@xyo-network/witness-model").WitnessModuleEventData>>;
1
+ export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/sdk-js").PayloadSetWitnessPlugin<import("@xyo-network/sdk-js").WitnessModule<import("@xyo-network/sdk-js").WitnessParams<import("@xyo-network/sdk-js").AnyConfigSchema<import("@xyo-network/sdk-js").WitnessConfig>>, import("@xyo-network/sdk-js").WitnessModuleEventData>>;
2
2
  //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,sVAQvC,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,ySAQvC,CAAA"}
@@ -1,6 +1,6 @@
1
- import { AbstractWitness } from '@xyo-network/abstract-witness';
2
1
  import type { AnyConfigSchema } from '@xyo-network/module-model';
3
2
  import type { Payload, Schema } from '@xyo-network/payload-model';
3
+ import { AbstractWitness } from '@xyo-network/witness-abstract';
4
4
  import type { WitnessParams } from '@xyo-network/witness-model';
5
5
  import type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts';
6
6
  export type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
@@ -1,11 +1,11 @@
1
1
  // src/Plugin.ts
2
2
  import { EthereumGasEtherchainV2Schema as EthereumGasEtherchainV2Schema2 } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
3
3
  import { PayloadSetSchema } from "@xyo-network/payload-model";
4
- import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
4
+ import { createPayloadSetWitnessPlugin } from "@xyo-network/sdk-js";
5
5
 
6
6
  // src/Witness.ts
7
- import { AbstractWitness } from "@xyo-network/abstract-witness";
8
7
  import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
8
+ import { AbstractWitness } from "@xyo-network/witness-abstract";
9
9
 
10
10
  // src/lib/getV2GasFromEtherchain.ts
11
11
  import { axiosJson } from "@xylabs/sdk-js";
@@ -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/payloadset-plugin'\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 { AbstractWitness } from '@xyo-network/abstract-witness'\nimport 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 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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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;;;ACF9C,SAAS,uBAAuB;AAEhC,SAAS,qCAAqC;;;ACF9C,SAAS,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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"]}
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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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"]}
@@ -1,2 +1,2 @@
1
- export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<import("@xyo-network/witness-model").WitnessModule<import("@xyo-network/witness-model").WitnessParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/witness-model").WitnessConfig>>, import("@xyo-network/witness-model").WitnessModuleEventData>>;
1
+ export declare const EthereumGasEtherchainV2Plugin: () => import("@xyo-network/sdk-js").PayloadSetWitnessPlugin<import("@xyo-network/sdk-js").WitnessModule<import("@xyo-network/sdk-js").WitnessParams<import("@xyo-network/sdk-js").AnyConfigSchema<import("@xyo-network/sdk-js").WitnessConfig>>, import("@xyo-network/sdk-js").WitnessModuleEventData>>;
2
2
  //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,sVAQvC,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B,ySAQvC,CAAA"}
@@ -1,6 +1,6 @@
1
- import { AbstractWitness } from '@xyo-network/abstract-witness';
2
1
  import type { AnyConfigSchema } from '@xyo-network/module-model';
3
2
  import type { Payload, Schema } from '@xyo-network/payload-model';
3
+ import { AbstractWitness } from '@xyo-network/witness-abstract';
4
4
  import type { WitnessParams } from '@xyo-network/witness-model';
5
5
  import type { EthereumGasEtherchainV2WitnessConfig } from './Config.ts';
6
6
  export type EtherchainEthereumGasWitnessV2Params = WitnessParams<AnyConfigSchema<EthereumGasEtherchainV2WitnessConfig>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAIvE,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAC,CAAA;AAEvH,qBAAa,8BAA+B,SAAQ,eAAe,CAAC,oCAAoC,CAAC;IACvG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuE;IACvH,gBAAyB,mBAAmB,EAAE,MAAM,CAA6C;cAExE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ9D"}
@@ -1,11 +1,11 @@
1
1
  // src/Plugin.ts
2
2
  import { EthereumGasEtherchainV2Schema as EthereumGasEtherchainV2Schema2 } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
3
3
  import { PayloadSetSchema } from "@xyo-network/payload-model";
4
- import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
4
+ import { createPayloadSetWitnessPlugin } from "@xyo-network/sdk-js";
5
5
 
6
6
  // src/Witness.ts
7
- import { AbstractWitness } from "@xyo-network/abstract-witness";
8
7
  import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin";
8
+ import { AbstractWitness } from "@xyo-network/witness-abstract";
9
9
 
10
10
  // src/lib/getV2GasFromEtherchain.ts
11
11
  import { axiosJson } from "@xylabs/sdk-js";
@@ -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/payloadset-plugin'\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 { AbstractWitness } from '@xyo-network/abstract-witness'\nimport 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 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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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;;;ACF9C,SAAS,uBAAuB;AAEhC,SAAS,qCAAqC;;;ACF9C,SAAS,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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"]}
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 { axiosJson } 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 (await axiosJson.get<EthereumGasEtherchainV2Response>(url)).data\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,iBAAiB;AAG1B,IAAM,MAAM;AAEL,IAAM,yBAAyB,YAAsD;AAC1F,UAAQ,MAAM,UAAU,IAAqC,GAAG,GAAG;AACrE;;;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.4.7",
3
+ "version": "5.4.10",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -31,89 +31,88 @@
31
31
  "README.md"
32
32
  ],
33
33
  "dependencies": {
34
- "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~5.4.7"
34
+ "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~5.4.10"
35
35
  },
36
36
  "devDependencies": {
37
- "@opentelemetry/api": "^1",
38
- "@types/node": "^25.5.2",
39
- "@xylabs/sdk-js": "^5.0.95",
40
- "@xylabs/ts-scripts-common": "~7.9.3",
41
- "@xylabs/ts-scripts-pnpm": "~7.9.3",
42
- "@xylabs/tsconfig": "~7.9.3",
43
- "@xylabs/vitest-extended": "~5.0.95",
44
- "@xylabs/vitest-matchers": "~5.0.95",
45
- "@xyo-network/abstract-witness": "~5.3.30",
46
- "@xyo-network/account": "~5.3.30",
47
- "@xyo-network/account-model": "~5.3.30",
48
- "@xyo-network/api-models": "~5.3.30",
49
- "@xyo-network/archivist-abstract": "~5.3.30",
50
- "@xyo-network/archivist-generic": "~5.3.30",
51
- "@xyo-network/archivist-memory": "~5.3.30",
52
- "@xyo-network/archivist-model": "~5.3.30",
53
- "@xyo-network/archivist-view": "~5.3.30",
54
- "@xyo-network/archivist-wrapper": "~5.3",
55
- "@xyo-network/boundwitness-builder": "~5.3.30",
56
- "@xyo-network/boundwitness-validator": "~5.3.30",
57
- "@xyo-network/bridge-abstract": "~5.3.30",
58
- "@xyo-network/bridge-model": "~5.3.30",
59
- "@xyo-network/config-payload-plugin": "~5.3.30",
60
- "@xyo-network/data": "~5.3.30",
61
- "@xyo-network/diviner-abstract": "~5.3",
62
- "@xyo-network/diviner-boundwitness-memory": "~5.3.30",
63
- "@xyo-network/diviner-identity": "~5.3.30",
64
- "@xyo-network/diviner-model": "~5.3.30",
65
- "@xyo-network/diviner-payload-generic": "~5.3.30",
66
- "@xyo-network/diviner-payload-model": "~5.3.30",
67
- "@xyo-network/diviner-wrapper": "~5.3",
68
- "@xyo-network/dns": "~5.3.30",
69
- "@xyo-network/domain-payload-plugin": "~5.3.30",
70
- "@xyo-network/elliptic": "~5.3.30",
71
- "@xyo-network/hash": "~5.3.30",
72
- "@xyo-network/huri": "~5.3.30",
73
- "@xyo-network/manifest-model": "~5.3.30",
74
- "@xyo-network/module-abstract": "~5.3.30",
75
- "@xyo-network/module-model": "~5.3.30",
76
- "@xyo-network/module-resolver": "~5.3.30",
77
- "@xyo-network/module-wrapper": "~5.3",
78
- "@xyo-network/network": "~5.3.30",
79
- "@xyo-network/node-abstract": "~5.3.30",
80
- "@xyo-network/node-memory": "~5.3.30",
81
- "@xyo-network/node-model": "~5.3.30",
82
- "@xyo-network/node-view": "~5.3.30",
83
- "@xyo-network/node-wrapper": "~5.3",
84
- "@xyo-network/payload-builder": "~5.3.30",
85
- "@xyo-network/payload-model": "~5.3.30",
86
- "@xyo-network/payload-plugin": "^5.3.30",
87
- "@xyo-network/payload-validator": "~5.3.30",
88
- "@xyo-network/payloadset-plugin": "~5.3.30",
89
- "@xyo-network/previous-hash-store-model": "~5.3.30",
90
- "@xyo-network/sdk-js": "~5.3.30",
91
- "@xyo-network/sentinel-abstract": "~5.3.30",
92
- "@xyo-network/sentinel-memory": "~5.3.30",
93
- "@xyo-network/sentinel-model": "~5.3.30",
94
- "@xyo-network/wallet-model": "~5.3.30",
95
- "@xyo-network/wasm": "~5.3.30",
96
- "@xyo-network/witness-adhoc": "~5.3.30",
97
- "@xyo-network/witness-model": "~5.3.30",
37
+ "@bitauth/libauth": "~3.0.0",
38
+ "@metamask/providers": "^22.1.1",
39
+ "@opentelemetry/api": "^1.9.1",
40
+ "@opentelemetry/sdk-trace-base": "^2.7.0",
41
+ "@scure/base": "^2.2.0",
42
+ "@scure/bip39": "~2.2.0",
43
+ "@types/node": "^25.6.0",
44
+ "@xylabs/geo": "^5.0.101",
45
+ "@xylabs/sdk-js": "^5.0.100",
46
+ "@xylabs/threads": "^5.0.100",
47
+ "@xylabs/toolchain": "~7.11.12",
48
+ "@xylabs/tsconfig": "~7.11.12",
49
+ "@xylabs/vitest-extended": "~5.0.100",
50
+ "@xylabs/vitest-matchers": "~5.0.100",
51
+ "@xyo-network/account": "~5.5.2",
52
+ "@xyo-network/account-model": "^5.5.2",
53
+ "@xyo-network/api": "~5.5.2",
54
+ "@xyo-network/api-models": "~5.5.2",
55
+ "@xyo-network/boundwitness-builder": "~5.5.2",
56
+ "@xyo-network/boundwitness-model": "^5.5.2",
57
+ "@xyo-network/boundwitness-validator": "^5.5.2",
58
+ "@xyo-network/boundwitness-wrapper": "~5.5.2",
59
+ "@xyo-network/config-payload-plugin": "~5.5.2",
60
+ "@xyo-network/huri": "~5.5.2",
61
+ "@xyo-network/manifest-model": "~5.5.2",
62
+ "@xyo-network/module-model": "^5.5.6",
63
+ "@xyo-network/payload-builder": "~5.5.2",
64
+ "@xyo-network/payload-model": "^5.5.2",
65
+ "@xyo-network/payload-plugin": "~5.5.2",
66
+ "@xyo-network/payload-wrapper": "~5.5.2",
67
+ "@xyo-network/query-payload-plugin": "~5.5.2",
68
+ "@xyo-network/sdk-js": "^5.5.6",
69
+ "@xyo-network/sdk-protocol-js": "~5.5.2",
70
+ "@xyo-network/wallet": "~5.5.2",
71
+ "@xyo-network/wallet-model": "~5.5.2",
72
+ "@xyo-network/witness-abstract": "^5.5.6",
73
+ "@xyo-network/witness-model": "^5.5.6",
98
74
  "ajv": "^8.18.0",
99
- "axios": "^1.15.0",
100
- "esbuild": ">=0.18",
101
- "ethers": "^6",
75
+ "async-mutex": "^0.5.0",
76
+ "axios": "^1.15.2",
77
+ "bn.js": "^5.2.3",
78
+ "buffer": "^6.0.3",
79
+ "chalk": "^5.6.2",
80
+ "debug": "~4.4.3",
81
+ "esbuild": "~0.28.0",
82
+ "eslint": "^10.2.1",
83
+ "ethers": "^6.16.0",
84
+ "hash-wasm": "^4.12.0",
85
+ "idb": "^8.0.3",
86
+ "lru-cache": "^11.3.5",
87
+ "mapbox-gl": "^3.22.0",
88
+ "observable-fns": "~0.6.1",
102
89
  "pako": "~2.1.0",
90
+ "store2": "~2.14.4",
103
91
  "typescript": "~5.9.3",
104
- "vite": "^8.0.7",
105
- "vitest": "~4.1.3",
92
+ "vite": "^8.0.10",
93
+ "vitest": "^4.1.5",
94
+ "wasm-feature-detect": "~1.8.0",
95
+ "webextension-polyfill": "^0.12.0",
106
96
  "zod": "^4.3.6"
107
97
  },
108
98
  "peerDependencies": {
109
- "@xylabs/sdk-js": "^5",
110
- "@xyo-network/abstract-witness": "^5",
111
- "@xyo-network/module-model": "^5",
112
- "@xyo-network/payload-model": "^5",
113
- "@xyo-network/payload-plugin": "^5",
114
- "@xyo-network/payloadset-plugin": "^5",
115
- "@xyo-network/witness-model": "^5",
116
- "zod": "^4"
99
+ "@xylabs/sdk-js": ">=5.0.100 <6",
100
+ "@xyo-network/account": ">=5.5.2 <6",
101
+ "@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",
104
+ "@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.5.6 <6",
109
+ "@xyo-network/payload-builder": ">=5.5.2 <6",
110
+ "@xyo-network/payload-model": ">=5.5.2 <6",
111
+ "@xyo-network/sdk-js": ">=5.5.6 <6",
112
+ "@xyo-network/wallet-model": ">=5.5.2 <6",
113
+ "@xyo-network/witness-abstract": ">=5.5.6 <6",
114
+ "@xyo-network/witness-model": ">=5.5.6 <6",
115
+ "zod": ">=4.3.6 <5"
117
116
  },
118
117
  "publishConfig": {
119
118
  "access": "public"