Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitgo/sdk-core

Package Overview
Dependencies
Maintainers
14
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo/sdk-core - npm Package Compare versions

Comparing version 8.26.0 to 10.0.0

dist/test/unit/bitgo/utils/abstractUtxoCoinUtil.d.ts

2

dist/src/bitgo/environments.d.ts

@@ -34,3 +34,3 @@ /**

zetaNodeUrl: string;
coreNodeUrl: string;
coreumNodeUrl: string;
islmNodeUrl: string;

@@ -37,0 +37,0 @@ dotNodeUrls: string[];

@@ -50,3 +50,3 @@ "use strict";

zetaNodeUrl: 'https://zetachain-athens.blockpi.network/lcd/v1/public',
coreNodeUrl: 'https://full-node.mainnet-1.coreum.dev:26657',
coreumNodeUrl: 'https://full-node.mainnet-1.coreum.dev:26657',
islmNodeUrl: 'https://rest.cosmos.haqq.network',

@@ -90,3 +90,3 @@ dotNodeUrls: ['wss://rpc.polkadot.io'],

zetaNodeUrl: 'https://rpc.ankr.com/http/zetachain_athens_testnet',
coreNodeUrl: 'https://full-node.testnet-1.coreum.dev:26657',
coreumNodeUrl: 'https://full-node.testnet-1.coreum.dev:26657',
islmNodeUrl: 'https://rest.cosmos.testedge2.haqq.network ',

@@ -182,2 +182,2 @@ dotNodeUrls: ['wss://westend-rpc.polkadot.io'],

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2JpdGdvL2Vudmlyb25tZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFpRGEsUUFBQSxtQkFBbUIsR0FBRyxNQUFNLENBQUMsTUFBTSxDQUFDO0lBQy9DLFVBQVUsRUFBRTtRQUNWLElBQUksRUFBRSxpSEFBaUg7UUFDdkg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IDogaGFyZGNvZGVkUHVibGljS2V5cy5zZXJ2ZXJYcHViLnByb2QsXG4gIH0pLFxuICBicmFuY2g6IE9iamVjdC5hc3NpZ24oe30sIGRldkJhc2UsIHtcbiAgICB1cmk6ICdodHRwczovL2FwcC5iaXRnby1kZXYuY29tJyxcbiAgICBzdGVsbGFyRmVkZXJhdGlvblNlcnZlclVybDogJ2h0dHBzOi8vYXBwLmJpdGdvLWRldi5jb20vYXBpL3YyL3R4bG0vZmVkZXJhdGlvbicsXG4gIH0pLFxufTtcbiJdfQ==

@@ -31,2 +31,3 @@ "use strict";

const utils_1 = require("../utils");
const BuildParams_1 = require("../wallet/BuildParams");
class PendingApproval {

@@ -302,3 +303,3 @@ constructor(bitgo, baseCoin, pendingApprovalData, wallet) {

.post(this.wallet.url(`/consolidateUnspents`))
.send(prebuildParams)
.send(BuildParams_1.BuildParams.encode(prebuildParams))
.result();

@@ -334,2 +335,2 @@ delete prebuildParams.recipients;

exports.PendingApproval = PendingApproval;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVuZGluZ0FwcHJvdmFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2JpdGdvL3BlbmRpbmdBcHByb3ZhbC9wZW5kaW5nQXBwcm92YWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztHQUVHO0FBQ0gsMENBQTRCO0FBQzVCLHFEQUF1QztBQUN2Qyx5REFBMkM7QUFHM0Msd0RBUTRCO0FBQzVCLG9DQUFtRDtBQUduRCxNQUFhLGVBQWU7SUFPMUIsWUFBWSxLQUFnQixFQUFFLFFBQW1CLEVBQUUsbUJBQXdDLEVBQUUsTUFBZ0I7UUFDM0csSUFBSSxDQUFDLEtBQUssR0FBRyxLQUFLLENBQUM7UUFDbkIsSUFBSSxDQUFDLFFBQVEsR0F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gICAgaWYgKF8uaXNVbmRlZmluZWQocmVjcmVhdGVkUGFyc2VkVHJhbnNhY3Rpb24uaW1wbGljaXRFeHRlcm5hbFNwZW5kQW1vdW50KSkge1xuICAgICAgcmV0dXJuIHNpZ25lZFRyYW5zYWN0aW9uO1xuICAgIH1cblxuICAgIGlmIChcbiAgICAgIHR5cGVvZiByZWNyZWF0ZWRQYXJzZWRUcmFuc2FjdGlvbi5pbXBsaWNpdEV4dGVybmFsU3BlbmRBbW91bnQgIT09ICdiaWdpbnQnICYmXG4gICAgICAhXy5pc0Zpbml0ZShyZWNyZWF0ZWRQYXJzZWRUcmFuc2FjdGlvbi5pbXBsaWNpdEV4dGVybmFsU3BlbmRBbW91bnQpXG4gICAgKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ2ltcGxpY2l0IGV4dGVybmFsIHNwZW5kIGFtb3VudCBjb3VsZCBub3QgYmUgZGV0ZXJtaW5lZCcpO1xuICAgIH1cbiAgICBpZiAoXG4gICAgICAhXy5pc1VuZGVmaW5lZChvcmlnaW5hbFBhcnNlZFRyYW5zYWN0aW9uLmltcGxpY2l0RXh0ZXJuYWxTcGVuZEFtb3VudCkgJiZcbiAgICAgIHJlY3JlYXRlZFBhcnNlZFRyYW5zYWN0aW9uLmltcGxpY2l0RXh0ZXJuYWxTcGVuZEFtb3VudCA+IG9yaWdpbmFsUGFyc2VkVHJhbnNhY3Rpb24uaW1wbGljaXRFeHRlcm5hbFNwZW5kQW1vdW50XG4gICAgKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ3JlY3JlYXRlZCB0cmFuc2FjdGlvbiBpcyB1c2luZyBhIGhpZ2hlciBwYXktYXMteW91LWdvLWZlZScpO1xuICAgIH1cbiAgICByZXR1cm4gc2lnbmVkVHJhbnNhY3Rpb247XG4gIH1cbn1cbiJdfQ==

@@ -6,2 +6,6 @@ import * as utxolib from '@bitgo/utxo-lib';

}): ScriptType2Of3 | null;
/**
* Get the supported 2 of 3 script types for a given utxo coin
*/
export declare function getUtxoCoinScriptTypes2Of3(coinName: string): utxolib.bitgo.outputScripts.ScriptType2Of3[];
//# sourceMappingURL=abstractUtxoCoinUtil.d.ts.map

