@initia/initia.js 1.0.15 → 1.0.16
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),
|
|
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
|
|
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),
|
|
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
|
|
65353
|
+
timestamp: t
|
|
65354
65354
|
};
|
|
65355
65355
|
}
|
|
65356
65356
|
static fromProto(e) {
|
|
65357
65357
|
return new gr(
|
|
65358
65358
|
be.fromProto(e.height),
|
|
65359
|
-
|
|
65359
|
+
e.timestamp.toString()
|
|
65360
65360
|
);
|
|
65361
65361
|
}
|
|
65362
65362
|
toProto() {
|