@metamask-previews/config-registry-controller 2.0.1-preview-52feb6710 → 2.0.1-preview-17f3dc1b5

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
- name: string;
8
7
  imageUrl: string;
8
+ name: string;
9
9
  chainId: `${string}:${string}`;
10
10
  coingeckoPlatformId: string;
11
11
  assets: {
12
12
  native: {
13
13
  symbol: string;
14
- name: string;
15
14
  assetId: string;
16
15
  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;
24
23
  assetId: string;
25
24
  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
- type: string;
33
32
  url: string;
33
+ type: 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;
65
64
  assetId: string;
66
65
  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;
74
73
  assetId: string;
75
74
  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;
84
83
  assetId: string;
85
84
  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;
99
98
  assetId: string;
100
99
  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
- type: string;
115
114
  url: string;
115
+ type: string;
116
116
  networkClientId: string;
117
117
  };
118
118
  fallbacks: string[];
119
119
  }, {
120
120
  default: import("@metamask/superstruct").Struct<{
121
- type: string;
122
121
  url: string;
122
+ type: 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
- name: string;
170
169
  imageUrl: string;
170
+ name: string;
171
171
  chainId: `${string}:${string}`;
172
172
  coingeckoPlatformId: string;
173
173
  assets: {
174
174
  native: {
175
175
  symbol: string;
176
- name: string;
177
176
  assetId: string;
178
177
  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;
186
185
  assetId: string;
187
186
  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
- type: string;
195
194
  url: string;
195
+ type: 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
- name: string;
225
224
  imageUrl: string;
225
+ name: string;
226
226
  chainId: `${string}:${string}`;
227
227
  coingeckoPlatformId: string;
228
228
  assets: {
229
229
  native: {
230
230
  symbol: string;
231
- name: string;
232
231
  assetId: string;
233
232
  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;
241
240
  assetId: string;
242
241
  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
- type: string;
250
249
  url: string;
250
+ type: 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
- name: string;
278
277
  imageUrl: string;
278
+ name: string;
279
279
  chainId: `${string}:${string}`;
280
280
  coingeckoPlatformId: string;
281
281
  assets: {
282
282
  native: {
283
283
  symbol: string;
284
- name: string;
285
284
  assetId: string;
286
285
  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;
294
293
  assetId: string;
295
294
  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
- type: string;
303
302
  url: string;
303
+ type: 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
- name: string;
327
326
  imageUrl: string;
327
+ name: string;
328
328
  chainId: `${string}:${string}`;
329
329
  coingeckoPlatformId: string;
330
330
  assets: {
331
331
  native: {
332
332
  symbol: string;
333
- name: string;
334
333
  assetId: string;
335
334
  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;
343
342
  assetId: string;
344
343
  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
- type: string;
352
351
  url: string;
352
+ type: 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;
384
383
  assetId: string;
385
384
  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;
393
392
  assetId: string;
394
393
  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;
403
402
  assetId: string;
404
403
  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;
418
417
  assetId: string;
419
418
  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
- type: string;
434
433
  url: string;
434
+ type: string;
435
435
  networkClientId: string;
436
436
  };
437
437
  fallbacks: string[];
438
438
  }, {
439
439
  default: import("@metamask/superstruct").Struct<{
440
- type: string;
441
440
  url: string;
441
+ type: 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
- name: string;
8
7
  imageUrl: string;
8
+ name: string;
9
9
  chainId: `${string}:${string}`;
10
10
  coingeckoPlatformId: string;
11
11
  assets: {
12
12
  native: {
13
13
  symbol: string;
14
- name: string;
15
14
  assetId: string;
16
15
  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;
24
23
  assetId: string;
25
24
  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
- type: string;
33
32
  url: string;
33
+ type: 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;
65
64
  assetId: string;
66
65
  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;
74
73
  assetId: string;
75
74
  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;
84
83
  assetId: string;
85
84
  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;
99
98
  assetId: string;
100
99
  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
- type: string;
115
114
  url: string;
115
+ type: string;
116
116
  networkClientId: string;
117
117
  };
118
118
  fallbacks: string[];
119
119
  }, {
120
120
  default: import("@metamask/superstruct").Struct<{
121
- type: string;
122
121
  url: string;
122
+ type: 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
- name: string;
170
169
  imageUrl: string;
170
+ name: string;
171
171
  chainId: `${string}:${string}`;
172
172
  coingeckoPlatformId: string;
173
173
  assets: {
174
174
  native: {
175
175
  symbol: string;
176
- name: string;
177
176
  assetId: string;
178
177
  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;
186
185
  assetId: string;
187
186
  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
- type: string;
195
194
  url: string;
195
+ type: 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
- name: string;
225
224
  imageUrl: string;
225
+ name: string;
226
226
  chainId: `${string}:${string}`;
227
227
  coingeckoPlatformId: string;
228
228
  assets: {
229
229
  native: {
230
230
  symbol: string;
231
- name: string;
232
231
  assetId: string;
233
232
  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;
241
240
  assetId: string;
242
241
  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
- type: string;
250
249
  url: string;
250
+ type: 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
- name: string;
278
277
  imageUrl: string;
278
+ name: string;
279
279
  chainId: `${string}:${string}`;
280
280
  coingeckoPlatformId: string;
281
281
  assets: {
282
282
  native: {
283
283
  symbol: string;
284
- name: string;
285
284
  assetId: string;
286
285
  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;
294
293
  assetId: string;
295
294
  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
- type: string;
303
302
  url: string;
303
+ type: 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
- name: string;
327
326
  imageUrl: string;
327
+ name: string;
328
328
  chainId: `${string}:${string}`;
329
329
  coingeckoPlatformId: string;
330
330
  assets: {
331
331
  native: {
332
332
  symbol: string;
333
- name: string;
334
333
  assetId: string;
335
334
  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;
343
342
  assetId: string;
344
343
  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
- type: string;
352
351
  url: string;
352
+ type: 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;
384
383
  assetId: string;
385
384
  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;
393
392
  assetId: string;
394
393
  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;
403
402
  assetId: string;
404
403
  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;
418
417
  assetId: string;
419
418
  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
- type: string;
434
433
  url: string;
434
+ type: string;
435
435
  networkClientId: string;
436
436
  };
437
437
  fallbacks: string[];
438
438
  }, {
439
439
  default: import("@metamask/superstruct").Struct<{
440
- type: string;
441
440
  url: string;
441
+ type: 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
- name: string;
19
18
  imageUrl: string;
19
+ name: string;
20
20
  chainId: `${string}:${string}`;
21
21
  coingeckoPlatformId: string;
22
22
  assets: {
23
23
  native: {
24
24
  symbol: string;
25
- name: string;
26
25
  assetId: string;
27
26
  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;
35
34
  assetId: string;
36
35
  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
- type: string;
44
43
  url: string;
44
+ type: 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
- name: string;
73
72
  imageUrl: string;
73
+ name: string;
74
74
  chainId: `${string}:${string}`;
75
75
  coingeckoPlatformId: string;
76
76
  assets: {
77
77
  native: {
78
78
  symbol: string;
79
- name: string;
80
79
  assetId: string;
81
80
  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;
89
88
  assetId: string;
90
89
  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
- type: string;
98
97
  url: string;
98
+ type: 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
- name: string;
122
121
  imageUrl: string;
122
+ name: string;
123
123
  chainId: `${string}:${string}`;
124
124
  coingeckoPlatformId: string;
125
125
  assets: {
126
126
  native: {
127
127
  symbol: string;
128
- name: string;
129
128
  assetId: string;
130
129
  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;
138
137
  assetId: string;
139
138
  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
- type: string;
147
146
  url: string;
147
+ type: 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
- name: string;
172
171
  imageUrl: string;
172
+ name: string;
173
173
  chainId: `${string}:${string}`;
174
174
  coingeckoPlatformId: string;
175
175
  assets: {
176
176
  native: {
177
177
  symbol: string;
178
- name: string;
179
178
  assetId: string;
180
179
  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;
188
187
  assetId: string;
189
188
  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
- type: string;
197
196
  url: string;
197
+ type: 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
- name: string;
221
220
  imageUrl: string;
221
+ name: string;
222
222
  chainId: `${string}:${string}`;
223
223
  coingeckoPlatformId: string;
224
224
  assets: {
225
225
  native: {
226
226
  symbol: string;
227
- name: string;
228
227
  assetId: string;
229
228
  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;
237
236
  assetId: string;
238
237
  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
- type: string;
246
245
  url: string;
246
+ type: 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
- name: string;
275
274
  imageUrl: string;
275
+ name: string;
276
276
  chainId: `${string}:${string}`;
277
277
  coingeckoPlatformId: string;
278
278
  assets: {
279
279
  native: {
280
280
  symbol: string;
281
- name: string;
282
281
  assetId: string;
283
282
  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;
291
290
  assetId: string;
292
291
  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
- type: string;
300
299
  url: string;
300
+ type: 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
- name: string;
19
18
  imageUrl: string;
19
+ name: string;
20
20
  chainId: `${string}:${string}`;
21
21
  coingeckoPlatformId: string;
22
22
  assets: {
23
23
  native: {
24
24
  symbol: string;
25
- name: string;
26
25
  assetId: string;
27
26
  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;
35
34
  assetId: string;
36
35
  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
- type: string;
44
43
  url: string;
44
+ type: 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
- name: string;
73
72
  imageUrl: string;
73
+ name: string;
74
74
  chainId: `${string}:${string}`;
75
75
  coingeckoPlatformId: string;
76
76
  assets: {
77
77
  native: {
78
78
  symbol: string;
79
- name: string;
80
79
  assetId: string;
81
80
  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;
89
88
  assetId: string;
90
89
  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
- type: string;
98
97
  url: string;
98
+ type: 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
- name: string;
122
121
  imageUrl: string;
122
+ name: string;
123
123
  chainId: `${string}:${string}`;
124
124
  coingeckoPlatformId: string;
125
125
  assets: {
126
126
  native: {
127
127
  symbol: string;
128
- name: string;
129
128
  assetId: string;
130
129
  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;
138
137
  assetId: string;
139
138
  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
- type: string;
147
146
  url: string;
147
+ type: 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
- name: string;
172
171
  imageUrl: string;
172
+ name: string;
173
173
  chainId: `${string}:${string}`;
174
174
  coingeckoPlatformId: string;
175
175
  assets: {
176
176
  native: {
177
177
  symbol: string;
178
- name: string;
179
178
  assetId: string;
180
179
  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;
188
187
  assetId: string;
189
188
  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
- type: string;
197
196
  url: string;
197
+ type: 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
- name: string;
221
220
  imageUrl: string;
221
+ name: string;
222
222
  chainId: `${string}:${string}`;
223
223
  coingeckoPlatformId: string;
224
224
  assets: {
225
225
  native: {
226
226
  symbol: string;
227
- name: string;
228
227
  assetId: string;
229
228
  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;
237
236
  assetId: string;
238
237
  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
- type: string;
246
245
  url: string;
246
+ type: 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
- name: string;
275
274
  imageUrl: string;
275
+ name: string;
276
276
  chainId: `${string}:${string}`;
277
277
  coingeckoPlatformId: string;
278
278
  assets: {
279
279
  native: {
280
280
  symbol: string;
281
- name: string;
282
281
  assetId: string;
283
282
  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;
291
290
  assetId: string;
292
291
  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
- type: string;
300
299
  url: string;
300
+ type: 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-52feb6710",
3
+ "version": "2.0.1-preview-17f3dc1b5",
4
4
  "description": "Manages configuration registry for MetaMask",
5
5
  "keywords": [
6
6
  "Ethereum",