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

conseiljs

Package Overview
Dependencies
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conseiljs - npm Package Compare versions

Comparing version 5.0.9-2 to 5.0.9-3

4

dist/chain/tezos/contracts/tzip12/MultiAssetTokenHelper.d.ts

@@ -19,3 +19,3 @@ import { KeyStore, Signer } from '../../../../types/ExternalInterfaces';

destination: string;
token_id: number;
token_id: number | string;
amount: number;

@@ -49,3 +49,3 @@ }

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): Promise<number>;
function getAccountBalance(server: string, mapid: number, account: string, tokenid: number, balancePath?: string): Promise<number>;
}

@@ -202,3 +202,3 @@ "use strict";

MultiAssetTokenHelper.removeOperators = removeOperators;
function getAccountBalance(server, mapid, account, tokenid) {
function getAccountBalance(server, mapid, account, tokenid, balancePath = '$.int') {
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: '$.int', json: mapResult });
const jsonresult = jsonpath_plus_1.JSONPath({ path: balancePath, json: mapResult });
return Number(jsonresult[0]);

@@ -214,0 +214,0 @@ });

{
"name": "conseiljs",
"version": "5.0.9-2",
"version": "5.0.9-3",
"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.20.36",
"typedoc": "0.18.0",
"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-00+mCQozoha9AxOWtEN+VW/3vMpSBrANeDsYMEioopddFtFoidSiR3X+B+87l1mP"
integrity="sha384-bRH9Mt6UHYBnIDaoxe48FZvDI58yN1oktXpCpzrAqBVEf0hXtLfMusOdJcWFGYnq"
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

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