Comparing version 3.2.0-beta-2 to 3.2.0-rc.1
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Version 3.2.0-beta-2, Mon Jul 12 2021 | ||
* Version 3.2.0-rc.1, Tue Sep 07 2021 | ||
* | ||
@@ -441,2 +441,5 @@ * http://dexie.org | ||
} | ||
export interface DbCoreTransactionOptions { | ||
durability: ChromeTransactionDurability; | ||
} | ||
export type DBCoreMutateRequest = DBCoreAddRequest | DBCorePutRequest | DBCoreDeleteRequest | DBCoreDeleteRangeRequest; | ||
@@ -571,3 +574,3 @@ export interface DBCoreMutateResponse { | ||
// Transaction and Object Store | ||
transaction(stores: string[], mode: "readonly" | "readwrite"): DBCoreTransaction; | ||
transaction(stores: string[], mode: "readonly" | "readwrite", options?: DbCoreTransactionOptions): DBCoreTransaction; | ||
// Utility methods | ||
@@ -649,3 +652,3 @@ cmp(a: any, b: any): number; | ||
}): PromiseExtended<TKey>; | ||
bulkDelete(keys: IndexableTypeArrayReadonly): PromiseExtended<void>; | ||
bulkDelete(keys: TKey[]): PromiseExtended<void>; | ||
} | ||
@@ -706,3 +709,3 @@ export interface Version { | ||
}; | ||
export interface DexieOnTxCommittedEvent { | ||
export interface DexieOnStorageMutatedEvent { | ||
subscribe(fn: (parts: ObservabilitySet) => any): void; | ||
@@ -713,4 +716,4 @@ unsubscribe(fn: (parts: ObservabilitySet) => any): void; | ||
export interface GlobalDexieEvents extends DexieEventSet { | ||
(eventName: "txcommitted", subscriber: (parts: ObservabilitySet) => any): void; | ||
txcommitted: DexieOnTxCommittedEvent; | ||
(eventName: "storagemutated", subscriber: (parts: ObservabilitySet) => any): void; | ||
storagemutated: DexieOnStorageMutatedEvent; | ||
} | ||
@@ -946,2 +949,3 @@ export type DbSchema = { | ||
} | ||
export type ChromeTransactionDurability = "default" | "strict" | "relaxed"; | ||
export interface DexieOptions { | ||
@@ -960,2 +964,3 @@ addons?: Array<(db: Dexie) => void>; | ||
modifyChunkSize?: number; | ||
chromeTransactionDurability?: ChromeTransactionDurability; | ||
} | ||
@@ -962,0 +967,0 @@ export interface DexieConstructor extends DexieExceptionClasses { |
{ | ||
"name": "dexie", | ||
"version": "3.2.0-beta-2", | ||
"version": "3.2.0-rc.1", | ||
"description": "A Minimalistic Wrapper for IndexedDB", | ||
@@ -5,0 +5,0 @@ "main": "dist/dexie.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2541403
16065