@snapshot-labs/snapshot.js 0.12.9 → 0.12.11
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/dist/snapshot.cjs.js +24 -1
- package/dist/snapshot.esm.js +24 -1
- package/dist/snapshot.min.js +2 -2
- package/dist/src/index.d.ts +7 -0
- package/dist/src/schemas/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/networks.json +15 -0
- package/src/schemas/space.json +8 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -44,6 +44,12 @@ declare const _default: {
|
|
|
44
44
|
format: string;
|
|
45
45
|
maxLength: number;
|
|
46
46
|
};
|
|
47
|
+
cover: {
|
|
48
|
+
type: string;
|
|
49
|
+
title: string;
|
|
50
|
+
format: string;
|
|
51
|
+
maxLength: number;
|
|
52
|
+
};
|
|
47
53
|
location: {
|
|
48
54
|
type: string;
|
|
49
55
|
title: string;
|
|
@@ -335,6 +341,7 @@ declare const _default: {
|
|
|
335
341
|
treasuries: {
|
|
336
342
|
type: string;
|
|
337
343
|
maxItems: number;
|
|
344
|
+
uniqueItems: boolean;
|
|
338
345
|
items: {
|
|
339
346
|
type: string;
|
|
340
347
|
properties: {
|
|
@@ -40,6 +40,12 @@ declare const _default: {
|
|
|
40
40
|
format: string;
|
|
41
41
|
maxLength: number;
|
|
42
42
|
};
|
|
43
|
+
cover: {
|
|
44
|
+
type: string;
|
|
45
|
+
title: string;
|
|
46
|
+
format: string;
|
|
47
|
+
maxLength: number;
|
|
48
|
+
};
|
|
43
49
|
location: {
|
|
44
50
|
type: string;
|
|
45
51
|
title: string;
|
|
@@ -331,6 +337,7 @@ declare const _default: {
|
|
|
331
337
|
treasuries: {
|
|
332
338
|
type: string;
|
|
333
339
|
maxItems: number;
|
|
340
|
+
uniqueItems: boolean;
|
|
334
341
|
items: {
|
|
335
342
|
type: string;
|
|
336
343
|
properties: {
|
package/package.json
CHANGED
package/src/networks.json
CHANGED
|
@@ -1439,6 +1439,21 @@
|
|
|
1439
1439
|
"start": 12011090,
|
|
1440
1440
|
"logo": "ipfs://bafkreihgr7zy7vi5kqddybfaezwuhvssg57qluwmyan4qq7l57nr7w7wey"
|
|
1441
1441
|
},
|
|
1442
|
+
"80002": {
|
|
1443
|
+
"key": "80002",
|
|
1444
|
+
"name": "Polygon Amoy Testnet",
|
|
1445
|
+
"shortName": "testnet",
|
|
1446
|
+
"chainId": 80002,
|
|
1447
|
+
"network": "testnet",
|
|
1448
|
+
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1449
|
+
"rpc": [],
|
|
1450
|
+
"explorer": {
|
|
1451
|
+
"url": "https://amoy.polygonscan.com/"
|
|
1452
|
+
},
|
|
1453
|
+
"start": 3127388,
|
|
1454
|
+
"logo": "ipfs://https://snapshot.4everland.link/ipfs/bafkreibfiyvhqnme2vbxxfcku7qkxgjpkg6ywdkplxh4oxlkqsbznyorfm",
|
|
1455
|
+
"testnet": true
|
|
1456
|
+
},
|
|
1442
1457
|
"81457": {
|
|
1443
1458
|
"key": "81457",
|
|
1444
1459
|
"name": "Blast",
|
package/src/schemas/space.json
CHANGED
|
@@ -40,7 +40,13 @@
|
|
|
40
40
|
"avatar": {
|
|
41
41
|
"type": "string",
|
|
42
42
|
"title": "avatar",
|
|
43
|
-
"format": "
|
|
43
|
+
"format": "customUrl",
|
|
44
|
+
"maxLength": 256
|
|
45
|
+
},
|
|
46
|
+
"cover": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"title": "avatar",
|
|
49
|
+
"format": "customUrl",
|
|
44
50
|
"maxLength": 256
|
|
45
51
|
},
|
|
46
52
|
"location": {
|
|
@@ -345,6 +351,7 @@
|
|
|
345
351
|
"treasuries": {
|
|
346
352
|
"type": "array",
|
|
347
353
|
"maxItems": 10,
|
|
354
|
+
"uniqueItems": true,
|
|
348
355
|
"items": {
|
|
349
356
|
"type": "object",
|
|
350
357
|
"properties": {
|