update node examples maticjs version
MODIFY
examples/node/package-lock.json
examples/node/package-lock.json
"requires": true,
"dependencies": {
"@maticnetwork/maticjs": {
- "version": "2.0.0-beta.1",
- "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs/-/maticjs-2.0.0-beta.1.tgz",
- "integrity": "sha512-dRQQ/1x0r6zKAEOfVGEi1u5WXIREY9YcJsYJ+fvACpDN1fBW9Nqf3HOHdYvLWMJAz7rLE7LsNntyUbXySBEvDg==",
+ "version": "2.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs/-/maticjs-2.0.0-beta.2.tgz",
+ "integrity": "sha512-g7nnYTP/MmjP9WQCcUzV/yEnYOF1uaIoRhZr5qXiTeYXn0Y+enZMKPmCLjj1M6R8rdzZMja+xmJvn+h3P8SIqA==",
"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.1",
+ "@maticnetwork/maticjs": "2.0.0-beta.2",
"web3": "1.2.4"
}
}

MODIFY
examples/node/process-exit.js
examples/node/process-exit.js
-const Matic = require('../../dist/index').default
+const Matic = require('@maticnetwork/maticjs').default
const config = require('./config')

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

update node examples maticjs version