@firmachain/firma-js 0.2.39 → 0.2.40
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.d.ts +12 -0
- package/dist/index.js +12 -0
- package/dist/sdk/firmachain/authz/index.d.ts +1 -0
- package/dist/sdk/firmachain/authz/index.js +1 -0
- package/dist/sdk/firmachain/feegrant/FeeGrantTxClient.d.ts +4 -4
- package/dist/sdk/firmachain/feegrant/index.d.ts +1 -0
- package/dist/sdk/firmachain/feegrant/index.js +1 -1
- package/dist/sdk/firmachain/nft/NftTxClient.d.ts +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,3 +2,15 @@ export * from './sdk/FirmaSDK';
|
|
|
2
2
|
export * from './sdk/FirmaMobileSDK';
|
|
3
3
|
export * from './sdk/FirmaConfig';
|
|
4
4
|
export * from './sdk/FirmaUtil';
|
|
5
|
+
export * from './sdk/firmachain/authz';
|
|
6
|
+
export * from './sdk/firmachain/bank';
|
|
7
|
+
export * from './sdk/firmachain/contract';
|
|
8
|
+
export * from './sdk/firmachain/cosmwasm';
|
|
9
|
+
export * from './sdk/firmachain/distribution';
|
|
10
|
+
export * from './sdk/firmachain/gov';
|
|
11
|
+
export * from './sdk/firmachain/ibc';
|
|
12
|
+
export * from './sdk/firmachain/slashing';
|
|
13
|
+
export * from './sdk/firmachain/staking';
|
|
14
|
+
export * from './sdk/firmachain/token';
|
|
15
|
+
export * from './sdk/firmachain/nft';
|
|
16
|
+
export * from './sdk/firmachain/feegrant';
|
package/dist/index.js
CHANGED
|
@@ -18,3 +18,15 @@ __exportStar(require("./sdk/FirmaSDK"), exports);
|
|
|
18
18
|
__exportStar(require("./sdk/FirmaMobileSDK"), exports);
|
|
19
19
|
__exportStar(require("./sdk/FirmaConfig"), exports);
|
|
20
20
|
__exportStar(require("./sdk/FirmaUtil"), exports);
|
|
21
|
+
__exportStar(require("./sdk/firmachain/authz"), exports);
|
|
22
|
+
__exportStar(require("./sdk/firmachain/bank"), exports);
|
|
23
|
+
__exportStar(require("./sdk/firmachain/contract"), exports);
|
|
24
|
+
__exportStar(require("./sdk/firmachain/cosmwasm"), exports);
|
|
25
|
+
__exportStar(require("./sdk/firmachain/distribution"), exports);
|
|
26
|
+
__exportStar(require("./sdk/firmachain/gov"), exports);
|
|
27
|
+
__exportStar(require("./sdk/firmachain/ibc"), exports);
|
|
28
|
+
__exportStar(require("./sdk/firmachain/slashing"), exports);
|
|
29
|
+
__exportStar(require("./sdk/firmachain/staking"), exports);
|
|
30
|
+
__exportStar(require("./sdk/firmachain/token"), exports);
|
|
31
|
+
__exportStar(require("./sdk/firmachain/nft"), exports);
|
|
32
|
+
__exportStar(require("./sdk/firmachain/feegrant"), exports);
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AuthzTxClient"), exports);
|
|
18
|
+
__exportStar(require("./AuthzTxTypes"), exports);
|
|
18
19
|
__exportStar(require("./AuthzQueryClient"), exports);
|
|
19
20
|
__exportStar(require("../common"), exports);
|
|
@@ -2,17 +2,17 @@ import { Registry, EncodeObject } from "@cosmjs/proto-signing";
|
|
|
2
2
|
import { MsgGrantAllowance, MsgRevokeAllowance } from "./FeeGrantTxTypes";
|
|
3
3
|
import { ITxClient } from "../common/ITxClient";
|
|
4
4
|
import { FirmaWalletService } from "../../FirmaWalletService";
|
|
5
|
-
export interface
|
|
5
|
+
export interface MsgFeeGrantAllowanceEncodeObject extends EncodeObject {
|
|
6
6
|
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance";
|
|
7
7
|
readonly value: Partial<MsgGrantAllowance>;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface MsgFeeGrantRevokeAllowanceEncodeObject extends EncodeObject {
|
|
10
10
|
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance";
|
|
11
11
|
readonly value: Partial<MsgRevokeAllowance>;
|
|
12
12
|
}
|
|
13
13
|
export declare class FeeGrantTxClient extends ITxClient {
|
|
14
14
|
constructor(wallet: FirmaWalletService, serverUrl: string);
|
|
15
15
|
static getRegistry(): Registry;
|
|
16
|
-
static msgGrantAllowance(data: MsgGrantAllowance):
|
|
17
|
-
static msgRevokeAllowance(data: MsgRevokeAllowance):
|
|
16
|
+
static msgGrantAllowance(data: MsgGrantAllowance): MsgFeeGrantAllowanceEncodeObject;
|
|
17
|
+
static msgRevokeAllowance(data: MsgRevokeAllowance): MsgFeeGrantRevokeAllowanceEncodeObject;
|
|
18
18
|
}
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./FeeGrantTxClient"), exports);
|
|
18
|
-
|
|
18
|
+
__exportStar(require("./FeeGrantQueryClient"), exports);
|
|
19
19
|
__exportStar(require("../common"), exports);
|
|
@@ -2,22 +2,22 @@ import { Registry, EncodeObject } from "@cosmjs/proto-signing";
|
|
|
2
2
|
import { MsgTransfer, MsgMint, MsgBurn } from "./NftTxTypes";
|
|
3
3
|
import { ITxClient } from "../common/ITxClient";
|
|
4
4
|
import { FirmaWalletService } from "../../FirmaWalletService";
|
|
5
|
-
export interface
|
|
5
|
+
export interface MsgNftTransferEncodeObject extends EncodeObject {
|
|
6
6
|
readonly typeUrl: "/firmachain.firmachain.nft.MsgTransfer";
|
|
7
7
|
readonly value: Partial<MsgTransfer>;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface MsgNftMintEncodeObject extends EncodeObject {
|
|
10
10
|
readonly typeUrl: "/firmachain.firmachain.nft.MsgMint";
|
|
11
11
|
readonly value: Partial<MsgMint>;
|
|
12
12
|
}
|
|
13
|
-
export interface
|
|
13
|
+
export interface MsgNftBurnEncodeObject extends EncodeObject {
|
|
14
14
|
readonly typeUrl: "/firmachain.firmachain.nft.MsgBurn";
|
|
15
15
|
readonly value: Partial<MsgBurn>;
|
|
16
16
|
}
|
|
17
17
|
export declare class NftTxClient extends ITxClient {
|
|
18
18
|
constructor(wallet: FirmaWalletService, serverUrl: string);
|
|
19
19
|
static getRegistry(): Registry;
|
|
20
|
-
static msgTransfer(data: MsgTransfer):
|
|
21
|
-
static msgMint(data: MsgMint):
|
|
22
|
-
static msgBurn(data: MsgBurn):
|
|
20
|
+
static msgTransfer(data: MsgTransfer): MsgNftTransferEncodeObject;
|
|
21
|
+
static msgMint(data: MsgMint): MsgNftMintEncodeObject;
|
|
22
|
+
static msgBurn(data: MsgBurn): MsgNftBurnEncodeObject;
|
|
23
23
|
}
|