dsa-connect 0.4.7 → 0.4.8-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,8 @@
1
+ export declare const connectorsV2_M1: {
2
+ "AUTHORITY-A": string;
3
+ "BASIC-A": string;
4
+ "BASIC-B": string;
5
+ "BASIC-C": string;
6
+ "UNISWAP-V3-A": string;
7
+ "1INCH-A": string;
8
+ };
@@ -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
+ };
@@ -39,4 +39,23 @@ export declare const core: {
39
39
  };
40
40
  };
41
41
  };
42
+ 42161: {
43
+ index: string;
44
+ list: string;
45
+ read: string;
46
+ versions: {
47
+ 1: {
48
+ account: string;
49
+ connectors: string;
50
+ events: string;
51
+ };
52
+ 2: {
53
+ accountProxy: string;
54
+ accountDefault: string;
55
+ implementations: string;
56
+ account: string;
57
+ connectors: string;
58
+ };
59
+ };
60
+ };
42
61
  };
@@ -41,6 +41,25 @@ export declare const Addresses: {
41
41
  };
42
42
  };
43
43
  };
44
+ 42161: {
45
+ index: string;
46
+ list: string;
47
+ read: string;
48
+ versions: {
49
+ 1: {
50
+ account: string;
51
+ connectors: string;
52
+ events: string;
53
+ };
54
+ 2: {
55
+ accountProxy: string;
56
+ accountDefault: string;
57
+ implementations: string;
58
+ account: string;
59
+ connectors: string;
60
+ };
61
+ };
62
+ };
44
63
  };
45
64
  connectors: {
46
65
  chains: {
@@ -153,6 +172,18 @@ export declare const Addresses: {
153
172
  };
154
173
  };
155
174
  };
175
+ 42161: {
176
+ versions: {
177
+ 2: {
178
+ "AUTHORITY-A": string;
179
+ "BASIC-A": string;
180
+ "BASIC-B": string;
181
+ "BASIC-C": string;
182
+ "UNISWAP-V3-A": string;
183
+ "1INCH-A": string;
184
+ };
185
+ };
186
+ };
156
187
  };
157
188
  };
158
189
  };
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;
23
+ export declare type ChainId = 1 | 137 | 42161;
24
24
  export interface Instance {
25
25
  id: number;
26
26
  address: string;
@@ -79,7 +79,7 @@ export declare class DSA {
79
79
  encodeSpells: (params: Spells | {
80
80
  spells: Spells;
81
81
  }, version?: 1 | 2 | undefined) => {
82
- targets: void[];
82
+ targets: (string | void)[];
83
83
  spells: string[];
84
84
  };
85
85
  sendTransaction: (transactionConfig: TransactionConfig, transactionCallbacks?: TransactionCallbacks | undefined) => Promise<string>;
@@ -166,10 +166,10 @@ export declare class DSA {
166
166
  encodeSpells: (params?: Pick<(params: Spells | {
167
167
  spells: Spells;
168
168
  }, version?: 1 | 2) => {
169
- targets: void[];
169
+ targets: (string | void)[];
170
170
  spells: string[];
171
171
  }, never> | undefined) => Promise<{
172
- targets: void[];
172
+ targets: (string | void)[];
173
173
  spells: string[];
174
174
  } | undefined>;
175
175
  data: import("./spells").Spell[];