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

conseiljs

Package Overview
Dependencies
Maintainers
3
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.4 to 5.0.5-beta.1

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

1

dist/chain/tezos/TezosNodeWriter.d.ts

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

}>;
function parseRPCError(response: string): void;
}

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

if ('kind' in arr[0]) {
errors = arr.map(e => `(${e.kind}: ${e.id})`).join('');
errors = arr.map(e => `(${e.kind}: ${e.id})`).join(', ');
}

@@ -390,5 +390,7 @@ else if (arr.length === 1 && arr[0].contents.length === 1 && arr[0].contents[0].kind === 'activate_account') {

.map(o => o.map(c => c.metadata.operation_result)
.filter(r => r.status !== 'applied')
.map(r => `${r.status}: ${r.errors.map(e => `(${e.kind}: ${e.id})`).join(', ')}\n`))
.join('');
.concat(o.flatMap(c => c.metadata.internal_operation_results).filter(c => !!c).map(c => c.result))
.map(r => parseRPCOperationResult(r))
.filter(i => i.length > 0)
.join(', '))
.join(', ');
}

@@ -411,6 +413,20 @@ }

log.debug(`errors found in response:\n${response}`);
throw new ErrorTypes_1.ServiceResponseError(200, '', '', '', response);
let e = new ErrorTypes_1.ServiceResponseError(200, '', '', '', response);
e.message = errors;
throw e;
}
}
TezosNodeWriter.parseRPCError = parseRPCError;
function parseRPCOperationResult(result) {
if (result.status === 'failed') {
return `${result.status}: ${result.errors.map(e => `(${e.kind}: ${e.id})`).join(', ')}`;
}
else if (result.status === 'applied') {
return '';
}
else {
return result.status;
}
}
})(TezosNodeWriter = exports.TezosNodeWriter || (exports.TezosNodeWriter = {}));
//# sourceMappingURL=TezosNodeWriter.js.map

@@ -13,2 +13,3 @@ export * from './chain/tezos/TezosContractIntrospector';

export * from './chain/tezos/contracts/Tzip7ReferenceTokenHelper';
export * from './chain/tezos/contracts/tzip12/ChainlinkTokenHelper';
export * from './chain/tezos/contracts/tzip12/MultiAssetTokenHelper';

@@ -15,0 +16,0 @@ export * from './chain/tezos/contracts/tzip12/SingleAssetTokenHelper';

@@ -25,2 +25,3 @@ "use strict";

__export(require("./chain/tezos/contracts/Tzip7ReferenceTokenHelper"));
__export(require("./chain/tezos/contracts/tzip12/ChainlinkTokenHelper"));
__export(require("./chain/tezos/contracts/tzip12/MultiAssetTokenHelper"));

@@ -27,0 +28,0 @@ __export(require("./chain/tezos/contracts/tzip12/SingleAssetTokenHelper"));

@@ -15,2 +15,3 @@ export declare function registerLogger(logger: any): void;

export * from './chain/tezos/contracts/Tzip7ReferenceTokenHelper';
export * from './chain/tezos/contracts/tzip12/ChainlinkTokenHelper';
export * from './chain/tezos/contracts/tzip12/MultiAssetTokenHelper';

@@ -17,0 +18,0 @@ export * from './chain/tezos/contracts/tzip12/SingleAssetTokenHelper';

@@ -31,2 +31,3 @@ "use strict";

__export(require("./chain/tezos/contracts/Tzip7ReferenceTokenHelper"));
__export(require("./chain/tezos/contracts/tzip12/ChainlinkTokenHelper"));
__export(require("./chain/tezos/contracts/tzip12/MultiAssetTokenHelper"));

@@ -33,0 +34,0 @@ __export(require("./chain/tezos/contracts/tzip12/SingleAssetTokenHelper"));

14

package.json
{
"name": "conseiljs",
"version": "5.0.4",
"version": "5.0.5-beta.1",
"description": "Client-side library for Tezos dApp development.",

@@ -91,7 +91,7 @@ "browser": "dist/index-web.js",

"coveralls": "3.1.0",
"eslint": "7.5.0",
"eslint": "7.7.0",
"glob": "7.1.6",
"loglevel": "1.6.8",
"mocha": "8.1.1",
"nock": "13.0.3",
"loglevel": "1.7.0",
"mocha": "8.1.3",
"nock": "13.0.4",
"node-fetch": "2.6.0",

@@ -101,5 +101,5 @@ "nyc": "15.1.0",

"ts-node": "8.10.2",
"tsconfig-paths-webpack-plugin": "3.2.0",
"tsconfig-paths-webpack-plugin": "3.3.0",
"typedoc": "0.18.0",
"typedoc-plugin-markdown": "2.4.1",
"typedoc-plugin-markdown": "2.4.2",
"typescript": "3.8.3",

@@ -106,0 +106,0 @@ "webpack": "4.44.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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