@mijoco/stx_helpers
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -17,3 +17,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a, _b, _c, _d; | ||
var _a, _b; | ||
const rawBal = yield (0, sbtc_contract_1.fetchUserBalances)(stacksApi, mempoolApi, stxAddress, cardinal, ordinal); | ||
@@ -26,7 +26,7 @@ return { | ||
cardinal: { | ||
address: ((_c = rawBal.cardinalInfo) === null || _c === void 0 ? void 0 : _c.address) || 'unknown', | ||
address: cardinal, | ||
amount: extractBtcBalance(rawBal === null || rawBal === void 0 ? void 0 : rawBal.cardinalInfo) | ||
}, | ||
ordinal: { | ||
address: ((_d = rawBal.ordinalInfo) === null || _d === void 0 ? void 0 : _d.address) || 'unknown', | ||
address: ordinal, | ||
amount: extractBtcBalance(rawBal === null || rawBal === void 0 ? void 0 : rawBal.ordinalInfo) | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "@mijoco/stx_helpers", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
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
97066