dsa-connect 0.5.19 → 0.6.0-beta.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.
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const INTEROP_B: AbiItem[];
@@ -77,4 +77,23 @@ export declare const core: {
77
77
  };
78
78
  };
79
79
  };
80
+ 10: {
81
+ index: string;
82
+ list: string;
83
+ read: string;
84
+ versions: {
85
+ 1: {
86
+ account: string;
87
+ connectors: string;
88
+ events: string;
89
+ };
90
+ 2: {
91
+ accountProxy: string;
92
+ accountDefault: string;
93
+ implementations: string;
94
+ account: string;
95
+ connectors: string;
96
+ };
97
+ };
98
+ };
80
99
  };
@@ -79,6 +79,25 @@ export declare const Addresses: {
79
79
  };
80
80
  };
81
81
  };
82
+ 10: {
83
+ index: string;
84
+ list: string;
85
+ read: string;
86
+ versions: {
87
+ 1: {
88
+ account: string;
89
+ connectors: string;
90
+ events: string;
91
+ };
92
+ 2: {
93
+ accountProxy: string;
94
+ accountDefault: string;
95
+ implementations: string;
96
+ account: string;
97
+ connectors: string;
98
+ };
99
+ };
100
+ };
82
101
  };
83
102
  connectors: {
84
103
  chains: {
@@ -263,6 +282,11 @@ export declare const Addresses: {
263
282
  };
264
283
  };
265
284
  };
285
+ 10: {
286
+ versions: {
287
+ 2: {};
288
+ };
289
+ };
266
290
  };
267
291
  };
268
292
  };
@@ -0,0 +1 @@
1
+ export declare const connectorsV2_M1: {};
@@ -0,0 +1,19 @@
1
+ export declare const core: {
2
+ index: string;
3
+ list: string;
4
+ read: string;
5
+ versions: {
6
+ 1: {
7
+ account: string;
8
+ connectors: string;
9
+ events: string;
10
+ };
11
+ 2: {
12
+ accountProxy: string;
13
+ accountDefault: string;
14
+ implementations: string;
15
+ account: string;
16
+ connectors: string;
17
+ };
18
+ };
19
+ };
package/dist/dsa.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare type DSAConfig = {
20
20
  web3: Web3;
21
21
  mode?: 'browser';
22
22
  };
23
- export declare type ChainId = 1 | 137 | 42161 | 43114;
23
+ export declare type ChainId = 1 | 137 | 42161 | 43114 | 10;
24
24
  export interface Instance {
25
25
  id: number;
26
26
  address: string;
@@ -80,7 +80,7 @@ export declare class DSA {
80
80
  encodeSpells: (params: Spells | {
81
81
  spells: Spells;
82
82
  }, version?: 1 | 2 | undefined) => {
83
- targets: (string | void)[];
83
+ targets: void[];
84
84
  spells: string[];
85
85
  };
86
86
  sendTransaction: (transactionConfig: TransactionConfig, transactionCallbacks?: TransactionCallbacks | undefined) => Promise<string>;
@@ -167,10 +167,10 @@ export declare class DSA {
167
167
  encodeSpells: (params?: Omit<(params: Spells | {
168
168
  spells: Spells;
169
169
  }, version?: 1 | 2) => {
170
- targets: (string | void)[];
170
+ targets: void[];
171
171
  spells: string[];
172
172
  }, "spells"> | undefined) => Promise<{
173
- targets: (string | void)[];
173
+ targets: void[];
174
174
  spells: string[];
175
175
  } | undefined>;
176
176
  data: import("./spells").Spell[];