callbag-state
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -1,2 +0,2 @@ | ||
import { Source, Sink, START, DATA, END } from 'callbag'; | ||
import { Source, Sink, START, DATA, END, Callbag } from 'callbag'; | ||
export declare type ChangeTraceLeaf<T> = { | ||
@@ -22,3 +22,3 @@ from: T | undefined; | ||
export declare type MsgType = START | DATA | END; | ||
export declare type SubState<T, K extends keyof T> = Source<T[K] | undefined> & Sink<T[K]> & { | ||
export declare type SubState<T, K extends keyof T> = Callbag<T[K], T[K] | undefined> & { | ||
get(): T[K] | undefined; | ||
@@ -31,3 +31,3 @@ set(t: T[K]): void; | ||
}; | ||
export declare type State<T> = Source<T> & Sink<T> & { | ||
export declare type State<T> = Callbag<T, T> & { | ||
get(): T; | ||
@@ -34,0 +34,0 @@ set(t: T): void; |
@@ -1,2 +0,2 @@ | ||
import { Source, Sink, START, DATA, END } from 'callbag'; | ||
import { Source, Sink, START, DATA, END, Callbag } from 'callbag'; | ||
export declare type ChangeTraceLeaf<T> = { | ||
@@ -22,3 +22,3 @@ from: T | undefined; | ||
export declare type MsgType = START | DATA | END; | ||
export declare type SubState<T, K extends keyof T> = Source<T[K] | undefined> & Sink<T[K]> & { | ||
export declare type SubState<T, K extends keyof T> = Callbag<T[K], T[K] | undefined> & { | ||
get(): T[K] | undefined; | ||
@@ -31,3 +31,3 @@ set(t: T[K]): void; | ||
}; | ||
export declare type State<T> = Source<T> & Sink<T> & { | ||
export declare type State<T> = Callbag<T, T> & { | ||
get(): T; | ||
@@ -34,0 +34,0 @@ set(t: T): void; |
{ | ||
"name": "callbag-state", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Callbag-based State Management", | ||
@@ -50,3 +50,2 @@ "main": "dist/es5/index.js", | ||
"@types/node": "^14.11.8", | ||
"callbag": "^1.2.0", | ||
"callbag-behavior-subject": "^1.2.0", | ||
@@ -86,3 +85,6 @@ "callbag-interval": "^1.1.0", | ||
] | ||
}, | ||
"dependencies": { | ||
"callbag": "^1.3.0" | ||
} | ||
} |
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
66632
28
1
+ Addedcallbag@^1.3.0
+ Addedcallbag@1.5.1(transitive)