@metamask-previews/bridge-status-controller 74.6.1-preview-b5147cfe0 → 74.6.1-preview-b156b30ed
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/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
|
+
- Bump `@metamask/network-controller` from `^35.0.0` to `^35.0.1` ([#9758](https://github.com/MetaMask/core/pull/9758))
|
|
12
13
|
- Bump `@metamask/bridge-controller` from `^78.0.2` to `^78.0.3` ([#9740](https://github.com/MetaMask/core/pull/9740))
|
|
13
14
|
|
|
14
15
|
## [74.6.1]
|
|
@@ -26,13 +26,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
26
26
|
amount?: string | undefined;
|
|
27
27
|
token?: {} | {
|
|
28
28
|
symbol: string;
|
|
29
|
-
chainId: number;
|
|
30
|
-
address: string;
|
|
31
29
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
32
30
|
name: string;
|
|
33
31
|
decimals: number;
|
|
34
|
-
|
|
32
|
+
chainId: number;
|
|
33
|
+
address: string;
|
|
35
34
|
iconUrl?: string | null | undefined;
|
|
35
|
+
icon?: string | null | undefined;
|
|
36
36
|
} | undefined;
|
|
37
37
|
};
|
|
38
38
|
destChain?: {
|
|
@@ -41,13 +41,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
41
41
|
amount?: string | undefined;
|
|
42
42
|
token?: {} | {
|
|
43
43
|
symbol: string;
|
|
44
|
-
chainId: number;
|
|
45
|
-
address: string;
|
|
46
44
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
47
45
|
name: string;
|
|
48
46
|
decimals: number;
|
|
49
|
-
|
|
47
|
+
chainId: number;
|
|
48
|
+
address: string;
|
|
50
49
|
iconUrl?: string | null | undefined;
|
|
50
|
+
icon?: string | null | undefined;
|
|
51
51
|
} | undefined;
|
|
52
52
|
} | undefined;
|
|
53
53
|
bridge?: string | undefined;
|
|
@@ -68,13 +68,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
68
68
|
amount?: string | undefined;
|
|
69
69
|
token?: {} | {
|
|
70
70
|
symbol: string;
|
|
71
|
-
chainId: number;
|
|
72
|
-
address: string;
|
|
73
71
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
74
72
|
name: string;
|
|
75
73
|
decimals: number;
|
|
76
|
-
|
|
74
|
+
chainId: number;
|
|
75
|
+
address: string;
|
|
77
76
|
iconUrl?: string | null | undefined;
|
|
77
|
+
icon?: string | null | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
};
|
|
80
80
|
destChain?: {
|
|
@@ -83,13 +83,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
83
83
|
amount?: string | undefined;
|
|
84
84
|
token?: {} | {
|
|
85
85
|
symbol: string;
|
|
86
|
-
chainId: number;
|
|
87
|
-
address: string;
|
|
88
86
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
89
87
|
name: string;
|
|
90
88
|
decimals: number;
|
|
91
|
-
|
|
89
|
+
chainId: number;
|
|
90
|
+
address: string;
|
|
92
91
|
iconUrl?: string | null | undefined;
|
|
92
|
+
icon?: string | null | undefined;
|
|
93
93
|
} | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
bridge?: string | undefined;
|
|
@@ -110,13 +110,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
110
110
|
amount?: string | undefined;
|
|
111
111
|
token?: {} | {
|
|
112
112
|
symbol: string;
|
|
113
|
-
chainId: number;
|
|
114
|
-
address: string;
|
|
115
113
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
116
114
|
name: string;
|
|
117
115
|
decimals: number;
|
|
118
|
-
|
|
116
|
+
chainId: number;
|
|
117
|
+
address: string;
|
|
119
118
|
iconUrl?: string | null | undefined;
|
|
119
|
+
icon?: string | null | undefined;
|
|
120
120
|
} | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -124,13 +124,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
124
124
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
125
125
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
126
126
|
symbol: string;
|
|
127
|
-
chainId: number;
|
|
128
|
-
address: string;
|
|
129
127
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
130
128
|
name: string;
|
|
131
129
|
decimals: number;
|
|
132
|
-
|
|
130
|
+
chainId: number;
|
|
131
|
+
address: string;
|
|
133
132
|
iconUrl?: string | null | undefined;
|
|
133
|
+
icon?: string | null | undefined;
|
|
134
134
|
} | undefined, null>;
|
|
135
135
|
}>;
|
|
136
136
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -139,13 +139,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
139
139
|
amount?: string | undefined;
|
|
140
140
|
token?: {} | {
|
|
141
141
|
symbol: string;
|
|
142
|
-
chainId: number;
|
|
143
|
-
address: string;
|
|
144
142
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
145
143
|
name: string;
|
|
146
144
|
decimals: number;
|
|
147
|
-
|
|
145
|
+
chainId: number;
|
|
146
|
+
address: string;
|
|
148
147
|
iconUrl?: string | null | undefined;
|
|
148
|
+
icon?: string | null | undefined;
|
|
149
149
|
} | undefined;
|
|
150
150
|
} | undefined, {
|
|
151
151
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -153,13 +153,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
153
153
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
154
154
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
155
155
|
symbol: string;
|
|
156
|
-
chainId: number;
|
|
157
|
-
address: string;
|
|
158
156
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
159
157
|
name: string;
|
|
160
158
|
decimals: number;
|
|
161
|
-
|
|
159
|
+
chainId: number;
|
|
160
|
+
address: string;
|
|
162
161
|
iconUrl?: string | null | undefined;
|
|
162
|
+
icon?: string | null | undefined;
|
|
163
163
|
} | undefined, null>;
|
|
164
164
|
}>;
|
|
165
165
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -26,13 +26,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
26
26
|
amount?: string | undefined;
|
|
27
27
|
token?: {} | {
|
|
28
28
|
symbol: string;
|
|
29
|
-
chainId: number;
|
|
30
|
-
address: string;
|
|
31
29
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
32
30
|
name: string;
|
|
33
31
|
decimals: number;
|
|
34
|
-
|
|
32
|
+
chainId: number;
|
|
33
|
+
address: string;
|
|
35
34
|
iconUrl?: string | null | undefined;
|
|
35
|
+
icon?: string | null | undefined;
|
|
36
36
|
} | undefined;
|
|
37
37
|
};
|
|
38
38
|
destChain?: {
|
|
@@ -41,13 +41,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
41
41
|
amount?: string | undefined;
|
|
42
42
|
token?: {} | {
|
|
43
43
|
symbol: string;
|
|
44
|
-
chainId: number;
|
|
45
|
-
address: string;
|
|
46
44
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
47
45
|
name: string;
|
|
48
46
|
decimals: number;
|
|
49
|
-
|
|
47
|
+
chainId: number;
|
|
48
|
+
address: string;
|
|
50
49
|
iconUrl?: string | null | undefined;
|
|
50
|
+
icon?: string | null | undefined;
|
|
51
51
|
} | undefined;
|
|
52
52
|
} | undefined;
|
|
53
53
|
bridge?: string | undefined;
|
|
@@ -68,13 +68,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
68
68
|
amount?: string | undefined;
|
|
69
69
|
token?: {} | {
|
|
70
70
|
symbol: string;
|
|
71
|
-
chainId: number;
|
|
72
|
-
address: string;
|
|
73
71
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
74
72
|
name: string;
|
|
75
73
|
decimals: number;
|
|
76
|
-
|
|
74
|
+
chainId: number;
|
|
75
|
+
address: string;
|
|
77
76
|
iconUrl?: string | null | undefined;
|
|
77
|
+
icon?: string | null | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
};
|
|
80
80
|
destChain?: {
|
|
@@ -83,13 +83,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
83
83
|
amount?: string | undefined;
|
|
84
84
|
token?: {} | {
|
|
85
85
|
symbol: string;
|
|
86
|
-
chainId: number;
|
|
87
|
-
address: string;
|
|
88
86
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
89
87
|
name: string;
|
|
90
88
|
decimals: number;
|
|
91
|
-
|
|
89
|
+
chainId: number;
|
|
90
|
+
address: string;
|
|
92
91
|
iconUrl?: string | null | undefined;
|
|
92
|
+
icon?: string | null | undefined;
|
|
93
93
|
} | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
bridge?: string | undefined;
|
|
@@ -110,13 +110,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
110
110
|
amount?: string | undefined;
|
|
111
111
|
token?: {} | {
|
|
112
112
|
symbol: string;
|
|
113
|
-
chainId: number;
|
|
114
|
-
address: string;
|
|
115
113
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
116
114
|
name: string;
|
|
117
115
|
decimals: number;
|
|
118
|
-
|
|
116
|
+
chainId: number;
|
|
117
|
+
address: string;
|
|
119
118
|
iconUrl?: string | null | undefined;
|
|
119
|
+
icon?: string | null | undefined;
|
|
120
120
|
} | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -124,13 +124,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
124
124
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
125
125
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
126
126
|
symbol: string;
|
|
127
|
-
chainId: number;
|
|
128
|
-
address: string;
|
|
129
127
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
130
128
|
name: string;
|
|
131
129
|
decimals: number;
|
|
132
|
-
|
|
130
|
+
chainId: number;
|
|
131
|
+
address: string;
|
|
133
132
|
iconUrl?: string | null | undefined;
|
|
133
|
+
icon?: string | null | undefined;
|
|
134
134
|
} | undefined, null>;
|
|
135
135
|
}>;
|
|
136
136
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -139,13 +139,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
139
139
|
amount?: string | undefined;
|
|
140
140
|
token?: {} | {
|
|
141
141
|
symbol: string;
|
|
142
|
-
chainId: number;
|
|
143
|
-
address: string;
|
|
144
142
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
145
143
|
name: string;
|
|
146
144
|
decimals: number;
|
|
147
|
-
|
|
145
|
+
chainId: number;
|
|
146
|
+
address: string;
|
|
148
147
|
iconUrl?: string | null | undefined;
|
|
148
|
+
icon?: string | null | undefined;
|
|
149
149
|
} | undefined;
|
|
150
150
|
} | undefined, {
|
|
151
151
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -153,13 +153,13 @@ export declare const QuoteStatusGetResponseSchema: import("@metamask/superstruct
|
|
|
153
153
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
154
154
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
155
155
|
symbol: string;
|
|
156
|
-
chainId: number;
|
|
157
|
-
address: string;
|
|
158
156
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
159
157
|
name: string;
|
|
160
158
|
decimals: number;
|
|
161
|
-
|
|
159
|
+
chainId: number;
|
|
160
|
+
address: string;
|
|
162
161
|
iconUrl?: string | null | undefined;
|
|
162
|
+
icon?: string | null | undefined;
|
|
163
163
|
} | undefined, null>;
|
|
164
164
|
}>;
|
|
165
165
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -8,13 +8,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
8
8
|
amount?: string | undefined;
|
|
9
9
|
token?: {} | {
|
|
10
10
|
symbol: string;
|
|
11
|
-
chainId: number;
|
|
12
|
-
address: string;
|
|
13
11
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
14
12
|
name: string;
|
|
15
13
|
decimals: number;
|
|
16
|
-
|
|
14
|
+
chainId: number;
|
|
15
|
+
address: string;
|
|
17
16
|
iconUrl?: string | null | undefined;
|
|
17
|
+
icon?: string | null | undefined;
|
|
18
18
|
} | undefined;
|
|
19
19
|
};
|
|
20
20
|
destChain?: {
|
|
@@ -23,13 +23,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
23
23
|
amount?: string | undefined;
|
|
24
24
|
token?: {} | {
|
|
25
25
|
symbol: string;
|
|
26
|
-
chainId: number;
|
|
27
|
-
address: string;
|
|
28
26
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
29
27
|
name: string;
|
|
30
28
|
decimals: number;
|
|
31
|
-
|
|
29
|
+
chainId: number;
|
|
30
|
+
address: string;
|
|
32
31
|
iconUrl?: string | null | undefined;
|
|
32
|
+
icon?: string | null | undefined;
|
|
33
33
|
} | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
bridge?: string | undefined;
|
|
@@ -50,13 +50,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
50
50
|
amount?: string | undefined;
|
|
51
51
|
token?: {} | {
|
|
52
52
|
symbol: string;
|
|
53
|
-
chainId: number;
|
|
54
|
-
address: string;
|
|
55
53
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
56
54
|
name: string;
|
|
57
55
|
decimals: number;
|
|
58
|
-
|
|
56
|
+
chainId: number;
|
|
57
|
+
address: string;
|
|
59
58
|
iconUrl?: string | null | undefined;
|
|
59
|
+
icon?: string | null | undefined;
|
|
60
60
|
} | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -71,13 +71,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
71
71
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
72
72
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
73
73
|
symbol: string;
|
|
74
|
-
chainId: number;
|
|
75
|
-
address: string;
|
|
76
74
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
77
75
|
name: string;
|
|
78
76
|
decimals: number;
|
|
79
|
-
|
|
77
|
+
chainId: number;
|
|
78
|
+
address: string;
|
|
80
79
|
iconUrl?: string | null | undefined;
|
|
80
|
+
icon?: string | null | undefined;
|
|
81
81
|
} | undefined, null>;
|
|
82
82
|
}>;
|
|
83
83
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -86,13 +86,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
86
86
|
amount?: string | undefined;
|
|
87
87
|
token?: {} | {
|
|
88
88
|
symbol: string;
|
|
89
|
-
chainId: number;
|
|
90
|
-
address: string;
|
|
91
89
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
92
90
|
name: string;
|
|
93
91
|
decimals: number;
|
|
94
|
-
|
|
92
|
+
chainId: number;
|
|
93
|
+
address: string;
|
|
95
94
|
iconUrl?: string | null | undefined;
|
|
95
|
+
icon?: string | null | undefined;
|
|
96
96
|
} | undefined;
|
|
97
97
|
} | undefined, {
|
|
98
98
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -103,13 +103,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
103
103
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
104
104
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
105
105
|
symbol: string;
|
|
106
|
-
chainId: number;
|
|
107
|
-
address: string;
|
|
108
106
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
109
107
|
name: string;
|
|
110
108
|
decimals: number;
|
|
111
|
-
|
|
109
|
+
chainId: number;
|
|
110
|
+
address: string;
|
|
112
111
|
iconUrl?: string | null | undefined;
|
|
112
|
+
icon?: string | null | undefined;
|
|
113
113
|
} | undefined, null>;
|
|
114
114
|
}>;
|
|
115
115
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -125,13 +125,13 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
125
125
|
amount?: string | undefined;
|
|
126
126
|
token?: {} | {
|
|
127
127
|
symbol: string;
|
|
128
|
-
chainId: number;
|
|
129
|
-
address: string;
|
|
130
128
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
131
129
|
name: string;
|
|
132
130
|
decimals: number;
|
|
133
|
-
|
|
131
|
+
chainId: number;
|
|
132
|
+
address: string;
|
|
134
133
|
iconUrl?: string | null | undefined;
|
|
134
|
+
icon?: string | null | undefined;
|
|
135
135
|
} | undefined;
|
|
136
136
|
};
|
|
137
137
|
destChain?: {
|
|
@@ -140,13 +140,13 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
140
140
|
amount?: string | undefined;
|
|
141
141
|
token?: {} | {
|
|
142
142
|
symbol: string;
|
|
143
|
-
chainId: number;
|
|
144
|
-
address: string;
|
|
145
143
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
146
144
|
name: string;
|
|
147
145
|
decimals: number;
|
|
148
|
-
|
|
146
|
+
chainId: number;
|
|
147
|
+
address: string;
|
|
149
148
|
iconUrl?: string | null | undefined;
|
|
149
|
+
icon?: string | null | undefined;
|
|
150
150
|
} | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
bridge?: string | undefined;
|
|
@@ -8,13 +8,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
8
8
|
amount?: string | undefined;
|
|
9
9
|
token?: {} | {
|
|
10
10
|
symbol: string;
|
|
11
|
-
chainId: number;
|
|
12
|
-
address: string;
|
|
13
11
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
14
12
|
name: string;
|
|
15
13
|
decimals: number;
|
|
16
|
-
|
|
14
|
+
chainId: number;
|
|
15
|
+
address: string;
|
|
17
16
|
iconUrl?: string | null | undefined;
|
|
17
|
+
icon?: string | null | undefined;
|
|
18
18
|
} | undefined;
|
|
19
19
|
};
|
|
20
20
|
destChain?: {
|
|
@@ -23,13 +23,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
23
23
|
amount?: string | undefined;
|
|
24
24
|
token?: {} | {
|
|
25
25
|
symbol: string;
|
|
26
|
-
chainId: number;
|
|
27
|
-
address: string;
|
|
28
26
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
29
27
|
name: string;
|
|
30
28
|
decimals: number;
|
|
31
|
-
|
|
29
|
+
chainId: number;
|
|
30
|
+
address: string;
|
|
32
31
|
iconUrl?: string | null | undefined;
|
|
32
|
+
icon?: string | null | undefined;
|
|
33
33
|
} | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
bridge?: string | undefined;
|
|
@@ -50,13 +50,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
50
50
|
amount?: string | undefined;
|
|
51
51
|
token?: {} | {
|
|
52
52
|
symbol: string;
|
|
53
|
-
chainId: number;
|
|
54
|
-
address: string;
|
|
55
53
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
56
54
|
name: string;
|
|
57
55
|
decimals: number;
|
|
58
|
-
|
|
56
|
+
chainId: number;
|
|
57
|
+
address: string;
|
|
59
58
|
iconUrl?: string | null | undefined;
|
|
59
|
+
icon?: string | null | undefined;
|
|
60
60
|
} | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -71,13 +71,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
71
71
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
72
72
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
73
73
|
symbol: string;
|
|
74
|
-
chainId: number;
|
|
75
|
-
address: string;
|
|
76
74
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
77
75
|
name: string;
|
|
78
76
|
decimals: number;
|
|
79
|
-
|
|
77
|
+
chainId: number;
|
|
78
|
+
address: string;
|
|
80
79
|
iconUrl?: string | null | undefined;
|
|
80
|
+
icon?: string | null | undefined;
|
|
81
81
|
} | undefined, null>;
|
|
82
82
|
}>;
|
|
83
83
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -86,13 +86,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
86
86
|
amount?: string | undefined;
|
|
87
87
|
token?: {} | {
|
|
88
88
|
symbol: string;
|
|
89
|
-
chainId: number;
|
|
90
|
-
address: string;
|
|
91
89
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
92
90
|
name: string;
|
|
93
91
|
decimals: number;
|
|
94
|
-
|
|
92
|
+
chainId: number;
|
|
93
|
+
address: string;
|
|
95
94
|
iconUrl?: string | null | undefined;
|
|
95
|
+
icon?: string | null | undefined;
|
|
96
96
|
} | undefined;
|
|
97
97
|
} | undefined, {
|
|
98
98
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -103,13 +103,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
103
103
|
amount: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
104
104
|
token: import("@metamask/superstruct").Struct<{} | {
|
|
105
105
|
symbol: string;
|
|
106
|
-
chainId: number;
|
|
107
|
-
address: string;
|
|
108
106
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
109
107
|
name: string;
|
|
110
108
|
decimals: number;
|
|
111
|
-
|
|
109
|
+
chainId: number;
|
|
110
|
+
address: string;
|
|
112
111
|
iconUrl?: string | null | undefined;
|
|
112
|
+
icon?: string | null | undefined;
|
|
113
113
|
} | undefined, null>;
|
|
114
114
|
}>;
|
|
115
115
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -125,13 +125,13 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
125
125
|
amount?: string | undefined;
|
|
126
126
|
token?: {} | {
|
|
127
127
|
symbol: string;
|
|
128
|
-
chainId: number;
|
|
129
|
-
address: string;
|
|
130
128
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
131
129
|
name: string;
|
|
132
130
|
decimals: number;
|
|
133
|
-
|
|
131
|
+
chainId: number;
|
|
132
|
+
address: string;
|
|
134
133
|
iconUrl?: string | null | undefined;
|
|
134
|
+
icon?: string | null | undefined;
|
|
135
135
|
} | undefined;
|
|
136
136
|
};
|
|
137
137
|
destChain?: {
|
|
@@ -140,13 +140,13 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
140
140
|
amount?: string | undefined;
|
|
141
141
|
token?: {} | {
|
|
142
142
|
symbol: string;
|
|
143
|
-
chainId: number;
|
|
144
|
-
address: string;
|
|
145
143
|
assetId: `${string}:${string}/${string}:${string}`;
|
|
146
144
|
name: string;
|
|
147
145
|
decimals: number;
|
|
148
|
-
|
|
146
|
+
chainId: number;
|
|
147
|
+
address: string;
|
|
149
148
|
iconUrl?: string | null | undefined;
|
|
149
|
+
icon?: string | null | undefined;
|
|
150
150
|
} | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
bridge?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/bridge-status-controller",
|
|
3
|
-
"version": "74.6.1-preview-
|
|
3
|
+
"version": "74.6.1-preview-b156b30ed",
|
|
4
4
|
"description": "Manages bridge-related status fetching functionality for MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@metamask/gas-fee-controller": "^26.3.1",
|
|
62
62
|
"@metamask/keyring-controller": "^27.1.0",
|
|
63
63
|
"@metamask/messenger": "^2.0.0",
|
|
64
|
-
"@metamask/network-controller": "^35.0.
|
|
64
|
+
"@metamask/network-controller": "^35.0.1",
|
|
65
65
|
"@metamask/polling-controller": "^16.0.9",
|
|
66
66
|
"@metamask/profile-sync-controller": "^28.3.0",
|
|
67
67
|
"@metamask/snaps-controllers": "^19.0.0",
|