@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 CHANGED
@@ -48,9 +48,9 @@ yarn test:once
48
48
 
49
49
  ```bash
50
50
  # Format ABI
51
- ts-node scripts/abi.ts
51
+ yarn ts-node scripts/abi.ts
52
52
  # Generate hash for types
53
- ts-node scripts/generateHashWithTypes.ts
53
+ yarn ts-node scripts/generateHashWithTypes.ts
54
54
  ```
55
55
 
56
56
  ### License
@@ -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
  }
@@ -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
  ]
@@ -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
  ]