@terra-money/terra.js
Advanced tools
Comparing version 3.0.10 to 3.0.11
@@ -44,11 +44,3 @@ "use strict"; | ||
MsgVerifyInvariant.prototype.toAmino = function () { | ||
var _a = this, sender = _a.sender, invariantModuleName = _a.invariantModuleName, invariantRoute = _a.invariantRoute; | ||
return { | ||
type: 'crisis/MsgVerifyInvariant', | ||
value: { | ||
sender: sender, | ||
invariantModuleName: invariantModuleName, | ||
invariantRoute: invariantRoute, | ||
}, | ||
}; | ||
throw new Error('MsgVerifyInvarant is not allowed to send'); | ||
}; | ||
@@ -72,8 +64,3 @@ MsgVerifyInvariant.fromData = function (data) { | ||
MsgVerifyInvariant.prototype.toProto = function () { | ||
var _a = this, sender = _a.sender, invariantModuleName = _a.invariantModuleName, invariantRoute = _a.invariantRoute; | ||
return tx_1.MsgVerifyInvariant.fromPartial({ | ||
sender: sender, | ||
invariantModuleName: invariantModuleName, | ||
invariantRoute: invariantRoute, | ||
}); | ||
throw new Error('MsgVerifyInvarant is not allowed to send'); | ||
}; | ||
@@ -80,0 +67,0 @@ MsgVerifyInvariant.prototype.packAny = function () { |
@@ -52,9 +52,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MnemonicKey = exports.LUNA_COIN_TYPE = void 0; | ||
var bip32_1 = __importDefault(require("bip32")); | ||
var ecc = __importStar(require("tiny-secp256k1")); | ||
var bip32 = __importStar(require("bip32")); | ||
var bip39 = __importStar(require("bip39")); | ||
@@ -106,3 +102,2 @@ var RawKey_1 = require("./RawKey"); | ||
var seed = bip39.mnemonicToSeedSync(mnemonic); | ||
var bip32 = (0, bip32_1.default)(ecc); | ||
var masterKey = bip32.fromSeed(seed); | ||
@@ -109,0 +104,0 @@ var hdPathLuna = "m/44'/".concat(coinType, "'/").concat(account, "'/0/").concat(index); |
{ | ||
"name": "@terra-money/terra.js", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "The JavaScript SDK for Terra", | ||
@@ -89,3 +89,3 @@ "license": "MIT", | ||
"bech32": "^2.0.0", | ||
"bip32": "^3.0.1", | ||
"bip32": "^2.0.6", | ||
"bip39": "^3.0.3", | ||
@@ -97,3 +97,2 @@ "bufferutil": "^4.0.3", | ||
"secp256k1": "^4.0.2", | ||
"tiny-secp256k1": "^2.2.1", | ||
"tmp": "^0.2.1", | ||
@@ -100,0 +99,0 @@ "utf-8-validate": "^5.0.5", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13
13377625
531
35753
+ Added@types/node@10.12.18(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedbip32@2.0.6(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addednan@2.22.0(transitive)
+ Addedtiny-secp256k1@1.1.7(transitive)
- Removedtiny-secp256k1@^2.2.1
- Removedbip32@3.1.0(transitive)
- Removedtiny-secp256k1@2.2.3(transitive)
- Removeduint8array-tools@0.0.7(transitive)
Updatedbip32@^2.0.6