Comparing version 3.1.0-alpha.9 to 3.1.0-alpha.10
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Version 3.1.0-alpha.9, Thu Mar 18 2021 | ||
* Version 3.1.0-alpha.10, Thu Apr 29 2021 | ||
* | ||
@@ -643,10 +643,10 @@ * http://dexie.org | ||
}): Version; | ||
upgrade(fn: (trans: Transaction) => void): Version; | ||
upgrade(fn: (trans: Transaction) => PromiseLike<any> | void): Version; | ||
} | ||
export type RangeBtree = RangeBtreeNode | EmptyRange; | ||
export interface RangeBtreeNode { | ||
export type IntervalTree = IntervalTreeNode | EmptyRange; | ||
export interface IntervalTreeNode { | ||
from: IndexableType; // lower bound | ||
to: IndexableType; // upper bound | ||
l: RangeBtreeNode | null; // left | ||
r: RangeBtreeNode | null; // right | ||
l: IntervalTreeNode | null; // left | ||
r: IntervalTreeNode | null; // right | ||
d: number; // depth | ||
@@ -692,3 +692,3 @@ } | ||
// `idb:${dbName}/${tableName}/changedIndexes/${indexName}` - indexes | ||
[part: string]: RangeBtree; | ||
[part: string]: IntervalTree; | ||
}; | ||
@@ -996,4 +996,4 @@ export interface DexieOnTxCommittedEvent { | ||
export function liveQuery<T>(querier: () => T | Promise<T>): Observable<T>; | ||
export function mergeRanges(target: RangeBtree, newSet: RangeBtree): void; | ||
export function rangesOverlap(rangeSet1: RangeBtree, rangeSet2: RangeBtree): boolean; | ||
export function mergeRanges(target: IntervalTree, newSet: IntervalTree): void; | ||
export function rangesOverlap(rangeSet1: IntervalTree, rangeSet2: IntervalTree): boolean; | ||
/** Exporting 'Dexie' as the default export. | ||
@@ -1000,0 +1000,0 @@ **/ |
{ | ||
"name": "dexie", | ||
"version": "3.1.0-alpha.9", | ||
"version": "3.1.0-alpha.10", | ||
"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
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
1652790
10902