@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/Config.d.mts +6 -0
- package/dist/Config.d.mts.map +1 -0
- package/dist/Config.d.ts +6 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Plugin.d.mts +3 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/Plugin.d.ts +3 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Schema.d.mts +3 -0
- package/dist/Schema.d.mts.map +1 -0
- package/dist/Schema.d.ts +3 -0
- package/dist/Schema.d.ts.map +1 -0
- package/dist/Witness.d.mts +10 -0
- package/dist/Witness.d.mts.map +1 -0
- package/dist/Witness.d.ts +10 -0
- package/dist/Witness.d.ts.map +1 -0
- package/dist/docs.json +3910 -4603
- package/dist/index.d.mts +7 -21
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +7 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/getGasFromBlocknative.d.mts +3 -0
- package/dist/lib/getGasFromBlocknative.d.mts.map +1 -0
- package/dist/lib/getGasFromBlocknative.d.ts +3 -0
- package/dist/lib/getGasFromBlocknative.d.ts.map +1 -0
- package/dist/lib/index.d.mts +2 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/package.json +10 -16
- package/tsup.config.ts +0 -16
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
|
|
@@ -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.
|
|
14
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "~2.
|
|
15
|
-
"@xyo-network/module": "~2.
|
|
16
|
-
"@xyo-network/payload-builder": "~2.
|
|
17
|
-
"@xyo-network/payload-model": "~2.
|
|
18
|
-
"@xyo-network/payloadset-plugin": "~2.
|
|
19
|
-
"@xyo-network/witness": "~2.
|
|
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": "^
|
|
23
|
-
"@xylabs/tsconfig": "^
|
|
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.
|
|
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
|
-
})
|