@keplr-wallet/cosmos 0.10.4 → 0.10.6
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.
|
@@ -14,7 +14,10 @@ exports.defaultProtoCodec = exports.ProtoCodec = void 0;
|
|
|
14
14
|
const tx_1 = require("@keplr-wallet/proto-types/cosmos/bank/v1beta1/tx");
|
|
15
15
|
const tx_2 = require("@keplr-wallet/proto-types/cosmos/staking/v1beta1/tx");
|
|
16
16
|
const tx_3 = require("@keplr-wallet/proto-types/cosmos/authz/v1beta1/tx");
|
|
17
|
-
const tx_4 = require("@keplr-wallet/proto-types/
|
|
17
|
+
const tx_4 = require("@keplr-wallet/proto-types/cosmos/gov/v1beta1/tx");
|
|
18
|
+
const tx_5 = require("@keplr-wallet/proto-types/cosmos/distribution/v1beta1/tx");
|
|
19
|
+
const tx_6 = require("@keplr-wallet/proto-types/cosmwasm/wasm/v1/tx");
|
|
20
|
+
const tx_7 = require("@keplr-wallet/proto-types/ibc/applications/transfer/v1/tx");
|
|
18
21
|
const unknown_1 = require("./unknown");
|
|
19
22
|
__exportStar(require("./unknown"), exports);
|
|
20
23
|
class ProtoCodec {
|
|
@@ -46,7 +49,11 @@ exports.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend", tx_1.MsgSe
|
|
|
46
49
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate", tx_2.MsgDelegate);
|
|
47
50
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate", tx_2.MsgUndelegate);
|
|
48
51
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate", tx_2.MsgBeginRedelegate);
|
|
49
|
-
exports.defaultProtoCodec.registerAny("/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
52
|
+
exports.defaultProtoCodec.registerAny("/cosmwasm.wasm.v1.MsgExecuteContract", tx_6.MsgExecuteContract);
|
|
53
|
+
exports.defaultProtoCodec.registerAny("/cosmwasm.wasm.v1.MsgInstantiateContract", tx_6.MsgInstantiateContract);
|
|
54
|
+
exports.defaultProtoCodec.registerAny("/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", tx_5.MsgWithdrawDelegatorReward);
|
|
55
|
+
exports.defaultProtoCodec.registerAny("/ibc.applications.transfer.v1.MsgTransfer", tx_7.MsgTransfer);
|
|
56
|
+
exports.defaultProtoCodec.registerAny("/cosmos.gov.v1beta1.MsgVote", tx_4.MsgVote);
|
|
50
57
|
exports.defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgGrant", tx_3.MsgGrant);
|
|
51
58
|
exports.defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgRevoke", tx_3.MsgRevoke);
|
|
52
59
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/stargate/codec/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,yEAA2E;AAC3E,4EAI6D;AAC7D,0EAG2D;AAC3D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/stargate/codec/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,yEAA2E;AAC3E,4EAI6D;AAC7D,0EAG2D;AAC3D,wEAA0E;AAC1E,iFAAsG;AACtG,sEAGuD;AACvD,kFAAwF;AACxF,uCAA2C;AAE3C,4CAA0B;AAa1B,MAAa,UAAU;IAAvB;QACY,eAAU,GAA8B,IAAI,GAAG,EAAE,CAAC;IA0B9D,CAAC;IAxBC;;;;OAIG;IACH,SAAS,CAAC,GAAQ;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;YACrC,OAAO,IAAI,wBAAc,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;SACnD;QAED,oEAAoE;QACpE,MAAM,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",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.6",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"author": "chainapsis",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@cosmjs/launchpad": "^0.24.0-alpha.25",
|
|
21
|
-
"@keplr-wallet/crypto": "0.10.
|
|
22
|
-
"@keplr-wallet/proto-types": "0.10.
|
|
23
|
-
"@keplr-wallet/types": "0.10.
|
|
24
|
-
"@keplr-wallet/unit": "0.10.
|
|
21
|
+
"@keplr-wallet/crypto": "0.10.6",
|
|
22
|
+
"@keplr-wallet/proto-types": "0.10.6",
|
|
23
|
+
"@keplr-wallet/types": "0.10.6",
|
|
24
|
+
"@keplr-wallet/unit": "0.10.6",
|
|
25
25
|
"axios": "^0.21.4",
|
|
26
26
|
"bech32": "^1.1.4",
|
|
27
27
|
"buffer": "^6.0.3",
|
|
28
28
|
"long": "^4.0.0",
|
|
29
29
|
"protobufjs": "^6.11.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "bf05d58b07bf2079bf842ffb197ac3dbf43469fb"
|
|
32
32
|
}
|
|
@@ -10,7 +10,13 @@ import {
|
|
|
10
10
|
MsgGrant,
|
|
11
11
|
MsgRevoke,
|
|
12
12
|
} from "@keplr-wallet/proto-types/cosmos/authz/v1beta1/tx";
|
|
13
|
-
import {
|
|
13
|
+
import { MsgVote } from "@keplr-wallet/proto-types/cosmos/gov/v1beta1/tx";
|
|
14
|
+
import { MsgWithdrawDelegatorReward } from "@keplr-wallet/proto-types/cosmos/distribution/v1beta1/tx";
|
|
15
|
+
import {
|
|
16
|
+
MsgExecuteContract,
|
|
17
|
+
MsgInstantiateContract,
|
|
18
|
+
} from "@keplr-wallet/proto-types/cosmwasm/wasm/v1/tx";
|
|
19
|
+
import { MsgTransfer } from "@keplr-wallet/proto-types/ibc/applications/transfer/v1/tx";
|
|
14
20
|
import { UnknownMessage } from "./unknown";
|
|
15
21
|
|
|
16
22
|
export * from "./unknown";
|
|
@@ -73,5 +79,18 @@ defaultProtoCodec.registerAny(
|
|
|
73
79
|
"/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
74
80
|
MsgExecuteContract
|
|
75
81
|
);
|
|
82
|
+
defaultProtoCodec.registerAny(
|
|
83
|
+
"/cosmwasm.wasm.v1.MsgInstantiateContract",
|
|
84
|
+
MsgInstantiateContract
|
|
85
|
+
);
|
|
86
|
+
defaultProtoCodec.registerAny(
|
|
87
|
+
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
88
|
+
MsgWithdrawDelegatorReward
|
|
89
|
+
);
|
|
90
|
+
defaultProtoCodec.registerAny(
|
|
91
|
+
"/ibc.applications.transfer.v1.MsgTransfer",
|
|
92
|
+
MsgTransfer
|
|
93
|
+
);
|
|
94
|
+
defaultProtoCodec.registerAny("/cosmos.gov.v1beta1.MsgVote", MsgVote);
|
|
76
95
|
defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgGrant", MsgGrant);
|
|
77
96
|
defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke);
|