@@ -21,4 +21,9 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.inferAddressType = void 0;
exports.getUtxoCoinScriptTypes2Of3 = exports.inferAddressType = void 0;
const assert_1 = __importDefault(require("assert"));
const statics_1 = require("@bitgo/statics");
const utxolib = __importStar(require("@bitgo/utxo-lib"));

@@ -31,2 +36,12 @@ function inferAddressType(addressDetails) {

exports.inferAddressType = inferAddressType;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3RVdHhvQ29pblV0aWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYml0Z28vdXRpbHMvYWJzdHJhY3RVdHhvQ29pblV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHlEQUEyQztBQUczQyxTQUFnQixnQkFBZ0IsQ0FBQyxjQUFpQztJQUNoRSxPQUFPLE9BQU8sQ0FBQyxLQUFLLENBQUMsV0FBVyxDQUFDLGNBQWMsQ0FBQyxLQUFLLENBQUM7UUFDcEQsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsa0JBQWtCLENBQUMsY0FBYyxDQUFDLEtBQUssQ0FBQztRQUN4RCxDQUFDLENBQUMsSUFBSSxDQUFDO0FBQ1gsQ0FBQztBQUpELDRDQUlDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgdXR4b2xpYiBmcm9tICdAYml0Z28vdXR4by1saWInO1xuaW1wb3J0IFNjcmlwdFR5cGUyT2YzID0gdXR4b2xpYi5iaXRnby5vdXRwdXRTY3JpcHRzLlNjcmlwdFR5cGUyT2YzO1xuXG5leHBvcnQgZnVuY3Rpb24gaW5mZXJBZGRyZXNzVHlwZShhZGRyZXNzRGV0YWlsczogeyBjaGFpbjogbnVtYmVyIH0pOiBTY3JpcHRUeXBlMk9mMyB8IG51bGwge1xuICByZXR1cm4gdXR4b2xpYi5iaXRnby5pc0NoYWluQ29kZShhZGRyZXNzRGV0YWlscy5jaGFpbilcbiAgICA/IHV0eG9saWIuYml0Z28uc2NyaXB0VHlwZUZvckNoYWluKGFkZHJlc3NEZXRhaWxzLmNoYWluKVxuICAgIDogbnVsbDtcbn1cbiJdfQ==
/**
* Get the supported 2 of 3 script types for a given utxo coin
*/
function getUtxoCoinScriptTypes2Of3(coinName) {
const coin = statics_1.coins.get(coinName);
assert_1.default(coin instanceof statics_1.UtxoCoin, `coin ${coinName} is not a utxo coin`);
const network = utxolib.networks[coin.network.utxolibName];
return utxolib.bitgo.outputScripts.scriptTypes2Of3.filter((v) => utxolib.bitgo.outputScripts.isSupportedScriptType(network, v));
}
exports.getUtxoCoinScriptTypes2Of3 = getUtxoCoinScriptTypes2Of3;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3RVdHhvQ29pblV0aWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYml0Z28vdXRpbHMvYWJzdHJhY3RVdHhvQ29pblV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUE0QjtBQUM1Qiw0Q0FBaUQ7QUFDakQseURBQTJDO0FBRzNDLFNBQWdCLGdCQUFnQixDQUFDLGNBQWlDO0lBQ2hFLE9BQU8sT0FBTyxDQUFDLEtBQUssQ0FBQyxXQUFXLENBQUMsY0FBYyxDQUFDLEtBQUssQ0FBQztRQUNwRC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IHsgY2hhaW46IG51bWJlciB9KTogU2NyaXB0VHlwZTJPZjMgfCBudWxsIHtcbiAgcmV0dXJuIHV0eG9saWIuYml0Z28uaXNDaGFpbkNvZGUoYWRkcmVzc0RldGFpbHMuY2hhaW4pXG4gICAgPyB1dHhvbGliLmJpdGdvLnNjcmlwdFR5cGVGb3JDaGFpbihhZGRyZXNzRGV0YWlscy5jaGFpbilcbiAgICA6IG51bGw7XG59XG5cbi8qKlxuICogR2V0IHRoZSBzdXBwb3J0ZWQgMiBvZiAzIHNjcmlwdCB0eXBlcyBmb3IgYSBnaXZlbiB1dHhvIGNvaW5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldFV0eG9Db2luU2NyaXB0VHlwZXMyT2YzKGNvaW5OYW1lOiBzdHJpbmcpOiB1dHhvbGliLmJpdGdvLm91dHB1dFNjcmlwdHMuU2NyaXB0VHlwZTJPZjNbXSB7XG4gIGNvbnN0IGNvaW4gPSBjb2lucy5nZXQoY29pbk5hbWUpO1xuICBhc3NlcnQoY29pbiBpbnN0YW5jZW9mIFV0eG9Db2luLCBgY29pbiAke2NvaW5OYW1lfSBpcyBub3QgYSB1dHhvIGNvaW5gKTtcbiAgY29uc3QgbmV0d29yayA9IHV0eG9saWIubmV0d29ya3NbY29pbi5uZXR3b3JrLnV0eG9saWJOYW1lIGFzIHV0eG9saWIuTmV0d29ya05hbWVdO1xuICByZXR1cm4gdXR4b2xpYi5iaXRnby5vdXRwdXRTY3JpcHRzLnNjcmlwdFR5cGVzMk9mMy5maWx0ZXIoKHYpID0+XG4gICAgdXR4b2xpYi5iaXRnby5vdXRwdXRTY3JpcHRzLmlzU3VwcG9ydGVkU2NyaXB0VHlwZShuZXR3b3JrLCB2KVxuICApO1xufVxuIl19

@@ -6,3 +6,3 @@ import { IBaseCoin, SignedMessage, SignedTransaction } from '../baseCoin';

import { TxRequest } from '../utils';
import { AccelerateTransactionOptions, AddressesOptions, BuildConsolidationTransactionOptions, BuildTokenEnablementOptions, ChangeFeeOptions, ConsolidateUnspentsOptions, CreateAddressOptions, CreatePolicyRuleOptions, CreateShareOptions, CrossChainUTXO, DeployForwardersOptions, DownloadKeycardOptions, FanoutUnspentsOptions, FetchCrossChainUTXOsOptions, FlushForwarderTokenOptions, ForwarderBalance, ForwarderBalanceOptions, FreezeOptions, FundForwardersOptions, GetAddressOptions, GetPrvOptions, GetTransactionOptions, GetTransferOptions, GetUserPrvOptions, IWallet, MaximumSpendable, MaximumSpendableOptions, ModifyWebhookOptions, PaginationOptions, PrebuildAndSignTransactionOptions, PrebuildTransactionOptions, PrebuildTransactionResult, RecoverTokenOptions, RemovePolicyRuleOptions, RemoveUserOptions, SendManyOptions, SendOptions, ShareWalletOptions, SimulateWebhookOptions, SubmitTransactionOptions, SweepOptions, TransferBySequenceIdOptions, TransferCommentOptions, TransfersOptions, UnspentsOptions, UpdateAddressOptions, WalletCoinSpecific, WalletData, WalletEcdsaChallenges, WalletSignMessageOptions, WalletSignTransactionOptions, WalletSignTypedDataOptions, WalletType } from './iWallet';
import { AccelerateTransactionOptions, AddressesOptions, BuildConsolidationTransactionOptions, BuildTokenEnablementOptions, ChangeFeeOptions, ConsolidateUnspentsOptions, CreateAddressOptions, CreatePolicyRuleOptions, CreateShareOptions, CrossChainUTXO, DeployForwardersOptions, DownloadKeycardOptions, FanoutUnspentsOptions, FetchCrossChainUTXOsOptions, FlushForwarderTokenOptions, ForwarderBalance, ForwarderBalanceOptions, FreezeOptions, FundForwardersOptions, GetAddressOptions, GetPrvOptions, GetTransactionOptions, GetTransferOptions, GetUserPrvOptions, IWallet, MaximumSpendable, MaximumSpendableOptions, ModifyWebhookOptions, PaginationOptions, PrebuildAndSignTransactionOptions, PrebuildTransactionOptions, PrebuildTransactionResult, RecoverTokenOptions, RemovePolicyRuleOptions, RemoveUserOptions, SendManyOptions, SendOptions, ShareWalletOptions, SimulateWebhookOptions, SubmitTransactionOptions, SubWalletType, SweepOptions, TransferBySequenceIdOptions, TransferCommentOptions, TransfersOptions, UnspentsOptions, UpdateAddressOptions, WalletCoinSpecific, WalletData, WalletEcdsaChallenges, WalletSignMessageOptions, WalletSignTransactionOptions, WalletSignTypedDataOptions, WalletType } from './iWallet';
import { StakingWallet } from '../staking/stakingWallet';

@@ -76,2 +76,3 @@ import { Lightning } from '../lightning';

multisigType(): 'onchain' | 'tss';
subType(): SubWalletType | undefined;
/**

@@ -771,3 +772,4 @@ * Get the label (name) for this wallet

getChallengesForEcdsaSigning(): Promise<WalletEcdsaChallenges>;
private sendTransaction;
}
//# sourceMappingURL=wallet.d.ts.map

@@ -23,11 +23,6 @@ "use strict";

const assert = __importStar(require("assert"));
const SendTransactionRequest_1 = require("../../../../src/bitgo/wallet/SendTransactionRequest");
const BuildParams_1 = require("../../../../src/bitgo/wallet/BuildParams");
const codecProps_1 = require("../../../../src/bitgo/utils/codecProps");
const public_types_1 = require("@bitgo/public-types");
describe('SendTransactionRequest', function () {
it('has expected property count', function () {
assert.strictEqual(codecProps_1.getCodecProperties(BuildParams_1.BuildParams).length, 74);
});
it('enforces codec', function () {
assert.deepStrictEqual(BuildParams_1.BuildParams.encode({
assert.deepStrictEqual(public_types_1.TxSendBody.encode({
addressType: 'p2sh',

@@ -43,4 +38,4 @@ txFormat: 'psbt',

});
assert.deepStrictEqual(SendTransactionRequest_1.SendTransactionRequest.encode({ txHex: '00' }), { txHex: '00' });
assert.deepStrictEqual(SendTransactionRequest_1.SendTransactionRequest.encode({ txHex: '00', addressType: 'p2sh', bar: 'omit' }), {
assert.deepStrictEqual(public_types_1.TxSendBody.encode({ txHex: '00' }), { txHex: '00' });
assert.deepStrictEqual(public_types_1.TxSendBody.encode({ txHex: '00', addressType: 'p2sh', bar: 'omit' }), {
txHex: '00',

@@ -51,2 +46,2 @@ addressType: 'p2sh',

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VuZFRyYW5zYWN0aW9uUmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLC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uZW5jb2RlKHtcbiAgICAgICAgYWRkcmVzc1R5cGU6ICdwMnNoJyxcbiAgICAgICAgdHhGb3JtYXQ6ICdwc2J0JyxcbiAgICAgICAgY29tbWVudDogJ2ZvbycsXG4gICAgICAgIHVua25vd246ICdiYXInLFxuICAgICAgfSBhcyBhbnkpLFxuICAgICAge1xuICAgICAgICBhZGRyZXNzVHlwZTogJ3Ayc2gnLFxuICAgICAgICB0eEZvcm1hdDogJ3BzYnQnLFxuICAgICAgICBjb21tZW50OiAnZm9vJyxcbiAgICAgICAgLy8gZHJvcHMgdW5rbm93biBwcm9wZXJ0aWVzXG4gICAgICB9XG4gICAgKTtcblxuICAgIGFzc2VydC5kZWVwU3RyaWN0RXF1YWwoVHhTZW5kQm9keS5lbmNvZGUoeyB0eEhleDogJzAwJyB9KSwgeyB0eEhleDogJzAwJyB9KTtcbiAgICBhc3NlcnQuZGVlcFN0cmljdEVxdWFsKFR4U2VuZEJvZHkuZW5jb2RlKHsgdHhIZXg6ICcwMCcsIGFkZHJlc3NUeXBlOiAncDJzaCcsIGJhcjogJ29taXQnIH0gYXMgYW55KSwge1xuICAgICAgdHhIZXg6ICcwMCcsXG4gICAgICBhZGRyZXNzVHlwZTogJ3Ayc2gnLFxuICAgIH0pO1xuICB9KTtcbn0pO1xuIl19
{
"name": "@bitgo/sdk-core",
"version": "8.26.0",
"version": "10.0.0",
"description": "core library functions for BitGoJS",

@@ -15,3 +15,4 @@ "main": "./dist/src/index.js",

"lint": "eslint --quiet .",
"prepare": "npm run build"
"prepare": "npm run build",
"test:watch": " mocha -r ts-node/register --watch --watch-files test/**/*.ts"
},

