@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.
package/dist/types/index.d.ts
CHANGED
|
@@ -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',
|
|
4200
|
+
array: ['u8', 24];
|
|
4197
4201
|
};
|
|
4198
4202
|
}
|
|
4199
4203
|
];
|
package/dist/utils/helpers.js
CHANGED
|
@@ -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;
|