@snapshot-labs/snapshot.js 0.6.4 → 0.7.0
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 +12 -6
- package/dist/snapshot.esm.js +12 -6
- package/dist/snapshot.min.js +1 -1
- package/package.json +1 -1
- package/src/sign/types.json +7 -1
- package/src/sign/types.ts +12 -6
package/dist/snapshot.cjs.js
CHANGED
|
@@ -258,25 +258,29 @@ var voteString2Types = {
|
|
|
258
258
|
var followTypes = {
|
|
259
259
|
Follow: [
|
|
260
260
|
{ name: 'from', type: 'address' },
|
|
261
|
-
{ name: 'space', type: 'string' }
|
|
261
|
+
{ name: 'space', type: 'string' },
|
|
262
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
262
263
|
]
|
|
263
264
|
};
|
|
264
265
|
var unfollowTypes = {
|
|
265
266
|
Unfollow: [
|
|
266
267
|
{ name: 'from', type: 'address' },
|
|
267
|
-
{ name: 'space', type: 'string' }
|
|
268
|
+
{ name: 'space', type: 'string' },
|
|
269
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
268
270
|
]
|
|
269
271
|
};
|
|
270
272
|
var subscribeTypes = {
|
|
271
273
|
Subscribe: [
|
|
272
274
|
{ name: 'from', type: 'address' },
|
|
273
|
-
{ name: 'space', type: 'string' }
|
|
275
|
+
{ name: 'space', type: 'string' },
|
|
276
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
274
277
|
]
|
|
275
278
|
};
|
|
276
279
|
var unsubscribeTypes = {
|
|
277
280
|
Unsubscribe: [
|
|
278
281
|
{ name: 'from', type: 'address' },
|
|
279
|
-
{ name: 'space', type: 'string' }
|
|
282
|
+
{ name: 'space', type: 'string' },
|
|
283
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
280
284
|
]
|
|
281
285
|
};
|
|
282
286
|
var profileTypes = {
|
|
@@ -298,13 +302,15 @@ var statementTypes = {
|
|
|
298
302
|
var aliasTypes = {
|
|
299
303
|
Alias: [
|
|
300
304
|
{ name: 'from', type: 'address' },
|
|
301
|
-
{ name: 'alias', type: 'address' }
|
|
305
|
+
{ name: 'alias', type: 'address' },
|
|
306
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
302
307
|
]
|
|
303
308
|
};
|
|
304
309
|
var deleteSpaceType = {
|
|
305
310
|
DeleteSpace: [
|
|
306
311
|
{ name: 'from', type: 'address' },
|
|
307
|
-
{ name: 'space', type: 'string' }
|
|
312
|
+
{ name: 'space', type: 'string' },
|
|
313
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
308
314
|
]
|
|
309
315
|
};
|
|
310
316
|
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -249,25 +249,29 @@ var voteString2Types = {
|
|
|
249
249
|
var followTypes = {
|
|
250
250
|
Follow: [
|
|
251
251
|
{ name: 'from', type: 'address' },
|
|
252
|
-
{ name: 'space', type: 'string' }
|
|
252
|
+
{ name: 'space', type: 'string' },
|
|
253
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
253
254
|
]
|
|
254
255
|
};
|
|
255
256
|
var unfollowTypes = {
|
|
256
257
|
Unfollow: [
|
|
257
258
|
{ name: 'from', type: 'address' },
|
|
258
|
-
{ name: 'space', type: 'string' }
|
|
259
|
+
{ name: 'space', type: 'string' },
|
|
260
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
259
261
|
]
|
|
260
262
|
};
|
|
261
263
|
var subscribeTypes = {
|
|
262
264
|
Subscribe: [
|
|
263
265
|
{ name: 'from', type: 'address' },
|
|
264
|
-
{ name: 'space', type: 'string' }
|
|
266
|
+
{ name: 'space', type: 'string' },
|
|
267
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
265
268
|
]
|
|
266
269
|
};
|
|
267
270
|
var unsubscribeTypes = {
|
|
268
271
|
Unsubscribe: [
|
|
269
272
|
{ name: 'from', type: 'address' },
|
|
270
|
-
{ name: 'space', type: 'string' }
|
|
273
|
+
{ name: 'space', type: 'string' },
|
|
274
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
271
275
|
]
|
|
272
276
|
};
|
|
273
277
|
var profileTypes = {
|
|
@@ -289,13 +293,15 @@ var statementTypes = {
|
|
|
289
293
|
var aliasTypes = {
|
|
290
294
|
Alias: [
|
|
291
295
|
{ name: 'from', type: 'address' },
|
|
292
|
-
{ name: 'alias', type: 'address' }
|
|
296
|
+
{ name: 'alias', type: 'address' },
|
|
297
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
293
298
|
]
|
|
294
299
|
};
|
|
295
300
|
var deleteSpaceType = {
|
|
296
301
|
DeleteSpace: [
|
|
297
302
|
{ name: 'from', type: 'address' },
|
|
298
|
-
{ name: 'space', type: 'string' }
|
|
303
|
+
{ name: 'space', type: 'string' },
|
|
304
|
+
{ name: 'timestamp', type: 'uint64' }
|
|
299
305
|
]
|
|
300
306
|
};
|
|
301
307
|
|