Merge branch 'master' of github.com:harmony-one/sdk

test
Minh Doan 5 years ago
commit 44f222f381
  1. 2
      lerna.json
  2. 12
      packages/harmony-account/package.json
  3. 10
      packages/harmony-contract/package.json
  4. 14
      packages/harmony-core/package.json
  5. 4
      packages/harmony-crypto/package.json
  6. 8
      packages/harmony-staking/package.json
  7. 6
      packages/harmony-transaction/package.json
  8. 8
      packages/harmony-transaction/src/utils.ts

@ -2,5 +2,5 @@
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.1.32"
"version": "0.1.34"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/account",
"version": "0.1.32",
"version": "0.1.34",
"description": "account and wallet for harmony",
"main": "dist/index.js",
"node": "dist/index.js",
@ -18,12 +18,12 @@
"author": "neeboo@firestack.one",
"license": "MIT",
"dependencies": {
"@harmony-js/core": "0.1.32",
"@harmony-js/crypto": "0.1.32",
"@harmony-js/core": "0.1.34",
"@harmony-js/crypto": "0.1.34",
"@harmony-js/network": "0.1.31",
"@harmony-js/staking": "0.1.32",
"@harmony-js/transaction": "0.1.32",
"@harmony-js/staking": "0.1.34",
"@harmony-js/transaction": "0.1.34",
"@harmony-js/utils": "0.1.28"
},
"gitHead": "0f2c4f00383611397ba83182322be3394451f8d6"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/contract",
"version": "0.1.32",
"version": "0.1.34",
"description": "contract libraries for harmony",
"main": "dist/index.js",
"node": "dist/index.js",
@ -18,11 +18,11 @@
},
"license": "MIT",
"dependencies": {
"@harmony-js/account": "0.1.32",
"@harmony-js/crypto": "0.1.32",
"@harmony-js/account": "0.1.34",
"@harmony-js/crypto": "0.1.34",
"@harmony-js/network": "0.1.31",
"@harmony-js/transaction": "0.1.32",
"@harmony-js/transaction": "0.1.34",
"@harmony-js/utils": "0.1.28"
},
"gitHead": "0f2c4f00383611397ba83182322be3394451f8d6"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/core",
"version": "0.1.32",
"version": "0.1.34",
"description": "harmony core package",
"main": "dist/index.js",
"node": "dist/index.js",
@ -18,13 +18,13 @@
"author": "neeboo@firestack.one",
"license": "MIT",
"dependencies": {
"@harmony-js/account": "0.1.32",
"@harmony-js/contract": "0.1.32",
"@harmony-js/crypto": "0.1.32",
"@harmony-js/account": "0.1.34",
"@harmony-js/contract": "0.1.34",
"@harmony-js/crypto": "0.1.34",
"@harmony-js/network": "0.1.31",
"@harmony-js/staking": "0.1.32",
"@harmony-js/transaction": "0.1.32",
"@harmony-js/staking": "0.1.34",
"@harmony-js/transaction": "0.1.34",
"@harmony-js/utils": "0.1.28"
},
"gitHead": "0f2c4f00383611397ba83182322be3394451f8d6"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/crypto",
"version": "0.1.32",
"version": "0.1.34",
"description": "crypto libraries for harmony",
"main": "dist/index.js",
"node": "dist/index.js",
@ -30,5 +30,5 @@
"scrypt-shim": "github:web3-js/scrypt-shim",
"uuid": "^3.3.2"
},
"gitHead": "775e2ba36924fcffd8d2c0b73587b549ed90bb81"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/staking",
"version": "0.1.32",
"version": "0.1.34",
"description": "staking transaction package for harmony",
"main": "dist/index.js",
"node": "dist/index.js",
@ -18,11 +18,11 @@
"author": "",
"license": "MIT",
"dependencies": {
"@harmony-js/crypto": "0.1.32",
"@harmony-js/crypto": "0.1.34",
"@harmony-js/network": "0.1.31",
"@harmony-js/transaction": "0.1.32",
"@harmony-js/transaction": "0.1.34",
"@harmony-js/utils": "0.1.28",
"text-encoding": "^0.7.0"
},
"gitHead": "775e2ba36924fcffd8d2c0b73587b549ed90bb81"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -1,6 +1,6 @@
{
"name": "@harmony-js/transaction",
"version": "0.1.32",
"version": "0.1.34",
"description": "transaction package for harmony",
"main": "dist/index.js",
"node": "dist/index.js",
@ -18,9 +18,9 @@
"author": "neeboo@firestack.one",
"license": "MIT",
"dependencies": {
"@harmony-js/crypto": "0.1.32",
"@harmony-js/crypto": "0.1.34",
"@harmony-js/network": "0.1.31",
"@harmony-js/utils": "0.1.28"
},
"gitHead": "775e2ba36924fcffd8d2c0b73587b549ed90bb81"
"gitHead": "27bce049c8d99498f464ce2db4fc39e4000a5420"
}

@ -139,8 +139,8 @@ export const recover = (rawTransaction: string) => {
} catch (error) {
throw error;
}
tx.rawTransaction = keccak256(rawTransaction);
tx.rawTransaction = rawTransaction;
tx.id = keccak256(rawTransaction);
}
return tx;
@ -230,8 +230,8 @@ export const recoverETH = (rawTransaction: string) => {
} catch (error) {
throw error;
}
tx.rawTransaction = keccak256(rawTransaction);
tx.rawTransaction = rawTransaction;
tx.id = keccak256(rawTransaction);
}
return tx;

Loading…
Cancel
Save