@firmachain/firma-js 0.2.32 → 0.2.35
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.js +5 -1
- package/dist/sdk/FirmaAuthzService.js +20 -20
- package/dist/sdk/FirmaBankService.js +2 -2
- package/dist/sdk/FirmaContractService.js +14 -16
- package/dist/sdk/FirmaCosmWasmService.js +27 -29
- package/dist/sdk/FirmaDistributionService.js +10 -10
- package/dist/sdk/FirmaFeeGrantService.js +6 -6
- package/dist/sdk/FirmaGovService.js +26 -26
- package/dist/sdk/FirmaIbcService.js +4 -4
- package/dist/sdk/FirmaIpfsService.js +1 -1
- package/dist/sdk/FirmaNftService.js +9 -9
- package/dist/sdk/FirmaStakingService.js +10 -10
- package/dist/sdk/FirmaTokenService.js +16 -16
- package/dist/sdk/FirmaUtil.d.ts +13 -1
- package/dist/sdk/FirmaUtil.js +145 -14
- package/dist/sdk/FirmaWalletService.js +3 -3
- package/dist/sdk/firmachain/amino/addresses.js +11 -11
- package/dist/sdk/firmachain/amino/aminotypes.js +36 -32
- package/dist/sdk/firmachain/amino/encoding.js +30 -26
- package/dist/sdk/firmachain/amino/multisig.js +5 -5
- package/dist/sdk/firmachain/amino/signature.js +4 -4
- package/dist/sdk/firmachain/amino/signdoc.js +1 -1
- package/dist/sdk/firmachain/amino/wallet.js +14 -10
- package/dist/sdk/firmachain/authz/AuthzQueryClient.js +3 -3
- package/dist/sdk/firmachain/authz/AuthzTxClient.d.ts +5 -4
- package/dist/sdk/firmachain/authz/AuthzTxClient.js +6 -3
- package/dist/sdk/firmachain/authz/index.js +5 -1
- package/dist/sdk/firmachain/bank/BankQueryClient.js +4 -4
- package/dist/sdk/firmachain/bank/BankTxClient.d.ts +4 -3
- package/dist/sdk/firmachain/bank/BankTxClient.js +5 -2
- package/dist/sdk/firmachain/bank/index.js +5 -1
- package/dist/sdk/firmachain/common/CommonTxClient.d.ts +7 -0
- package/dist/sdk/firmachain/common/CommonTxClient.js +79 -0
- package/dist/sdk/firmachain/common/ITxClient.d.ts +3 -3
- package/dist/sdk/firmachain/common/ITxClient.js +14 -8
- package/dist/sdk/firmachain/common/LedgerSigningStargateClient.js +2 -2
- package/dist/sdk/firmachain/common/LedgerWallet.js +14 -10
- package/dist/sdk/firmachain/common/accounts.js +2 -2
- package/dist/sdk/firmachain/common/index.js +5 -1
- package/dist/sdk/firmachain/common/signing.js +9 -5
- package/dist/sdk/firmachain/common/signingaminostargateclient.js +16 -16
- package/dist/sdk/firmachain/common/signingstargateclient.d.ts +15 -8
- package/dist/sdk/firmachain/common/signingstargateclient.js +82 -19
- package/dist/sdk/firmachain/common/stargateclient.js +6 -6
- package/dist/sdk/firmachain/contract/ContractQueryClient.js +2 -2
- package/dist/sdk/firmachain/contract/ContractTxClient.d.ts +4 -3
- package/dist/sdk/firmachain/contract/ContractTxClient.js +5 -2
- package/dist/sdk/firmachain/contract/ContractTxTypes.d.ts +4 -4
- package/dist/sdk/firmachain/contract/index.js +5 -1
- package/dist/sdk/firmachain/cosmwasm/CosmWasmQueryClient.js +7 -7
- package/dist/sdk/firmachain/cosmwasm/CosmWasmTxClient.d.ts +8 -7
- package/dist/sdk/firmachain/cosmwasm/CosmWasmTxClient.js +9 -6
- package/dist/sdk/firmachain/cosmwasm/index.js +5 -1
- package/dist/sdk/firmachain/distribution/DistributionQueryClient.js +5 -5
- package/dist/sdk/firmachain/distribution/DistributionTxClient.d.ts +6 -5
- package/dist/sdk/firmachain/distribution/DistributionTxClient.js +7 -4
- package/dist/sdk/firmachain/distribution/index.js +5 -1
- package/dist/sdk/firmachain/feegrant/FeeGrantQueryClient.js +2 -2
- package/dist/sdk/firmachain/feegrant/FeeGrantTxClient.d.ts +4 -3
- package/dist/sdk/firmachain/feegrant/FeeGrantTxClient.js +5 -2
- package/dist/sdk/firmachain/feegrant/index.js +5 -1
- package/dist/sdk/firmachain/google/protobuf/any.d.ts +1 -1
- package/dist/sdk/firmachain/google/protobuf/descriptor.d.ts +27 -27
- package/dist/sdk/firmachain/google/protobuf/duration.d.ts +1 -1
- package/dist/sdk/firmachain/google/protobuf/timestamp.d.ts +1 -1
- package/dist/sdk/firmachain/gov/GovQueryClient.js +2 -2
- package/dist/sdk/firmachain/gov/GovTxClient.d.ts +5 -4
- package/dist/sdk/firmachain/gov/GovTxClient.js +6 -3
- package/dist/sdk/firmachain/gov/index.js +5 -1
- package/dist/sdk/firmachain/ibc/IbcQueryClient.js +1 -1
- package/dist/sdk/firmachain/ibc/IbcTxClient.d.ts +3 -2
- package/dist/sdk/firmachain/ibc/IbcTxClient.js +4 -1
- package/dist/sdk/firmachain/ibc/index.js +5 -1
- package/dist/sdk/firmachain/nft/NftTxClient.d.ts +5 -4
- package/dist/sdk/firmachain/nft/NftTxClient.js +6 -3
- package/dist/sdk/firmachain/nft/NftTxTypes.d.ts +6 -6
- package/dist/sdk/firmachain/nft/index.js +5 -1
- package/dist/sdk/firmachain/slashing/index.js +5 -1
- package/dist/sdk/firmachain/staking/StakingQueryClient.js +8 -8
- package/dist/sdk/firmachain/staking/StakingTxClient.d.ts +7 -6
- package/dist/sdk/firmachain/staking/StakingTxClient.js +8 -5
- package/dist/sdk/firmachain/staking/index.js +5 -1
- package/dist/sdk/firmachain/token/TokenTxClient.d.ts +6 -5
- package/dist/sdk/firmachain/token/TokenTxClient.js +7 -4
- package/dist/sdk/firmachain/token/TokenTxTypes.d.ts +8 -8
- package/dist/sdk/firmachain/token/index.js +5 -1
- package/package.json +2 -4
|
@@ -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
|
|
26
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
33
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
40
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
47
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
54
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
61
|
+
decode(input: Reader | Uint8Array, length?: number): MsgMintResponse;
|
|
62
62
|
fromJSON(object: any): MsgMintResponse;
|
|
63
63
|
toJSON(message: MsgMintResponse): unknown;
|
|
64
64
|
fromPartial(object: DeepPartial<MsgMintResponse>): MsgMintResponse;
|
|
@@ -1,7 +1,11 @@
|
|
|
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
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,7 +1,11 @@
|
|
|
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
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -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/"
|
|
60
|
+
path = "/cosmos/staking/v1beta1/validators/".concat(validatorAddress, "/delegations/").concat(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/"
|
|
77
|
+
path = "/cosmos/staking/v1beta1/validators/".concat(validatorAddress, "/delegations/").concat(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/"
|
|
92
|
+
path = "/cosmos/staking/v1beta1/delegators/".concat(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/"
|
|
107
|
+
path = "/cosmos/staking/v1beta1/delegators/".concat(address, "/redelegations");
|
|
108
108
|
return [4 /*yield*/, this.axios.get(path)];
|
|
109
109
|
case 1:
|
|
110
110
|
result = _a.sent();
|
|
@@ -120,7 +120,7 @@ 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/"
|
|
123
|
+
path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress, "/unbonding_delegations");
|
|
124
124
|
return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
|
|
125
125
|
case 1:
|
|
126
126
|
result = _a.sent();
|
|
@@ -140,7 +140,7 @@ 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/"
|
|
143
|
+
path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress, "/delegations");
|
|
144
144
|
return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
|
|
145
145
|
case 1:
|
|
146
146
|
result = _a.sent();
|
|
@@ -160,7 +160,7 @@ 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/"
|
|
163
|
+
path = "/cosmos/staking/v1beta1/delegations/".concat(address);
|
|
164
164
|
return [4 /*yield*/, this.axios.get(path, { params: { "pagination.key": paginationKey } })];
|
|
165
165
|
case 1:
|
|
166
166
|
result = _a.sent();
|
|
@@ -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/"
|
|
212
|
+
path = "/cosmos/staking/v1beta1/validators/".concat(valoperAddress);
|
|
213
213
|
return [4 /*yield*/, this.axios.get(path)];
|
|
214
214
|
case 1:
|
|
215
215
|
result = _a.sent();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EncodeObject } from "@cosmjs/proto-signing";
|
|
1
|
+
import { Registry, EncodeObject } from "@cosmjs/proto-signing";
|
|
2
2
|
import { MsgBeginRedelegate, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
|
|
3
3
|
import { FirmaWalletService } from "../../FirmaWalletService";
|
|
4
4
|
import { ITxClient } from "../common/ITxClient";
|
|
@@ -24,9 +24,10 @@ export interface MsgCreateValidatorEncodeObject extends EncodeObject {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class StakingTxClient extends ITxClient {
|
|
26
26
|
constructor(wallet: FirmaWalletService, serverUrl: string);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
static getRegistry(): Registry;
|
|
28
|
+
static msgDelegate(data: MsgDelegate): MsgDelegateEncodeObject;
|
|
29
|
+
static msgUndelegate(data: MsgUndelegate): MsgUndelegateEncodeObject;
|
|
30
|
+
static msgRedelegate(data: MsgBeginRedelegate): MsgRedelegateEncodeObject;
|
|
31
|
+
static msgEditValidator(data: MsgEditValidator): MsgEditValidatorEncodeObject;
|
|
32
|
+
static msgCreateValidator(data: MsgCreateValidator): MsgCreateValidatorEncodeObject;
|
|
32
33
|
}
|
|
@@ -32,19 +32,22 @@ var StakingTxClient = /** @class */ (function (_super) {
|
|
|
32
32
|
function StakingTxClient(wallet, serverUrl) {
|
|
33
33
|
return _super.call(this, wallet, serverUrl, registry) || this;
|
|
34
34
|
}
|
|
35
|
-
StakingTxClient.
|
|
35
|
+
StakingTxClient.getRegistry = function () {
|
|
36
|
+
return registry;
|
|
37
|
+
};
|
|
38
|
+
StakingTxClient.msgDelegate = function (data) {
|
|
36
39
|
return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: data };
|
|
37
40
|
};
|
|
38
|
-
StakingTxClient.
|
|
41
|
+
StakingTxClient.msgUndelegate = function (data) {
|
|
39
42
|
return { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", value: data };
|
|
40
43
|
};
|
|
41
|
-
StakingTxClient.
|
|
44
|
+
StakingTxClient.msgRedelegate = function (data) {
|
|
42
45
|
return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: data };
|
|
43
46
|
};
|
|
44
|
-
StakingTxClient.
|
|
47
|
+
StakingTxClient.msgEditValidator = function (data) {
|
|
45
48
|
return { typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", value: data };
|
|
46
49
|
};
|
|
47
|
-
StakingTxClient.
|
|
50
|
+
StakingTxClient.msgCreateValidator = function (data) {
|
|
48
51
|
return { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", value: data };
|
|
49
52
|
};
|
|
50
53
|
return StakingTxClient;
|
|
@@ -1,7 +1,11 @@
|
|
|
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
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EncodeObject } from "@cosmjs/proto-signing";
|
|
1
|
+
import { Registry, EncodeObject } from "@cosmjs/proto-signing";
|
|
2
2
|
import { MsgUpdateTokenURI, MsgMint, MsgBurn, MsgCreateToken } from "./TokenTxTypes";
|
|
3
3
|
import { ITxClient } from "../common/ITxClient";
|
|
4
4
|
import { FirmaWalletService } from "../../FirmaWalletService";
|
|
@@ -20,8 +20,9 @@ export interface MsgBurnEncodeObject extends EncodeObject {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class TokenTxClient extends ITxClient {
|
|
22
22
|
constructor(wallet: FirmaWalletService, serverUrl: string);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
static getRegistry(): Registry;
|
|
24
|
+
static msgCreateToken(data: MsgCreateToken): MsgCreateTokenEncodeObject;
|
|
25
|
+
static msgUpdateTokenURI(data: MsgUpdateTokenURI): MsgUpdateTokenURIEncodeObject;
|
|
26
|
+
static msgMint(data: MsgMint): MsgMintEncodeObject;
|
|
27
|
+
static msgBurn(data: MsgBurn): MsgBurnEncodeObject;
|
|
27
28
|
}
|
|
@@ -31,16 +31,19 @@ var TokenTxClient = /** @class */ (function (_super) {
|
|
|
31
31
|
function TokenTxClient(wallet, serverUrl) {
|
|
32
32
|
return _super.call(this, wallet, serverUrl, registry) || this;
|
|
33
33
|
}
|
|
34
|
-
TokenTxClient.
|
|
34
|
+
TokenTxClient.getRegistry = function () {
|
|
35
|
+
return registry;
|
|
36
|
+
};
|
|
37
|
+
TokenTxClient.msgCreateToken = function (data) {
|
|
35
38
|
return { typeUrl: "/firmachain.firmachain.token.MsgCreateToken", value: data };
|
|
36
39
|
};
|
|
37
|
-
TokenTxClient.
|
|
40
|
+
TokenTxClient.msgUpdateTokenURI = function (data) {
|
|
38
41
|
return { typeUrl: "/firmachain.firmachain.token.MsgUpdateTokenURI", value: data };
|
|
39
42
|
};
|
|
40
|
-
TokenTxClient.
|
|
43
|
+
TokenTxClient.msgMint = function (data) {
|
|
41
44
|
return { typeUrl: "/firmachain.firmachain.token.MsgMint", value: data };
|
|
42
45
|
};
|
|
43
|
-
TokenTxClient.
|
|
46
|
+
TokenTxClient.msgBurn = function (data) {
|
|
44
47
|
return { typeUrl: "/firmachain.firmachain.token.MsgBurn", value: data };
|
|
45
48
|
};
|
|
46
49
|
return TokenTxClient;
|
|
@@ -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
|
|
39
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
46
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
53
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
60
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
67
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
74
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
81
|
+
decode(input: Reader | Uint8Array, length?: number): 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
|
|
88
|
+
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTokenURIResponse;
|
|
89
89
|
fromJSON(_: any): MsgUpdateTokenURIResponse;
|
|
90
90
|
toJSON(_: MsgUpdateTokenURIResponse): unknown;
|
|
91
91
|
fromPartial(_: DeepPartial<MsgUpdateTokenURIResponse>): MsgUpdateTokenURIResponse;
|
|
@@ -1,7 +1,11 @@
|
|
|
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
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firmachain/firma-js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"description": "The Official FirmaChain Javascript SDK written in Typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -36,14 +36,12 @@
|
|
|
36
36
|
"@cosmjs/math": "^0.26.0",
|
|
37
37
|
"@cosmjs/proto-signing": "^0.25.6",
|
|
38
38
|
"@cosmjs/tendermint-rpc": "^0.26.0",
|
|
39
|
-
"@types/pako": "^2.0.0",
|
|
40
39
|
"axios": "^0.21.4",
|
|
41
40
|
"cosmjs-types": "^0.2.0",
|
|
42
41
|
"crypto-js": "^4.1.1",
|
|
43
42
|
"ipfs-http-client": "^52.0.5",
|
|
44
43
|
"protobufjs": "^6.10.2",
|
|
45
|
-
"readline-sync": "^1.4.10"
|
|
46
|
-
"pako": "^2.0.2"
|
|
44
|
+
"readline-sync": "^1.4.10"
|
|
47
45
|
},
|
|
48
46
|
"devDependencies": {
|
|
49
47
|
"@types/chai": "^4.2.21",
|