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

@bitgo/sdk-core

Package Overview
Dependencies
Maintainers
7
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 1.1.0-rc.19 to 1.1.0-rc.20

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [1.1.0-rc.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-core@1.1.0-rc.19...@bitgo/sdk-core@1.1.0-rc.20) (2022-06-30)
### Bug Fixes
* **account-lib:** fix ecdsa tests timeout issues ([12c86b2](https://github.com/BitGo/BitGoJS/commit/12c86b2dcbc24331ad47668829ec9f8eb131861f))
* **sdk-core:** fix sol send token sdk ([d5c697b](https://github.com/BitGo/BitGoJS/commit/d5c697b4f0b2e6a95eaf7a1f6e70db063f2877d2))
# [1.1.0-rc.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-core@1.1.0-rc.18...@bitgo/sdk-core@1.1.0-rc.19) (2022-06-30)

@@ -8,0 +20,0 @@

4

dist/src/account-lib/mpc/util.d.ts
/// <reference types="node" />
import * as paillierBigint from 'paillier-bigint';
import { PublicKey } from 'paillier-bigint';
export declare function bigIntFromBufferLE(buf: Buffer): bigint;

@@ -14,3 +14,3 @@ export declare function bigIntToBufferLE(n: bigint, bytes?: number): Buffer;

*/
export declare function getPaillierPublicKey(n: bigint): paillierBigint.PublicKey;
export declare function getPaillierPublicKey(n: bigint): PublicKey;
//# sourceMappingURL=util.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPaillierPublicKey = exports.clamp = exports.bigIntToBufferBE = exports.bigIntFromU8ABE = exports.bigIntFromBufferBE = exports.bigIntToBufferLE = exports.bigIntFromBufferLE = void 0;
const paillierBigint = __importStar(require("paillier-bigint"));
const paillier_bigint_1 = require("paillier-bigint");
function bigIntFromBufferLE(buf) {

@@ -68,5 +49,5 @@ return BigInt('0x' + Buffer.from(buf).reverse().toString('hex'));

function getPaillierPublicKey(n) {
return new paillierBigint.PublicKey(n, n + BigInt(1));
return new paillier_bigint_1.PublicKey(n, n + BigInt(1));
}
exports.getPaillierPublicKey = getPaillierPublicKey;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hY2NvdW50LWxpYi9tcGMvdXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsZ0VBQWtEO0FBQ2xELFNBQWdCLGtCQUFrQixDQUFDLEdBQVc7SUFDNUMsT0FBTyxNQUFNLENBQUMsSUFBSSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7QUFDbkUsQ0FBQztBQUZELGdEQUVDO0FBRUQsU0FBZ0IsZ0JBQWdCLENBQUMsQ0FBUyxFQUFFLEtBQWM7SUFDeEQsSUFBSSxDQUF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EJ1ZmZlciB7XG4gIGxldCB2ID0gbi50b1N0cmluZygxNik7XG4gIHYgPSAnMCcuc2xpY2UoMCwgdi5sZW5ndGggJSAyKSArIHY7XG4gIGNvbnN0IGJ1ZiA9IEJ1ZmZlci5mcm9tKHYsICdoZXgnKTtcbiAgaWYgKGJ5dGVzICYmIGJ1Zi5sZW5ndGggPCBieXRlcykge1xuICAgIHJldHVybiBCdWZmZXIuY29uY2F0KFtCdWZmZXIuYWxsb2MoYnl0ZXMgLSBidWYubGVuZ3RoKSwgYnVmXSk7XG4gIH1cbiAgcmV0dXJuIGJ1Zjtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGNsYW1wKHU6IGJpZ2ludCk6IGJpZ2ludCB7XG4gIHUgJj0gQmlnSW50KCcweDdmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZjgnKTtcbiAgdSB8PSBCaWdJbnQoJzB4NDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCcpO1xuICByZXR1cm4gdTtcbn1cblxuLyoqXG4gKiBGdW5jdGlvbiBnZXQgcGFsbGllciBwdWJsaWMga2V5IHNpbXBsZSB2YXJpZW50XG4gKiBAcGFyYW0ge2JpZ2ludH0gblxuICogQHJldHVybnMge2JpZ2ludH1cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldFBhaWxsaWVyUHVibGljS2V5KG46IGJpZ2ludCk6IFB1YmxpY0tleSB7XG4gIHJldHVybiBuZXcgUHVibGljS2V5KG4sIG4gKyBCaWdJbnQoMSkpO1xufVxuIl19

@@ -14,2 +14,3 @@ /// <reference types="node" />

amount: string | number;
tokenName?: string;
memo?: string;

@@ -16,0 +17,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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= {

@@ -8,2 +9,86 @@ feeType: 'flatUsd';

export declare const krsProviders: Record<string, KrsProvider>;
export declare const defaults: {
maxFee: number;
maxFeeRate: number;
minFeeRate: number;
fallbackFeeRate: number;
minOutputSize: number;
minInstantFeeRate: number;
bitgoEthAddress: string;
};
/**
* Get the default (hardcoded) constants for a particular network.
*
* Note that this may not be the complete set of constants, and additional constants may get fetched
* from BitGo during the lifespan of a BitGo object.
* @param env
*/
export declare const defaultConstants: (env: EnvironmentName) => {
maxFee: number;
maxFeeRate: number;
minFeeRate: number;
fallbackFeeRate: number;
minOutputSize: number;
minInstantFeeRate: number;
bitgoEthAddress: string;
} & ({
eth: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
xlm: {
tokens: import("@bitgo/statics").BaseNetworkConfig[];
};
algo: {
tokens: import("@bitgo/statics").AlgoTokenConfig[];
};
ofc: {
tokens: import("@bitgo/statics").OfcTokenConfig[];
};
celo: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[]; /**
* Get the default (hardcoded) constants for a particular network.
*
* Note that this may not be the complete set of constants, and additional constants may get fetched
* from BitGo during the lifespan of a BitGo object.
* @param env
*/
};
eos: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
avaxc: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
sol: {
tokens: import("@bitgo/statics").SolTokenConfig[];
};
} | {
eth: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
xlm: {
tokens: import("@bitgo/statics").BaseNetworkConfig[];
};
algo: {
tokens: import("@bitgo/statics").AlgoTokenConfig[];
};
ofc: {
tokens: import("@bitgo/statics").OfcTokenConfig[];
};
celo: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
eos: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
avaxc: {
tokens: import("@bitgo/statics").BaseContractAddressConfig[];
};
sol: {
tokens: import("@bitgo/statics").SolTokenConfig[];
};
});
export declare type Config = {
krsProviders: Record<string, KrsProvider>;
};
//# sourceMappingURL=config.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.krsProviders = void 0;
exports.defaultConstants = exports.defaults = exports.krsProviders = void 0;
const _ = __importStar(require("lodash"));
const statics_1 = require("@bitgo/statics");
const environments_1 = require("./environments");
// KRS providers and their fee structures

@@ -25,2 +47,27 @@ exports.krsProviders = {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2JpdGdvL2NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFPQSx5Q0FBeUM7QUFDNUIsUUFBQSxZQUFZLEdBQWdDO0lBQ3ZELFNBQVMsRUFBRTtRQUNULE9BQU8sRUFBRSxTQUFTO1FBQ2xCLFNBQVMsRUFBRSxFQUFFO1FBQ2IsY0FBYyxFQUFFLENBQUMsS0FBSyxFQUFFLEtBQUssQ0FBQztRQUM5QixZQUFZLEVBQUU7WUFDWixHQUFHLEVBQUUsRUFBRSxFQUFFLGtHQUFrRztTQUM1RztLQUNGO0lBQ0QsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFLFNBQVM7UUFDb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AgIGZlZVR5cGU6ICdmbGF0VXNkJyxcbiAgICBmZWVBbW91bnQ6IDAsIC8vIHdlIHdpbGwgcmVjZWl2ZSBwYXltZW50cyBvZmYtY2hhaW5cbiAgICBzdXBwb3J0ZWRDb2luczogWydidGMnLCAnZXRoJ10sXG4gIH0sXG4gIGRhaToge1xuICAgIGZlZVR5cGU6ICdmbGF0VXNkJyxcbiAgICBmZWVBbW91bnQ6IDAsIC8vIGRhaSB3aWxsIHJlY2VpdmUgcGF5bWVudHMgb2ZmLWNoYWluXG4gICAgc3VwcG9ydGVkQ29pbnM6IFsnYnRjJywgJ2V0aCcsICd4bG0nLCAneHJwJywgJ2Rhc2gnLCAnemVjJywgJ2x0YycsICdiY2gnLCAnYnN2JywgJ2JjaGEnXSxcbiAgfSxcbn07XG4iXX0=
exports.defaults = {
maxFee: 0.1e8,
maxFeeRate: 1000000,
minFeeRate: 5000,
fallbackFeeRate: 50000,
minOutputSize: 2730,
minInstantFeeRate: 10000,
bitgoEthAddress: '0x0f47ea803926926f299b7f1afc8460888d850f47',
};
// TODO: once server starts returning eth address keychains, remove bitgoEthAddress
/**
* Get the default (hardcoded) constants for a particular network.
*
* Note that this may not be the complete set of constants, and additional constants may get fetched
* from BitGo during the lifespan of a BitGo object.
* @param env
*/
const defaultConstants = (env) => {
if (environments_1.Environments[env] === undefined) {
throw Error(`invalid environment ${env}`);
}
const network = environments_1.Environments[env].network;
return _.merge({}, exports.defaults, statics_1.tokens[network]);
};
exports.defaultConstants = defaultConstants;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2JpdGdvL2NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsMENBQTRCO0FBQzVCLDRDQUF3QztBQUN4QyxpREFBK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29kZWQpIGNvbnN0YW50cyBmb3IgYSBwYXJ0aWN1bGFyIG5ldHdvcmsuXG4gKlxuICogTm90ZSB0aGF0IHRoaXMgbWF5IG5vdCBiZSB0aGUgY29tcGxldGUgc2V0IG9mIGNvbnN0YW50cywgYW5kIGFkZGl0aW9uYWwgY29uc3RhbnRzIG1heSBnZXQgZmV0Y2hlZFxuICogZnJvbSBCaXRHbyBkdXJpbmcgdGhlIGxpZmVzcGFuIG9mIGEgQml0R28gb2JqZWN0LlxuICogQHBhcmFtIGVudlxuICovXG5leHBvcnQgY29uc3QgZGVmYXVsdENvbnN0YW50cyA9IChlbnY6IEVudmlyb25tZW50TmFtZSkgPT4ge1xuICBpZiAoRW52aXJvbm1lbnRzW2Vudl0gPT09IHVuZGVmaW5lZCkge1xuICAgIHRocm93IEVycm9yKGBpbnZhbGlkIGVudmlyb25tZW50ICR7ZW52fWApO1xuICB9XG5cbiAgY29uc3QgbmV0d29yayA9IEVudmlyb25tZW50c1tlbnZdLm5ldHdvcms7XG4gIHJldHVybiBfLm1lcmdlKHt9LCBkZWZhdWx0cywgdG9rZW5zW25ldHdvcmtdKTtcbn07XG5cbmV4cG9ydCB0eXBlIENvbmZpZyA9IHtcbiAga3JzUHJvdmlkZXJzOiBSZWNvcmQ8c3RyaW5nLCBLcnNQcm92aWRlcj47XG59O1xuIl19

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

address: { address: recipient.address },
amount: { value: `${recipient.amount}`, symbol: chain },
amount: { value: `${recipient.amount}`, symbol: recipient.tokenName ? recipient.tokenName : chain },
}));

@@ -278,3 +278,2 @@ const whitelistedParams = {

memo: (_a = params.memo) === null || _a === void 0 ? void 0 : _a.value,
token: params.tokenName,
nonce: params.nonce,

@@ -355,2 +354,2 @@ },

exports.TssUtils = TssUtils;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRkc2EuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uL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lc3RJZDogc3RyaW5nKTogUHJvbWlzZTxUeFJlcXVlc3Q+IHtcbiAgICByZXR1cm4gZ2V0VHhSZXF1ZXN0KHRoaXMuYml0Z28sIHRoaXMud2FsbGV0LmlkKCksIHR4UmVxdWVzdElkKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBHZXQgdGhlIGNvbW1vblB1YiBwb3J0aW9uIG9mIHRoZSBjb21tb25LZXljaGFpbi5cbiAgICpcbiAgICogQHBhcmFtIHtTdHJpbmd9IGNvbW1vbktleWNoYWluXG4gICAqIEByZXR1cm5zIHtzdHJpbmd9XG4gICAqL1xuICBzdGF0aWMgZ2V0UHVibGljS2V5RnJvbUNvbW1vbktleWNoYWluKGNvbW1vbktleWNoYWluOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIGlmIChjb21tb25LZXljaGFpbi5sZW5ndGggIT09IDEyOCkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBJbnZhbGlkIGNvbW1vbktleWNoYWluIGxlbmd0aCwgZXhwZWN0ZWQgMTI4LCBnb3QgJHtjb21tb25LZXljaGFpbi5sZW5ndGh9YCk7XG4gICAgfVxuICAgIGNvbnN0IGNvbW1vblB1YkhleFN0ciA9IGNvbW1vbktleWNoYWluLnNsaWNlKDAsIDY0KTtcbiAgICByZXR1cm4gYnM1OC5lbmNvZGUoQnVmZmVyLmZyb20oY29tbW9uUHViSGV4U3RyLCAnaGV4JykpO1xuICB9XG59XG4iXX0=

@@ -14,2 +14,3 @@ import type { SerializedKeyPair } from 'openpgp';

amount: string | number;
tokenName?: string;
}[];

@@ -16,0 +17,0 @@ comment?: string;

@@ -10,2 +10,2 @@ "use strict";

})(SignatureShareType = exports.SignatureShareType || (exports.SignatureShareType = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYml0Z28vdXR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/sdk-core",
"version": "1.1.0-rc.19",
"version": "1.1.0-rc.20",
"description": "core library functions for BitGoJS",

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

"@bitgo/bls-dkg": "^1.1.0-rc.1",
"@bitgo/statics": "^6.18.0-rc.20",
"@bitgo/statics": "^6.18.0-rc.21",
"@bitgo/utxo-lib": "^2.3.0-rc.10",

@@ -66,3 +66,3 @@ "@noble/secp256k1": "1.6.0",

},
"gitHead": "0820e8d1952d40fc6ce2e63d6228dbc5519d5265"
"gitHead": "d0f7f949da4a58434e965b0a3592c6abbf6c6928"
}

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 not supported yet

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