@xyo-network/etherscan-ethereum-gas-plugin 2.42.3 → 2.42.5

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,6 +1,6 @@
1
- import { XyoModuleParams } from '@xyo-network/module';
1
+ import { ModuleParams } from '@xyo-network/module';
2
2
  import { PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
3
- export declare const XyoEthereumGasEtherscanPlugin: () => PayloadSetWitnessPlugin<XyoModuleParams<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
3
+ export declare const XyoEthereumGasEtherscanPlugin: () => PayloadSetWitnessPlugin<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;
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAKhG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;GASvC,CAAA"}
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;AAKhG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;GASvC,CAAA"}
@@ -1,10 +1,10 @@
1
- import { XyoModuleParams } from '@xyo-network/module';
1
+ import { ModuleParams } from '@xyo-network/module';
2
2
  import { XyoPayload } from '@xyo-network/payload';
3
3
  import { TimestampWitness } from '@xyo-network/witness';
4
4
  import { XyoEthereumGasEtherscanWitnessConfig } from './Config';
5
5
  export declare class XyoEthereumGasEtherscanWitness extends TimestampWitness<XyoEthereumGasEtherscanWitnessConfig> {
6
6
  static configSchema: "network.xyo.blockchain.ethereum.gas.etherscan.witness.config";
7
- static create(params?: XyoModuleParams<XyoEthereumGasEtherscanWitnessConfig>): Promise<XyoEthereumGasEtherscanWitness>;
7
+ static create(params?: ModuleParams<XyoEthereumGasEtherscanWitnessConfig>): Promise<XyoEthereumGasEtherscanWitness>;
8
8
  observe(): Promise<XyoPayload[]>;
9
9
  }
10
10
  //# sourceMappingURL=Witness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,UAAU,EAAqB,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAA;AAI/D,qBAAa,8BAA+B,SAAQ,gBAAgB,CAAC,oCAAoC,CAAC;IACxG,OAAgB,YAAY,iEAA6C;WAEnD,MAAM,CAAC,MAAM,CAAC,EAAE,eAAe,CAAC,oCAAoC,CAAC,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAKtH,OAAO,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;CAOhD"}
1
+ {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAqB,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAA;AAI/D,qBAAa,8BAA+B,SAAQ,gBAAgB,CAAC,oCAAoC,CAAC;IACxG,OAAgB,YAAY,iEAA6C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Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAkC,6BAA6B,EAAE,MAAM,oDAAoD,CAAA;AAElI,OAAO,EAAc,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAA;AAErE,MAAM,OAAO,8BAA+B,SAAQ,gBAAsD;IACxG,MAAM,CAAU,YAAY,GAAG,0CAA0C,CAAA;IAEzE,MAAM,CAAU,KAAK,CAAC,MAAM,CAAC,MAA2D;QACtF,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAA;QACtD,OAAO,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAmC,CAAA;IACvE,CAAC;IAEQ,KAAK,CAAC,OAAO;QACpB,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAA;QAClE,MAAM,OAAO,GAAG,IAAI,iBAAiB,CAAiC,EAAE,MAAM,EAAE,6BAA6B,EAAE,CAAC;aAC7G,MAAM,CAAC,MAAM,mBAAmB,CAAC,MAAM,CAAC,CAAC;aACzC,KAAK,EAAE,CAAA;QACV,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;IACjC,CAAC"}
package/package.json CHANGED
@@ -10,12 +10,12 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/assert": "^2.6.9",
14
- "@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.42.3",
15
- "@xyo-network/module": "^2.42.3",
16
- "@xyo-network/payload": "^2.42.3",
17
- "@xyo-network/payloadset-plugin": "^2.42.3",
18
- "@xyo-network/witness": "^2.42.3",
13
+ "@xylabs/assert": "^2.6.10",
14
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "^2.42.5",
15
+ "@xyo-network/module": "^2.42.5",
16
+ "@xyo-network/payload": "^2.42.5",
17
+ "@xyo-network/payloadset-plugin": "^2.42.5",
18
+ "@xyo-network/witness": "^2.42.5",
19
19
  "axios": "~1.2.1",
20
20
  "tslib": "^2.4.1"
21
21
  },
@@ -52,5 +52,5 @@
52
52
  },
53
53
  "sideEffects": false,
54
54
  "types": "dist/esm/index.d.ts",
55
- "version": "2.42.3"
55
+ "version": "2.42.5"
56
56
  }
package/src/Plugin.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { XyoEthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'
2
- import { XyoModuleParams } from '@xyo-network/module'
2
+ import { ModuleParams } from '@xyo-network/module'
3
3
  import { PayloadSetSchema } from '@xyo-network/payload'
4
4
  import { createPayloadSetPlugin, PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'
5
5
 
@@ -7,7 +7,7 @@ import { XyoEthereumGasEtherscanWitnessConfig } from './Config'
7
7
  import { XyoEthereumGasEtherscanWitness } from './Witness'
8
8
 
9
9
  export const XyoEthereumGasEtherscanPlugin = () =>
10
- createPayloadSetPlugin<PayloadSetWitnessPlugin<XyoModuleParams<XyoEthereumGasEtherscanWitnessConfig>>>(
10
+ createPayloadSetPlugin<PayloadSetWitnessPlugin<ModuleParams<XyoEthereumGasEtherscanWitnessConfig>>>(
11
11
  { required: { [XyoEthereumGasEtherscanSchema]: 1 }, schema: PayloadSetSchema },
12
12
  {
13
13
  witness: async (params) => {
package/src/Witness.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
2
  import { XyoEthereumGasEtherscanPayload, XyoEthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'
3
- import { XyoModuleParams } from '@xyo-network/module'
3
+ import { ModuleParams } from '@xyo-network/module'
4
4
  import { XyoPayload, XyoPayloadBuilder } from '@xyo-network/payload'
5
5
  import { TimestampWitness } from '@xyo-network/witness'
6
6
 
@@ -11,7 +11,7 @@ import { XyoEthereumGasEtherscanWitnessConfigSchema } from './Schema'
11
11
  export class XyoEthereumGasEtherscanWitness extends TimestampWitness<XyoEthereumGasEtherscanWitnessConfig> {
12
12
  static override configSchema = XyoEthereumGasEtherscanWitnessConfigSchema
13
13
 
14
- static override async create(params?: XyoModuleParams<XyoEthereumGasEtherscanWitnessConfig>): Promise<XyoEthereumGasEtherscanWitness> {
14
+ static override async create(params?: ModuleParams<XyoEthereumGasEtherscanWitnessConfig>): Promise<XyoEthereumGasEtherscanWitness> {
15
15
  assertEx(params?.config?.apiKey, 'apiKey is required')
16
16
  return (await super.create(params)) as XyoEthereumGasEtherscanWitness
17
17
  }