@initia/initia.js 1.0.16 → 1.0.18

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
@@ -45028,53 +45028,68 @@ class Ri extends de {
45028
45028
  * @param signer
45029
45029
  * @param recipient
45030
45030
  * @param channel
45031
+ * @param fallback
45031
45032
  */
45032
- constructor(e, t, r) {
45033
- super(), this.signer = e, this.recipient = t, this.channel = r;
45033
+ constructor(e, t, r, i) {
45034
+ super(), this.signer = e, this.recipient = t, this.channel = r, this.fallback = i;
45034
45035
  }
45035
45036
  static fromAmino(e) {
45036
45037
  const {
45037
- value: { signer: t, recipient: r, channel: i }
45038
+ value: { signer: t, recipient: r, channel: i, fallback: c }
45038
45039
  } = e;
45039
- return new Ri(t, r, i);
45040
+ return new Ri(
45041
+ t,
45042
+ r,
45043
+ i,
45044
+ c
45045
+ );
45040
45046
  }
45041
45047
  toAmino() {
45042
- const { signer: e, recipient: t, channel: r } = this;
45048
+ const { signer: e, recipient: t, channel: r, fallback: i } = this;
45043
45049
  return {
45044
45050
  type: "noble/forwarding/RegisterAccount",
45045
45051
  value: {
45046
45052
  signer: e,
45047
45053
  recipient: t,
45048
- channel: r
45054
+ channel: r,
45055
+ fallback: i
45049
45056
  }
45050
45057
  };
45051
45058
  }
45052
45059
  static fromData(e) {
45053
- const { signer: t, recipient: r, channel: i } = e;
45054
- return new Ri(t, r, i);
45060
+ const { signer: t, recipient: r, channel: i, fallback: c } = e;
45061
+ return new Ri(
45062
+ t,
45063
+ r,
45064
+ i,
45065
+ c
45066
+ );
45055
45067
  }
45056
45068
  toData() {
45057
- const { signer: e, recipient: t, channel: r } = this;
45069
+ const { signer: e, recipient: t, channel: r, fallback: i } = this;
45058
45070
  return {
45059
45071
  "@type": "/noble.forwarding.v1.MsgRegisterAccount",
45060
45072
  signer: e,
45061
45073
  recipient: t,
45062
- channel: r
45074
+ channel: r,
45075
+ fallback: i
45063
45076
  };
45064
45077
  }
45065
45078
  static fromProto(e) {
45066
45079
  return new Ri(
45067
45080
  e.signer,
45068
45081
  e.recipient,
45069
- e.channel
45082
+ e.channel,
45083
+ e.fallback
45070
45084
  );
45071
45085
  }
45072
45086
  toProto() {
45073
- const { signer: e, recipient: t, channel: r } = this;
45087
+ const { signer: e, recipient: t, channel: r, fallback: i } = this;
45074
45088
  return Ws.MsgRegisterAccount.fromPartial({
45075
45089
  signer: e,
45076
45090
  recipient: t,
45077
- channel: r
45091
+ channel: r,
45092
+ fallback: i
45078
45093
  });
45079
45094
  }
45080
45095
  packAny() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@initia/initia.js",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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": {