Update to shlink-web-component 0.2

This commit is contained in:
Alejandro Celaya 2023-08-17 19:31:36 +02:00
parent 6b73fe336b
commit e81588616e
3 changed files with 8 additions and 9 deletions

14
package-lock.json generated
View file

@ -16,7 +16,7 @@
"@json2csv/plainjs": "^7.0.1",
"@reduxjs/toolkit": "^1.9.5",
"@shlinkio/shlink-frontend-kit": "^0.2.0",
"@shlinkio/shlink-web-component": "^0.1.1",
"@shlinkio/shlink-web-component": "^0.2.0",
"bootstrap": "5.2.3",
"bottlejs": "^2.0.1",
"classnames": "^2.3.2",
@ -3024,9 +3024,9 @@
}
},
"node_modules/@shlinkio/shlink-web-component": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@shlinkio/shlink-web-component/-/shlink-web-component-0.1.1.tgz",
"integrity": "sha512-N59LT9KCLPkPvPDPdS5EVvpPg0/eQUf1QuHewVZNK3Ee3XxAqoNK5ssHTuPX/xFDvzPmROEQWxIdcuma5+6e4w==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@shlinkio/shlink-web-component/-/shlink-web-component-0.2.0.tgz",
"integrity": "sha512-7yOTC7VyQwcSE++7nzdfrZIpfl/1vtsyxUcz7SEh7tC1xbUzjjiUgkAJHXQ6SsAbbYWHEt64nkw2gv5m8Iyq7g==",
"dependencies": {
"@json2csv/plainjs": "^7.0.1",
"bottlejs": "^2.0.1",
@ -12630,9 +12630,9 @@
}
},
"@shlinkio/shlink-web-component": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@shlinkio/shlink-web-component/-/shlink-web-component-0.1.1.tgz",
"integrity": "sha512-N59LT9KCLPkPvPDPdS5EVvpPg0/eQUf1QuHewVZNK3Ee3XxAqoNK5ssHTuPX/xFDvzPmROEQWxIdcuma5+6e4w==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@shlinkio/shlink-web-component/-/shlink-web-component-0.2.0.tgz",
"integrity": "sha512-7yOTC7VyQwcSE++7nzdfrZIpfl/1vtsyxUcz7SEh7tC1xbUzjjiUgkAJHXQ6SsAbbYWHEt64nkw2gv5m8Iyq7g==",
"requires": {
"@json2csv/plainjs": "^7.0.1",
"bottlejs": "^2.0.1",

View file

@ -32,7 +32,7 @@
"@json2csv/plainjs": "^7.0.1",
"@reduxjs/toolkit": "^1.9.5",
"@shlinkio/shlink-frontend-kit": "^0.2.0",
"@shlinkio/shlink-web-component": "^0.1.1",
"@shlinkio/shlink-web-component": "^0.2.0",
"bootstrap": "5.2.3",
"bottlejs": "^2.0.1",
"classnames": "^2.3.2",

View file

@ -6,7 +6,6 @@ export class LocalStorage {
public readonly get = <T>(key: string): T | undefined => {
const item = this.localStorage.getItem(buildPath(key));
return item ? JSON.parse(item) as T : undefined;
};