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-1 to 5.0.9-2

2

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

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

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