@bfly/utils
Advanced tools
Comparing version 4.16.0 to 4.16.1
@@ -89,3 +89,3 @@ "use strict"; | ||
const uuid = decodeHandle(handleOrUuid) || handleOrUuid; | ||
if (!isUuid(uuid)) throw new Error(`Invalid conversion to global id: ${uuid} is not a valid UUID`); | ||
if (!uuid) throw new Error(`Invalid conversion to global id: ${uuid} was not provided`); | ||
return encodeBase64(`${type}:${uuid}`); | ||
@@ -92,0 +92,0 @@ } |
@@ -76,3 +76,3 @@ // https://github.com/uuidjs/uuid/blob/0f6c4365275e1f7ef9ee875e01415cd466ae977a/LICENSE.md | ||
const uuid = decodeHandle(handleOrUuid) || handleOrUuid; | ||
if (!isUuid(uuid)) throw new Error(`Invalid conversion to global id: ${uuid} is not a valid UUID`); | ||
if (!uuid) throw new Error(`Invalid conversion to global id: ${uuid} was not provided`); | ||
return encodeBase64(`${type}:${uuid}`); | ||
@@ -79,0 +79,0 @@ } |
{ | ||
"name": "@bfly/utils", | ||
"version": "4.16.0", | ||
"version": "4.16.1", | ||
"license": "UNLICENSED", | ||
@@ -35,3 +35,3 @@ "author": "Butterfly Network", | ||
}, | ||
"gitHead": "ce1ec1cfbcdf7254a01aadb94afa726ee09b759d" | ||
"gitHead": "4d322bd29a76cdc0905b7e38295555cc4cf2be24" | ||
} |
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
66094