@bitgo/account-lib 2.20.0-rc.20 → 2.20.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/src/coin/eth/utils.d.ts +0 -1
- package/dist/src/coin/eth/utils.d.ts.map +1 -1
- package/dist/src/coin/hbar/iface.d.ts +26 -0
- package/dist/src/coin/hbar/iface.d.ts.map +1 -0
- package/dist/src/coin/hbar/iface.js +3 -0
- package/dist/src/coin/hbar/transaction.d.ts +14 -21
- package/dist/src/coin/hbar/transaction.d.ts.map +1 -1
- package/dist/src/coin/hbar/transaction.js +24 -34
- package/dist/src/coin/hbar/transactionBuilder.d.ts +22 -22
- package/dist/src/coin/hbar/transactionBuilder.d.ts.map +1 -1
- package/dist/src/coin/hbar/transactionBuilder.js +49 -29
- package/dist/src/coin/hbar/transferBuilder.d.ts +9 -9
- package/dist/src/coin/hbar/transferBuilder.d.ts.map +1 -1
- package/dist/src/coin/hbar/transferBuilder.js +16 -13
- package/dist/src/coin/hbar/utils.d.ts +47 -43
- package/dist/src/coin/hbar/utils.d.ts.map +1 -1
- package/dist/src/coin/hbar/utils.js +51 -49
- package/dist/src/coin/hbar/walletInitializationBuilder.d.ts +5 -5
- package/dist/src/coin/hbar/walletInitializationBuilder.d.ts.map +1 -1
- package/dist/src/coin/hbar/walletInitializationBuilder.js +30 -10
- package/dist/tsconfig.tsbuildinfo +1822 -4548
- package/package.json +12 -32
- package/dist/browser/bitgo-account-lib.js +0 -2
- package/dist/browser/bitgo-account-lib.js.LICENSE.txt +0 -337
- package/resources/hbar/protobuf/BasicTypes.proto +0 -424
- package/resources/hbar/protobuf/CryptoCreate.proto +0 -47
- package/resources/hbar/protobuf/CryptoTransfer.proto +0 -33
- package/resources/hbar/protobuf/Duration.proto +0 -28
- package/resources/hbar/protobuf/Timestamp.proto +0 -34
- package/resources/hbar/protobuf/Transaction.proto +0 -35
- package/resources/hbar/protobuf/TransactionBody.proto +0 -24
- package/resources/hbar/protobuf/TransactionContents.proto +0 -33
- package/resources/hbar/protobuf/hedera.d.ts +0 -4612
- package/resources/hbar/protobuf/hedera.js +0 -12192
package/package.json
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo/account-lib",
|
|
3
|
-
"version": "2.20.0-rc.
|
|
3
|
+
"version": "2.20.0-rc.23",
|
|
4
4
|
"description": "BitGo's account library functions",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"webpack-dev": "cross-env NODE_ENV=development webpack",
|
|
9
|
-
"webpack-prod": "cross-env NODE_ENV=production webpack",
|
|
10
8
|
"build": "npm run prepare",
|
|
11
9
|
"clean": "rm -rf dist/*",
|
|
12
|
-
"compile": "npm run webpack-prod",
|
|
13
|
-
"compile-dev": "npm run webpack-dev",
|
|
14
|
-
"compile-test": "npm run webpack-dev",
|
|
15
10
|
"coverage": "npm run gen-coverage && npm run upload-coverage",
|
|
16
11
|
"gen-protobuf": "pbjs -t static-module -w commonjs -o ./resources/trx/protobuf/tron.js ./resources/trx/protobuf/Discover.proto ./resources/trx/protobuf/Contract.proto ./resources/trx/protobuf/tron.proto",
|
|
17
12
|
"gen-protobufts": "pbts -o ./resources/trx/protobuf/tron.d.ts ./resources/trx/protobuf/tron.js",
|
|
18
|
-
"hedera-gen-protobuf": "pbjs -t static-module -w commonjs -o ./resources/hbar/protobuf/hedera.js ./resources/hbar/protobuf/Timestamp.proto ./resources/hbar/protobuf/BasicTypes.proto ./resources/hbar/protobuf/Duration.proto ./resources/hbar/protobuf/CryptoCreate.proto ./resources/hbar/protobuf/CryptoTransfer.proto ./resources/hbar/protobuf/TransactionBody.proto ./resources/hbar/protobuf/Transaction.proto ./resources/hbar/protobuf/TransactionContents.proto",
|
|
19
|
-
"hedera-gen-protobufts": "pbts -o ./resources/hbar/protobuf/hedera.d.ts ./resources/hbar/protobuf/hedera.js",
|
|
20
13
|
"lint": "eslint --quiet 'src/**/*.ts' 'test/**/*.ts'",
|
|
21
14
|
"lint-fix": "eslint --fix 'src/**/*.ts' 'test/**/*.ts'",
|
|
22
15
|
"precommit": "yarn lint-staged",
|
|
23
|
-
"
|
|
24
|
-
"prepare": "npm run hedera-gen-protobuf && npm run hedera-gen-protobufts && npm run build-ts && cp -r ./resources ./dist",
|
|
16
|
+
"prepare": "npm run build-ts && cp -r ./resources ./dist",
|
|
25
17
|
"build-ts": "tsc --build --incremental --verbose .",
|
|
26
18
|
"unit-test": "nyc -- mocha",
|
|
27
19
|
"test": "npm run unit-test",
|
|
@@ -42,10 +34,10 @@
|
|
|
42
34
|
"@bitgo/bls": "^0.1.0",
|
|
43
35
|
"@bitgo/bls-dkg": "^1.1.0-rc.1",
|
|
44
36
|
"@bitgo/ethereumjs-utils-old": "npm:ethereumjs-util@5.2.0",
|
|
45
|
-
"@bitgo/sdk-coin-algo": "^1.0
|
|
46
|
-
"@bitgo/sdk-coin-cspr": "^1.0.1-rc.
|
|
47
|
-
"@bitgo/sdk-core": "^1.1.0-rc.
|
|
48
|
-
"@bitgo/statics": "^6.18.0-rc.
|
|
37
|
+
"@bitgo/sdk-coin-algo": "^1.1.0-rc.2",
|
|
38
|
+
"@bitgo/sdk-coin-cspr": "^1.0.1-rc.3",
|
|
39
|
+
"@bitgo/sdk-core": "^1.1.0-rc.16",
|
|
40
|
+
"@bitgo/statics": "^6.18.0-rc.18",
|
|
49
41
|
"@celo/contractkit": "^1.2.4",
|
|
50
42
|
"@ethereumjs/common": "^2.4.0",
|
|
51
43
|
"@ethereumjs/tx": "^3.3.0",
|
|
@@ -65,6 +57,7 @@
|
|
|
65
57
|
"bignumber.js": "^9.0.0",
|
|
66
58
|
"bip32": "^2.0.6",
|
|
67
59
|
"bitcoinjs-lib": "npm:@bitgo/bitcoinjs-lib@6.1.0-rc.3",
|
|
60
|
+
"bn.js": "^5.2.1",
|
|
68
61
|
"bs58": "^4.0.1",
|
|
69
62
|
"bs58check": "^2.1.2",
|
|
70
63
|
"create-hmac": "^1.1.7",
|
|
@@ -74,6 +67,9 @@
|
|
|
74
67
|
"ethers": "^5.1.3",
|
|
75
68
|
"hi-base32": "^0.5.1",
|
|
76
69
|
"joi": "^17.4.0",
|
|
70
|
+
"js-sha256": "^0.9.0",
|
|
71
|
+
"js-sha512": "^0.8.0",
|
|
72
|
+
"keccak": "^3.0.2",
|
|
77
73
|
"libsodium-wrappers": "^0.7.6",
|
|
78
74
|
"lodash": "^4.17.15",
|
|
79
75
|
"long": "^4.0.0",
|
|
@@ -88,23 +84,7 @@
|
|
|
88
84
|
"devDependencies": {
|
|
89
85
|
"@types/bs58": "^4.0.1",
|
|
90
86
|
"@types/elliptic": "^6.4.12",
|
|
91
|
-
"@types/libsodium-wrappers": "^0.7.7"
|
|
92
|
-
"@types/node": "^11.13.22",
|
|
93
|
-
"@types/sinon": "^7.5.0",
|
|
94
|
-
"cross-env": "^7.0.3",
|
|
95
|
-
"crypto-browserify": "^3.12.0",
|
|
96
|
-
"eslint-plugin-import": "^2.19.1",
|
|
97
|
-
"eslint-plugin-jsdoc": "^33.0.0",
|
|
98
|
-
"glob": "^7.1.3",
|
|
99
|
-
"https-browserify": "^1.0.0",
|
|
100
|
-
"nyc": "^15.0.0",
|
|
101
|
-
"process": "^0.11.10",
|
|
102
|
-
"should": "^13.1.3",
|
|
103
|
-
"sinon": "^7.5.0",
|
|
104
|
-
"stream-http": "^3.2.0",
|
|
105
|
-
"url": "^0.11.0",
|
|
106
|
-
"webpack": "^5.66.0",
|
|
107
|
-
"webpack-cli": "^4.9.1"
|
|
87
|
+
"@types/libsodium-wrappers": "^0.7.7"
|
|
108
88
|
},
|
|
109
89
|
"nyc": {
|
|
110
90
|
"extension": [
|
|
@@ -123,5 +103,5 @@
|
|
|
123
103
|
"publishConfig": {
|
|
124
104
|
"access": "public"
|
|
125
105
|
},
|
|
126
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "3b1f5d261a91fe7af10357016fda9756050505fb"
|
|
127
107
|
}
|