@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/snapshot.cjs.js
CHANGED
|
@@ -478,7 +478,13 @@ var definitions = {
|
|
|
478
478
|
avatar: {
|
|
479
479
|
type: "string",
|
|
480
480
|
title: "avatar",
|
|
481
|
-
format: "
|
|
481
|
+
format: "customUrl",
|
|
482
|
+
maxLength: 256
|
|
483
|
+
},
|
|
484
|
+
cover: {
|
|
485
|
+
type: "string",
|
|
486
|
+
title: "avatar",
|
|
487
|
+
format: "customUrl",
|
|
482
488
|
maxLength: 256
|
|
483
489
|
},
|
|
484
490
|
location: {
|
|
@@ -808,6 +814,7 @@ var definitions = {
|
|
|
808
814
|
treasuries: {
|
|
809
815
|
type: "array",
|
|
810
816
|
maxItems: 10,
|
|
817
|
+
uniqueItems: true,
|
|
811
818
|
items: {
|
|
812
819
|
type: "object",
|
|
813
820
|
properties: {
|
|
@@ -3023,6 +3030,22 @@ var networks = {
|
|
|
3023
3030
|
},
|
|
3024
3031
|
start: 12011090,
|
|
3025
3032
|
logo: "ipfs://bafkreihgr7zy7vi5kqddybfaezwuhvssg57qluwmyan4qq7l57nr7w7wey"
|
|
3033
|
+
},
|
|
3034
|
+
"80002": {
|
|
3035
|
+
key: "80002",
|
|
3036
|
+
name: "Polygon Amoy Testnet",
|
|
3037
|
+
shortName: "testnet",
|
|
3038
|
+
chainId: 80002,
|
|
3039
|
+
network: "testnet",
|
|
3040
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3041
|
+
rpc: [
|
|
3042
|
+
],
|
|
3043
|
+
explorer: {
|
|
3044
|
+
url: "https://amoy.polygonscan.com/"
|
|
3045
|
+
},
|
|
3046
|
+
start: 3127388,
|
|
3047
|
+
logo: "ipfs://https://snapshot.4everland.link/ipfs/bafkreibfiyvhqnme2vbxxfcku7qkxgjpkg6ywdkplxh4oxlkqsbznyorfm",
|
|
3048
|
+
testnet: true
|
|
3026
3049
|
},
|
|
3027
3050
|
"81457": {
|
|
3028
3051
|
key: "81457",
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -468,7 +468,13 @@ var definitions = {
|
|
|
468
468
|
avatar: {
|
|
469
469
|
type: "string",
|
|
470
470
|
title: "avatar",
|
|
471
|
-
format: "
|
|
471
|
+
format: "customUrl",
|
|
472
|
+
maxLength: 256
|
|
473
|
+
},
|
|
474
|
+
cover: {
|
|
475
|
+
type: "string",
|
|
476
|
+
title: "avatar",
|
|
477
|
+
format: "customUrl",
|
|
472
478
|
maxLength: 256
|
|
473
479
|
},
|
|
474
480
|
location: {
|
|
@@ -798,6 +804,7 @@ var definitions = {
|
|
|
798
804
|
treasuries: {
|
|
799
805
|
type: "array",
|
|
800
806
|
maxItems: 10,
|
|
807
|
+
uniqueItems: true,
|
|
801
808
|
items: {
|
|
802
809
|
type: "object",
|
|
803
810
|
properties: {
|
|
@@ -3013,6 +3020,22 @@ var networks = {
|
|
|
3013
3020
|
},
|
|
3014
3021
|
start: 12011090,
|
|
3015
3022
|
logo: "ipfs://bafkreihgr7zy7vi5kqddybfaezwuhvssg57qluwmyan4qq7l57nr7w7wey"
|
|
3023
|
+
},
|
|
3024
|
+
"80002": {
|
|
3025
|
+
key: "80002",
|
|
3026
|
+
name: "Polygon Amoy Testnet",
|
|
3027
|
+
shortName: "testnet",
|
|
3028
|
+
chainId: 80002,
|
|
3029
|
+
network: "testnet",
|
|
3030
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3031
|
+
rpc: [
|
|
3032
|
+
],
|
|
3033
|
+
explorer: {
|
|
3034
|
+
url: "https://amoy.polygonscan.com/"
|
|
3035
|
+
},
|
|
3036
|
+
start: 3127388,
|
|
3037
|
+
logo: "ipfs://https://snapshot.4everland.link/ipfs/bafkreibfiyvhqnme2vbxxfcku7qkxgjpkg6ywdkplxh4oxlkqsbznyorfm",
|
|
3038
|
+
testnet: true
|
|
3016
3039
|
},
|
|
3017
3040
|
"81457": {
|
|
3018
3041
|
key: "81457",
|