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-beta.6 to 5.0.9-beta.7

5

dist/chain/tezos/TezosNodeWriter.js

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

for (let i = 0; i < operations.length; i++) {
const operation = operations[i];
let priorConsumedResources = { gas: 0, storageCost: 0 };

@@ -398,4 +397,4 @@ if (i > 0) {

return __awaiter(this, void 0, void 0, function* () {
const naiveOperationGasCap = Math.floor(TezosConstants_1.TezosConstants.BlockGasCap / operations.length).toString();
const localOperations = [...operations].map(o => { return Object.assign({ gas_limit: naiveOperationGasCap, storage_limit: TezosConstants_1.TezosConstants.OperationStorageCap.toString() }, o); });
const naiveOperationGasCap = Math.min(Math.floor(TezosConstants_1.TezosConstants.BlockGasCap / operations.length), TezosConstants_1.TezosConstants.OperationGasCap).toString();
const localOperations = [...operations].map(o => { return Object.assign(Object.assign({}, o), { gas_limit: naiveOperationGasCap, storage_limit: TezosConstants_1.TezosConstants.OperationStorageCap.toString() }); });
const responseJSON = yield dryRunOperation(server, chainid, ...localOperations);

@@ -402,0 +401,0 @@ let gas = 0;

2

package.json
{
"name": "conseiljs",
"version": "5.0.9-beta.6",
"version": "5.0.9-beta.7",
"description": "Client-side library for Tezos dApp development.",

@@ -5,0 +5,0 @@ "browser": "dist/index-web.js",

@@ -62,3 +62,3 @@ # ConseilJS-core

<script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs/dist-web/conseiljs.min.js"
integrity="sha384-4c7dfY2bEDagrsOUBPZhz/6Gr93P6PZYkRL8/1EubUoX45hiGjwOfl/V8Sh2z+We"
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