@xyo-network/evm-contract-witness 4.1.1 → 4.2.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/neutral/index.d.ts +3 -30
- package/package.json +8 -9
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const EvmContractSchema = "network.xyo.evm.contract";
|
|
5
|
-
type EvmContractSchema = typeof EvmContractSchema;
|
|
6
|
-
type EvmContract = Payload<{
|
|
7
|
-
address: string;
|
|
8
|
-
block: number;
|
|
9
|
-
chainId: number;
|
|
10
|
-
code?: string;
|
|
11
|
-
}, EvmContractSchema>;
|
|
12
|
-
/**
|
|
13
|
-
* Identity function for EVM contract payload
|
|
14
|
-
*/
|
|
15
|
-
declare const isEvmContract: (x?: unknown | null) => x is EvmContract;
|
|
16
|
-
|
|
17
|
-
declare const EvmContractWitnessConfigSchema = "network.xyo.evm.contract.witness.config";
|
|
18
|
-
type EvmContractWitnessConfigSchema = typeof EvmContractWitnessConfigSchema;
|
|
19
|
-
type EvmContractWitnessConfig = EvmWitnessConfig<{
|
|
20
|
-
address?: string;
|
|
21
|
-
}, string>;
|
|
22
|
-
type EvmContractWitnessParams = EvmWitnessParams<EvmContractWitnessConfig>;
|
|
23
|
-
declare class EvmContractWitness<TParams extends EvmContractWitnessParams = EvmContractWitnessParams> extends AbstractEvmWitness<TParams, EvmAddress, EvmContract> {
|
|
24
|
-
static readonly configSchemas: Schema[];
|
|
25
|
-
static readonly defaultConfigSchema: Schema;
|
|
26
|
-
protected observeHandler(inPayloads?: EvmAddress[]): Promise<EvmContract[]>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { EvmContractSchema, EvmContractWitness, EvmContractWitnessConfigSchema, isEvmContract };
|
|
30
|
-
export type { EvmContract, EvmContractWitnessConfig, EvmContractWitnessParams };
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export * from './Witness.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/evm-contract-witness",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,17 +29,16 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xyo-network/module-model": "^4.
|
|
34
|
-
"@xyo-network/payload-model": "^4.
|
|
35
|
-
"@xyo-network/witness-evm-abstract": "^4.
|
|
32
|
+
"@xylabs/assert": "^4.15.1",
|
|
33
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
34
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
35
|
+
"@xyo-network/witness-evm-abstract": "^4.3.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
39
|
-
"@xylabs/tsconfig": "^7.0.
|
|
40
|
-
"@xylabs/vitest-extended": "^4.
|
|
38
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
39
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
40
|
+
"@xylabs/vitest-extended": "^4.15.1",
|
|
41
41
|
"ethers": "^6.15.0",
|
|
42
|
-
"knip": "^5.62.0",
|
|
43
42
|
"typescript": "^5.8.3",
|
|
44
43
|
"vitest": "^3.2.4"
|
|
45
44
|
},
|