ngx-indexed-db
ngx-indexed-db copied to clipboard
Getting Uncaught (in promise): Event: {"isTrusted":true} error after upgrading to v18.0.0
Hi Team ,
I am getting the below error everytime on my angular application after upgrading to v18.0.0
Error: Uncaught (in promise): Event: {"isTrusted":true}
at te (pxf_polyfills.js:1:15947)
at pxf_polyfills.js:1:15028
at pxf_polyfills.js:1:15136
at O.invoke (pxf_polyfills.js:1:6443)
at B.run (pxf_polyfills.js:1:1851)
at https://cdn.finovera.com/pxf-blocks/v6.1/pxf_polyfills.js:1:16745
Below is my DBConfig
import { DBConfig } from 'ngx-indexed-db';
export const PXFIndexedDBConfig: DBConfig = {
name: 'pxf-indexed-db',
version: 1,
objectStoresMeta: [
{
store: 'searchPayeesReqTable',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'searchEbillsReqTable',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'searchScheduledPayments',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'searchProcessedPayments',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'searchForecastedPayments',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'getPaymentOptions',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
{
store: 'getForecastedPaymentDates',
storeConfig: { keyPath: 'id', autoIncrement: true },
storeSchema: [],
},
],
};
P.S: This was working fine till the version 16.0.0 ? Is there any way to address the same . What i have observed is that there is always a version mismatch within the indexed DB when the application loads even though i have set the value to "1" inside DBConfig