Comparing version 6.2.4 to 6.2.5
# wonka | ||
## 6.2.5 | ||
### Patch Changes | ||
- Make `closed: boolean` on `ObservableSubscription`s a required field to comply with the Observable proposal's type spec | ||
Submitted by [@naporin0624](https://github.com/naporin0624) (See [#151](https://github.com/0no-co/wonka/pull/151)) | ||
## 6.2.4 | ||
@@ -4,0 +11,0 @@ |
@@ -1253,3 +1253,3 @@ /** | ||
*/ | ||
closed?: boolean; | ||
closed: boolean; | ||
/** Cancels the subscription. | ||
@@ -1302,3 +1302,5 @@ * @remarks | ||
*/ | ||
subscribe(observer: ObservableObserver<T>): ObservableSubscription; | ||
subscribe(observer: ObservableObserver<T>): { | ||
unsubscribe(): void; | ||
}; | ||
/** The well-known symbol specifying the default ES Observable for an object. */ | ||
@@ -1305,0 +1307,0 @@ [Symbol.observable]?(): Observable<T>; |
{ | ||
"name": "wonka", | ||
"description": "A tiny but capable push & pull stream library for TypeScript and Flow", | ||
"version": "6.2.4", | ||
"version": "6.2.5", | ||
"author": "0no.co <hi@0no.co>", | ||
@@ -6,0 +6,0 @@ "source": "./src/index.ts", |
@@ -29,3 +29,3 @@ import { Source, SignalKind, TalkbackKind } from './types'; | ||
*/ | ||
closed?: boolean; | ||
closed: boolean; | ||
/** Cancels the subscription. | ||
@@ -80,3 +80,3 @@ * @remarks | ||
*/ | ||
subscribe(observer: ObservableObserver<T>): ObservableSubscription; | ||
subscribe(observer: ObservableObserver<T>): { unsubscribe(): void }; | ||
@@ -83,0 +83,0 @@ /** The well-known symbol specifying the default ES Observable for an object. */ |
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
338877
8709