@initia/initia.js 1.0.14 → 1.0.15
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/core/ibc/core/channel/Upgrade.d.ts +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +14 -9
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -65717,9 +65717,10 @@ class Ss extends de {
|
|
|
65717
65717
|
/**
|
|
65718
65718
|
* @param fields the upgrade fields
|
|
65719
65719
|
* @param timeout the timeout for the upgrade
|
|
65720
|
+
* @param next_sequence_send the next sequence send
|
|
65720
65721
|
*/
|
|
65721
|
-
constructor(e, t) {
|
|
65722
|
-
super(), this.fields = e, this.timeout = t;
|
|
65722
|
+
constructor(e, t, r) {
|
|
65723
|
+
super(), this.fields = e, this.timeout = t, this.next_sequence_send = r;
|
|
65723
65724
|
}
|
|
65724
65725
|
static fromAmino(e) {
|
|
65725
65726
|
throw new Error("Amino not supported");
|
|
@@ -65728,30 +65729,34 @@ class Ss extends de {
|
|
|
65728
65729
|
throw new Error("Amino not supported");
|
|
65729
65730
|
}
|
|
65730
65731
|
static fromData(e) {
|
|
65731
|
-
const { fields: t, timeout: r } = e;
|
|
65732
|
+
const { fields: t, timeout: r, next_sequence_send: i } = e;
|
|
65732
65733
|
return new Ss(
|
|
65733
65734
|
t ? Pr.fromData(t) : void 0,
|
|
65734
|
-
r ? gr.fromData(r) : void 0
|
|
65735
|
+
r ? gr.fromData(r) : void 0,
|
|
65736
|
+
parseInt(i)
|
|
65735
65737
|
);
|
|
65736
65738
|
}
|
|
65737
65739
|
toData() {
|
|
65738
|
-
const { fields: e, timeout: t } = this;
|
|
65740
|
+
const { fields: e, timeout: t, next_sequence_send: r } = this;
|
|
65739
65741
|
return {
|
|
65740
65742
|
fields: e == null ? void 0 : e.toData(),
|
|
65741
|
-
timeout: t == null ? void 0 : t.toData()
|
|
65743
|
+
timeout: t == null ? void 0 : t.toData(),
|
|
65744
|
+
next_sequence_send: r.toFixed()
|
|
65742
65745
|
};
|
|
65743
65746
|
}
|
|
65744
65747
|
static fromProto(e) {
|
|
65745
65748
|
return new Ss(
|
|
65746
65749
|
e.fields ? Pr.fromProto(e.fields) : void 0,
|
|
65747
|
-
e.timeout ? gr.fromProto(e.timeout) : void 0
|
|
65750
|
+
e.timeout ? gr.fromProto(e.timeout) : void 0,
|
|
65751
|
+
Number(e.nextSequenceSend)
|
|
65748
65752
|
);
|
|
65749
65753
|
}
|
|
65750
65754
|
toProto() {
|
|
65751
|
-
const { fields: e, timeout: t } = this;
|
|
65755
|
+
const { fields: e, timeout: t, next_sequence_send: r } = this;
|
|
65752
65756
|
return jh.Upgrade.fromPartial({
|
|
65753
65757
|
fields: e == null ? void 0 : e.toProto(),
|
|
65754
|
-
timeout: t == null ? void 0 : t.toProto()
|
|
65758
|
+
timeout: t == null ? void 0 : t.toProto(),
|
|
65759
|
+
nextSequenceSend: BigInt(r)
|
|
65755
65760
|
});
|
|
65756
65761
|
}
|
|
65757
65762
|
}
|