@xyo-network/blocknative-ethereum-gas-plugin 2.73.4 → 2.74.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/index.d.mts CHANGED
@@ -1,21 +1,7 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { TimestampWitnessConfig, TimestampWitnessParams, AbstractWitness } from '@xyo-network/witness';
5
-
6
- type EthereumGasBlocknativeWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.blocknative.witness.config';
7
- declare const EthereumGasBlocknativeWitnessConfigSchema: EthereumGasBlocknativeWitnessConfigSchema;
8
-
9
- type EthereumGasBlocknativeWitnessConfig = TimestampWitnessConfig<{
10
- schema: EthereumGasBlocknativeWitnessConfigSchema;
11
- }>;
12
-
13
- type EthereumGasBlocknativeWitnessParams = TimestampWitnessParams<AnyConfigSchema<EthereumGasBlocknativeWitnessConfig>>;
14
- declare class EthereumGasBlocknativeWitness extends AbstractWitness<EthereumGasBlocknativeWitnessParams> {
15
- static configSchemas: "network.xyo.blockchain.ethereum.gas.blocknative.witness.config"[];
16
- protected observeHandler(): Promise<Payload[]>;
17
- }
18
-
19
- declare const EthereumGasBlocknativePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<EthereumGasBlocknativeWitness>;
20
-
21
- export { EthereumGasBlocknativePlugin, EthereumGasBlocknativeWitness, EthereumGasBlocknativeWitnessConfig, EthereumGasBlocknativeWitnessConfigSchema, EthereumGasBlocknativeWitnessParams, EthereumGasBlocknativePlugin as default };
1
+ import { EthereumGasBlocknativePlugin } from './Plugin';
2
+ export * from './Config';
3
+ export * from './Schema';
4
+ export * from './Witness';
5
+ export { EthereumGasBlocknativePlugin };
6
+ export default EthereumGasBlocknativePlugin;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEvD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,4BAA4B,EAAE,CAAA;AAGvC,eAAe,4BAA4B,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,21 +1,7 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { TimestampWitnessConfig, TimestampWitnessParams, AbstractWitness } from '@xyo-network/witness';
5
-
6
- type EthereumGasBlocknativeWitnessConfigSchema = 'network.xyo.blockchain.ethereum.gas.blocknative.witness.config';
7
- declare const EthereumGasBlocknativeWitnessConfigSchema: EthereumGasBlocknativeWitnessConfigSchema;
8
-
9
- type EthereumGasBlocknativeWitnessConfig = TimestampWitnessConfig<{
10
- schema: EthereumGasBlocknativeWitnessConfigSchema;
11
- }>;
12
-
13
- type EthereumGasBlocknativeWitnessParams = TimestampWitnessParams<AnyConfigSchema<EthereumGasBlocknativeWitnessConfig>>;
14
- declare class EthereumGasBlocknativeWitness extends AbstractWitness<EthereumGasBlocknativeWitnessParams> {
15
- static configSchemas: "network.xyo.blockchain.ethereum.gas.blocknative.witness.config"[];
16
- protected observeHandler(): Promise<Payload[]>;
17
- }
18
-
19
- declare const EthereumGasBlocknativePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<EthereumGasBlocknativeWitness>;
20
-
21
- export { EthereumGasBlocknativePlugin, EthereumGasBlocknativeWitness, EthereumGasBlocknativeWitnessConfig, EthereumGasBlocknativeWitnessConfigSchema, EthereumGasBlocknativeWitnessParams, EthereumGasBlocknativePlugin as default };
1
+ import { EthereumGasBlocknativePlugin } from './Plugin';
2
+ export * from './Config';
3
+ export * from './Schema';
4
+ export * from './Witness';
5
+ export { EthereumGasBlocknativePlugin };
6
+ export default EthereumGasBlocknativePlugin;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEvD,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,4BAA4B,EAAE,CAAA;AAGvC,eAAe,4BAA4B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasBlocknativeResponse } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
+ export declare const getGasFromBlocknative: () => Promise<EthereumGasBlocknativeResponse>;
3
+ //# sourceMappingURL=getGasFromBlocknative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../src/lib/getGasFromBlocknative.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAA;AAOrG,eAAO,MAAM,qBAAqB,QAAa,QAAQ,8BAA8B,CAEpF,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasBlocknativeResponse } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
+ export declare const getGasFromBlocknative: () => Promise<EthereumGasBlocknativeResponse>;
3
+ //# sourceMappingURL=getGasFromBlocknative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../src/lib/getGasFromBlocknative.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAA;AAOrG,eAAO,MAAM,qBAAqB,QAAa,QAAQ,8BAA8B,CAEpF,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './getGasFromBlocknative';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './getGasFromBlocknative';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
package/package.json CHANGED
@@ -10,25 +10,19 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/axios": "~2.73.4",
14
- "@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.73.4",
15
- "@xyo-network/module": "~2.73.4",
16
- "@xyo-network/payload-builder": "~2.73.4",
17
- "@xyo-network/payload-model": "~2.73.4",
18
- "@xyo-network/payloadset-plugin": "~2.73.4",
19
- "@xyo-network/witness": "~2.73.4"
13
+ "@xyo-network/axios": "~2.74.1",
14
+ "@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.74.1",
15
+ "@xyo-network/module": "~2.74.1",
16
+ "@xyo-network/payload-builder": "~2.74.1",
17
+ "@xyo-network/payload-model": "~2.74.1",
18
+ "@xyo-network/payloadset-plugin": "~2.74.1",
19
+ "@xyo-network/witness": "~2.74.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
23
- "@xylabs/tsconfig": "^2.19.12",
24
- "publint": "^0.2.2",
25
- "tsup": "^7.2.0",
22
+ "@xylabs/ts-scripts-yarn3": "^3.0.28",
23
+ "@xylabs/tsconfig": "^3.0.28",
26
24
  "typescript": "^5.2.2"
27
25
  },
28
- "scripts": {
29
- "package-compile": "tsup && publint",
30
- "package-recompile": "tsup && publint"
31
- },
32
26
  "description": "Primary SDK for using XYO Protocol 2.0",
33
27
  "docs": "dist/docs.json",
34
28
  "types": "dist/index.d.ts",
@@ -69,5 +63,5 @@
69
63
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
70
64
  },
71
65
  "sideEffects": false,
72
- "version": "2.73.4"
66
+ "version": "2.74.1"
73
67
  }
package/tsup.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- // eslint-disable-next-line import/no-default-export
4
- export default defineConfig({
5
- bundle: true,
6
- cjsInterop: true,
7
- clean: false,
8
- dts: {
9
- entry: ['src/index.ts'],
10
- },
11
- entry: ['src/index.ts'],
12
- format: ['cjs', 'esm'],
13
- sourcemap: true,
14
- splitting: false,
15
- tsconfig: 'tsconfig.json',
16
- })