@snapshot-labs/snapshot.js 0.11.19 → 0.11.21
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/README.md +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/sign/types.d.ts +2 -0
- package/dist/snapshot.cjs.js +5 -2
- package/dist/snapshot.esm.js +5 -2
- package/dist/snapshot.min.js +1 -1
- package/package.json +2 -1
- package/src/schemas/space.json +3 -2
- package/src/sign/hashedTypes.json +2 -0
- package/src/sign/types.ts +4 -0
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/schemas/index.d.ts
CHANGED
package/dist/sign/types.d.ts
CHANGED
|
@@ -60,11 +60,13 @@ export interface Vote {
|
|
|
60
60
|
}
|
|
61
61
|
export interface Follow {
|
|
62
62
|
from?: string;
|
|
63
|
+
network?: string;
|
|
63
64
|
space: string;
|
|
64
65
|
timestamp?: number;
|
|
65
66
|
}
|
|
66
67
|
export interface Unfollow {
|
|
67
68
|
from?: string;
|
|
69
|
+
network?: string;
|
|
68
70
|
space: string;
|
|
69
71
|
timestamp?: number;
|
|
70
72
|
}
|
package/dist/snapshot.cjs.js
CHANGED
|
@@ -260,6 +260,7 @@ var voteString2Types = {
|
|
|
260
260
|
var followTypes = {
|
|
261
261
|
Follow: [
|
|
262
262
|
{ name: 'from', type: 'address' },
|
|
263
|
+
{ name: 'network', type: 'string' },
|
|
263
264
|
{ name: 'space', type: 'string' },
|
|
264
265
|
{ name: 'timestamp', type: 'uint64' }
|
|
265
266
|
]
|
|
@@ -267,6 +268,7 @@ var followTypes = {
|
|
|
267
268
|
var unfollowTypes = {
|
|
268
269
|
Unfollow: [
|
|
269
270
|
{ name: 'from', type: 'address' },
|
|
271
|
+
{ name: 'network', type: 'string' },
|
|
270
272
|
{ name: 'space', type: 'string' },
|
|
271
273
|
{ name: 'timestamp', type: 'uint64' }
|
|
272
274
|
]
|
|
@@ -994,11 +996,12 @@ var definitions = {
|
|
|
994
996
|
},
|
|
995
997
|
children: {
|
|
996
998
|
type: "array",
|
|
997
|
-
maxItems:
|
|
999
|
+
maxItems: 16,
|
|
998
1000
|
title: "children",
|
|
999
1001
|
items: {
|
|
1000
1002
|
type: "string"
|
|
1001
|
-
}
|
|
1003
|
+
},
|
|
1004
|
+
uniqueItems: true
|
|
1002
1005
|
},
|
|
1003
1006
|
boost: {
|
|
1004
1007
|
type: "object",
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -250,6 +250,7 @@ var voteString2Types = {
|
|
|
250
250
|
var followTypes = {
|
|
251
251
|
Follow: [
|
|
252
252
|
{ name: 'from', type: 'address' },
|
|
253
|
+
{ name: 'network', type: 'string' },
|
|
253
254
|
{ name: 'space', type: 'string' },
|
|
254
255
|
{ name: 'timestamp', type: 'uint64' }
|
|
255
256
|
]
|
|
@@ -257,6 +258,7 @@ var followTypes = {
|
|
|
257
258
|
var unfollowTypes = {
|
|
258
259
|
Unfollow: [
|
|
259
260
|
{ name: 'from', type: 'address' },
|
|
261
|
+
{ name: 'network', type: 'string' },
|
|
260
262
|
{ name: 'space', type: 'string' },
|
|
261
263
|
{ name: 'timestamp', type: 'uint64' }
|
|
262
264
|
]
|
|
@@ -984,11 +986,12 @@ var definitions = {
|
|
|
984
986
|
},
|
|
985
987
|
children: {
|
|
986
988
|
type: "array",
|
|
987
|
-
maxItems:
|
|
989
|
+
maxItems: 16,
|
|
988
990
|
title: "children",
|
|
989
991
|
items: {
|
|
990
992
|
type: "string"
|
|
991
|
-
}
|
|
993
|
+
},
|
|
994
|
+
uniqueItems: true
|
|
992
995
|
},
|
|
993
996
|
boost: {
|
|
994
997
|
type: "object",
|