conseiljs
Advanced tools
Comparing version 5.0.9-1 to 5.0.9-2
@@ -48,3 +48,3 @@ import { KeyStore, Signer } from '../../../../types/ExternalInterfaces'; | ||
function removeOperators(server: string, address: string, signer: Signer, keystore: KeyStore, fee: number, updateOps: UpdateOperator[], gas?: number, freight?: number): Promise<string>; | ||
function getAccountBalance(server: string, mapid: number, account: string, tokenid: number, balancePath?: string): Promise<number>; | ||
function getAccountBalance(server: string, mapid: number, account: string, tokenid: number): Promise<number>; | ||
} |
@@ -202,3 +202,3 @@ "use strict"; | ||
MultiAssetTokenHelper.removeOperators = removeOperators; | ||
function getAccountBalance(server, mapid, account, tokenid, balancePath = '$.int') { | ||
function getAccountBalance(server, mapid, account, tokenid) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -211,3 +211,3 @@ const accountHex = `0x${TezosMessageUtil_1.TezosMessageUtils.writeAddress(account)}`; | ||
} | ||
const jsonresult = jsonpath_plus_1.JSONPath({ path: balancePath, json: mapResult }); | ||
const jsonresult = jsonpath_plus_1.JSONPath({ path: '$.int', json: mapResult }); | ||
return Number(jsonresult[0]); | ||
@@ -214,0 +214,0 @@ }); |
{ | ||
"name": "conseiljs", | ||
"version": "5.0.9-1", | ||
"version": "5.0.9-2", | ||
"description": "Client-side library for Tezos dApp development.", | ||
@@ -102,3 +102,3 @@ "browser": "dist/index-web.js", | ||
"tsconfig-paths-webpack-plugin": "3.3.0", | ||
"typedoc": "0.18.0", | ||
"typedoc": "^0.20.36", | ||
"typedoc-plugin-markdown": "2.4.2", | ||
@@ -105,0 +105,0 @@ "typescript": "3.8.3", |
@@ -62,3 +62,3 @@ # ConseilJS-core | ||
<script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs/dist-web/conseiljs.min.js" | ||
integrity="sha384-I51/kggJu9nO1dHb9H1c5gzYy5EDj6DAzgHcmOwALp5/c/v2Etv6rnTae4tvJuBU" | ||
integrity="sha384-00+mCQozoha9AxOWtEN+VW/3vMpSBrANeDsYMEioopddFtFoidSiR3X+B+87l1mP" | ||
crossorigin="anonymous"></script> | ||
@@ -65,0 +65,0 @@ <script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs-softsigner/dist-web/conseiljs-softsigner.min.js" |
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
870033
1