@firmachain/firma-js 0.2.47 → 0.2.49

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.
Files changed (69) hide show
  1. package/dist/index.js +1 -5
  2. package/dist/sdk/FirmaAuthzService.js +5 -5
  3. package/dist/sdk/FirmaBankService.js +1 -1
  4. package/dist/sdk/FirmaChainService.d.ts +5 -0
  5. package/dist/sdk/FirmaChainService.js +44 -0
  6. package/dist/sdk/FirmaContractService.js +5 -5
  7. package/dist/sdk/FirmaCosmWasmCw20.d.ts +17 -0
  8. package/dist/sdk/FirmaCosmWasmCw20.js +269 -0
  9. package/dist/sdk/FirmaCosmWasmCw721.d.ts +43 -0
  10. package/dist/sdk/FirmaCosmWasmCw721.js +318 -0
  11. package/dist/sdk/FirmaCosmWasmService.js +9 -9
  12. package/dist/sdk/FirmaDistributionService.js +5 -5
  13. package/dist/sdk/FirmaFeeGrantService.js +3 -3
  14. package/dist/sdk/FirmaGovService.js +7 -7
  15. package/dist/sdk/FirmaIbcService.js +1 -1
  16. package/dist/sdk/FirmaNftService.js +5 -5
  17. package/dist/sdk/FirmaSDK.d.ts +5 -1
  18. package/dist/sdk/FirmaSDK.js +7 -1
  19. package/dist/sdk/FirmaStakingService.d.ts +7 -1
  20. package/dist/sdk/FirmaStakingService.js +16 -8
  21. package/dist/sdk/FirmaTokenService.js +4 -4
  22. package/dist/sdk/FirmaUtil.js +16 -20
  23. package/dist/sdk/FirmaWalletService.js +3 -3
  24. package/dist/sdk/firmachain/amino/addresses.js +11 -11
  25. package/dist/sdk/firmachain/amino/aminotypes.js +32 -36
  26. package/dist/sdk/firmachain/amino/encoding.js +26 -30
  27. package/dist/sdk/firmachain/amino/multisig.js +5 -5
  28. package/dist/sdk/firmachain/amino/signature.js +4 -4
  29. package/dist/sdk/firmachain/amino/signdoc.js +1 -1
  30. package/dist/sdk/firmachain/amino/wallet.js +10 -14
  31. package/dist/sdk/firmachain/authz/AuthzQueryClient.js +3 -3
  32. package/dist/sdk/firmachain/authz/index.js +1 -5
  33. package/dist/sdk/firmachain/bank/BankQueryClient.js +4 -4
  34. package/dist/sdk/firmachain/bank/index.js +1 -5
  35. package/dist/sdk/firmachain/common/LedgerSigningStargateClient.js +2 -2
  36. package/dist/sdk/firmachain/common/LedgerWallet.js +10 -14
  37. package/dist/sdk/firmachain/common/accounts.js +2 -2
  38. package/dist/sdk/firmachain/common/index.js +1 -5
  39. package/dist/sdk/firmachain/common/signing.js +5 -9
  40. package/dist/sdk/firmachain/common/signingaminostargateclient.js +16 -16
  41. package/dist/sdk/firmachain/common/signingstargateclient.js +14 -18
  42. package/dist/sdk/firmachain/common/stargateclient.js +6 -6
  43. package/dist/sdk/firmachain/contract/ContractQueryClient.js +2 -2
  44. package/dist/sdk/firmachain/contract/ContractTxTypes.d.ts +4 -4
  45. package/dist/sdk/firmachain/contract/index.js +1 -5
  46. package/dist/sdk/firmachain/cosmwasm/CosmWasmQueryClient.js +8 -8
  47. package/dist/sdk/firmachain/cosmwasm/index.js +1 -5
  48. package/dist/sdk/firmachain/distribution/DistributionQueryClient.js +5 -5
  49. package/dist/sdk/firmachain/distribution/index.js +1 -5
  50. package/dist/sdk/firmachain/feegrant/FeeGrantQueryClient.js +2 -2
  51. package/dist/sdk/firmachain/feegrant/index.js +1 -5
  52. package/dist/sdk/firmachain/google/protobuf/any.d.ts +1 -1
  53. package/dist/sdk/firmachain/google/protobuf/descriptor.d.ts +27 -27
  54. package/dist/sdk/firmachain/google/protobuf/duration.d.ts +1 -1
  55. package/dist/sdk/firmachain/google/protobuf/timestamp.d.ts +1 -1
  56. package/dist/sdk/firmachain/gov/GovQueryClient.js +2 -2
  57. package/dist/sdk/firmachain/gov/index.js +1 -5
  58. package/dist/sdk/firmachain/ibc/IbcQueryClient.js +1 -1
  59. package/dist/sdk/firmachain/ibc/index.js +1 -5
  60. package/dist/sdk/firmachain/mint/index.js +1 -5
  61. package/dist/sdk/firmachain/nft/NftTxTypes.d.ts +6 -6
  62. package/dist/sdk/firmachain/nft/index.js +1 -5
  63. package/dist/sdk/firmachain/slashing/index.js +1 -5
  64. package/dist/sdk/firmachain/staking/StakingQueryClient.d.ts +3 -3
  65. package/dist/sdk/firmachain/staking/StakingQueryClient.js +13 -13
  66. package/dist/sdk/firmachain/staking/index.js +1 -5
  67. package/dist/sdk/firmachain/token/TokenTxTypes.d.ts +8 -8
  68. package/dist/sdk/firmachain/token/index.js +1 -5
  69. package/package.json +24 -24
