Comparing version 4.0.3 to 4.0.4
@@ -0,1 +1,10 @@ | ||
## [4.0.4](https://github.com/multiformats/js-multibase/compare/v4.0.3...v4.0.4) (2021-04-07) | ||
### Bug Fixes | ||
* return basename or boolean from isEncoded ([#91](https://github.com/multiformats/js-multibase/issues/91)) ([5f9ebe8](https://github.com/multiformats/js-multibase/commit/5f9ebe8b2cc3c9c7362b3ede23ac99ff02f42423)) | ||
## [4.0.3](https://github.com/multiformats/js-multibase/compare/v4.0.2...v4.0.3) (2021-04-06) | ||
@@ -2,0 +11,0 @@ |
@@ -43,5 +43,4 @@ export = multibase; | ||
* @param {Uint8Array|string} data | ||
* @returns {false | string} | ||
*/ | ||
declare function isEncoded(data: Uint8Array | string): false | string; | ||
declare function isEncoded(data: Uint8Array | string): false | "identity" | "base2" | "base8" | "base10" | "base16" | "base16upper" | "base32hex" | "base32hexupper" | "base32hexpad" | "base32hexpadupper" | "base32" | "base32upper" | "base32pad" | "base32padupper" | "base32z" | "base36" | "base36upper" | "base58btc" | "base58flickr" | "base64" | "base64pad" | "base64url" | "base64urlpad"; | ||
/** | ||
@@ -48,0 +47,0 @@ * Get the encoding by name or code |
{ | ||
"name": "multibase", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "JavaScript implementation of the multibase specification", | ||
@@ -53,5 +53,5 @@ "keywords": [ | ||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>", | ||
"Alex Potsides <alex@achingbrain.net>", | ||
"Volker Mische <volker.mische@gmail.com>", | ||
"Alan Shaw <alan.shaw@protocol.ai>", | ||
"Alex Potsides <alex@achingbrain.net>", | ||
"Irakli Gozalishvili <contact@gozala.io>", | ||
@@ -58,0 +58,0 @@ "victorbjelkholm <victorbjelkholm@gmail.com>", |
@@ -76,3 +76,2 @@ /** | ||
* @param {Uint8Array|string} data | ||
* @returns {false | string} | ||
*/ | ||
@@ -79,0 +78,0 @@ function isEncoded (data) { |
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
33931
637