@metamask-previews/bridge-status-controller 64.2.0-preview-42084fe4 → 64.2.0-preview-7bc2d97e
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 +2 -0
- package/dist/utils/transaction.d.cts +0 -96
- package/dist/utils/transaction.d.cts.map +1 -1
- package/dist/utils/transaction.d.mts +0 -96
- package/dist/utils/transaction.d.mts.map +1 -1
- package/dist/utils/validators.d.cts +0 -96
- package/dist/utils/validators.d.cts.map +1 -1
- package/dist/utils/validators.d.mts +0 -96
- package/dist/utils/validators.d.mts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
|
+
- Bump `@metamask/snaps-controllers` from `^14.0.1` to `^17.2.0` ([#7550](https://github.com/MetaMask/core/pull/7550))
|
|
13
|
+
- Upgrade `@metamask/utils` from `^11.8.1` to `^11.9.0` ([#7511](https://github.com/MetaMask/core/pull/7511))
|
|
12
14
|
- Bump `@metamask/network-controller` from `^27.0.0` to `^27.1.0` ([#7534](https://github.com/MetaMask/core/pull/7534))
|
|
13
15
|
- Bump `@metamask/controller-utils` from `^11.16.0` to `^11.17.0` ([#7534](https://github.com/MetaMask/core/pull/7534))
|
|
14
16
|
|
|
@@ -21,18 +21,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
21
21
|
decimals: number;
|
|
22
22
|
icon?: string | null | undefined;
|
|
23
23
|
iconUrl?: string | null | undefined;
|
|
24
|
-
rwaData?: {
|
|
25
|
-
instrumentType: string;
|
|
26
|
-
ticker: string;
|
|
27
|
-
market: {
|
|
28
|
-
nextOpen: string;
|
|
29
|
-
nextClose: string;
|
|
30
|
-
};
|
|
31
|
-
nextPause: {
|
|
32
|
-
start: string;
|
|
33
|
-
end: string;
|
|
34
|
-
};
|
|
35
|
-
} | undefined;
|
|
36
24
|
};
|
|
37
25
|
destAsset: {
|
|
38
26
|
symbol: string;
|
|
@@ -43,18 +31,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
43
31
|
decimals: number;
|
|
44
32
|
icon?: string | null | undefined;
|
|
45
33
|
iconUrl?: string | null | undefined;
|
|
46
|
-
rwaData?: {
|
|
47
|
-
instrumentType: string;
|
|
48
|
-
ticker: string;
|
|
49
|
-
market: {
|
|
50
|
-
nextOpen: string;
|
|
51
|
-
nextClose: string;
|
|
52
|
-
};
|
|
53
|
-
nextPause: {
|
|
54
|
-
start: string;
|
|
55
|
-
end: string;
|
|
56
|
-
};
|
|
57
|
-
} | undefined;
|
|
58
34
|
};
|
|
59
35
|
requestId: string;
|
|
60
36
|
srcTokenAmount: string;
|
|
@@ -72,18 +48,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
72
48
|
decimals: number;
|
|
73
49
|
icon?: string | null | undefined;
|
|
74
50
|
iconUrl?: string | null | undefined;
|
|
75
|
-
rwaData?: {
|
|
76
|
-
instrumentType: string;
|
|
77
|
-
ticker: string;
|
|
78
|
-
market: {
|
|
79
|
-
nextOpen: string;
|
|
80
|
-
nextClose: string;
|
|
81
|
-
};
|
|
82
|
-
nextPause: {
|
|
83
|
-
start: string;
|
|
84
|
-
end: string;
|
|
85
|
-
};
|
|
86
|
-
} | undefined;
|
|
87
51
|
};
|
|
88
52
|
};
|
|
89
53
|
txFee?: ({
|
|
@@ -97,18 +61,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
97
61
|
decimals: number;
|
|
98
62
|
icon?: string | null | undefined;
|
|
99
63
|
iconUrl?: string | null | undefined;
|
|
100
|
-
rwaData?: {
|
|
101
|
-
instrumentType: string;
|
|
102
|
-
ticker: string;
|
|
103
|
-
market: {
|
|
104
|
-
nextOpen: string;
|
|
105
|
-
nextClose: string;
|
|
106
|
-
};
|
|
107
|
-
nextPause: {
|
|
108
|
-
start: string;
|
|
109
|
-
end: string;
|
|
110
|
-
};
|
|
111
|
-
} | undefined;
|
|
112
64
|
};
|
|
113
65
|
} & {
|
|
114
66
|
maxFeePerGas: string;
|
|
@@ -129,18 +81,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
129
81
|
decimals: number;
|
|
130
82
|
icon?: string | null | undefined;
|
|
131
83
|
iconUrl?: string | null | undefined;
|
|
132
|
-
rwaData?: {
|
|
133
|
-
instrumentType: string;
|
|
134
|
-
ticker: string;
|
|
135
|
-
market: {
|
|
136
|
-
nextOpen: string;
|
|
137
|
-
nextClose: string;
|
|
138
|
-
};
|
|
139
|
-
nextPause: {
|
|
140
|
-
start: string;
|
|
141
|
-
end: string;
|
|
142
|
-
};
|
|
143
|
-
} | undefined;
|
|
144
84
|
};
|
|
145
85
|
destAsset: {
|
|
146
86
|
symbol: string;
|
|
@@ -151,18 +91,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
151
91
|
decimals: number;
|
|
152
92
|
icon?: string | null | undefined;
|
|
153
93
|
iconUrl?: string | null | undefined;
|
|
154
|
-
rwaData?: {
|
|
155
|
-
instrumentType: string;
|
|
156
|
-
ticker: string;
|
|
157
|
-
market: {
|
|
158
|
-
nextOpen: string;
|
|
159
|
-
nextClose: string;
|
|
160
|
-
};
|
|
161
|
-
nextPause: {
|
|
162
|
-
start: string;
|
|
163
|
-
end: string;
|
|
164
|
-
};
|
|
165
|
-
} | undefined;
|
|
166
94
|
};
|
|
167
95
|
srcAmount: string;
|
|
168
96
|
destAmount: string;
|
|
@@ -185,18 +113,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
185
113
|
decimals: number;
|
|
186
114
|
icon?: string | null | undefined;
|
|
187
115
|
iconUrl?: string | null | undefined;
|
|
188
|
-
rwaData?: {
|
|
189
|
-
instrumentType: string;
|
|
190
|
-
ticker: string;
|
|
191
|
-
market: {
|
|
192
|
-
nextOpen: string;
|
|
193
|
-
nextClose: string;
|
|
194
|
-
};
|
|
195
|
-
nextPause: {
|
|
196
|
-
start: string;
|
|
197
|
-
end: string;
|
|
198
|
-
};
|
|
199
|
-
} | undefined;
|
|
200
116
|
};
|
|
201
117
|
destAsset: {
|
|
202
118
|
symbol: string;
|
|
@@ -207,18 +123,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
207
123
|
decimals: number;
|
|
208
124
|
icon?: string | null | undefined;
|
|
209
125
|
iconUrl?: string | null | undefined;
|
|
210
|
-
rwaData?: {
|
|
211
|
-
instrumentType: string;
|
|
212
|
-
ticker: string;
|
|
213
|
-
market: {
|
|
214
|
-
nextOpen: string;
|
|
215
|
-
nextClose: string;
|
|
216
|
-
};
|
|
217
|
-
nextPause: {
|
|
218
|
-
start: string;
|
|
219
|
-
end: string;
|
|
220
|
-
};
|
|
221
|
-
} | undefined;
|
|
222
126
|
};
|
|
223
127
|
srcAmount: string;
|
|
224
128
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.cts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa
|
|
1
|
+
{"version":3,"file":"transaction.d.cts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings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,CAAC,kBAYjD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,oBACzB,OAAO,kBAQzB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,UACpB,KAAK,cACA,MAAM,mBACD,uBAAuB,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;CAsBjF,CAAC;AAEF,eAAO,MAAM,eAAe,gBACb,OAAO,mCACa,MAAM;;;;MAMtC,sBAiBF,CAAC;AAEF,eAAO,MAAM,4BAA4B;;gBAoB3B,OAAO;WACZ,MAAM;mBACE,KAAK,aAAa,EAAE,UAAU,GAAG,OAAO,CAAC,GACtD,QAAQ,aAAa,CAAC;sBACN,OAAO,sBAAsB,SAAS,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;iFA0FxE,CAAC;AAEF,eAAO,MAAM,gCAAgC;;yBAOtB,OAAO,sBAAsB,SAAS,CAAC,iBAAiB;aACpE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEhB,CAAC"}
|
|
@@ -21,18 +21,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
21
21
|
decimals: number;
|
|
22
22
|
icon?: string | null | undefined;
|
|
23
23
|
iconUrl?: string | null | undefined;
|
|
24
|
-
rwaData?: {
|
|
25
|
-
instrumentType: string;
|
|
26
|
-
ticker: string;
|
|
27
|
-
market: {
|
|
28
|
-
nextOpen: string;
|
|
29
|
-
nextClose: string;
|
|
30
|
-
};
|
|
31
|
-
nextPause: {
|
|
32
|
-
start: string;
|
|
33
|
-
end: string;
|
|
34
|
-
};
|
|
35
|
-
} | undefined;
|
|
36
24
|
};
|
|
37
25
|
destAsset: {
|
|
38
26
|
symbol: string;
|
|
@@ -43,18 +31,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
43
31
|
decimals: number;
|
|
44
32
|
icon?: string | null | undefined;
|
|
45
33
|
iconUrl?: string | null | undefined;
|
|
46
|
-
rwaData?: {
|
|
47
|
-
instrumentType: string;
|
|
48
|
-
ticker: string;
|
|
49
|
-
market: {
|
|
50
|
-
nextOpen: string;
|
|
51
|
-
nextClose: string;
|
|
52
|
-
};
|
|
53
|
-
nextPause: {
|
|
54
|
-
start: string;
|
|
55
|
-
end: string;
|
|
56
|
-
};
|
|
57
|
-
} | undefined;
|
|
58
34
|
};
|
|
59
35
|
requestId: string;
|
|
60
36
|
srcTokenAmount: string;
|
|
@@ -72,18 +48,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
72
48
|
decimals: number;
|
|
73
49
|
icon?: string | null | undefined;
|
|
74
50
|
iconUrl?: string | null | undefined;
|
|
75
|
-
rwaData?: {
|
|
76
|
-
instrumentType: string;
|
|
77
|
-
ticker: string;
|
|
78
|
-
market: {
|
|
79
|
-
nextOpen: string;
|
|
80
|
-
nextClose: string;
|
|
81
|
-
};
|
|
82
|
-
nextPause: {
|
|
83
|
-
start: string;
|
|
84
|
-
end: string;
|
|
85
|
-
};
|
|
86
|
-
} | undefined;
|
|
87
51
|
};
|
|
88
52
|
};
|
|
89
53
|
txFee?: ({
|
|
@@ -97,18 +61,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
97
61
|
decimals: number;
|
|
98
62
|
icon?: string | null | undefined;
|
|
99
63
|
iconUrl?: string | null | undefined;
|
|
100
|
-
rwaData?: {
|
|
101
|
-
instrumentType: string;
|
|
102
|
-
ticker: string;
|
|
103
|
-
market: {
|
|
104
|
-
nextOpen: string;
|
|
105
|
-
nextClose: string;
|
|
106
|
-
};
|
|
107
|
-
nextPause: {
|
|
108
|
-
start: string;
|
|
109
|
-
end: string;
|
|
110
|
-
};
|
|
111
|
-
} | undefined;
|
|
112
64
|
};
|
|
113
65
|
} & {
|
|
114
66
|
maxFeePerGas: string;
|
|
@@ -129,18 +81,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
129
81
|
decimals: number;
|
|
130
82
|
icon?: string | null | undefined;
|
|
131
83
|
iconUrl?: string | null | undefined;
|
|
132
|
-
rwaData?: {
|
|
133
|
-
instrumentType: string;
|
|
134
|
-
ticker: string;
|
|
135
|
-
market: {
|
|
136
|
-
nextOpen: string;
|
|
137
|
-
nextClose: string;
|
|
138
|
-
};
|
|
139
|
-
nextPause: {
|
|
140
|
-
start: string;
|
|
141
|
-
end: string;
|
|
142
|
-
};
|
|
143
|
-
} | undefined;
|
|
144
84
|
};
|
|
145
85
|
destAsset: {
|
|
146
86
|
symbol: string;
|
|
@@ -151,18 +91,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
151
91
|
decimals: number;
|
|
152
92
|
icon?: string | null | undefined;
|
|
153
93
|
iconUrl?: string | null | undefined;
|
|
154
|
-
rwaData?: {
|
|
155
|
-
instrumentType: string;
|
|
156
|
-
ticker: string;
|
|
157
|
-
market: {
|
|
158
|
-
nextOpen: string;
|
|
159
|
-
nextClose: string;
|
|
160
|
-
};
|
|
161
|
-
nextPause: {
|
|
162
|
-
start: string;
|
|
163
|
-
end: string;
|
|
164
|
-
};
|
|
165
|
-
} | undefined;
|
|
166
94
|
};
|
|
167
95
|
srcAmount: string;
|
|
168
96
|
destAmount: string;
|
|
@@ -185,18 +113,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
185
113
|
decimals: number;
|
|
186
114
|
icon?: string | null | undefined;
|
|
187
115
|
iconUrl?: string | null | undefined;
|
|
188
|
-
rwaData?: {
|
|
189
|
-
instrumentType: string;
|
|
190
|
-
ticker: string;
|
|
191
|
-
market: {
|
|
192
|
-
nextOpen: string;
|
|
193
|
-
nextClose: string;
|
|
194
|
-
};
|
|
195
|
-
nextPause: {
|
|
196
|
-
start: string;
|
|
197
|
-
end: string;
|
|
198
|
-
};
|
|
199
|
-
} | undefined;
|
|
200
116
|
};
|
|
201
117
|
destAsset: {
|
|
202
118
|
symbol: string;
|
|
@@ -207,18 +123,6 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
207
123
|
decimals: number;
|
|
208
124
|
icon?: string | null | undefined;
|
|
209
125
|
iconUrl?: string | null | undefined;
|
|
210
|
-
rwaData?: {
|
|
211
|
-
instrumentType: string;
|
|
212
|
-
ticker: string;
|
|
213
|
-
market: {
|
|
214
|
-
nextOpen: string;
|
|
215
|
-
nextClose: string;
|
|
216
|
-
};
|
|
217
|
-
nextPause: {
|
|
218
|
-
start: string;
|
|
219
|
-
end: string;
|
|
220
|
-
};
|
|
221
|
-
} | undefined;
|
|
222
126
|
};
|
|
223
127
|
srcAmount: string;
|
|
224
128
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.mts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa
|
|
1
|
+
{"version":3,"file":"transaction.d.mts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAs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C,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;CAsBjF,CAAC;AAEF,eAAO,MAAM,eAAe,gBACb,OAAO,mCACa,MAAM;;;;MAMtC,sBAiBF,CAAC;AAEF,eAAO,MAAM,4BAA4B;;gBAoB3B,OAAO;WACZ,MAAM;mBACE,KAAK,aAAa,EAAE,UAAU,GAAG,OAAO,CAAC,GACtD,QAAQ,aAAa,CAAC;sBACN,OAAO,sBAAsB,SAAS,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;iFA0FxE,CAAC;AAEF,eAAO,MAAM,gCAAgC;;yBAOtB,OAAO,sBAAsB,SAAS,CAAC,iBAAiB;aACpE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEhB,CAAC"}
|
|
@@ -14,18 +14,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
14
14
|
decimals: number;
|
|
15
15
|
icon?: string | null | undefined;
|
|
16
16
|
iconUrl?: string | null | undefined;
|
|
17
|
-
rwaData?: {
|
|
18
|
-
instrumentType: string;
|
|
19
|
-
ticker: string;
|
|
20
|
-
market: {
|
|
21
|
-
nextOpen: string;
|
|
22
|
-
nextClose: string;
|
|
23
|
-
};
|
|
24
|
-
nextPause: {
|
|
25
|
-
start: string;
|
|
26
|
-
end: string;
|
|
27
|
-
};
|
|
28
|
-
} | undefined;
|
|
29
17
|
} | undefined;
|
|
30
18
|
};
|
|
31
19
|
destChain?: {
|
|
@@ -41,18 +29,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
41
29
|
decimals: number;
|
|
42
30
|
icon?: string | null | undefined;
|
|
43
31
|
iconUrl?: string | null | undefined;
|
|
44
|
-
rwaData?: {
|
|
45
|
-
instrumentType: string;
|
|
46
|
-
ticker: string;
|
|
47
|
-
market: {
|
|
48
|
-
nextOpen: string;
|
|
49
|
-
nextClose: string;
|
|
50
|
-
};
|
|
51
|
-
nextPause: {
|
|
52
|
-
start: string;
|
|
53
|
-
end: string;
|
|
54
|
-
};
|
|
55
|
-
} | undefined;
|
|
56
32
|
} | undefined;
|
|
57
33
|
} | undefined;
|
|
58
34
|
bridge?: string | undefined;
|
|
@@ -79,18 +55,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
79
55
|
decimals: number;
|
|
80
56
|
icon?: string | null | undefined;
|
|
81
57
|
iconUrl?: string | null | undefined;
|
|
82
|
-
rwaData?: {
|
|
83
|
-
instrumentType: string;
|
|
84
|
-
ticker: string;
|
|
85
|
-
market: {
|
|
86
|
-
nextOpen: string;
|
|
87
|
-
nextClose: string;
|
|
88
|
-
};
|
|
89
|
-
nextPause: {
|
|
90
|
-
start: string;
|
|
91
|
-
end: string;
|
|
92
|
-
};
|
|
93
|
-
} | undefined;
|
|
94
58
|
} | undefined;
|
|
95
59
|
}, {
|
|
96
60
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -112,18 +76,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
112
76
|
decimals: number;
|
|
113
77
|
icon?: string | null | undefined;
|
|
114
78
|
iconUrl?: string | null | undefined;
|
|
115
|
-
rwaData?: {
|
|
116
|
-
instrumentType: string;
|
|
117
|
-
ticker: string;
|
|
118
|
-
market: {
|
|
119
|
-
nextOpen: string;
|
|
120
|
-
nextClose: string;
|
|
121
|
-
};
|
|
122
|
-
nextPause: {
|
|
123
|
-
start: string;
|
|
124
|
-
end: string;
|
|
125
|
-
};
|
|
126
|
-
} | undefined;
|
|
127
79
|
} | undefined, null>;
|
|
128
80
|
}>;
|
|
129
81
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -139,18 +91,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
139
91
|
decimals: number;
|
|
140
92
|
icon?: string | null | undefined;
|
|
141
93
|
iconUrl?: string | null | undefined;
|
|
142
|
-
rwaData?: {
|
|
143
|
-
instrumentType: string;
|
|
144
|
-
ticker: string;
|
|
145
|
-
market: {
|
|
146
|
-
nextOpen: string;
|
|
147
|
-
nextClose: string;
|
|
148
|
-
};
|
|
149
|
-
nextPause: {
|
|
150
|
-
start: string;
|
|
151
|
-
end: string;
|
|
152
|
-
};
|
|
153
|
-
} | undefined;
|
|
154
94
|
} | undefined;
|
|
155
95
|
} | undefined, {
|
|
156
96
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -168,18 +108,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
168
108
|
decimals: number;
|
|
169
109
|
icon?: string | null | undefined;
|
|
170
110
|
iconUrl?: string | null | undefined;
|
|
171
|
-
rwaData?: {
|
|
172
|
-
instrumentType: string;
|
|
173
|
-
ticker: string;
|
|
174
|
-
market: {
|
|
175
|
-
nextOpen: string;
|
|
176
|
-
nextClose: string;
|
|
177
|
-
};
|
|
178
|
-
nextPause: {
|
|
179
|
-
start: string;
|
|
180
|
-
end: string;
|
|
181
|
-
};
|
|
182
|
-
} | undefined;
|
|
183
111
|
} | undefined, null>;
|
|
184
112
|
}>;
|
|
185
113
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -202,18 +130,6 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
202
130
|
decimals: number;
|
|
203
131
|
icon?: string | null | undefined;
|
|
204
132
|
iconUrl?: string | null | undefined;
|
|
205
|
-
rwaData?: {
|
|
206
|
-
instrumentType: string;
|
|
207
|
-
ticker: string;
|
|
208
|
-
market: {
|
|
209
|
-
nextOpen: string;
|
|
210
|
-
nextClose: string;
|
|
211
|
-
};
|
|
212
|
-
nextPause: {
|
|
213
|
-
start: string;
|
|
214
|
-
end: string;
|
|
215
|
-
};
|
|
216
|
-
} | undefined;
|
|
217
133
|
} | undefined;
|
|
218
134
|
};
|
|
219
135
|
destChain?: {
|
|
@@ -229,18 +145,6 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
229
145
|
decimals: number;
|
|
230
146
|
icon?: string | null | undefined;
|
|
231
147
|
iconUrl?: string | null | undefined;
|
|
232
|
-
rwaData?: {
|
|
233
|
-
instrumentType: string;
|
|
234
|
-
ticker: string;
|
|
235
|
-
market: {
|
|
236
|
-
nextOpen: string;
|
|
237
|
-
nextClose: string;
|
|
238
|
-
};
|
|
239
|
-
nextPause: {
|
|
240
|
-
start: string;
|
|
241
|
-
end: string;
|
|
242
|
-
};
|
|
243
|
-
} | undefined;
|
|
244
148
|
} | undefined;
|
|
245
149
|
} | undefined;
|
|
246
150
|
bridge?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.cts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA2C7E,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"validators.d.cts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA2C7E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxB/B;;;WAGG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQH;;WAEG;;;;;;;;;;;;;;;;;EAeH,CAAC;AAEH,eAAO,MAAM,4BAA4B,SACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAC"}
|
|
@@ -14,18 +14,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
14
14
|
decimals: number;
|
|
15
15
|
icon?: string | null | undefined;
|
|
16
16
|
iconUrl?: string | null | undefined;
|
|
17
|
-
rwaData?: {
|
|
18
|
-
instrumentType: string;
|
|
19
|
-
ticker: string;
|
|
20
|
-
market: {
|
|
21
|
-
nextOpen: string;
|
|
22
|
-
nextClose: string;
|
|
23
|
-
};
|
|
24
|
-
nextPause: {
|
|
25
|
-
start: string;
|
|
26
|
-
end: string;
|
|
27
|
-
};
|
|
28
|
-
} | undefined;
|
|
29
17
|
} | undefined;
|
|
30
18
|
};
|
|
31
19
|
destChain?: {
|
|
@@ -41,18 +29,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
41
29
|
decimals: number;
|
|
42
30
|
icon?: string | null | undefined;
|
|
43
31
|
iconUrl?: string | null | undefined;
|
|
44
|
-
rwaData?: {
|
|
45
|
-
instrumentType: string;
|
|
46
|
-
ticker: string;
|
|
47
|
-
market: {
|
|
48
|
-
nextOpen: string;
|
|
49
|
-
nextClose: string;
|
|
50
|
-
};
|
|
51
|
-
nextPause: {
|
|
52
|
-
start: string;
|
|
53
|
-
end: string;
|
|
54
|
-
};
|
|
55
|
-
} | undefined;
|
|
56
32
|
} | undefined;
|
|
57
33
|
} | undefined;
|
|
58
34
|
bridge?: string | undefined;
|
|
@@ -79,18 +55,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
79
55
|
decimals: number;
|
|
80
56
|
icon?: string | null | undefined;
|
|
81
57
|
iconUrl?: string | null | undefined;
|
|
82
|
-
rwaData?: {
|
|
83
|
-
instrumentType: string;
|
|
84
|
-
ticker: string;
|
|
85
|
-
market: {
|
|
86
|
-
nextOpen: string;
|
|
87
|
-
nextClose: string;
|
|
88
|
-
};
|
|
89
|
-
nextPause: {
|
|
90
|
-
start: string;
|
|
91
|
-
end: string;
|
|
92
|
-
};
|
|
93
|
-
} | undefined;
|
|
94
58
|
} | undefined;
|
|
95
59
|
}, {
|
|
96
60
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -112,18 +76,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
112
76
|
decimals: number;
|
|
113
77
|
icon?: string | null | undefined;
|
|
114
78
|
iconUrl?: string | null | undefined;
|
|
115
|
-
rwaData?: {
|
|
116
|
-
instrumentType: string;
|
|
117
|
-
ticker: string;
|
|
118
|
-
market: {
|
|
119
|
-
nextOpen: string;
|
|
120
|
-
nextClose: string;
|
|
121
|
-
};
|
|
122
|
-
nextPause: {
|
|
123
|
-
start: string;
|
|
124
|
-
end: string;
|
|
125
|
-
};
|
|
126
|
-
} | undefined;
|
|
127
79
|
} | undefined, null>;
|
|
128
80
|
}>;
|
|
129
81
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -139,18 +91,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
139
91
|
decimals: number;
|
|
140
92
|
icon?: string | null | undefined;
|
|
141
93
|
iconUrl?: string | null | undefined;
|
|
142
|
-
rwaData?: {
|
|
143
|
-
instrumentType: string;
|
|
144
|
-
ticker: string;
|
|
145
|
-
market: {
|
|
146
|
-
nextOpen: string;
|
|
147
|
-
nextClose: string;
|
|
148
|
-
};
|
|
149
|
-
nextPause: {
|
|
150
|
-
start: string;
|
|
151
|
-
end: string;
|
|
152
|
-
};
|
|
153
|
-
} | undefined;
|
|
154
94
|
} | undefined;
|
|
155
95
|
} | undefined, {
|
|
156
96
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -168,18 +108,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
168
108
|
decimals: number;
|
|
169
109
|
icon?: string | null | undefined;
|
|
170
110
|
iconUrl?: string | null | undefined;
|
|
171
|
-
rwaData?: {
|
|
172
|
-
instrumentType: string;
|
|
173
|
-
ticker: string;
|
|
174
|
-
market: {
|
|
175
|
-
nextOpen: string;
|
|
176
|
-
nextClose: string;
|
|
177
|
-
};
|
|
178
|
-
nextPause: {
|
|
179
|
-
start: string;
|
|
180
|
-
end: string;
|
|
181
|
-
};
|
|
182
|
-
} | undefined;
|
|
183
111
|
} | undefined, null>;
|
|
184
112
|
}>;
|
|
185
113
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -202,18 +130,6 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
202
130
|
decimals: number;
|
|
203
131
|
icon?: string | null | undefined;
|
|
204
132
|
iconUrl?: string | null | undefined;
|
|
205
|
-
rwaData?: {
|
|
206
|
-
instrumentType: string;
|
|
207
|
-
ticker: string;
|
|
208
|
-
market: {
|
|
209
|
-
nextOpen: string;
|
|
210
|
-
nextClose: string;
|
|
211
|
-
};
|
|
212
|
-
nextPause: {
|
|
213
|
-
start: string;
|
|
214
|
-
end: string;
|
|
215
|
-
};
|
|
216
|
-
} | undefined;
|
|
217
133
|
} | undefined;
|
|
218
134
|
};
|
|
219
135
|
destChain?: {
|
|
@@ -229,18 +145,6 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
229
145
|
decimals: number;
|
|
230
146
|
icon?: string | null | undefined;
|
|
231
147
|
iconUrl?: string | null | undefined;
|
|
232
|
-
rwaData?: {
|
|
233
|
-
instrumentType: string;
|
|
234
|
-
ticker: string;
|
|
235
|
-
market: {
|
|
236
|
-
nextOpen: string;
|
|
237
|
-
nextClose: string;
|
|
238
|
-
};
|
|
239
|
-
nextPause: {
|
|
240
|
-
start: string;
|
|
241
|
-
end: string;
|
|
242
|
-
};
|
|
243
|
-
} | undefined;
|
|
244
148
|
} | undefined;
|
|
245
149
|
} | undefined;
|
|
246
150
|
bridge?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.mts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA2C7E,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"validators.d.mts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA2C7E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxB/B;;;WAGG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQH;;WAEG;;;;;;;;;;;;;;;;;EAeH,CAAC;AAEH,eAAO,MAAM,4BAA4B,SACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/bridge-status-controller",
|
|
3
|
-
"version": "64.2.0-preview-
|
|
3
|
+
"version": "64.2.0-preview-7bc2d97e",
|
|
4
4
|
"description": "Manages bridge-related status fetching functionality for MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"@metamask/gas-fee-controller": "^26.0.0",
|
|
56
56
|
"@metamask/network-controller": "^27.1.0",
|
|
57
57
|
"@metamask/polling-controller": "^16.0.0",
|
|
58
|
-
"@metamask/snaps-controllers": "^
|
|
58
|
+
"@metamask/snaps-controllers": "^17.2.0",
|
|
59
59
|
"@metamask/superstruct": "^3.1.0",
|
|
60
60
|
"@metamask/transaction-controller": "^62.7.0",
|
|
61
|
-
"@metamask/utils": "^11.
|
|
61
|
+
"@metamask/utils": "^11.9.0",
|
|
62
62
|
"bignumber.js": "^9.1.2",
|
|
63
63
|
"uuid": "^8.3.2"
|
|
64
64
|
},
|