@atomicfinance/client
Advanced tools
Comparing version 2.4.2 to 2.5.0
@@ -1,7 +0,6 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class Cfd { | ||
constructor(client) { | ||
this.client = client; | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
let Cfd = class Cfd { | ||
async AddMultisigSign(jsonObject) { | ||
@@ -214,4 +213,8 @@ return this.client.getMethod('AddMultisigSign')(jsonObject); | ||
} | ||
} | ||
constructor(client){ | ||
this.client = client; | ||
} | ||
}; | ||
exports.default = Cfd; | ||
//# sourceMappingURL=Cfd.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9DZmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQWRkTXVsdGlzaWdTaWduUmVxdWVzdCxcbiAgQWRkTXVsdGlzaWdTaWduUmVzcG9uc2UsXG4gIEFkZFB1YmtleUhhc2hTaWduUmVxdWVzdCxcbiAgQWRkUHVia2V5SGFzaFNpZ25SZXNwb25zZSxcbiAgQWRkUmF3VHJhbnNhY3Rpb25SZXF1ZXN0LFxuICBBZGRSYXdUcmFuc2FjdGlvblJlc3BvbnNlLFxuICBBZGRTY3JpcHRIYXNoU2lnblJlcXVlc3QsXG4gIEFkZFNjcmlwdEhhc2hTaWduUmVzcG9uc2UsXG4gIEFkZFNpZ25SZXF1ZXN0LFxuICBBZGRTaWduUmVzcG9uc2UsXG4gIEFwcGVuZERlc2NyaXB0b3JDaGVja3N1bVJlcXVlc3QsXG4gIEFwcGVuZERlc2NyaXB0b3JDaGVja3N1bVJlc3BvbnNlLFxuICBCbGluZFJhd1RyYW5zYWN0aW9uUmVxdWVzdCxcbiAgQmxpbmRSYXdUcmFuc2FjdGlvblJlc3BvbnNlLFxuICBDYWxjdWxhdGVFY1NpZ25hdHVyZVJlcXVlc3QsXG4gIENhb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UFvQyxFQUNBO1FBQ3BDLE9BQU8sSUFBSSxDQUFDQyxNQUFNLENBQUNDLFNBQVMsQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDRixVQUFVLENBQUMsQ0FBQztLQUMvRDtJQUVELE1BQU1vRSxrQkFBa0IsQ0FDdEJwRSxVQUFxQyxFQUNBO1FBQ3JDLE9BQU8sSUFBSSxDQUFDQyxNQUFNLENBQUNDLFNBQVMsQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDRixVQUFVLENBQUMsQ0FBQztLQUNoRTtJQUVELE1BQU1xRSxVQUFVLENBQUNyRSxVQUE2QixFQUErQjtRQUMzRSxPQUFPLElBQUksQ0FBQ0MsTUFBTSxDQUFDQyxTQUFTLENBQUMsWUFBWSxDQUFDLENBQUNGLFVBQVUsQ0FBQyxDQUFDO0tBQ3hEO0lBRUQsTUFBTXNFLGVBQWUsQ0FDbkJ0RSxVQUFrQyxFQUNBO1FBQ2xDLE9BQU8sSUFBSSxDQUFDQyxNQUFNLENBQUNDLFNBQVMsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDRixVQUFVLENBQUMsQ0FBQztLQUM3RDtJQXhaRHVFLFlBQVl0RSxNQUFXLENBQUU7UUFDdkIsSUFBSSxDQUFDQSxNQUFNLEdBQUdBLE1BQU0sQ0FBQztLQUN0QjtDQXVaRjtrQkE1Wm9CSCxHQUFHIn0= |
@@ -1,25 +0,15 @@ | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const client_1 = require("@liquality/client"); | ||
const Cfd_1 = __importDefault(require("./Cfd")); | ||
const Dlc_1 = __importDefault(require("./Dlc")); | ||
const Wallet_1 = __importDefault(require("./Wallet")); | ||
class FinanceClient extends client_1.Client { | ||
/** | ||
* Client | ||
*/ | ||
constructor(provider, version) { | ||
super(provider, version); | ||
/** | ||
* @type {Array} | ||
*/ | ||
this._providers = []; | ||
this._dlc = new Dlc_1.default(this); | ||
this._cfd = new Cfd_1.default(this); | ||
this._financewallet = new Wallet_1.default(this); | ||
this.identifier = 'Client'; | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
var _client = require("@liquality/client"); | ||
var _cfd = _interopRequireDefault(require("./Cfd")); | ||
var _dlc = _interopRequireDefault(require("./Dlc")); | ||
var _wallet = _interopRequireDefault(require("./Wallet")); | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
default: obj | ||
}; | ||
} | ||
let FinanceClient = class FinanceClient extends _client.Client { | ||
get dlc() { | ||
@@ -34,4 +24,17 @@ return this._dlc; | ||
} | ||
} | ||
/** | ||
* Client | ||
*/ constructor(provider, version){ | ||
super(provider, version); | ||
/** | ||
* @type {Array} | ||
*/ this._providers = []; | ||
this._dlc = new _dlc.default(this); | ||
this._cfd = new _cfd.default(this); | ||
this._financewallet = new _wallet.default(this); | ||
this.identifier = 'Client'; | ||
} | ||
}; | ||
exports.default = FinanceClient; | ||
//# sourceMappingURL=Client.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9DbGllbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEZpbmFuY2VQcm92aWRlciBmcm9tICdAYXRvbWljZmluYW5jZS9wcm92aWRlcic7XG5pbXBvcnQgeyBDbGllbnQgfSBmcm9tICdAbGlxdWFsaXR5L2NsaWVudCc7XG5pbXBvcnQgeyBQcm92aWRlciB9IGZyb20gJ0BsaXF1YWxpdHkvcHJvdmlkZXInO1xuXG5pbXBvcnQgQ2ZkIGZyb20gJy4vQ2ZkJztcbmltcG9ydCBEbGMgZnJvbSAnLi9EbGMnO1xuaW1wb3J0IFdhbGxldCBmcm9tICcuL1dhbGxldCc7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEZpb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9 |
199
dist/Dlc.js
@@ -1,114 +0,103 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class Dlc { | ||
constructor(client) { | ||
this.client = client; | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
let Dlc = class Dlc { | ||
/** | ||
* Check whether wallet is offerer of DlcOffer or DlcAccept | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<boolean>} | ||
*/ | ||
async isOfferer(dlcOffer, dlcAccept) { | ||
* Check whether wallet is offerer of DlcOffer or DlcAccept | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<boolean>} | ||
*/ async isOfferer(dlcOffer, dlcAccept) { | ||
return this.client.getMethod('isOfferer')(dlcOffer, dlcAccept); | ||
} | ||
/** | ||
* Create DlcTxs object from DlcOffer and DlcAccept | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<CreateDlcTxsResponse>} | ||
*/ | ||
async createDlcTxs(dlcOffer, dlcAccept) { | ||
* Create DlcTxs object from DlcOffer and DlcAccept | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<CreateDlcTxsResponse>} | ||
*/ async createDlcTxs(dlcOffer, dlcAccept) { | ||
return this.client.getMethod('createDlcTxs')(dlcOffer, dlcAccept); | ||
} | ||
/** | ||
* Create DLC Offer Message | ||
* @param contractInfo ContractInfo TLV (V0 or V1) | ||
* @param offerCollateralSatoshis Amount DLC Initiator is putting into the contract | ||
* @param feeRatePerVb Fee rate in satoshi per virtual byte that both sides use to compute fees in funding tx | ||
* @param cetLocktime The nLockTime to be put on CETs | ||
* @param refundLocktime The nLockTime to be put on the refund transaction | ||
* @returns {Promise<DlcOffer>} | ||
*/ | ||
async createDlcOffer(contractInfo, offerCollateralSatoshis, feeRatePerVb, cetLocktime, refundLocktime, fixedInputs) { | ||
* Create DLC Offer Message | ||
* @param contractInfo ContractInfo TLV (V0 or V1) | ||
* @param offerCollateralSatoshis Amount DLC Initiator is putting into the contract | ||
* @param feeRatePerVb Fee rate in satoshi per virtual byte that both sides use to compute fees in funding tx | ||
* @param cetLocktime The nLockTime to be put on CETs | ||
* @param refundLocktime The nLockTime to be put on the refund transaction | ||
* @returns {Promise<DlcOffer>} | ||
*/ async createDlcOffer(contractInfo, offerCollateralSatoshis, feeRatePerVb, cetLocktime, refundLocktime, fixedInputs) { | ||
return this.client.getMethod('createDlcOffer')(contractInfo, offerCollateralSatoshis, feeRatePerVb, cetLocktime, refundLocktime, fixedInputs); | ||
} | ||
/** | ||
* Accept DLC Offer | ||
* @param dlcOffer Dlc Offer Message | ||
* @param fixedInputs Optional inputs to use for Funding Inputs | ||
* @returns {Promise<AcceptDlcOfferResponse} | ||
*/ | ||
async acceptDlcOffer(dlcOffer, fixedInputs) { | ||
* Accept DLC Offer | ||
* @param dlcOffer Dlc Offer Message | ||
* @param fixedInputs Optional inputs to use for Funding Inputs | ||
* @returns {Promise<AcceptDlcOfferResponse} | ||
*/ async acceptDlcOffer(dlcOffer, fixedInputs) { | ||
return this.client.getMethod('acceptDlcOffer')(dlcOffer, fixedInputs); | ||
} | ||
/** | ||
* Sign Dlc Accept Message | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<SignDlcAcceptResponse} | ||
*/ | ||
async signDlcAccept(dlcOffer, dlcAccept) { | ||
* Sign Dlc Accept Message | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @returns {Promise<SignDlcAcceptResponse} | ||
*/ async signDlcAccept(dlcOffer, dlcAccept) { | ||
return this.client.getMethod('signDlcAccept')(dlcOffer, dlcAccept); | ||
} | ||
/** | ||
* Finalize Dlc Sign | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @returns {Promise<Tx>} | ||
*/ | ||
async finalizeDlcSign(dlcOffer, dlcAccept, dlcSign, dlcTxs) { | ||
* Finalize Dlc Sign | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @returns {Promise<Tx>} | ||
*/ async finalizeDlcSign(dlcOffer, dlcAccept, dlcSign, dlcTxs) { | ||
return this.client.getMethod('finalizeDlcSign')(dlcOffer, dlcAccept, dlcSign, dlcTxs); | ||
} | ||
/** | ||
* Execute DLC | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @param oracleAttestation Oracle Attestations TLV (V0) | ||
* @param isOfferer Whether party is Dlc Offerer | ||
* @returns {Promise<Tx>} | ||
*/ | ||
async execute(dlcOffer, dlcAccept, dlcSign, dlcTxs, oracleAttestation, isOfferer) { | ||
* Execute DLC | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @param oracleAttestation Oracle Attestations TLV (V0) | ||
* @param isOfferer Whether party is Dlc Offerer | ||
* @returns {Promise<Tx>} | ||
*/ async execute(dlcOffer, dlcAccept, dlcSign, dlcTxs, oracleAttestation, isOfferer) { | ||
return this.client.getMethod('execute')(dlcOffer, dlcAccept, dlcSign, dlcTxs, oracleAttestation, isOfferer); | ||
} | ||
/** | ||
* Refund DLC | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions message | ||
* @returns {Promise<Tx>} | ||
*/ | ||
async refund(dlcOffer, dlcAccept, dlcSign, dlcTxs) { | ||
* Refund DLC | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcSign Dlc Sign Message | ||
* @param dlcTxs Dlc Transactions message | ||
* @returns {Promise<Tx>} | ||
*/ async refund(dlcOffer, dlcAccept, dlcSign, dlcTxs) { | ||
return this.client.getMethod('refund')(dlcOffer, dlcAccept, dlcSign, dlcTxs); | ||
} | ||
/** | ||
* Generate DlcClose messagetype for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param initiatorPayoutSatoshis Amount initiator expects as a payout | ||
* @param isOfferer Whether offerer or not | ||
* @param inputs Optionally specified closing inputs | ||
* @returns {Promise<DlcClose>} | ||
*/ | ||
async createDlcClose(dlcOffer, dlcAccept, dlcTxs, initiatorPayoutSatoshis, isOfferer, inputs) { | ||
* Generate DlcClose messagetype for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param initiatorPayoutSatoshis Amount initiator expects as a payout | ||
* @param isOfferer Whether offerer or not | ||
* @param inputs Optionally specified closing inputs | ||
* @returns {Promise<DlcClose>} | ||
*/ async createDlcClose(dlcOffer, dlcAccept, dlcTxs, initiatorPayoutSatoshis, isOfferer, inputs) { | ||
return this.client.getMethod('createDlcClose')(dlcOffer, dlcAccept, dlcTxs, initiatorPayoutSatoshis, isOfferer, inputs); | ||
} | ||
/** | ||
* Generate multiple DlcClose messagetypes for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param initiatorPayouts Array of amounts initiator expects as payouts | ||
* @param isOfferer Whether offerer or not | ||
* @param inputs Optionally specified closing inputs | ||
* @returns {Promise<DlcClose[]>} | ||
*/ | ||
async createBatchDlcClose(dlcOffer, dlcAccept, dlcTxs, initiatorPayouts, isOfferer, inputs) { | ||
* Generate multiple DlcClose messagetypes for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param initiatorPayouts Array of amounts initiator expects as payouts | ||
* @param isOfferer Whether offerer or not | ||
* @param inputs Optionally specified closing inputs | ||
* @returns {Promise<DlcClose[]>} | ||
*/ async createBatchDlcClose(dlcOffer, dlcAccept, dlcTxs, initiatorPayouts, isOfferer, inputs) { | ||
return this.client.getMethod('createBatchDlcClose')(dlcOffer, dlcAccept, dlcTxs, initiatorPayouts, isOfferer, inputs); | ||
@@ -120,22 +109,20 @@ } | ||
/** | ||
* Verify multiple DlcClose messagetypes for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param dlcCloses DlcClose[] TLV (V0) | ||
* @param isOfferer Whether offerer or not | ||
* @returns {Promise<void>} | ||
*/ | ||
async verifyBatchDlcClose(dlcOffer, dlcAccept, dlcTxs, dlcCloses, isOfferer) { | ||
* Verify multiple DlcClose messagetypes for closing DLC with Mutual Consent | ||
* @param dlcOffer DlcOffer TLV (V0) | ||
* @param dlcAccept DlcAccept TLV (V0) | ||
* @param dlcTxs DlcTransactions TLV (V0) | ||
* @param dlcCloses DlcClose[] TLV (V0) | ||
* @param isOfferer Whether offerer or not | ||
* @returns {Promise<void>} | ||
*/ async verifyBatchDlcClose(dlcOffer, dlcAccept, dlcTxs, dlcCloses, isOfferer) { | ||
return this.client.getMethod('verifyBatchDlcClose')(dlcOffer, dlcAccept, dlcTxs, dlcCloses, isOfferer); | ||
} | ||
/** | ||
* Finalize Dlc Close | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcClose Dlc Close Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @returns {Promise<string>} | ||
*/ | ||
finalizeDlcClose(dlcOffer, dlcAccept, dlcClose, dlcTxs) { | ||
* Finalize Dlc Close | ||
* @param dlcOffer Dlc Offer Message | ||
* @param dlcAccept Dlc Accept Message | ||
* @param dlcClose Dlc Close Message | ||
* @param dlcTxs Dlc Transactions Message | ||
* @returns {Promise<string>} | ||
*/ finalizeDlcClose(dlcOffer, dlcAccept, dlcClose, dlcTxs) { | ||
return this.client.getMethod('finalizeDlcClose')(dlcOffer, dlcAccept, dlcClose, dlcTxs); | ||
@@ -197,4 +184,8 @@ } | ||
} | ||
} | ||
constructor(client){ | ||
this.client = client; | ||
} | ||
}; | ||
exports.default = Dlc; | ||
//# sourceMappingURL=Dlc.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9EbGMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQWRkU2lnbmF0dXJlc1RvUmVmdW5kVHhSZXF1ZXN0LFxuICBBZGRTaWduYXR1cmVzVG9SZWZ1bmRUeFJlc3BvbnNlLFxuICBBZGRTaWduYXR1cmVUb0Z1bmRUcmFuc2FjdGlvblJlcXVlc3QsXG4gIEFkZFNpZ25hdHVyZVRvRnVuZFRyYW5zYWN0aW9uUmVzcG9uc2UsXG4gIENyZWF0ZUNldEFkYXB0b3JTaWduYXR1cmVSZXF1ZXN0LFxuICBDcmVhdGVDZXRBZGFwdG9yU2lnbmF0dXJlUmVzcG9uc2UsXG4gIENyZWF0ZUNldEFkYXB0b3JTaWduYXR1cmVzUmVxdWVzdCxcbiAgQ3JlYXRlQ2V0QWRhcHRvclNpZ25hdHVyZXNSZXNwb25zZSxcbiAgQ3JlYXRlQ2V0UmVxdWVzdCxcbiAgQ3JlYXRlQ2V0UmVzcG9uc2UsXG4gIENyZWF0ZURsY1RyYW5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EIsVUFBVSxDQUFDLENBQUM7S0FDckU7SUFFRCxNQUFNZ0IsbUJBQW1CLENBQUNDLE1BQW9CLEVBQW1CO1FBQy9ELE9BQU8sSUFBSSxDQUFDaEQsTUFBTSxDQUFDQyxTQUFTLENBQUMscUJBQXFCLENBQUMsQ0FBQytDLE1BQU0sQ0FBQyxDQUFDO0tBQzdEO0lBRUQsTUFBTUMsbUJBQW1CLENBQUNDLEtBQWEsRUFBeUI7UUFDOUQsT0FBTyxJQUFJLENBQUNsRCxNQUFNLENBQUNDLFNBQVMsQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDaUQsS0FBSyxDQUFDLENBQUM7S0FDNUQ7SUE3V0RDLFlBQVluRCxNQUFXLENBQUU7UUFDdkIsSUFBSSxDQUFDQSxNQUFNLEdBQUdBLE1BQU0sQ0FBQztLQUN0QjtDQTRXRjtrQkFqWG9CSixHQUFHIn0= |
@@ -1,11 +0,23 @@ | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = exports.Client = void 0; | ||
var Client_1 = require("./Client"); | ||
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return __importDefault(Client_1).default; } }); | ||
var Client_2 = require("./Client"); | ||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Client_2).default; } }); | ||
//# sourceMappingURL=index.js.map | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "Client", { | ||
enumerable: true, | ||
get: function() { | ||
return _client.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _client.default; | ||
} | ||
}); | ||
var _client = _interopRequireDefault(require("./Client")); | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
default: obj | ||
}; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkZWZhdWx0IGFzIENsaWVudCB9IGZyb20gJy4vQ2xpZW50JztcbmV4cG9ydCB7IGRlZmF1bHQgfSBmcm9tICcuL0NsaWVudCc7XG4iXSwibmFtZXMiOlsiQ2xpZW50IiwiZGVmYXVsdCJdLCJtYXBwaW5ncyI6IkFBQUE7OzsrQkFBb0JBLFFBQU07Ozt1QkFBakJDLE9BQU87OzsrQkFDUEEsU0FBTzs7O3VCQUFQQSxPQUFPOzs7NkNBRGtCLFVBQVUifQ== |
@@ -1,7 +0,6 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class Wallet { | ||
constructor(client) { | ||
this.client = client; | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
let Wallet = class Wallet { | ||
createMultisig(m, pubkeys) { | ||
@@ -31,4 +30,8 @@ return this.client.getMethod('createMultisig')(m, pubkeys); | ||
} | ||
} | ||
constructor(client){ | ||
this.client = client; | ||
} | ||
}; | ||
exports.default = Wallet; | ||
//# sourceMappingURL=Wallet.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYi9XYWxsZXQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ3JlYXRlTXVsdGlzaWdSZXNwb25zZSwgSW5wdXQsIE91dHB1dCB9IGZyb20gJ0BhdG9taWNmaW5hbmNlL3R5cGVzJztcbmltcG9ydCB7IFRyYW5zYWN0aW9uIH0gZnJvbSAnYml0Y29pbmpzLWxpYic7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFdhbGxldCB7XG4gIGNsaWVudDogYW55O1xuXG4gIGNvbnN0cnVjdG9yKGNsaWVudDogYW55KSB7XG4gICAgdGhpcy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QixFQUFFO1FBQzFDLE9BQU8sSUFBSSxDQUFDakIsTUFBTSxDQUFDQyxTQUFTLENBQUMsa0JBQWtCLENBQUMsQ0FBQ2dCLFNBQVMsQ0FBQyxDQUFDO0tBQzdEO0lBaEVEQyxZQUFZbEIsTUFBVyxDQUFFO1FBQ3ZCLElBQUksQ0FBQ0EsTUFBTSxHQUFHQSxNQUFNLENBQUM7S0FDdEI7Q0ErREY7a0JBcEVvQkosTUFBTSJ9 |
{ | ||
"name": "@atomicfinance/client", | ||
"umdName": "Client", | ||
"version": "2.4.2", | ||
"version": "2.5.0", | ||
"description": "CAL Finance Client Provider", | ||
@@ -11,3 +11,3 @@ "author": "Atomic Finance <info@atomic.finance>", | ||
"scripts": { | ||
"build": "../../node_modules/.bin/tsc --project tsconfig.json", | ||
"build": "../../node_modules/.bin/swc lib --out-dir=dist --config-file=../../.swcrc", | ||
"prepublishOnly": "yarn run build", | ||
@@ -19,8 +19,8 @@ "test": "yarn run build", | ||
"dependencies": { | ||
"@atomicfinance/provider": "^2.4.2", | ||
"@atomicfinance/types": "^2.4.2", | ||
"@atomicfinance/provider": "^2.5.0", | ||
"@atomicfinance/types": "^2.5.0", | ||
"@liquality/client": "1.1.5", | ||
"@liquality/errors": "1.1.5", | ||
"@liquality/provider": "1.1.5", | ||
"@node-dlc/messaging": "0.12.1", | ||
"@node-dlc/messaging": "0.18.3", | ||
"@node-lightning/bitcoin": "0.26.1", | ||
@@ -31,3 +31,3 @@ "lodash": "^4.17.20" | ||
"@types/lodash": "^4.14.160", | ||
"@types/node": "^16.10.2" | ||
"@types/node": "16.10.3" | ||
}, | ||
@@ -37,3 +37,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "ae5d1bf9db5c664032f0be604116a83dbf6b5db3" | ||
"gitHead": "021537d74a46eb5bd578a7c4b122555e6b0a310f" | ||
} |
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
195227
1784
- Removed@node-dlc/messaging@0.12.1(transitive)
Updated@atomicfinance/types@^2.5.0
Updated@node-dlc/messaging@0.18.3