Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
idbRecords = {
storage: idbStorages[1],
serialize: false,
prefix: null,
...recordSourceOptions,
};
idbOffline = {
storage: idbStorages[2],
serialize: false,
prefix: null,
...offlineStoreOptions,
};
}
const recordSource = new RecordSource(idbRecords);
const store = new Store(recordSource, idbStore, gcScheduler, operationLoader, getDataID);
return new RelayModernEnvironment({ ...config, store }, offlineOptions, idbOffline);
}
}
idbRecords = {
storage: idbStorages[1],
serialize: false,
prefix: null,
...recordSourceOptions,
};
idbOffline = {
storage: idbStorages[2],
serialize: false,
prefix: null,
...offlineStoreOptions,
};
}
const recordSource = new RecordSource(idbRecords);
const store = new Store(recordSource, idbStore, gcScheduler, operationLoader, getDataID);
return new RelayModernEnvironment({ ...config, store }, offlineOptions, idbOffline);
}
}