feat: use string on origin (#3319)

This commit is contained in:
Alex Yang 2023-07-20 00:15:48 +08:00 committed by GitHub
parent 19925038ba
commit fbd5b36170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,8 @@ import type {
import { dbVersion, DEFAULT_DB_NAME, upgradeDB } from './shared';
import { tryMigrate } from './utils';
const indexeddbOrigin = Symbol('indexeddb-provider-origin');
const snapshotOrigin = Symbol('snapshot-origin');
const indexeddbOrigin = 'indexeddb-provider-origin';
const snapshotOrigin = 'snapshot-origin';
let mergeCount = 500;