@snapshot-labs/snapshot.js 0.11.20 → 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/sign/types.d.ts +2 -0
- package/dist/snapshot.cjs.js +2 -0
- package/dist/snapshot.esm.js +2 -0
- package/dist/snapshot.min.js +1 -1
- package/package.json +2 -1
- package/src/sign/hashedTypes.json +2 -0
- package/src/sign/types.ts +4 -0
package/README.md
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
|
]
|
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
|
]
|