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

@atomicfinance/bitcoin-dlc-provider

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomicfinance/bitcoin-dlc-provider - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

.turbo/turbo-build.log

78

dist/index.js

@@ -1,57 +0,21 @@

Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {};
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _bitcoinDlcProvider.default;
}
});
var _utils = _interopRequireWildcard(require("./utils/Utils"));
Object.keys(_utils).forEach(function(key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _utils[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function() {
return _utils[key];
}
});
});
var _bitcoinDlcProvider = _interopRequireWildcard(require("./BitcoinDlcProvider"));
Object.keys(_bitcoinDlcProvider).forEach(function(key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _bitcoinDlcProvider[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function() {
return _bitcoinDlcProvider[key];
}
});
});
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
if (desc.get || desc.set) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
}
newObj.default = obj;
return newObj;
}
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3V0aWxzL1V0aWxzJztcblxuZXhwb3J0IHsgZGVmYXVsdCB9IGZyb20gJy4vQml0Y29pbkRsY1Byb3ZpZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vQml0Y29pbkRsY1Byb3ZpZGVyJztcbiJdLCJuYW1lcyI6WyJkZWZhdWx0Il0sIm1hcHBpbmdzIjoiOzs7OytCQUVTQSxTQUFPOzs7bUNBQVBBLE9BQU87Ozs2Q0FGRixlQUFlO0FBQTdCLFlBQUEsTUFBOEI7OzsyQ0FBOUIsTUFBOEI7Ozs7bUJBQTlCLE1BQThCOzs7RUFBQTswREFFTixzQkFBc0I7QUFDOUMsWUFBQSxtQkFBcUM7OzsyQ0FBckMsbUJBQXFDOzs7O21CQUFyQyxtQkFBcUM7OztFQUFBIn0=
"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 __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
__exportStar(require("./utils/Utils"), exports);
var BitcoinDlcProvider_1 = require("./BitcoinDlcProvider");
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(BitcoinDlcProvider_1).default; } });
__exportStar(require("./BitcoinDlcProvider"), exports);
//# sourceMappingURL=index.js.map

