Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "runes3", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A Javascript library for interacting with Bitcoin Runes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -79,3 +79,3 @@ <br/> | ||
console.log("The balance for 845769:3964 is: "); | ||
const balance = balances.get("845769:3964").parse(); | ||
const balance = balances.get("845769:3964").getAmount(); | ||
@@ -82,0 +82,0 @@ console.log(balance); |
@@ -27,3 +27,3 @@ import * as types from "../types/index"; | ||
rune: types.IRune; | ||
parse(): string; | ||
getAmount(): string; | ||
} | ||
@@ -49,3 +49,3 @@ | ||
parse(): string { | ||
getAmount(): string { | ||
// Ensure balance and decimals are BigInt | ||
@@ -52,0 +52,0 @@ const balanceBigInt = BigInt(this.balance); |
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
23787