@initia/initia.js 1.0.7 → 1.0.8

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
@@ -94314,6 +94314,7 @@ class SignDoc extends JSONSerializable {
94314
94314
  return txExports$u.SignDoc.encode(this.toProto()).finish();
94315
94315
  }
94316
94316
  }
94317
+ const SignMode = signingExports.SignMode;
94317
94318
  var abciExports = requireAbci();
94318
94319
  class TxInfo {
94319
94320
  /**
@@ -95081,7 +95082,7 @@ class IbcAPI extends BaseAPI {
95081
95082
  */
95082
95083
  async consensusStates(t, n = {}, r = {}) {
95083
95084
  return this.c.get(`/ibc/core/client/v1/consensus_states/${t}`, n, r).then((i) => [
95084
- ClientConsensusStates.fromData(i.consensus_states),
95085
+ i.consensus_states.map(ConsensusStateWithHeight.fromData),
95085
95086
  i.pagination
95086
95087
  ]);
95087
95088
  }
@@ -98050,6 +98051,7 @@ export {
98050
98051
  SendAuthorization,
98051
98052
  SendEnabled,
98052
98053
  SignDoc,
98054
+ SignMode,
98053
98055
  SignatureV2,
98054
98056
  SignerInfo,
98055
98057
  SimplePublicKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@initia/initia.js",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "The JavaScript SDK for Initia",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Initia Foundation",