@@ -41,5 +42,6 @@ "author": "BitGo SDK Team <sdkteam@bitgo.com>",

"@bitgo/bls-dkg": "^1.3.1",
"@bitgo/sdk-lib-mpc": "^8.15.0",
"@bitgo/statics": "^29.0.0",
"@bitgo/utxo-lib": "^9.16.0",
"@bitgo/public-types": "1.1.2",
"@bitgo/sdk-lib-mpc": "^8.17.0",
"@bitgo/statics": "^31.0.0",
"@bitgo/utxo-lib": "^9.18.0",
"@noble/secp256k1": "1.6.3",

@@ -52,3 +54,3 @@ "@stablelib/hex": "^1.0.0",

"bigint-crypto-utils": "3.1.4",
"bignumber.js": "^9.0.0",
"bignumber.js": "^9.1.1",
"bitcoinjs-message": "npm:@bitgo-forks/bitcoinjs-message@1.0.0-master.2",

@@ -62,3 +64,3 @@ "bolt11": "^1.4.0",

"fp-ts": "^2.12.2",
"io-ts": "^2.2.17",
"io-ts": "2.2.20",
"keccak": "3.0.3",

@@ -80,3 +82,3 @@ "libsodium-wrappers-sumo": "^0.7.9",

},
"gitHead": "91ee7cd46469e542f808a9498bede129b5aac19d"
"gitHead": "88043a4c4622a55b669c7b2354c523ce74ec888a"
}

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc