Comparing version 3.2.3 to 3.2.4-beta.1
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Version 3.2.3, Mon Jan 23 2023 | ||
* Version 3.2.4-beta.1, Tue May 30 2023 | ||
* | ||
@@ -934,6 +934,14 @@ * https://dexie.org | ||
} | ||
export interface Subscribable<T> { | ||
subscribe(observer: Partial<Observer<T>>): Unsubscribable; | ||
} | ||
export interface Unsubscribable { | ||
unsubscribe(): void; | ||
} | ||
export interface Observable<T = any> { | ||
subscribe(onNext?: ((value: T) => void) | null, onError?: ((error: any) => void) | null, onComplete?: (() => void) | null): Subscription; | ||
subscribe(observer?: Observer<T> | null): Subscription; | ||
[Symbol.observable]: () => Observable<T>; | ||
subscribe(observerOrNext?: Observer<T> | ((value: T) => void)): Subscription; | ||
subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription; | ||
getValue?(): T; | ||
hasValue?(): boolean; | ||
[Symbol.observable]: () => Subscribable<T>; | ||
} | ||
@@ -940,0 +948,0 @@ export interface Subscription { |
{ | ||
"name": "dexie", | ||
"version": "3.2.3", | ||
"version": "3.2.4-beta.1", | ||
"description": "A Minimalistic Wrapper for IndexedDB", | ||
@@ -97,6 +97,6 @@ "main": "dist/dexie.js", | ||
"cd dist", | ||
"uglifyjs dexie.js -m -c negate_iife=0 -o dexie.min.js --source-map", | ||
"uglifyjs dexie.js -m -c negate_iife=0 -o dexie.min.js --source-map url=dexie.min.js.map", | ||
"# Minify modern bundle", | ||
"cd modern", | ||
"terser --comments false --compress --mangle --module --source-map -o dexie.min.mjs -- dexie.mjs" | ||
"terser --comments false --compress --mangle --module --source-map url=dexie.min.mjs.map -o dexie.min.mjs -- dexie.mjs" | ||
], | ||
@@ -103,0 +103,0 @@ "dev": [ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2584738
22
16940
1