ngx-rendering-service-lib 0.0.17 → 0.0.18

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.
@@ -176,7 +176,7 @@ const retrieveSessionIdFromDb = (dbRequest) => {
176
176
  const store = transaction.objectStore(DB_STORE)
177
177
  const idQuery = store.get(1)
178
178
  idQuery.onsuccess = () => {
179
- result = idQuery.result.sessionId
179
+ result = idQuery.result !== undefined ? idQuery.result.sessionId : ""
180
180
  }
181
181
  idQuery.onerror = () => {
182
182
  console.error("Query by id failed")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-rendering-service-lib",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"