@triadxyz/triad-protocol 2.2.4-beta → 2.2.5-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.
@@ -2694,7 +2694,7 @@
2694
2694
  "type": "u64"
2695
2695
  },
2696
2696
  {
2697
- "name": "timestamp",
2697
+ "name": "ts",
2698
2698
  "type": "i64"
2699
2699
  },
2700
2700
  {
@@ -63,6 +63,7 @@ export type Chest = {
63
63
  isFinished: boolean;
64
64
  lastUser: string;
65
65
  version: number;
66
+ ts: number;
66
67
  };
67
68
  export declare enum WinningDirection {
68
69
  HYPE = "Hype",
@@ -3705,7 +3705,7 @@ export type TriadProtocol = {
3705
3705
  type: 'u64';
3706
3706
  },
3707
3707
  {
3708
- name: 'timestamp';
3708
+ name: 'ts';
3709
3709
  type: 'i64';
3710
3710
  },
3711
3711
  {
@@ -129,7 +129,8 @@ const formatChest = (chest) => {
129
129
  timer: chest.timer.toNumber(),
130
130
  isFinished: chest.isFinished,
131
131
  lastUser: chest.lastUser.toString(),
132
- version: chest.version.toNumber()
132
+ version: chest.version.toNumber(),
133
+ ts: chest.ts.toNumber()
133
134
  };
134
135
  };
135
136
  exports.formatChest = formatChest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "2.2.4-beta",
3
+ "version": "2.2.5-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",