@@ -1,31 +0,31 @@

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.asyncForEach = asyncForEach;
exports.generateSerialId = generateSerialId;
exports.checkTypes = checkTypes;
exports.outputsToPayouts = outputsToPayouts;
var _messaging = require("@node-dlc/messaging");
var _randombytes = _interopRequireDefault(require("randombytes"));
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.outputsToPayouts = exports.checkTypes = exports.generateSerialId = exports.asyncForEach = void 0;
const messaging_1 = require("@node-dlc/messaging");
const randombytes_1 = __importDefault(require("randombytes"));
async function asyncForEach(array, callback) {
for(let index = 0; index < array.length; index++){
for (let index = 0; index < array.length; index++) {
await callback(array[index], index, array);
}
}
exports.asyncForEach = asyncForEach;
function generateSerialId() {
return (0, _randombytes).default(4).reduce((acc, num, i)=>acc + num ** i
, 0);
return randombytes_1.default(4).reduce((acc, num, i) => acc + num ** i, 0);
}
exports.generateSerialId = generateSerialId;
function checkTypes(types) {
const { _dlcOffer , _dlcAccept , _dlcSign , _dlcClose , _dlcTxs } = types;
if (_dlcOffer && _dlcOffer.type !== _messaging.MessageType.DlcOfferV0) throw Error('DlcOffer must be V0');
if (_dlcAccept && _dlcAccept.type !== _messaging.MessageType.DlcAcceptV0) throw Error('DlcAccept must be V0');
if (_dlcSign && _dlcSign.type !== _messaging.MessageType.DlcSignV0) throw Error('DlcSign must be V0');
if (_dlcClose && _dlcClose.type !== _messaging.MessageType.DlcCloseV0) throw Error('DlcClose must be V0');
if (_dlcTxs && _dlcTxs.type !== _messaging.MessageType.DlcTransactionsV0) throw Error('DlcTransactions must be V0');
const { _dlcOffer, _dlcAccept, _dlcSign, _dlcClose, _dlcTxs } = types;
if (_dlcOffer && _dlcOffer.type !== messaging_1.MessageType.DlcOfferV0)
throw Error('DlcOffer must be V0');
if (_dlcAccept && _dlcAccept.type !== messaging_1.MessageType.DlcAcceptV0)
throw Error('DlcAccept must be V0');
if (_dlcSign && _dlcSign.type !== messaging_1.MessageType.DlcSignV0)
throw Error('DlcSign must be V0');
if (_dlcClose && _dlcClose.type !== messaging_1.MessageType.DlcCloseV0)
throw Error('DlcClose must be V0');
if (_dlcTxs && _dlcTxs.type !== messaging_1.MessageType.DlcTransactionsV0)
throw Error('DlcTransactions must be V0');
let dlcOffer;

@@ -36,44 +36,40 @@ let dlcAccept;

let dlcTxs;
if (_dlcOffer) dlcOffer = _dlcOffer;
if (_dlcAccept) dlcAccept = _dlcAccept;
if (_dlcSign) dlcSign = _dlcSign;
if (_dlcClose) dlcClose = _dlcClose;
if (_dlcTxs) dlcTxs = _dlcTxs;
return {
dlcOffer,
dlcAccept,
dlcSign,
dlcClose,
dlcTxs
};
if (_dlcOffer)
dlcOffer = _dlcOffer;
if (_dlcAccept)
dlcAccept = _dlcAccept;
if (_dlcSign)
dlcSign = _dlcSign;
if (_dlcClose)
dlcClose = _dlcClose;
if (_dlcTxs)
dlcTxs = _dlcTxs;
return { dlcOffer, dlcAccept, dlcSign, dlcClose, dlcTxs };
}
exports.checkTypes = checkTypes;
function outputsToPayouts(outputs, rValuesMessagesList, localCollateral, remoteCollateral, payoutLocal) {
const payouts = [];
const messagesList = [];
outputs.forEach((output)=>{
const { payout , groups } = output;
outputs.forEach((output) => {
const { payout, groups } = output;
const payoutAmount = payout;
groups.forEach((group)=>{
groups.forEach((group) => {
const messages = [];
for(let i = 0; i < group.length; i++){
for (let i = 0; i < group.length; i++) {
const digit = group[i];
messages.push(rValuesMessagesList[i].messages[digit]);
}
const local = payoutLocal ? payoutAmount : localCollateral + remoteCollateral - payoutAmount;
const remote = payoutLocal ? localCollateral + remoteCollateral - payoutAmount : payoutAmount;
payouts.push({
local,
remote
});
messagesList.push({
messages
});
const local = payoutLocal
? payoutAmount
: localCollateral + remoteCollateral - payoutAmount;
const remote = payoutLocal
? localCollateral + remoteCollateral - payoutAmount
: payoutAmount;
payouts.push({ local, remote });
messagesList.push({ messages });
});
});
return {
payouts,
messagesList
};
return { payouts, messagesList };
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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E1BQU1FLEtBQUssR0FBR1osV0FBVyxHQUNyQk8sWUFBWSxHQUNaVCxlQUFlLEdBQUdDLGdCQUFnQixHQUFHUSxZQUFZLEFBQUM7WUFDdEQsTUFBTU0sTUFBTSxHQUFHYixXQUFXLEdBQ3RCRixlQUFlLEdBQUdDLGdCQUFnQixHQUFHUSxZQUFZLEdBQ2pEQSxZQUFZLEFBQUM7WUFDakJOLE9BQU8sQ0FBQ1UsSUFBSSxDQUFDO2dCQUFFQyxLQUFLO2dCQUFFQyxNQUFNO2FBQUUsQ0FBQyxDQUFDO1lBQ2hDWCxZQUFZLENBQUNTLElBQUksQ0FBQztnQkFBRUYsUUFBUTthQUFFLENBQUMsQ0FBQztTQUNqQyxDQUFDLENBQUM7S0FDSixDQUFDLENBQUM7SUFFSCxPQUFPO1FBQUVSLE9BQU87UUFBRUMsWUFBWTtLQUFFLENBQUM7Q0FDbEMifQ==
exports.outputsToPayouts = outputsToPayouts;
//# sourceMappingURL=Utils.js.map
{
"name": "@atomicfinance/bitcoin-dlc-provider",
"umdName": "BitcoinDlcProvider",
"version": "2.5.0",
"version": "2.5.1",
"description": "CAL Finance Bitcoin Dlc Provider",

@@ -11,3 +11,3 @@ "author": "Atomic Finance <info@atomic.finance>",

"scripts": {
"build": "../../node_modules/.bin/swc lib --out-dir=dist --config-file=../../.swcrc",
"build": "../../node_modules/.bin/tsc --project tsconfig.json",
"prepublishOnly": "yarn run build",

@@ -19,5 +19,5 @@ "test": "yarn run build",

"dependencies": {
"@atomicfinance/bitcoin-networks": "^2.5.0",
"@atomicfinance/provider": "^2.5.0",
"@atomicfinance/types": "^2.5.0",
"@atomicfinance/bitcoin-networks": "^2.5.1",
"@atomicfinance/provider": "^2.5.1",
"@atomicfinance/types": "^2.5.1",
"@liquality/bitcoin-utils": "1.1.5",

@@ -45,4 +45,3 @@ "@liquality/provider": "1.1.5",

"access": "public"
},
"gitHead": "021537d74a46eb5bd578a7c4b122555e6b0a310f"
}
}

Sorry, the diff of this file is too big to display

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