@dxos/crypto
Advanced tools
Comparing version 1.0.4-alpha.0 to 1.0.5-alpha.0
# Changelog | ||
### [1.0.5](https://www.github.com/dxos/crypto/compare/v1.0.4...v1.0.5) (2020-11-11) | ||
### Bug Fixes | ||
* error where PublicKey is not detected ([cdb394f](https://www.github.com/dxos/crypto/commit/cdb394f7f3d0a6ea53160d9615140bffd45a513b)) | ||
### [1.0.4](https://www.github.com/dxos/crypto/compare/v1.0.3...v1.0.4) (2020-11-10) | ||
@@ -4,0 +11,0 @@ |
@@ -38,2 +38,5 @@ "use strict"; | ||
} | ||
else if (source.asUint8Array) { | ||
return new PublicKey(source.asUint8Array()); | ||
} | ||
else { | ||
@@ -40,0 +43,0 @@ throw new TypeError(`Unable to create PublicKey from ${source}`); |
{ | ||
"name": "@dxos/crypto", | ||
"version": "1.0.4-alpha.0", | ||
"version": "1.0.5-alpha.0", | ||
"description": "Basic crypto key utils", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -26,2 +26,4 @@ // | ||
return PublicKey.fromHex(source); | ||
} else if ((<any>source).asUint8Array) { | ||
return new PublicKey((<any>source).asUint8Array()); | ||
} else { | ||
@@ -28,0 +30,0 @@ throw new TypeError(`Unable to create PublicKey from ${source}`); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
94798
1091