@initia/initia.js 1.0.15 → 1.0.17

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/index.mjs CHANGED
@@ -65333,30 +65333,30 @@ class gr extends de {
65333
65333
  }
65334
65334
  static fromAmino(e) {
65335
65335
  const { height: t, timestamp: r } = e;
65336
- return new gr(be.fromAmino(t), parseInt(r));
65336
+ return new gr(be.fromAmino(t), r);
65337
65337
  }
65338
65338
  toAmino() {
65339
65339
  const { height: e, timestamp: t } = this;
65340
65340
  return {
65341
65341
  height: e.toAmino(),
65342
- timestamp: t.toFixed()
65342
+ timestamp: t
65343
65343
  };
65344
65344
  }
65345
65345
  static fromData(e) {
65346
65346
  const { height: t, timestamp: r } = e;
65347
- return new gr(be.fromData(t), parseInt(r));
65347
+ return new gr(be.fromData(t), r);
65348
65348
  }
65349
65349
  toData() {
65350
65350
  const { height: e, timestamp: t } = this;
65351
65351
  return {
65352
65352
  height: e.toData(),
65353
- timestamp: t.toFixed()
65353
+ timestamp: t
65354
65354
  };
65355
65355
  }
65356
65356
  static fromProto(e) {
65357
65357
  return new gr(
65358
65358
  be.fromProto(e.height),
65359
- Number(e.timestamp)
65359
+ e.timestamp.toString()
65360
65360
  );
65361
65361
  }
65362
65362
  toProto() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@initia/initia.js",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "The JavaScript SDK for Initia",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Initia Foundation",
@@ -61,7 +61,7 @@
61
61
  "@initia/initia.proto": "^1.0.3",
62
62
  "@initia/opinit.proto": "^1.0.2",
63
63
  "@ledgerhq/hw-app-eth": "^6.45.5",
64
- "@ledgerhq/hw-transport": "^6.31.5",
64
+ "@ledgerhq/hw-transport": "^6.31.10",
65
65
  "@ledgerhq/hw-transport-node-hid": "^6.29.6",
66
66
  "@ledgerhq/hw-transport-webhid": "^6.29.4",
67
67
  "@ledgerhq/hw-transport-webusb": "^6.29.4",
@@ -80,6 +80,7 @@
80
80
  "ws": "^8.18.0"
81
81
  },
82
82
  "overrides": {
83
+ "@ledgerhq/hw-transport": "^6.31.10",
83
84
  "axios": "^1.9.0"
84
85
  },
85
86
  "lint-staged": {