Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 74f23ae358 chore(release): 0.1.0-develop.73 [skip ci]
# [0.1.0-develop.73](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.72...v0.1.0-develop.73) (2023-11-18)

### Bug Fixes

* don't strip u ([b3174ca](b3174cacf7))
2023-11-18 12:46:20 +00:00
Derrick Hammer 1adac41c74
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 07:45:21 -05:00
Derrick Hammer b3174cacf7
fix: don't strip u 2023-11-18 07:45:18 -05:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.73](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.72...v0.1.0-develop.73) (2023-11-18)
### Bug Fixes
* don't strip u ([b3174ca](https://git.lumeweb.com/LumeWeb/libs5/commit/b3174cacf725fb24a73d5188bc123a6d88bff055))
# [0.1.0-develop.72](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.71...v0.1.0-develop.72) (2023-11-18)

4
npm-shrinkwrap.json generated
View File

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

View File

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

View File

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