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

@mijoco/stx_helpers

Package Overview
Dependencies
Maintainers
0
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mijoco/stx_helpers - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

6

dist/custom-node/custom-node.js

@@ -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",

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