@keplr-wallet/cosmos 0.10.3 → 0.10.4
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.
|
@@ -13,7 +13,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
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
|
-
const tx_3 = require("@keplr-wallet/proto-types/
|
|
16
|
+
const tx_3 = require("@keplr-wallet/proto-types/cosmos/authz/v1beta1/tx");
|
|
17
|
+
const tx_4 = require("@keplr-wallet/proto-types/cosmwasm/wasm/v1/tx");
|
|
17
18
|
const unknown_1 = require("./unknown");
|
|
18
19
|
__exportStar(require("./unknown"), exports);
|
|
19
20
|
class ProtoCodec {
|
|
@@ -45,5 +46,7 @@ exports.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend", tx_1.MsgSe
|
|
|
45
46
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate", tx_2.MsgDelegate);
|
|
46
47
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate", tx_2.MsgUndelegate);
|
|
47
48
|
exports.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate", tx_2.MsgBeginRedelegate);
|
|
48
|
-
exports.defaultProtoCodec.registerAny("/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
49
|
+
exports.defaultProtoCodec.registerAny("/cosmwasm.wasm.v1.MsgExecuteContract", tx_4.MsgExecuteContract);
|
|
50
|
+
exports.defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgGrant", tx_3.MsgGrant);
|
|
51
|
+
exports.defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgRevoke", tx_3.MsgRevoke);
|
|
49
52
|
//# 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,sEAAmF;AACnF,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,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAE,CAAC;QAClD,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAE3C,uCACK,GAAG,KACN,QAAQ;YACR,OAAO,IACP;IACJ,CAAC;IAED,WAAW,CAAC,OAAe,EAAE,OAAqB;QAChD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;CACF;AA3BD,gCA2BC;AAEY,QAAA,iBAAiB,GAAG,IAAI,UAAU,EAAE,CAAC;AAClD,yBAAiB,CAAC,WAAW,CAAC,8BAA8B,EAAE,YAAO,CAAC,CAAC;AACvE,yBAAiB,CAAC,WAAW,CAC3B,qCAAqC,EACrC,gBAAW,CACZ,CAAC;AACF,yBAAiB,CAAC,WAAW,CAC3B,uCAAuC,EACvC,kBAAa,CACd,CAAC;AACF,yBAAiB,CAAC,WAAW,CAC3B,4CAA4C,EAC5C,uBAAkB,CACnB,CAAC;AACF,yBAAiB,C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,CAAC;AACF,yBAAiB,CAAC,WAAW,CAC3B,sCAAsC,EACtC,uBAAkB,CACnB,CAAC;AACF,yBAAiB,CAAC,WAAW,CAAC,gCAAgC,EAAE,aAAQ,CAAC,CAAC;AAC1E,yBAAiB,CAAC,WAAW,CAAC,iCAAiC,EAAE,cAAS,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keplr-wallet/cosmos",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
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.4",
|
|
22
|
+
"@keplr-wallet/proto-types": "0.10.4",
|
|
23
|
+
"@keplr-wallet/types": "0.10.4",
|
|
24
|
+
"@keplr-wallet/unit": "0.10.4",
|
|
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": "e94023b4f3f993ec8da195675a6fb339225e93d2"
|
|
32
32
|
}
|
|
@@ -6,6 +6,10 @@ import {
|
|
|
6
6
|
MsgUndelegate,
|
|
7
7
|
MsgBeginRedelegate,
|
|
8
8
|
} from "@keplr-wallet/proto-types/cosmos/staking/v1beta1/tx";
|
|
9
|
+
import {
|
|
10
|
+
MsgGrant,
|
|
11
|
+
MsgRevoke,
|
|
12
|
+
} from "@keplr-wallet/proto-types/cosmos/authz/v1beta1/tx";
|
|
9
13
|
import { MsgExecuteContract } from "@keplr-wallet/proto-types/cosmwasm/wasm/v1/tx";
|
|
10
14
|
import { UnknownMessage } from "./unknown";
|
|
11
15
|
|
|
@@ -69,3 +73,5 @@ defaultProtoCodec.registerAny(
|
|
|
69
73
|
"/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
70
74
|
MsgExecuteContract
|
|
71
75
|
);
|
|
76
|
+
defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgGrant", MsgGrant);
|
|
77
|
+
defaultProtoCodec.registerAny("/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke);
|