diff --git a/package-lock.json b/package-lock.json index b5131d6..a4011c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firmachain/firma-js", - "version": "0.2.20", + "version": "0.2.23", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@firmachain/firma-js", - "version": "0.2.20", + "version": "0.2.23", "license": "MIT License", "dependencies": { "@cosmjs/amino": "^0.26.0", @@ -18,7 +18,8 @@ "cosmjs-types": "^0.2.0", "crypto-js": "^4.1.1", "ipfs-http-client": "^52.0.5", - "protobufjs": "^6.10.2" + "protobufjs": "^6.10.2", + "readline-sync": "^1.4.10" }, "devDependencies": { "@types/chai": "^4.2.21", @@ -2881,6 +2882,14 @@ "node": ">=8.10.0" } }, + "node_modules/readline-sync": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", + "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==", + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/readonly-date": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz", @@ -5921,6 +5930,11 @@ "picomatch": "^2.2.1" } }, + "readline-sync": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", + "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==" + }, "readonly-date": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz", diff --git a/package.json b/package.json index b4d4db1..a36281f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@firmachain/firma-js", - "version": "0.2.22", + "version": "0.2.24", "description": "The Official FirmaChain Javascript SDK written in Typescript", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -8,7 +8,7 @@ "dist" ], "scripts": { - "test": "mocha test/**/*.test.ts -r ts-node/register --timeout 120000", + "test": "mocha test/**/*.test.ts -r ts-node/register --timeout 1200000", "lint": "eslint src test --ext .ts,.tsx", "nodemon": "nodemon", "dev": "ts-node ./test/test_index.ts", @@ -40,7 +40,8 @@ "cosmjs-types": "^0.2.0", "crypto-js": "^4.1.1", "ipfs-http-client": "^52.0.5", - "protobufjs": "^6.10.2" + "protobufjs": "^6.10.2", + "readline-sync": "^1.4.10" }, "devDependencies": { "@types/chai": "^4.2.21", @@ -52,4 +53,4 @@ "ts-node": "^10.2.1", "typescript": "^4.3.5" } -} \ No newline at end of file +} diff --git a/sdk/FirmaConfig.ts b/sdk/FirmaConfig.ts index 412ad46..808287e 100644 --- a/sdk/FirmaConfig.ts +++ b/sdk/FirmaConfig.ts @@ -53,8 +53,8 @@ export class FirmaConfig { hdPath: "m/44'/7777777'/", prefix: "firma", denom: "ufct", - defaultFee: 20000, - defaultGas: 200000, + defaultFee: 30000, + defaultGas: 300000, isShowLog: false, } }