@metamask-previews/transaction-pay-controller 10.6.0-preview-6a568504 → 10.6.0-preview-8a4f4ea3
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.
|
@@ -67,6 +67,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
67
67
|
decimals: number;
|
|
68
68
|
icon?: string | null | undefined;
|
|
69
69
|
iconUrl?: string | null | undefined;
|
|
70
|
+
rwaData?: {
|
|
71
|
+
instrumentType: string;
|
|
72
|
+
ticker: string;
|
|
73
|
+
market: {
|
|
74
|
+
nextOpen: string;
|
|
75
|
+
nextClose: string;
|
|
76
|
+
};
|
|
77
|
+
nextPause: {
|
|
78
|
+
start: string;
|
|
79
|
+
end: string;
|
|
80
|
+
};
|
|
81
|
+
} | undefined;
|
|
70
82
|
};
|
|
71
83
|
destAsset: {
|
|
72
84
|
symbol: string;
|
|
@@ -77,6 +89,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
77
89
|
decimals: number;
|
|
78
90
|
icon?: string | null | undefined;
|
|
79
91
|
iconUrl?: string | null | undefined;
|
|
92
|
+
rwaData?: {
|
|
93
|
+
instrumentType: string;
|
|
94
|
+
ticker: string;
|
|
95
|
+
market: {
|
|
96
|
+
nextOpen: string;
|
|
97
|
+
nextClose: string;
|
|
98
|
+
};
|
|
99
|
+
nextPause: {
|
|
100
|
+
start: string;
|
|
101
|
+
end: string;
|
|
102
|
+
};
|
|
103
|
+
} | undefined;
|
|
80
104
|
};
|
|
81
105
|
requestId: string;
|
|
82
106
|
srcTokenAmount: string;
|
|
@@ -94,6 +118,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
94
118
|
decimals: number;
|
|
95
119
|
icon?: string | null | undefined;
|
|
96
120
|
iconUrl?: string | null | undefined;
|
|
121
|
+
rwaData?: {
|
|
122
|
+
instrumentType: string;
|
|
123
|
+
ticker: string;
|
|
124
|
+
market: {
|
|
125
|
+
nextOpen: string;
|
|
126
|
+
nextClose: string;
|
|
127
|
+
};
|
|
128
|
+
nextPause: {
|
|
129
|
+
start: string;
|
|
130
|
+
end: string;
|
|
131
|
+
};
|
|
132
|
+
} | undefined;
|
|
97
133
|
};
|
|
98
134
|
};
|
|
99
135
|
txFee?: ({
|
|
@@ -107,6 +143,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
107
143
|
decimals: number;
|
|
108
144
|
icon?: string | null | undefined;
|
|
109
145
|
iconUrl?: string | null | undefined;
|
|
146
|
+
rwaData?: {
|
|
147
|
+
instrumentType: string;
|
|
148
|
+
ticker: string;
|
|
149
|
+
market: {
|
|
150
|
+
nextOpen: string;
|
|
151
|
+
nextClose: string;
|
|
152
|
+
};
|
|
153
|
+
nextPause: {
|
|
154
|
+
start: string;
|
|
155
|
+
end: string;
|
|
156
|
+
};
|
|
157
|
+
} | undefined;
|
|
110
158
|
};
|
|
111
159
|
} & {
|
|
112
160
|
maxFeePerGas: string;
|
|
@@ -127,6 +175,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
127
175
|
decimals: number;
|
|
128
176
|
icon?: string | null | undefined;
|
|
129
177
|
iconUrl?: string | null | undefined;
|
|
178
|
+
rwaData?: {
|
|
179
|
+
instrumentType: string;
|
|
180
|
+
ticker: string;
|
|
181
|
+
market: {
|
|
182
|
+
nextOpen: string;
|
|
183
|
+
nextClose: string;
|
|
184
|
+
};
|
|
185
|
+
nextPause: {
|
|
186
|
+
start: string;
|
|
187
|
+
end: string;
|
|
188
|
+
};
|
|
189
|
+
} | undefined;
|
|
130
190
|
};
|
|
131
191
|
destAsset: {
|
|
132
192
|
symbol: string;
|
|
@@ -137,6 +197,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
137
197
|
decimals: number;
|
|
138
198
|
icon?: string | null | undefined;
|
|
139
199
|
iconUrl?: string | null | undefined;
|
|
200
|
+
rwaData?: {
|
|
201
|
+
instrumentType: string;
|
|
202
|
+
ticker: string;
|
|
203
|
+
market: {
|
|
204
|
+
nextOpen: string;
|
|
205
|
+
nextClose: string;
|
|
206
|
+
};
|
|
207
|
+
nextPause: {
|
|
208
|
+
start: string;
|
|
209
|
+
end: string;
|
|
210
|
+
};
|
|
211
|
+
} | undefined;
|
|
140
212
|
};
|
|
141
213
|
srcAmount: string;
|
|
142
214
|
destAmount: string;
|
|
@@ -159,6 +231,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
159
231
|
decimals: number;
|
|
160
232
|
icon?: string | null | undefined;
|
|
161
233
|
iconUrl?: string | null | undefined;
|
|
234
|
+
rwaData?: {
|
|
235
|
+
instrumentType: string;
|
|
236
|
+
ticker: string;
|
|
237
|
+
market: {
|
|
238
|
+
nextOpen: string;
|
|
239
|
+
nextClose: string;
|
|
240
|
+
};
|
|
241
|
+
nextPause: {
|
|
242
|
+
start: string;
|
|
243
|
+
end: string;
|
|
244
|
+
};
|
|
245
|
+
} | undefined;
|
|
162
246
|
};
|
|
163
247
|
destAsset: {
|
|
164
248
|
symbol: string;
|
|
@@ -169,6 +253,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
169
253
|
decimals: number;
|
|
170
254
|
icon?: string | null | undefined;
|
|
171
255
|
iconUrl?: string | null | undefined;
|
|
256
|
+
rwaData?: {
|
|
257
|
+
instrumentType: string;
|
|
258
|
+
ticker: string;
|
|
259
|
+
market: {
|
|
260
|
+
nextOpen: string;
|
|
261
|
+
nextClose: string;
|
|
262
|
+
};
|
|
263
|
+
nextPause: {
|
|
264
|
+
start: string;
|
|
265
|
+
end: string;
|
|
266
|
+
};
|
|
267
|
+
} | undefined;
|
|
172
268
|
};
|
|
173
269
|
srcAmount: string;
|
|
174
270
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmOjC"}
|
|
@@ -67,6 +67,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
67
67
|
decimals: number;
|
|
68
68
|
icon?: string | null | undefined;
|
|
69
69
|
iconUrl?: string | null | undefined;
|
|
70
|
+
rwaData?: {
|
|
71
|
+
instrumentType: string;
|
|
72
|
+
ticker: string;
|
|
73
|
+
market: {
|
|
74
|
+
nextOpen: string;
|
|
75
|
+
nextClose: string;
|
|
76
|
+
};
|
|
77
|
+
nextPause: {
|
|
78
|
+
start: string;
|
|
79
|
+
end: string;
|
|
80
|
+
};
|
|
81
|
+
} | undefined;
|
|
70
82
|
};
|
|
71
83
|
destAsset: {
|
|
72
84
|
symbol: string;
|
|
@@ -77,6 +89,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
77
89
|
decimals: number;
|
|
78
90
|
icon?: string | null | undefined;
|
|
79
91
|
iconUrl?: string | null | undefined;
|
|
92
|
+
rwaData?: {
|
|
93
|
+
instrumentType: string;
|
|
94
|
+
ticker: string;
|
|
95
|
+
market: {
|
|
96
|
+
nextOpen: string;
|
|
97
|
+
nextClose: string;
|
|
98
|
+
};
|
|
99
|
+
nextPause: {
|
|
100
|
+
start: string;
|
|
101
|
+
end: string;
|
|
102
|
+
};
|
|
103
|
+
} | undefined;
|
|
80
104
|
};
|
|
81
105
|
requestId: string;
|
|
82
106
|
srcTokenAmount: string;
|
|
@@ -94,6 +118,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
94
118
|
decimals: number;
|
|
95
119
|
icon?: string | null | undefined;
|
|
96
120
|
iconUrl?: string | null | undefined;
|
|
121
|
+
rwaData?: {
|
|
122
|
+
instrumentType: string;
|
|
123
|
+
ticker: string;
|
|
124
|
+
market: {
|
|
125
|
+
nextOpen: string;
|
|
126
|
+
nextClose: string;
|
|
127
|
+
};
|
|
128
|
+
nextPause: {
|
|
129
|
+
start: string;
|
|
130
|
+
end: string;
|
|
131
|
+
};
|
|
132
|
+
} | undefined;
|
|
97
133
|
};
|
|
98
134
|
};
|
|
99
135
|
txFee?: ({
|
|
@@ -107,6 +143,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
107
143
|
decimals: number;
|
|
108
144
|
icon?: string | null | undefined;
|
|
109
145
|
iconUrl?: string | null | undefined;
|
|
146
|
+
rwaData?: {
|
|
147
|
+
instrumentType: string;
|
|
148
|
+
ticker: string;
|
|
149
|
+
market: {
|
|
150
|
+
nextOpen: string;
|
|
151
|
+
nextClose: string;
|
|
152
|
+
};
|
|
153
|
+
nextPause: {
|
|
154
|
+
start: string;
|
|
155
|
+
end: string;
|
|
156
|
+
};
|
|
157
|
+
} | undefined;
|
|
110
158
|
};
|
|
111
159
|
} & {
|
|
112
160
|
maxFeePerGas: string;
|
|
@@ -127,6 +175,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
127
175
|
decimals: number;
|
|
128
176
|
icon?: string | null | undefined;
|
|
129
177
|
iconUrl?: string | null | undefined;
|
|
178
|
+
rwaData?: {
|
|
179
|
+
instrumentType: string;
|
|
180
|
+
ticker: string;
|
|
181
|
+
market: {
|
|
182
|
+
nextOpen: string;
|
|
183
|
+
nextClose: string;
|
|
184
|
+
};
|
|
185
|
+
nextPause: {
|
|
186
|
+
start: string;
|
|
187
|
+
end: string;
|
|
188
|
+
};
|
|
189
|
+
} | undefined;
|
|
130
190
|
};
|
|
131
191
|
destAsset: {
|
|
132
192
|
symbol: string;
|
|
@@ -137,6 +197,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
137
197
|
decimals: number;
|
|
138
198
|
icon?: string | null | undefined;
|
|
139
199
|
iconUrl?: string | null | undefined;
|
|
200
|
+
rwaData?: {
|
|
201
|
+
instrumentType: string;
|
|
202
|
+
ticker: string;
|
|
203
|
+
market: {
|
|
204
|
+
nextOpen: string;
|
|
205
|
+
nextClose: string;
|
|
206
|
+
};
|
|
207
|
+
nextPause: {
|
|
208
|
+
start: string;
|
|
209
|
+
end: string;
|
|
210
|
+
};
|
|
211
|
+
} | undefined;
|
|
140
212
|
};
|
|
141
213
|
srcAmount: string;
|
|
142
214
|
destAmount: string;
|
|
@@ -159,6 +231,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
159
231
|
decimals: number;
|
|
160
232
|
icon?: string | null | undefined;
|
|
161
233
|
iconUrl?: string | null | undefined;
|
|
234
|
+
rwaData?: {
|
|
235
|
+
instrumentType: string;
|
|
236
|
+
ticker: string;
|
|
237
|
+
market: {
|
|
238
|
+
nextOpen: string;
|
|
239
|
+
nextClose: string;
|
|
240
|
+
};
|
|
241
|
+
nextPause: {
|
|
242
|
+
start: string;
|
|
243
|
+
end: string;
|
|
244
|
+
};
|
|
245
|
+
} | undefined;
|
|
162
246
|
};
|
|
163
247
|
destAsset: {
|
|
164
248
|
symbol: string;
|
|
@@ -169,6 +253,18 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
169
253
|
decimals: number;
|
|
170
254
|
icon?: string | null | undefined;
|
|
171
255
|
iconUrl?: string | null | undefined;
|
|
256
|
+
rwaData?: {
|
|
257
|
+
instrumentType: string;
|
|
258
|
+
ticker: string;
|
|
259
|
+
market: {
|
|
260
|
+
nextOpen: string;
|
|
261
|
+
nextClose: string;
|
|
262
|
+
};
|
|
263
|
+
nextPause: {
|
|
264
|
+
start: string;
|
|
265
|
+
end: string;
|
|
266
|
+
};
|
|
267
|
+
} | undefined;
|
|
172
268
|
};
|
|
173
269
|
srcAmount: string;
|
|
174
270
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmOjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-pay-controller",
|
|
3
|
-
"version": "10.6.0-preview-
|
|
3
|
+
"version": "10.6.0-preview-8a4f4ea3",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|