@progressive-development/pd-spa-helper 0.8.4 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,6 @@ const initDB = (config) => {
112
112
  dbLogger.info("Upgrade needed", event);
113
113
  db = event.target.result;
114
114
  switch (event.oldVersion) {
115
- // first call from client, init db
116
115
  case 0:
117
116
  db.createObjectStore(USER_COLLECTION, {
118
117
  keyPath: "id"
@@ -121,8 +120,6 @@ const initDB = (config) => {
121
120
  db.createObjectStore(c.name, c.collectionConf);
122
121
  });
123
122
  break;
124
- // depending on our needs, add specific versions here to migrate existing db
125
- // case X: ....
126
123
  default:
127
124
  dbLogger.info("Updating database structure for existing version");
128
125
  if (!db.objectStoreNames.contains(USER_COLLECTION)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-spa-helper",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Webcomponent pd-spa-helper following open-wc recommendations",
5
5
  "author": "PD Progressive Development",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -58,7 +58,7 @@
58
58
  "@lit/localize-tools": "^0.6.10",
59
59
  "@storybook/addon-essentials": "^8.6.14",
60
60
  "@storybook/addon-links": "^8.6.14",
61
- "@storybook/blocks": "^8.0.10",
61
+ "@storybook/blocks": "^8.6.14",
62
62
  "@storybook/test": "^8.6.14",
63
63
  "@storybook/web-components": "^8.0.10",
64
64
  "@storybook/web-components-vite": "^8.6.14",