@metamask-previews/config-registry-controller 2.0.1-preview-9ab272863 → 2.0.1-preview-823dcff

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.
@@ -4,33 +4,33 @@ import type { Infer } from "@metamask/superstruct";
4
4
  * chainId is in CAIP-2 format (e.g. "eip155:1", "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp").
5
5
  */
6
6
  export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct").Struct<{
7
- imageUrl: string;
8
7
  name: string;
8
+ imageUrl: string;
9
9
  chainId: `${string}:${string}`;
10
10
  coingeckoPlatformId: string;
11
11
  assets: {
12
12
  native: {
13
13
  symbol: string;
14
+ name: string;
14
15
  assetId: string;
15
16
  imageUrl: string;
16
- name: string;
17
17
  decimals: number;
18
18
  coingeckoCoinId?: string | undefined;
19
19
  };
20
20
  listUrl?: string | undefined;
21
21
  governance?: {
22
22
  symbol: string;
23
+ name: string;
23
24
  assetId: string;
24
25
  imageUrl: string;
25
- name: string;
26
26
  decimals: number;
27
27
  coingeckoCoinId?: string | undefined;
28
28
  } | undefined;
29
29
  };
30
30
  rpcProviders: {
31
31
  default: {
32
- url: string;
33
32
  type: string;
33
+ url: string;
34
34
  networkClientId: string;
35
35
  };
36
36
  fallbacks: string[];
@@ -61,18 +61,18 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
61
61
  assets: import("@metamask/superstruct").Struct<{
62
62
  native: {
63
63
  symbol: string;
64
+ name: string;
64
65
  assetId: string;
65
66
  imageUrl: string;
66
- name: string;
67
67
  decimals: number;
68
68
  coingeckoCoinId?: string | undefined;
69
69
  };
70
70
  listUrl?: string | undefined;
71
71
  governance?: {
72
72
  symbol: string;
73
+ name: string;
73
74
  assetId: string;
74
75
  imageUrl: string;
75
- name: string;
76
76
  decimals: number;
77
77
  coingeckoCoinId?: string | undefined;
78
78
  } | undefined;
@@ -80,9 +80,9 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
80
80
  listUrl: import("@metamask/superstruct").Struct<string | undefined, null>;
81
81
  native: import("@metamask/superstruct").Struct<{
82
82
  symbol: string;
83
+ name: string;
83
84
  assetId: string;
84
85
  imageUrl: string;
85
- name: string;
86
86
  decimals: number;
87
87
  coingeckoCoinId?: string | undefined;
88
88
  }, {
@@ -95,9 +95,9 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
95
95
  }>;
96
96
  governance: import("@metamask/superstruct").Struct<{
97
97
  symbol: string;
98
+ name: string;
98
99
  assetId: string;
99
100
  imageUrl: string;
100
- name: string;
101
101
  decimals: number;
102
102
  coingeckoCoinId?: string | undefined;
103
103
  } | undefined, {
@@ -111,15 +111,15 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
111
111
  }>;
112
112
  rpcProviders: import("@metamask/superstruct").Struct<{
113
113
  default: {
114
- url: string;
115
114
  type: string;
115
+ url: string;
116
116
  networkClientId: string;
117
117
  };
118
118
  fallbacks: string[];
119
119
  }, {
120
120
  default: import("@metamask/superstruct").Struct<{
121
- url: string;
122
121
  type: string;
122
+ url: string;
123
123
  networkClientId: string;
124
124
  }, {
125
125
  url: import("@metamask/superstruct").Struct<string, null>;
@@ -166,33 +166,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
166
166
  version: string;
167
167
  timestamp: number;
168
168
  chains: {
169
- imageUrl: string;
170
169
  name: string;
170
+ imageUrl: string;
171
171
  chainId: `${string}:${string}`;
172
172
  coingeckoPlatformId: string;
173
173
  assets: {
174
174
  native: {
175
175
  symbol: string;
176
+ name: string;
176
177
  assetId: string;
177
178
  imageUrl: string;
178
- name: string;
179
179
  decimals: number;
180
180
  coingeckoCoinId?: string | undefined;
181
181
  };
182
182
  listUrl?: string | undefined;
183
183
  governance?: {
184
184
  symbol: string;
185
+ name: string;
185
186
  assetId: string;
186
187
  imageUrl: string;
187
- name: string;
188
188
  decimals: number;
189
189
  coingeckoCoinId?: string | undefined;
190
190
  } | undefined;
191
191
  };
192
192
  rpcProviders: {
193
193
  default: {
194
- url: string;
195
194
  type: string;
195
+ url: string;
196
196
  networkClientId: string;
197
197
  };
198
198
  fallbacks: string[];
@@ -221,33 +221,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
221
221
  version: string;
222
222
  timestamp: number;
223
223
  chains: {
224
- imageUrl: string;
225
224
  name: string;
225
+ imageUrl: string;
226
226
  chainId: `${string}:${string}`;
227
227
  coingeckoPlatformId: string;
228
228
  assets: {
229
229
  native: {
230
230
  symbol: string;
231
+ name: string;
231
232
  assetId: string;
232
233
  imageUrl: string;
233
- name: string;
234
234
  decimals: number;
235
235
  coingeckoCoinId?: string | undefined;
236
236
  };
237
237
  listUrl?: string | undefined;
238
238
  governance?: {
239
239
  symbol: string;
240
+ name: string;
240
241
  assetId: string;
241
242
  imageUrl: string;
242
- name: string;
243
243
  decimals: number;
244
244
  coingeckoCoinId?: string | undefined;
245
245
  } | undefined;
246
246
  };
247
247
  rpcProviders: {
248
248
  default: {
249
- url: string;
250
249
  type: string;
250
+ url: string;
251
251
  networkClientId: string;
252
252
  };
253
253
  fallbacks: string[];
@@ -274,33 +274,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
274
274
  version: import("@metamask/superstruct").Struct<string, null>;
275
275
  timestamp: import("@metamask/superstruct").Struct<number, null>;
276
276
  chains: import("@metamask/superstruct").Struct<{
277
- imageUrl: string;
278
277
  name: string;
278
+ imageUrl: string;
279
279
  chainId: `${string}:${string}`;
280
280
  coingeckoPlatformId: string;
281
281
  assets: {
282
282
  native: {
283
283
  symbol: string;
284
+ name: string;
284
285
  assetId: string;
285
286
  imageUrl: string;
286
- name: string;
287
287
  decimals: number;
288
288
  coingeckoCoinId?: string | undefined;
289
289
  };
290
290
  listUrl?: string | undefined;
291
291
  governance?: {
292
292
  symbol: string;
293
+ name: string;
293
294
  assetId: string;
294
295
  imageUrl: string;
295
- name: string;
296
296
  decimals: number;
297
297
  coingeckoCoinId?: string | undefined;
298
298
  } | undefined;
299
299
  };
300
300
  rpcProviders: {
301
301
  default: {
302
- url: string;
303
302
  type: string;
303
+ url: string;
304
304
  networkClientId: string;
305
305
  };
306
306
  fallbacks: string[];
@@ -323,33 +323,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
323
323
  multicall3?: `0x${string}` | undefined;
324
324
  } | undefined;
325
325
  }[], import("@metamask/superstruct").Struct<{
326
- imageUrl: string;
327
326
  name: string;
327
+ imageUrl: string;
328
328
  chainId: `${string}:${string}`;
329
329
  coingeckoPlatformId: string;
330
330
  assets: {
331
331
  native: {
332
332
  symbol: string;
333
+ name: string;
333
334
  assetId: string;
334
335
  imageUrl: string;
335
- name: string;
336
336
  decimals: number;
337
337
  coingeckoCoinId?: string | undefined;
338
338
  };
339
339
  listUrl?: string | undefined;
340
340
  governance?: {
341
341
  symbol: string;
342
+ name: string;
342
343
  assetId: string;
343
344
  imageUrl: string;
344
- name: string;
345
345
  decimals: number;
346
346
  coingeckoCoinId?: string | undefined;
347
347
  } | undefined;
348
348
  };
349
349
  rpcProviders: {
350
350
  default: {
351
- url: string;
352
351
  type: string;
352
+ url: string;
353
353
  networkClientId: string;
354
354
  };
355
355
  fallbacks: string[];
@@ -380,18 +380,18 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
380
380
  assets: import("@metamask/superstruct").Struct<{
381
381
  native: {
382
382
  symbol: string;
383
+ name: string;
383
384
  assetId: string;
384
385
  imageUrl: string;
385
- name: string;
386
386
  decimals: number;
387
387
  coingeckoCoinId?: string | undefined;
388
388
  };
389
389
  listUrl?: string | undefined;
390
390
  governance?: {
391
391
  symbol: string;
392
+ name: string;
392
393
  assetId: string;
393
394
  imageUrl: string;
394
- name: string;
395
395
  decimals: number;
396
396
  coingeckoCoinId?: string | undefined;
397
397
  } | undefined;
@@ -399,9 +399,9 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
399
399
  listUrl: import("@metamask/superstruct").Struct<string | undefined, null>;
400
400
  native: import("@metamask/superstruct").Struct<{
401
401
  symbol: string;
402
+ name: string;
402
403
  assetId: string;
403
404
  imageUrl: string;
404
- name: string;
405
405
  decimals: number;
406
406
  coingeckoCoinId?: string | undefined;
407
407
  }, {
@@ -414,9 +414,9 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
414
414
  }>;
415
415
  governance: import("@metamask/superstruct").Struct<{
416
416
  symbol: string;
417
+ name: string;
417
418
  assetId: string;
418
419
  imageUrl: string;
419
- name: string;
420
420
  decimals: number;
421
421
  coingeckoCoinId?: string | undefined;
422
422
  } | undefined, {
@@ -430,15 +430,15 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
430
430
  }>;
431
431
  rpcProviders: import("@metamask/superstruct").Struct<{
432
432
  default: {
433
- url: string;
434
433
  type: string;
434
+ url: string;
435
435
  networkClientId: string;
436
436
  };
437
437
  fallbacks: string[];
438
438
  }, {
439
439
  default: import("@metamask/superstruct").Struct<{
440
- url: string;
441
440
  type: string;
441
+ url: string;
442
442
  networkClientId: string;
443
443
  }, {
444
444
  url: import("@metamask/superstruct").Struct<string, null>;
@@ -4,33 +4,33 @@ import type { Infer } from "@metamask/superstruct";
4
4
  * chainId is in CAIP-2 format (e.g. "eip155:1", "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp").
5
5
  */
6
6
  export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct").Struct<{
7
- imageUrl: string;
8
7
  name: string;
8
+ imageUrl: string;
9
9
  chainId: `${string}:${string}`;
10
10
  coingeckoPlatformId: string;
11
11
  assets: {
12
12
  native: {
13
13
  symbol: string;
14
+ name: string;
14
15
  assetId: string;
15
16
  imageUrl: string;
16
- name: string;
17
17
  decimals: number;
18
18
  coingeckoCoinId?: string | undefined;
19
19
  };
20
20
  listUrl?: string | undefined;
21
21
  governance?: {
22
22
  symbol: string;
23
+ name: string;
23
24
  assetId: string;
24
25
  imageUrl: string;
25
- name: string;
26
26
  decimals: number;
27
27
  coingeckoCoinId?: string | undefined;
28
28
  } | undefined;
29
29
  };
30
30
  rpcProviders: {
31
31
  default: {
32
- url: string;
33
32
  type: string;
33
+ url: string;
34
34
  networkClientId: string;
35
35
  };
36
36
  fallbacks: string[];
@@ -61,18 +61,18 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
61
61
  assets: import("@metamask/superstruct").Struct<{
62
62
  native: {
63
63
  symbol: string;
64
+ name: string;
64
65
  assetId: string;
65
66
  imageUrl: string;
66
- name: string;
67
67
  decimals: number;
68
68
  coingeckoCoinId?: string | undefined;
69
69
  };
70
70
  listUrl?: string | undefined;
71
71
  governance?: {
72
72
  symbol: string;
73
+ name: string;
73
74
  assetId: string;
74
75
  imageUrl: string;
75
- name: string;
76
76
  decimals: number;
77
77
  coingeckoCoinId?: string | undefined;
78
78
  } | undefined;
@@ -80,9 +80,9 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
80
80
  listUrl: import("@metamask/superstruct").Struct<string | undefined, null>;
81
81
  native: import("@metamask/superstruct").Struct<{
82
82
  symbol: string;
83
+ name: string;
83
84
  assetId: string;
84
85
  imageUrl: string;
85
- name: string;
86
86
  decimals: number;
87
87
  coingeckoCoinId?: string | undefined;
88
88
  }, {
@@ -95,9 +95,9 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
95
95
  }>;
96
96
  governance: import("@metamask/superstruct").Struct<{
97
97
  symbol: string;
98
+ name: string;
98
99
  assetId: string;
99
100
  imageUrl: string;
100
- name: string;
101
101
  decimals: number;
102
102
  coingeckoCoinId?: string | undefined;
103
103
  } | undefined, {
@@ -111,15 +111,15 @@ export declare const RegistryNetworkConfigSchema: import("@metamask/superstruct"
111
111
  }>;
112
112
  rpcProviders: import("@metamask/superstruct").Struct<{
113
113
  default: {
114
- url: string;
115
114
  type: string;
115
+ url: string;
116
116
  networkClientId: string;
117
117
  };
118
118
  fallbacks: string[];
119
119
  }, {
120
120
  default: import("@metamask/superstruct").Struct<{
121
- url: string;
122
121
  type: string;
122
+ url: string;
123
123
  networkClientId: string;
124
124
  }, {
125
125
  url: import("@metamask/superstruct").Struct<string, null>;
@@ -166,33 +166,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
166
166
  version: string;
167
167
  timestamp: number;
168
168
  chains: {
169
- imageUrl: string;
170
169
  name: string;
170
+ imageUrl: string;
171
171
  chainId: `${string}:${string}`;
172
172
  coingeckoPlatformId: string;
173
173
  assets: {
174
174
  native: {
175
175
  symbol: string;
176
+ name: string;
176
177
  assetId: string;
177
178
  imageUrl: string;
178
- name: string;
179
179
  decimals: number;
180
180
  coingeckoCoinId?: string | undefined;
181
181
  };
182
182
  listUrl?: string | undefined;
183
183
  governance?: {
184
184
  symbol: string;
185
+ name: string;
185
186
  assetId: string;
186
187
  imageUrl: string;
187
- name: string;
188
188
  decimals: number;
189
189
  coingeckoCoinId?: string | undefined;
190
190
  } | undefined;
191
191
  };
192
192
  rpcProviders: {
193
193
  default: {
194
- url: string;
195
194
  type: string;
195
+ url: string;
196
196
  networkClientId: string;
197
197
  };
198
198
  fallbacks: string[];
@@ -221,33 +221,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
221
221
  version: string;
222
222
  timestamp: number;
223
223
  chains: {
224
- imageUrl: string;
225
224
  name: string;
225
+ imageUrl: string;
226
226
  chainId: `${string}:${string}`;
227
227
  coingeckoPlatformId: string;
228
228
  assets: {
229
229
  native: {
230
230
  symbol: string;
231
+ name: string;
231
232
  assetId: string;
232
233
  imageUrl: string;
233
- name: string;
234
234
  decimals: number;
235
235
  coingeckoCoinId?: string | undefined;
236
236
  };
237
237
  listUrl?: string | undefined;
238
238
  governance?: {
239
239
  symbol: string;
240
+ name: string;
240
241
  assetId: string;
241
242
  imageUrl: string;
242
- name: string;
243
243
  decimals: number;
244
244
  coingeckoCoinId?: string | undefined;
245
245
  } | undefined;
246
246
  };
247
247
  rpcProviders: {
248
248
  default: {
249
- url: string;
250
249
  type: string;
250
+ url: string;
251
251
  networkClientId: string;
252
252
  };
253
253
  fallbacks: string[];
@@ -274,33 +274,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
274
274
  version: import("@metamask/superstruct").Struct<string, null>;
275
275
  timestamp: import("@metamask/superstruct").Struct<number, null>;
276
276
  chains: import("@metamask/superstruct").Struct<{
277
- imageUrl: string;
278
277
  name: string;
278
+ imageUrl: string;
279
279
  chainId: `${string}:${string}`;
280
280
  coingeckoPlatformId: string;
281
281
  assets: {
282
282
  native: {
283
283
  symbol: string;
284
+ name: string;
284
285
  assetId: string;
285
286
  imageUrl: string;
286
- name: string;
287
287
  decimals: number;
288
288
  coingeckoCoinId?: string | undefined;
289
289
  };
290
290
  listUrl?: string | undefined;
291
291
  governance?: {
292
292
  symbol: string;
293
+ name: string;
293
294
  assetId: string;
294
295
  imageUrl: string;
295
- name: string;
296
296
  decimals: number;
297
297
  coingeckoCoinId?: string | undefined;
298
298
  } | undefined;
299
299
  };
300
300
  rpcProviders: {
301
301
  default: {
302
- url: string;
303
302
  type: string;
303
+ url: string;
304
304
  networkClientId: string;
305
305
  };
306
306
  fallbacks: string[];
@@ -323,33 +323,33 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
323
323
  multicall3?: `0x${string}` | undefined;
324
324
  } | undefined;
325
325
  }[], import("@metamask/superstruct").Struct<{
326
- imageUrl: string;
327
326
  name: string;
327
+ imageUrl: string;
328
328
  chainId: `${string}:${string}`;
329
329
  coingeckoPlatformId: string;
330
330
  assets: {
331
331
  native: {
332
332
  symbol: string;
333
+ name: string;
333
334
  assetId: string;
334
335
  imageUrl: string;
335
- name: string;
336
336
  decimals: number;
337
337
  coingeckoCoinId?: string | undefined;
338
338
  };
339
339
  listUrl?: string | undefined;
340
340
  governance?: {
341
341
  symbol: string;
342
+ name: string;
342
343
  assetId: string;
343
344
  imageUrl: string;
344
- name: string;
345
345
  decimals: number;
346
346
  coingeckoCoinId?: string | undefined;
347
347
  } | undefined;
348
348
  };
349
349
  rpcProviders: {
350
350
  default: {
351
- url: string;
352
351
  type: string;
352
+ url: string;
353
353
  networkClientId: string;
354
354
  };
355
355
  fallbacks: string[];
@@ -380,18 +380,18 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
380
380
  assets: import("@metamask/superstruct").Struct<{
381
381
  native: {
382
382
  symbol: string;
383
+ name: string;
383
384
  assetId: string;
384
385
  imageUrl: string;
385
- name: string;
386
386
  decimals: number;
387
387
  coingeckoCoinId?: string | undefined;
388
388
  };
389
389
  listUrl?: string | undefined;
390
390
  governance?: {
391
391
  symbol: string;
392
+ name: string;
392
393
  assetId: string;
393
394
  imageUrl: string;
394
- name: string;
395
395
  decimals: number;
396
396
  coingeckoCoinId?: string | undefined;
397
397
  } | undefined;
@@ -399,9 +399,9 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
399
399
  listUrl: import("@metamask/superstruct").Struct<string | undefined, null>;
400
400
  native: import("@metamask/superstruct").Struct<{
401
401
  symbol: string;
402
+ name: string;
402
403
  assetId: string;
403
404
  imageUrl: string;
404
- name: string;
405
405
  decimals: number;
406
406
  coingeckoCoinId?: string | undefined;
407
407
  }, {
@@ -414,9 +414,9 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
414
414
  }>;
415
415
  governance: import("@metamask/superstruct").Struct<{
416
416
  symbol: string;
417
+ name: string;
417
418
  assetId: string;
418
419
  imageUrl: string;
419
- name: string;
420
420
  decimals: number;
421
421
  coingeckoCoinId?: string | undefined;
422
422
  } | undefined, {
@@ -430,15 +430,15 @@ export declare const RegistryConfigApiResponseSchema: import("@metamask/superstr
430
430
  }>;
431
431
  rpcProviders: import("@metamask/superstruct").Struct<{
432
432
  default: {
433
- url: string;
434
433
  type: string;
434
+ url: string;
435
435
  networkClientId: string;
436
436
  };
437
437
  fallbacks: string[];
438
438
  }, {
439
439
  default: import("@metamask/superstruct").Struct<{
440
- url: string;
441
440
  type: string;
441
+ url: string;
442
442
  networkClientId: string;
443
443
  }, {
444
444
  url: import("@metamask/superstruct").Struct<string, null>;
@@ -15,33 +15,33 @@ export declare const selectNetworks: (state: ConfigRegistryControllerState) => R
15
15
  * @returns Filtered network configurations keyed by chain ID
16
16
  */
17
17
  export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerState) => Record<string, {
18
- imageUrl: string;
19
18
  name: string;
19
+ imageUrl: string;
20
20
  chainId: `${string}:${string}`;
21
21
  coingeckoPlatformId: string;
22
22
  assets: {
23
23
  native: {
24
24
  symbol: string;
25
+ name: string;
25
26
  assetId: string;
26
27
  imageUrl: string;
27
- name: string;
28
28
  decimals: number;
29
29
  coingeckoCoinId?: string | undefined;
30
30
  };
31
31
  listUrl?: string | undefined;
32
32
  governance?: {
33
33
  symbol: string;
34
+ name: string;
34
35
  assetId: string;
35
36
  imageUrl: string;
36
- name: string;
37
37
  decimals: number;
38
38
  coingeckoCoinId?: string | undefined;
39
39
  } | undefined;
40
40
  };
41
41
  rpcProviders: {
42
42
  default: {
43
- url: string;
44
43
  type: string;
44
+ url: string;
45
45
  networkClientId: string;
46
46
  };
47
47
  fallbacks: string[];
@@ -69,33 +69,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
69
69
  resetResultsCount: () => void;
70
70
  } & {
71
71
  resultFunc: (resultFuncArgs_0: Record<string, {
72
- imageUrl: string;
73
72
  name: string;
73
+ imageUrl: string;
74
74
  chainId: `${string}:${string}`;
75
75
  coingeckoPlatformId: string;
76
76
  assets: {
77
77
  native: {
78
78
  symbol: string;
79
+ name: string;
79
80
  assetId: string;
80
81
  imageUrl: string;
81
- name: string;
82
82
  decimals: number;
83
83
  coingeckoCoinId?: string | undefined;
84
84
  };
85
85
  listUrl?: string | undefined;
86
86
  governance?: {
87
87
  symbol: string;
88
+ name: string;
88
89
  assetId: string;
89
90
  imageUrl: string;
90
- name: string;
91
91
  decimals: number;
92
92
  coingeckoCoinId?: string | undefined;
93
93
  } | undefined;
94
94
  };
95
95
  rpcProviders: {
96
96
  default: {
97
- url: string;
98
97
  type: string;
98
+ url: string;
99
99
  networkClientId: string;
100
100
  };
101
101
  fallbacks: string[];
@@ -118,33 +118,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
118
118
  multicall3?: `0x${string}` | undefined;
119
119
  } | undefined;
120
120
  }>) => Record<string, {
121
- imageUrl: string;
122
121
  name: string;
122
+ imageUrl: string;
123
123
  chainId: `${string}:${string}`;
124
124
  coingeckoPlatformId: string;
125
125
  assets: {
126
126
  native: {
127
127
  symbol: string;
128
+ name: string;
128
129
  assetId: string;
129
130
  imageUrl: string;
130
- name: string;
131
131
  decimals: number;
132
132
  coingeckoCoinId?: string | undefined;
133
133
  };
134
134
  listUrl?: string | undefined;
135
135
  governance?: {
136
136
  symbol: string;
137
+ name: string;
137
138
  assetId: string;
138
139
  imageUrl: string;
139
- name: string;
140
140
  decimals: number;
141
141
  coingeckoCoinId?: string | undefined;
142
142
  } | undefined;
143
143
  };
144
144
  rpcProviders: {
145
145
  default: {
146
- url: string;
147
146
  type: string;
147
+ url: string;
148
148
  networkClientId: string;
149
149
  };
150
150
  fallbacks: string[];
@@ -168,33 +168,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
168
168
  } | undefined;
169
169
  }>;
170
170
  memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
171
- imageUrl: string;
172
171
  name: string;
172
+ imageUrl: string;
173
173
  chainId: `${string}:${string}`;
174
174
  coingeckoPlatformId: string;
175
175
  assets: {
176
176
  native: {
177
177
  symbol: string;
178
+ name: string;
178
179
  assetId: string;
179
180
  imageUrl: string;
180
- name: string;
181
181
  decimals: number;
182
182
  coingeckoCoinId?: string | undefined;
183
183
  };
184
184
  listUrl?: string | undefined;
185
185
  governance?: {
186
186
  symbol: string;
187
+ name: string;
187
188
  assetId: string;
188
189
  imageUrl: string;
189
- name: string;
190
190
  decimals: number;
191
191
  coingeckoCoinId?: string | undefined;
192
192
  } | undefined;
193
193
  };
194
194
  rpcProviders: {
195
195
  default: {
196
- url: string;
197
196
  type: string;
197
+ url: string;
198
198
  networkClientId: string;
199
199
  };
200
200
  fallbacks: string[];
@@ -217,33 +217,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
217
217
  multicall3?: `0x${string}` | undefined;
218
218
  } | undefined;
219
219
  }>) => Record<string, {
220
- imageUrl: string;
221
220
  name: string;
221
+ imageUrl: string;
222
222
  chainId: `${string}:${string}`;
223
223
  coingeckoPlatformId: string;
224
224
  assets: {
225
225
  native: {
226
226
  symbol: string;
227
+ name: string;
227
228
  assetId: string;
228
229
  imageUrl: string;
229
- name: string;
230
230
  decimals: number;
231
231
  coingeckoCoinId?: string | undefined;
232
232
  };
233
233
  listUrl?: string | undefined;
234
234
  governance?: {
235
235
  symbol: string;
236
+ name: string;
236
237
  assetId: string;
237
238
  imageUrl: string;
238
- name: string;
239
239
  decimals: number;
240
240
  coingeckoCoinId?: string | undefined;
241
241
  } | undefined;
242
242
  };
243
243
  rpcProviders: {
244
244
  default: {
245
- url: string;
246
245
  type: string;
246
+ url: string;
247
247
  networkClientId: string;
248
248
  };
249
249
  fallbacks: string[];
@@ -271,33 +271,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
271
271
  resetResultsCount: () => void;
272
272
  };
273
273
  lastResult: () => Record<string, {
274
- imageUrl: string;
275
274
  name: string;
275
+ imageUrl: string;
276
276
  chainId: `${string}:${string}`;
277
277
  coingeckoPlatformId: string;
278
278
  assets: {
279
279
  native: {
280
280
  symbol: string;
281
+ name: string;
281
282
  assetId: string;
282
283
  imageUrl: string;
283
- name: string;
284
284
  decimals: number;
285
285
  coingeckoCoinId?: string | undefined;
286
286
  };
287
287
  listUrl?: string | undefined;
288
288
  governance?: {
289
289
  symbol: string;
290
+ name: string;
290
291
  assetId: string;
291
292
  imageUrl: string;
292
- name: string;
293
293
  decimals: number;
294
294
  coingeckoCoinId?: string | undefined;
295
295
  } | undefined;
296
296
  };
297
297
  rpcProviders: {
298
298
  default: {
299
- url: string;
300
299
  type: string;
300
+ url: string;
301
301
  networkClientId: string;
302
302
  };
303
303
  fallbacks: string[];
@@ -15,33 +15,33 @@ export declare const selectNetworks: (state: ConfigRegistryControllerState) => R
15
15
  * @returns Filtered network configurations keyed by chain ID
16
16
  */
17
17
  export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerState) => Record<string, {
18
- imageUrl: string;
19
18
  name: string;
19
+ imageUrl: string;
20
20
  chainId: `${string}:${string}`;
21
21
  coingeckoPlatformId: string;
22
22
  assets: {
23
23
  native: {
24
24
  symbol: string;
25
+ name: string;
25
26
  assetId: string;
26
27
  imageUrl: string;
27
- name: string;
28
28
  decimals: number;
29
29
  coingeckoCoinId?: string | undefined;
30
30
  };
31
31
  listUrl?: string | undefined;
32
32
  governance?: {
33
33
  symbol: string;
34
+ name: string;
34
35
  assetId: string;
35
36
  imageUrl: string;
36
- name: string;
37
37
  decimals: number;
38
38
  coingeckoCoinId?: string | undefined;
39
39
  } | undefined;
40
40
  };
41
41
  rpcProviders: {
42
42
  default: {
43
- url: string;
44
43
  type: string;
44
+ url: string;
45
45
  networkClientId: string;
46
46
  };
47
47
  fallbacks: string[];
@@ -69,33 +69,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
69
69
  resetResultsCount: () => void;
70
70
  } & {
71
71
  resultFunc: (resultFuncArgs_0: Record<string, {
72
- imageUrl: string;
73
72
  name: string;
73
+ imageUrl: string;
74
74
  chainId: `${string}:${string}`;
75
75
  coingeckoPlatformId: string;
76
76
  assets: {
77
77
  native: {
78
78
  symbol: string;
79
+ name: string;
79
80
  assetId: string;
80
81
  imageUrl: string;
81
- name: string;
82
82
  decimals: number;
83
83
  coingeckoCoinId?: string | undefined;
84
84
  };
85
85
  listUrl?: string | undefined;
86
86
  governance?: {
87
87
  symbol: string;
88
+ name: string;
88
89
  assetId: string;
89
90
  imageUrl: string;
90
- name: string;
91
91
  decimals: number;
92
92
  coingeckoCoinId?: string | undefined;
93
93
  } | undefined;
94
94
  };
95
95
  rpcProviders: {
96
96
  default: {
97
- url: string;
98
97
  type: string;
98
+ url: string;
99
99
  networkClientId: string;
100
100
  };
101
101
  fallbacks: string[];
@@ -118,33 +118,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
118
118
  multicall3?: `0x${string}` | undefined;
119
119
  } | undefined;
120
120
  }>) => Record<string, {
121
- imageUrl: string;
122
121
  name: string;
122
+ imageUrl: string;
123
123
  chainId: `${string}:${string}`;
124
124
  coingeckoPlatformId: string;
125
125
  assets: {
126
126
  native: {
127
127
  symbol: string;
128
+ name: string;
128
129
  assetId: string;
129
130
  imageUrl: string;
130
- name: string;
131
131
  decimals: number;
132
132
  coingeckoCoinId?: string | undefined;
133
133
  };
134
134
  listUrl?: string | undefined;
135
135
  governance?: {
136
136
  symbol: string;
137
+ name: string;
137
138
  assetId: string;
138
139
  imageUrl: string;
139
- name: string;
140
140
  decimals: number;
141
141
  coingeckoCoinId?: string | undefined;
142
142
  } | undefined;
143
143
  };
144
144
  rpcProviders: {
145
145
  default: {
146
- url: string;
147
146
  type: string;
147
+ url: string;
148
148
  networkClientId: string;
149
149
  };
150
150
  fallbacks: string[];
@@ -168,33 +168,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
168
168
  } | undefined;
169
169
  }>;
170
170
  memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
171
- imageUrl: string;
172
171
  name: string;
172
+ imageUrl: string;
173
173
  chainId: `${string}:${string}`;
174
174
  coingeckoPlatformId: string;
175
175
  assets: {
176
176
  native: {
177
177
  symbol: string;
178
+ name: string;
178
179
  assetId: string;
179
180
  imageUrl: string;
180
- name: string;
181
181
  decimals: number;
182
182
  coingeckoCoinId?: string | undefined;
183
183
  };
184
184
  listUrl?: string | undefined;
185
185
  governance?: {
186
186
  symbol: string;
187
+ name: string;
187
188
  assetId: string;
188
189
  imageUrl: string;
189
- name: string;
190
190
  decimals: number;
191
191
  coingeckoCoinId?: string | undefined;
192
192
  } | undefined;
193
193
  };
194
194
  rpcProviders: {
195
195
  default: {
196
- url: string;
197
196
  type: string;
197
+ url: string;
198
198
  networkClientId: string;
199
199
  };
200
200
  fallbacks: string[];
@@ -217,33 +217,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
217
217
  multicall3?: `0x${string}` | undefined;
218
218
  } | undefined;
219
219
  }>) => Record<string, {
220
- imageUrl: string;
221
220
  name: string;
221
+ imageUrl: string;
222
222
  chainId: `${string}:${string}`;
223
223
  coingeckoPlatformId: string;
224
224
  assets: {
225
225
  native: {
226
226
  symbol: string;
227
+ name: string;
227
228
  assetId: string;
228
229
  imageUrl: string;
229
- name: string;
230
230
  decimals: number;
231
231
  coingeckoCoinId?: string | undefined;
232
232
  };
233
233
  listUrl?: string | undefined;
234
234
  governance?: {
235
235
  symbol: string;
236
+ name: string;
236
237
  assetId: string;
237
238
  imageUrl: string;
238
- name: string;
239
239
  decimals: number;
240
240
  coingeckoCoinId?: string | undefined;
241
241
  } | undefined;
242
242
  };
243
243
  rpcProviders: {
244
244
  default: {
245
- url: string;
246
245
  type: string;
246
+ url: string;
247
247
  networkClientId: string;
248
248
  };
249
249
  fallbacks: string[];
@@ -271,33 +271,33 @@ export declare const selectFeaturedNetworks: ((state: ConfigRegistryControllerSt
271
271
  resetResultsCount: () => void;
272
272
  };
273
273
  lastResult: () => Record<string, {
274
- imageUrl: string;
275
274
  name: string;
275
+ imageUrl: string;
276
276
  chainId: `${string}:${string}`;
277
277
  coingeckoPlatformId: string;
278
278
  assets: {
279
279
  native: {
280
280
  symbol: string;
281
+ name: string;
281
282
  assetId: string;
282
283
  imageUrl: string;
283
- name: string;
284
284
  decimals: number;
285
285
  coingeckoCoinId?: string | undefined;
286
286
  };
287
287
  listUrl?: string | undefined;
288
288
  governance?: {
289
289
  symbol: string;
290
+ name: string;
290
291
  assetId: string;
291
292
  imageUrl: string;
292
- name: string;
293
293
  decimals: number;
294
294
  coingeckoCoinId?: string | undefined;
295
295
  } | undefined;
296
296
  };
297
297
  rpcProviders: {
298
298
  default: {
299
- url: string;
300
299
  type: string;
300
+ url: string;
301
301
  networkClientId: string;
302
302
  };
303
303
  fallbacks: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/config-registry-controller",
3
- "version": "2.0.1-preview-9ab272863",
3
+ "version": "2.0.1-preview-823dcff",
4
4
  "description": "Manages configuration registry for MetaMask",
5
5
  "keywords": [
6
6
  "Ethereum",