Comparing version 0.0.18 to 0.0.20-0
@@ -38,3 +38,3 @@ /* prettier-ignore-start */ | ||
publicKey: Buffer.from(wallet.publicKey, 'hex'), | ||
sign: (json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex'))), | ||
sign: wallet.sign || ((json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex')))), | ||
}, | ||
@@ -41,0 +41,0 @@ }, |
@@ -38,3 +38,3 @@ /* prettier-ignore-start */ | ||
publicKey: Buffer.from(wallet.publicKey, 'hex'), | ||
sign: (json: any): Uint8Array => signJson(json, Buffer.from(wallet.privateKey, 'hex')), | ||
sign: wallet.sign || ((json: any): Uint8Array => signJson(json, Buffer.from(wallet.privateKey, 'hex'))), | ||
}, | ||
@@ -41,0 +41,0 @@ }, |
@@ -38,3 +38,3 @@ /* prettier-ignore-start */ | ||
publicKey: Buffer.from(wallet.publicKey, 'hex'), | ||
sign: (json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex'))), | ||
sign: wallet.sign || ((json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex')))), | ||
}, | ||
@@ -41,0 +41,0 @@ }, |
@@ -38,3 +38,3 @@ /* prettier-ignore-start */ | ||
publicKey: Buffer.from(wallet.publicKey, 'hex'), | ||
sign: (json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex'))), | ||
sign: wallet.sign || ((json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex')))), | ||
}, | ||
@@ -41,0 +41,0 @@ }, |
@@ -38,3 +38,3 @@ /* prettier-ignore-start */ | ||
publicKey: Buffer.from(wallet.publicKey, 'hex'), | ||
sign: (json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex'))), | ||
sign: wallet.sign || ((json: any): Buffer => new Buffer(signJson(json, Buffer.from(wallet.privateKey, 'hex')))), | ||
}, | ||
@@ -41,0 +41,0 @@ }, |
{ | ||
"name": "dfin-jsdk", | ||
"version": "0.0.18", | ||
"version": "0.0.20-0", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "files": [ | ||
"typedoc:serve": "cd documentation && ws", | ||
"deploy": "npm-run-all --sequential make && cp package.json src/services/sdk && concat-md --toc --decrease-title-levels --dir-name-as-title markdown > src/services/sdk/README.md && cd src/services/sdk && npm publish" | ||
"deploy": "npm-run-all --sequential make && git add -A && git commit -m 'deploy' --no-verify && npm version prepatch && cp package.json src/services/sdk && concat-md --toc --decrease-title-levels --dir-name-as-title markdown > src/services/sdk/README.md && cd src/services/sdk && npm publish" | ||
}, | ||
@@ -37,3 +37,3 @@ "dependencies": { | ||
"bech32": "^1.1.4", | ||
"bip32": "^2.0.5", | ||
"bip32": "^2.0.6", | ||
"bip39": "^3.0.2", | ||
@@ -43,3 +43,3 @@ "change-case": "^4.1.1", | ||
"crypto-js": "^4.0.0", | ||
"decimal.js": "^10.2.0", | ||
"decimal.js": "^10.2.1", | ||
"dotenv": "^8.2.0", | ||
@@ -68,3 +68,3 @@ "fs-extra": "^9.0.1", | ||
"@types/multimatch": "^4.0.0", | ||
"@types/node": "^14.11.1", | ||
"@types/node": "^14.11.2", | ||
"@types/pascalcase": "^1.0.0", | ||
@@ -76,4 +76,4 @@ "@types/prettier": "^2.1.1", | ||
"concat-md": "^0.3.5", | ||
"copy-webpack-plugin": "^6.1.0", | ||
"dotenv-webpack": "^2.0.0", | ||
"copy-webpack-plugin": "^6.1.1", | ||
"dotenv-webpack": "^3.0.0", | ||
"jest": "^26.4.2", | ||
@@ -87,8 +87,8 @@ "jest-mock-axios": "^4.2.1", | ||
"showdown": "^1.9.1", | ||
"ts-jest": "^26.3.0", | ||
"ts-loader": "^8.0.3", | ||
"ts-jest": "^26.4.1", | ||
"ts-loader": "^8.0.4", | ||
"tslint": "^6.1.3", | ||
"typedoc": "^0.19.1", | ||
"typedoc-plugin-markdown": "^2.4.2", | ||
"typescript": "^4.0.2", | ||
"typedoc": "^0.19.2", | ||
"typedoc-plugin-markdown": "^3.0.3", | ||
"typescript": "^4.0.3", | ||
"uglifyjs-webpack-plugin": "^2.2.0", | ||
@@ -95,0 +95,0 @@ "webpack": "^4.44.2", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2424632
10806
Updatedbip32@^2.0.6
Updateddecimal.js@^10.2.1