@@ -66,7 +66,7 @@ var GovQueryClient = /** @class */ (function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
68
  case 0:
69
- path = "/cosmos/gov/v1beta1/proposals/".concat(id, "/tally");
69
+ path = "/cosmos/gov/v1beta1/proposals/" + id + "/tally";
70
70
  return [4 /*yield*/, this.axios.get(path)];
71
71
  case 1:
72
72
  result = _a.sent();
@@ -108,7 +108,7 @@ var GovQueryClient = /** @class */ (function () {
108
108
  return __generator(this, function (_a) {
109
109
  switch (_a.label) {
110
110
  case 0:
111
- path = "/cosmos/gov/v1beta1/proposals/".concat(id);
111
+ path = "/cosmos/gov/v1beta1/proposals/" + id;
112
112
  return [4 /*yield*/, this.axios.get(path)];
113
113
  case 1:
114
114
  result = _a.sent();
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -57,7 +57,7 @@ var IbcQueryClient = /** @class */ (function () {
57
57
  return __generator(this, function (_a) {
58
58
  switch (_a.label) {
59
59
  case 0:
60
- path = "/ibc/core/channel/v1/channels/".concat(sourceChannel, "/ports/").concat(sourcePort, "/client_state");
60
+ path = "/ibc/core/channel/v1/channels/" + sourceChannel + "/ports/" + sourcePort + "/client_state";
61
61
  return [4 /*yield*/, this.axios.get(path)];
62
62
  case 1:
63
63
  result = _a.sent();
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -23,42 +23,42 @@ export interface MsgMintResponse {
23
23
  }
24
24
  export declare const MsgTransfer: {
25
25
  encode(message: MsgTransfer, writer?: Writer): Writer;
26
- decode(input: Reader | Uint8Array, length?: number): MsgTransfer;
26
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgTransfer;
27
27
  fromJSON(object: any): MsgTransfer;
28
28
  toJSON(message: MsgTransfer): unknown;
29
29
  fromPartial(object: DeepPartial<MsgTransfer>): MsgTransfer;
30
30
  };
31
31
  export declare const MsgTransferResponse: {
32
32
  encode(_: MsgTransferResponse, writer?: Writer): Writer;
33
- decode(input: Reader | Uint8Array, length?: number): MsgTransferResponse;
33
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgTransferResponse;
34
34
  fromJSON(_: any): MsgTransferResponse;
35
35
  toJSON(_: MsgTransferResponse): unknown;
36
36
  fromPartial(_: DeepPartial<MsgTransferResponse>): MsgTransferResponse;
37
37
  };
38
38
  export declare const MsgBurn: {
39
39
  encode(message: MsgBurn, writer?: Writer): Writer;
40
- decode(input: Reader | Uint8Array, length?: number): MsgBurn;
40
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgBurn;
41
41
  fromJSON(object: any): MsgBurn;
42
42
  toJSON(message: MsgBurn): unknown;
43
43
  fromPartial(object: DeepPartial<MsgBurn>): MsgBurn;
44
44
  };
45
45
  export declare const MsgBurnResponse: {
46
46
  encode(message: MsgBurnResponse, writer?: Writer): Writer;
47
- decode(input: Reader | Uint8Array, length?: number): MsgBurnResponse;
47
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgBurnResponse;
48
48
  fromJSON(object: any): MsgBurnResponse;
49
49
  toJSON(message: MsgBurnResponse): unknown;
50
50
  fromPartial(object: DeepPartial<MsgBurnResponse>): MsgBurnResponse;
51
51
  };
52
52
  export declare const MsgMint: {
53
53
  encode(message: MsgMint, writer?: Writer): Writer;
54
- decode(input: Reader | Uint8Array, length?: number): MsgMint;
54
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgMint;
55
55
  fromJSON(object: any): MsgMint;
56
56
  toJSON(message: MsgMint): unknown;
57
57
  fromPartial(object: DeepPartial<MsgMint>): MsgMint;
58
58
  };
59
59
  export declare const MsgMintResponse: {
60
60
  encode(message: MsgMintResponse, writer?: Writer): Writer;
61
- decode(input: Reader | Uint8Array, length?: number): MsgMintResponse;
61
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgMintResponse;
62
62
  fromJSON(object: any): MsgMintResponse;
63
63
  toJSON(message: MsgMintResponse): unknown;
64
64
  fromPartial(object: DeepPartial<MsgMintResponse>): MsgMintResponse;
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -51,8 +51,8 @@ export interface DelegationInfo {
51
51
  export interface ValidatorDataType {
52
52
  operator_address: string;
53
53
  consensus_pubkey: {
54
- typeUrl: string;
55
- value: string;
54
+ '@type': string;
55
+ key: string;
56
56
  };
57
57
  jailed: boolean;
58
58
  status: string;
@@ -99,7 +99,7 @@ export declare class StakingQueryClient {
99
99
  queryGetParams(): Promise<ParamsDataType>;
100
100
  queryGetPool(): Promise<PoolDataType>;
101
101
  queryValidator(valoperAddress: string): Promise<ValidatorDataType>;
102
- queryValidators(paginationKey?: string): Promise<{
102
+ queryValidators(status: string, paginationKey?: string): Promise<{
103
103
  dataList: ValidatorDataType[];
104
104
  pagination: Pagination;
105
105
  }>;
@@ -57,7 +57,7 @@ var StakingQueryClient = /** @class */ (function () {
57
57
  return __generator(this, function (_a) {
58
58
  switch (_a.label) {
59
59
  case 0:
60
- path = "/cosmos/staking/v1beta1/validators/".concat(validatorAddress, "/delegations/").concat(address, "/unbonding_delegation");
60
+ path = "/cosmos/staking/v1beta1/validators/" + validatorAddress + "/delegations/" + address + "/unbonding_delegation";
61
61
  return [4 /*yield*/, this.axios.get(path)];
62
62
  case 1:
63
63
  result = _a.sent();
@@ -74,7 +74,7 @@ var StakingQueryClient = /** @class */ (function () {
74
74
  return __generator(this, function (_a) {
75
75
  switch (_a.label) {
76
76
  case 0:
77
- path = "/cosmos/staking/v1beta1/validators/".concat(validatorAddress, "/delegations/").concat(address);
77
+ path = "/cosmos/staking/v1beta1/validators/" + validatorAddress + "/delegations/" + address;
78
78
  return [4 /*yield*/, this.axios.get(path)];
79
79
  case 1:
80
80
  result = _a.sent();
@@ -89,7 +89,7 @@ var StakingQueryClient = /** @class */ (function () {
89
89
  return __generator(this, function (_a) {
90
90
  switch (_a.label) {
91
91
  case 0:
92
- path = "/cosmos/staking/v1beta1/delegators/".concat(address, "/unbonding_delegations");
92
+ path = "/cosmos/staking/v1beta1/delegators/" + address + "/unbonding_delegations";
93
93
  return [4 /*yield*/, this.axios.get(path)];
94
94
  case 1:
95
95
  result = _a.sent();
@@ -104,7 +104,7 @@ var StakingQueryClient = /** @class */ (function () {
104
104
  return __generator(this, function (_a) {
105
105
  switch (_a.label) {
106
106
  case 0:
107
- path = "/cosmos/staking/v1beta1/delegators/".concat(address, "/redelegations");
107
+ path = "/cosmos/staking/v1beta1/delegators/" + address + "/redelegations";
108
108
  return [4 /*yield*/, this.axios.get(path)];
109
109
  case 1:
110
110
  result = _a.sent();
@@ -120,8 +120,8 @@ var StakingQueryClient = /** @class */ (function () {
120
120
  return __generator(this, function (_a) {
121
121
  switch (_a.label) {
122
122
  case 0:
123
- path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress, "/unbonding_delegations");
124
- return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
123
+ path = "/cosmos/staking/v1beta1/validators/" + valoperAddress + "/unbonding_delegations";
124
+ return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey, "pagination.limit": 50 } })];
125
125
  case 1:
126
126
  result = _a.sent();
127
127
  convertPagination = {
@@ -140,8 +140,8 @@ var StakingQueryClient = /** @class */ (function () {
140
140
  return __generator(this, function (_a) {
141
141
  switch (_a.label) {
142
142
  case 0:
143
- path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress, "/delegations");
144
- return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
143
+ path = "/cosmos/staking/v1beta1/validators/" + valoperAddress + "/delegations";
144
+ return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey, "pagination.limit": 50 } })];
145
145
  case 1:
146
146
  result = _a.sent();
147
147
  convertPagination = {
@@ -160,8 +160,8 @@ var StakingQueryClient = /** @class */ (function () {
160
160
  return __generator(this, function (_a) {
161
161
  switch (_a.label) {
162
162
  case 0:
163
- path = "/cosmos/staking/v1beta1/delegations/".concat(address);
164
- return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
163
+ path = "/cosmos/staking/v1beta1/delegations/" + address;
164
+ return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey, "pagination.limit": 50 } })];
165
165
  case 1:
166
166
  result = _a.sent();
167
167
  convertPagination = {
@@ -209,7 +209,7 @@ var StakingQueryClient = /** @class */ (function () {
209
209
  return __generator(this, function (_a) {
210
210
  switch (_a.label) {
211
211
  case 0:
212
- path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress);
212
+ path = "/cosmos/staking/v1beta1/validators/" + valoperAddress;
213
213
  return [4 /*yield*/, this.axios.get(path)];
214
214
  case 1:
215
215
  result = _a.sent();
@@ -218,7 +218,7 @@ var StakingQueryClient = /** @class */ (function () {
218
218
  });
219
219
  });
220
220
  };
221
- StakingQueryClient.prototype.queryValidators = function (paginationKey) {
221
+ StakingQueryClient.prototype.queryValidators = function (status, paginationKey) {
222
222
  if (paginationKey === void 0) { paginationKey = ""; }
223
223
  return __awaiter(this, void 0, void 0, function () {
224
224
  var path, result, convertPagination;
@@ -226,7 +226,7 @@ var StakingQueryClient = /** @class */ (function () {
226
226
  switch (_a.label) {
227
227
  case 0:
228
228
  path = "/cosmos/staking/v1beta1/validators";
229
- return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
229
+ return [4 /*yield*/, this.axios.get(path, { params: { status: status, "pagination.key": paginationKey, "pagination.limit": 50 } })];
230
230
  case 1:
231
231
  result = _a.sent();
232
232
  convertPagination = {
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -36,56 +36,56 @@ export interface MsgUpdateTokenURIResponse {
36
36
  }
37
37
  export declare const MsgCreateToken: {
38
38
  encode(message: MsgCreateToken, writer?: Writer): Writer;
39
- decode(input: Reader | Uint8Array, length?: number): MsgCreateToken;
39
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgCreateToken;
40
40
  fromJSON(object: any): MsgCreateToken;
41
41
  toJSON(message: MsgCreateToken): unknown;
42
42
  fromPartial(object: DeepPartial<MsgCreateToken>): MsgCreateToken;
43
43
  };
44
44
  export declare const MsgCreateTokenResponse: {
45
45
  encode(_: MsgCreateTokenResponse, writer?: Writer): Writer;
46
- decode(input: Reader | Uint8Array, length?: number): MsgCreateTokenResponse;
46
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgCreateTokenResponse;
47
47
  fromJSON(_: any): MsgCreateTokenResponse;
48
48
  toJSON(_: MsgCreateTokenResponse): unknown;
49
49
  fromPartial(_: DeepPartial<MsgCreateTokenResponse>): MsgCreateTokenResponse;
50
50
  };
51
51
  export declare const MsgMint: {
52
52
  encode(message: MsgMint, writer?: Writer): Writer;
53
- decode(input: Reader | Uint8Array, length?: number): MsgMint;
53
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgMint;
54
54
  fromJSON(object: any): MsgMint;
55
55
  toJSON(message: MsgMint): unknown;
56
56
  fromPartial(object: DeepPartial<MsgMint>): MsgMint;
57
57
  };
58
58
  export declare const MsgMintResponse: {
59
59
  encode(_: MsgMintResponse, writer?: Writer): Writer;
60
- decode(input: Reader | Uint8Array, length?: number): MsgMintResponse;
60
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgMintResponse;
61
61
  fromJSON(_: any): MsgMintResponse;
62
62
  toJSON(_: MsgMintResponse): unknown;
63
63
  fromPartial(_: DeepPartial<MsgMintResponse>): MsgMintResponse;
64
64
  };
65
65
  export declare const MsgBurn: {
66
66
  encode(message: MsgBurn, writer?: Writer): Writer;
67
- decode(input: Reader | Uint8Array, length?: number): MsgBurn;
67
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgBurn;
68
68
  fromJSON(object: any): MsgBurn;
69
69
  toJSON(message: MsgBurn): unknown;
70
70
  fromPartial(object: DeepPartial<MsgBurn>): MsgBurn;
71
71
  };
72
72
  export declare const MsgBurnResponse: {
73
73
  encode(_: MsgBurnResponse, writer?: Writer): Writer;
74
- decode(input: Reader | Uint8Array, length?: number): MsgBurnResponse;
74
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgBurnResponse;
75
75
  fromJSON(_: any): MsgBurnResponse;
76
76
  toJSON(_: MsgBurnResponse): unknown;
77
77
  fromPartial(_: DeepPartial<MsgBurnResponse>): MsgBurnResponse;
78
78
  };
79
79
  export declare const MsgUpdateTokenURI: {
80
80
  encode(message: MsgUpdateTokenURI, writer?: Writer): Writer;
81
- decode(input: Reader | Uint8Array, length?: number): MsgUpdateTokenURI;
81
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgUpdateTokenURI;
82
82
  fromJSON(object: any): MsgUpdateTokenURI;
83
83
  toJSON(message: MsgUpdateTokenURI): unknown;
84
84
  fromPartial(object: DeepPartial<MsgUpdateTokenURI>): MsgUpdateTokenURI;
85
85
  };
86
86
  export declare const MsgUpdateTokenURIResponse: {
87
87
  encode(_: MsgUpdateTokenURIResponse, writer?: Writer): Writer;
88
- decode(input: Reader | Uint8Array, length?: number): MsgUpdateTokenURIResponse;
88
+ decode(input: Reader | Uint8Array, length?: number | undefined): MsgUpdateTokenURIResponse;
89
89
  fromJSON(_: any): MsgUpdateTokenURIResponse;
90
90
  toJSON(_: MsgUpdateTokenURIResponse): unknown;
91
91
  fromPartial(_: DeepPartial<MsgUpdateTokenURIResponse>): MsgUpdateTokenURIResponse;
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmachain/firma-js",
3
- "version": "0.2.47",
3
+ "version": "0.2.49",
4
4
  "description": "The Official FirmaChain Javascript SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -31,30 +31,30 @@
31
31
  },
32
32
  "homepage": "https://firmachain.org",
33
33
  "dependencies": {
34
- "@cosmjs/amino": "^0.26.0",
35
- "@cosmjs/launchpad": "^0.25.6",
36
- "@cosmjs/math": "^0.26.0",
37
- "@cosmjs/proto-signing": "^0.25.6",
38
- "@cosmjs/tendermint-rpc": "^0.26.0",
39
- "@tharsis/address-converter": "^0.1.8",
40
- "@types/pako": "^2.0.0",
41
- "axios": "^0.27.2",
42
- "big-number": "^2.0.0",
43
- "cosmjs-types": "^0.2.0",
44
- "crypto-js": "^4.1.1",
45
- "form-data": "^4.0.0",
46
- "pako": "^2.0.2",
47
- "protobufjs": "^6.10.2",
48
- "readline-sync": "^1.4.10"
34
+ "@cosmjs/amino": "0.26.0",
35
+ "@cosmjs/launchpad": "0.25.6",
36
+ "@cosmjs/math": "0.26.0",
37
+ "@cosmjs/proto-signing": "0.25.6",
38
+ "@cosmjs/tendermint-rpc": "0.26.0",
39
+ "@tharsis/address-converter": "0.1.8",
40
+ "@types/pako": "2.0.0",
41
+ "axios": "0.27.2",
42
+ "big-number": "2.0.0",
43
+ "cosmjs-types": "0.2.0",
44
+ "crypto-js": "4.1.1",
45
+ "form-data": "4.0.0",
46
+ "pako": "2.0.2",
47
+ "protobufjs": "6.10.2",
48
+ "readline-sync": "1.4.10"
49
49
  },
50
50
  "devDependencies": {
51
- "@types/chai": "^4.2.21",
52
- "@types/mocha": "^9.0.0",
53
- "@types/node": "^16.4.3",
54
- "chai": "^4.3.4",
55
- "mocha": "^9.1.1",
56
- "nodemon": "^2.0.12",
57
- "ts-node": "^10.2.1",
58
- "typescript": "^4.3.5"
51
+ "@types/chai": "4.2.21",
52
+ "@types/mocha": "9.0.0",
53
+ "@types/node": "16.4.3",
54
+ "chai": "4.3.4",
55
+ "mocha": "9.1.1",
56
+ "nodemon": "2.0.12",
57
+ "ts-node": "10.2.1",
58
+ "typescript": "4.3.5"
59
59
  }
60
60
  }