@triadxyz/triad-protocol 3.2.4-beta → 3.2.6-beta

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.
@@ -3203,10 +3203,14 @@
3203
3203
  "array": ["u8", 32]
3204
3204
  }
3205
3205
  },
3206
+ {
3207
+ "name": "ts",
3208
+ "type": "i64"
3209
+ },
3206
3210
  {
3207
3211
  "name": "padding",
3208
3212
  "type": {
3209
- "array": ["u8", 32]
3213
+ "array": ["u8", 24]
3210
3214
  }
3211
3215
  }
3212
3216
  ]
@@ -200,6 +200,7 @@ export type ClaimVault = {
200
200
  name: string;
201
201
  isFirstComeFirstServed: boolean;
202
202
  merkleRoot: number[];
203
+ ts: number;
203
204
  };
204
205
  export type ClaimedUser = {
205
206
  user: string;
@@ -4190,10 +4190,14 @@ export type TriadProtocol = {
4190
4190
  array: ['u8', 32];
4191
4191
  };
4192
4192
  },
4193
+ {
4194
+ name: 'ts';
4195
+ type: 'i64';
4196
+ },
4193
4197
  {
4194
4198
  name: 'padding';
4195
4199
  type: {
4196
- array: ['u8', 32];
4200
+ array: ['u8', 24];
4197
4201
  };
4198
4202
  }
4199
4203
  ];
@@ -175,7 +175,8 @@ const formatClaimVault = (account, address) => {
175
175
  isActive: account.isActive,
176
176
  name: account.name,
177
177
  isFirstComeFirstServed: account.isFirstComeFirstServed,
178
- merkleRoot: account.merkleRoot
178
+ merkleRoot: account.merkleRoot,
179
+ ts: account.ts.toNumber()
179
180
  };
180
181
  };
181
182
  exports.formatClaimVault = formatClaimVault;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "3.2.4-beta",
3
+ "version": "3.2.6-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",