Bump: maticjs package version 2.0.0-beta.7
MODIFY
dist/common/Web3Client.js
dist/common/Web3Client.js
@@ -121,7 +121,7 @@ var Web3Client = /** @class */ (function () {
_options = options || this.maticDefaultOptions;
if (!_options.from)
return [2 /*return*/, new Error('from is not specified')];
- console.log('sending tx on matic with', _options);
+ console.log('sending tx on matic with', _options); // eslint-disable-line
return [2 /*return*/, this.wrapWeb3Promise(method.send(_options), _options)];
});
});

MODIFY
dist/root/RootChain.js
dist/root/RootChain.js
@@ -85,7 +85,7 @@ var RootChain = /** @class */ (function (_super) {
return [3 /*break*/, 4];
}
mid = start.add(end).div(new bn_js_1.default(2));
- console.log({ start: start.toString(), mid: mid.toString(), end: end.toString() });
+ console.log({ start: start.toString(), mid: mid.toString(), end: end.toString() }); // eslint-disable-line
return [4 /*yield*/, this.web3Client.call(this.rootChain.methods.headerBlocks(mid.mul(new bn_js_1.default(10000)).toString()))
// console.log('headerBlock', headerBlock)
];

MODIFY
dist/root/WithdrawManager.js
dist/root/WithdrawManager.js
@@ -64,7 +64,7 @@ var proofs_js_1 = __importDefault(require("matic-protocol/contracts-core/helpers
var ContractsBase_1 = __importDefault(require("../common/ContractsBase"));
var logger = {
info: require('debug')('maticjs:WithdrawManager'),
- debug: require('debug')('maticjs:debug:WithdrawManager')
+ debug: require('debug')('maticjs:debug:WithdrawManager'),
};
var WithdrawManager = /** @class */ (function (_super) {
__extends(WithdrawManager, _super);
@@ -145,7 +145,7 @@ var WithdrawManager = /** @class */ (function (_super) {
case 0:
options = options || {};
if (!options || !options.gas || options.gas < 2000000) {
- console.log('processExits can be gas expensive, sending in 2000000 gas but even this might not be enough');
+ console.log('processExits can be gas expensive, sending in 2000000 gas but even this might not be enough'); // eslint-disable-line
options.gas = 2000000;
}
txObject = this.withdrawManager.methods.processExits(token);

MODIFY
examples/node/package-lock.json
examples/node/package-lock.json
"requires": true,
"dependencies": {
"@maticnetwork/maticjs": {
- "version": "2.0.0-beta.6",
- "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs/-/maticjs-2.0.0-beta.6.tgz",
- "integrity": "sha512-AWcpCwTXdnhaLEw18A0PZVs9XYtyNC65uvNs8PpDlxeyP3Dlugb/2A1/4j25dQEaTFoD5aZy8s7jrL0LtxzHGQ==",
+ "version": "2.0.0-beta.7",
+ "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs/-/maticjs-2.0.0-beta.7.tgz",
+ "integrity": "sha512-QGGcIHHyBwRwUWv7UksRJh5Q8BNUkDJsB+Hl9CmbRwtq2KB7SkqsHoUTlQbNP5PWqkZUB/9/WhIk+sARFhTW7Q==",
"requires": {
"@types/bluebird": "^3.5.29",
"@types/bn.js": "4.11.5",

MODIFY
examples/node/package.json
examples/node/package.json
"author": "Sayli Patil <sayli@matic.network>",
"license": "ISC",
"dependencies": {
- "@maticnetwork/maticjs": "2.0.0-beta.6",
+ "@maticnetwork/maticjs": "2.0.0-beta.7",
"web3": "1.2.4"
}
}

MODIFY
package-lock.json
package-lock.json
{
"name": "@maticnetwork/maticjs",
- "version": "2.0.0-beta.6",
+ "version": "2.0.0-beta.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

MODIFY
package.json
package.json
{
"name": "@maticnetwork/maticjs",
- "version": "2.0.0-beta.6",
+ "version": "2.0.0-beta.7",
"description": "Javascript developer library for interacting with Matic Network",
"main": "dist/index.js",
"types": "dist/index.d.ts",

Bump: maticjs package version 2.0.0-beta.7