@metamask-previews/config-registry-controller 2.0.1-preview-e81fe8853 → 2.0.1-preview-3c77cf4
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 +6 -0
- package/dist/config-registry-api-service/config-registry-api-service.cjs +9 -4
- package/dist/config-registry-api-service/config-registry-api-service.cjs.map +1 -1
- package/dist/config-registry-api-service/config-registry-api-service.d.cts +6 -2
- package/dist/config-registry-api-service/config-registry-api-service.d.cts.map +1 -1
- package/dist/config-registry-api-service/config-registry-api-service.d.mts +6 -2
- package/dist/config-registry-api-service/config-registry-api-service.d.mts.map +1 -1
- package/dist/config-registry-api-service/config-registry-api-service.mjs +8 -3
- package/dist/config-registry-api-service/config-registry-api-service.mjs.map +1 -1
- package/dist/config-registry-api-service/types.d.cts +32 -32
- package/dist/config-registry-api-service/types.d.mts +32 -32
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/selectors.d.cts +24 -24
- package/dist/selectors.d.mts +24 -24
- package/package.json +1 -2
package/dist/selectors.d.mts
CHANGED
|
@@ -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-
|
|
3
|
+
"version": "2.0.1-preview-3c77cf4",
|
|
4
4
|
"description": "Manages configuration registry for MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"@metamask/keyring-controller": "^27.1.1",
|
|
62
62
|
"@metamask/messenger": "^2.0.0",
|
|
63
63
|
"@metamask/polling-controller": "^16.0.9",
|
|
64
|
-
"@metamask/profile-sync-controller": "^29.0.0",
|
|
65
64
|
"@metamask/remote-feature-flag-controller": "^5.0.0",
|
|
66
65
|
"@metamask/superstruct": "^3.4.1",
|
|
67
66
|
"@metamask/utils": "^11.11.0",
|