Compare commits

..

No commits in common. "v0.1.0-develop.75" and "v0.1.0-develop.74" have entirely different histories.

4 changed files with 4 additions and 11 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.75](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.74...v0.1.0-develop.75) (2023-11-18)
### Bug Fixes
* base64urlpad requires a "U" prefix ([e760149](https://git.lumeweb.com/LumeWeb/libs5/commit/e76014969923fdbceb2c63a90351d3e8d2521d1c))
# [0.1.0-develop.74](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.73...v0.1.0-develop.74) (2023-11-18) # [0.1.0-develop.74](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.73...v0.1.0-develop.74) (2023-11-18)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.75", "version": "0.1.0-develop.74",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.75", "version": "0.1.0-develop.74",
"dependencies": { "dependencies": {
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1", "@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.75", "version": "0.1.0-develop.74",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -19,7 +19,7 @@ export default abstract class Multibase {
} }
bytes = base32.decode(str); bytes = base32.decode(str);
} else if (data[0] === "u") { } else if (data[0] === "u") {
let str = data[0].toUpperCase() + data.substring(1); let str = data;
while (str.length % 4 !== 0) { while (str.length % 4 !== 0) {
str += "="; str += "=";
} }