carbon-js-sdk 0.4.6-dev.2 → 0.4.7
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/lib/clients/NEOClient.js
CHANGED
|
@@ -70,7 +70,7 @@ class NEOClient {
|
|
|
70
70
|
!!sdk.token.getBlockchainV2(token.denom) && (blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[sdk.token.getBlockchainV2(token.denom)] == this.blockchain)
|
|
71
71
|
:
|
|
72
72
|
blockchain_1.blockchainForChainId(token.chainId.toNumber(), sdk.network) == this.blockchain;
|
|
73
|
-
return isCorrectBlockchain && token.tokenAddress.length == 40 && token.bridgeAddress.length == 40;
|
|
73
|
+
return (isCorrectBlockchain || token.denom === "swth") && token.tokenAddress.length == 40 && token.bridgeAddress.length == 40;
|
|
74
74
|
});
|
|
75
75
|
const client = new Neon.rpc.RPCClient(url, "2.5.2"); // TODO: should we change the RPC version??
|
|
76
76
|
// NOTE: fetching of tokens is chunked in sets of 15 as we may hit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * as Crypto from "./ethermint/crypto/v1/ethsecp256k1/export";
|
|
2
2
|
export * as Evm from "./ethermint/evm/v1/export";
|
|
3
|
-
export * as
|
|
3
|
+
export * as Feemarket from "./ethermint/feemarket/v1/export";
|
|
4
4
|
export * as Types from "./ethermint/types/v1/export";
|
|
@@ -19,8 +19,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.Types = exports.
|
|
22
|
+
exports.Types = exports.Feemarket = exports.Evm = exports.Crypto = void 0;
|
|
23
23
|
exports.Crypto = __importStar(require("./ethermint/crypto/v1/ethsecp256k1/export"));
|
|
24
24
|
exports.Evm = __importStar(require("./ethermint/evm/v1/export"));
|
|
25
|
-
exports.
|
|
25
|
+
exports.Feemarket = __importStar(require("./ethermint/feemarket/v1/export"));
|
|
26
26
|
exports.Types = __importStar(require("./ethermint/types/v1/export"));
|
package/lib/codec/index.d.ts
CHANGED
|
@@ -141,8 +141,8 @@ export declare const TxTypes: {
|
|
|
141
141
|
MsgRevokeAllowanceResponse: string;
|
|
142
142
|
MsgSubmitEvidence: string;
|
|
143
143
|
MsgSubmitEvidenceResponse: string;
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
MsgNftSend: string;
|
|
145
|
+
MsgNftSendResponse: string;
|
|
146
146
|
MsgCreateGroup: string;
|
|
147
147
|
MsgCreateGroupResponse: string;
|
|
148
148
|
MsgUpdateGroupMembers: string;
|
package/lib/codec/index.js
CHANGED
|
@@ -648,8 +648,8 @@ exports.TxTypes = {
|
|
|
648
648
|
"MsgRevokeAllowanceResponse": "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse",
|
|
649
649
|
"MsgSubmitEvidence": "/cosmos.evidence.v1beta1.MsgSubmitEvidence",
|
|
650
650
|
"MsgSubmitEvidenceResponse": "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse",
|
|
651
|
-
"
|
|
652
|
-
"
|
|
651
|
+
"MsgNftSend": "/cosmos.nft.v1beta1.MsgSend",
|
|
652
|
+
"MsgNftSendResponse": "/cosmos.nft.v1beta1.MsgSendResponse",
|
|
653
653
|
"MsgCreateGroup": "/cosmos.group.v1.MsgCreateGroup",
|
|
654
654
|
"MsgCreateGroupResponse": "/cosmos.group.v1.MsgCreateGroupResponse",
|
|
655
655
|
"MsgUpdateGroupMembers": "/cosmos.group.v1.MsgUpdateGroupMembers",
|
package/lib/util/tx.d.ts
CHANGED
|
@@ -189,8 +189,8 @@ export declare const Types: {
|
|
|
189
189
|
MsgRevokeAllowanceResponse: string;
|
|
190
190
|
MsgSubmitEvidence: string;
|
|
191
191
|
MsgSubmitEvidenceResponse: string;
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
MsgNftSend: string;
|
|
193
|
+
MsgNftSendResponse: string;
|
|
194
194
|
MsgCreateGroup: string;
|
|
195
195
|
MsgCreateGroupResponse: string;
|
|
196
196
|
MsgUpdateGroupMembers: string;
|