You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

callbag-state

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callbag-state - npm Package Compare versions

Comparing version

to
0.1.4

6

dist/es5/types.d.ts

@@ -1,2 +0,2 @@

import { Source, Sink, START, DATA, END, Callbag } from 'callbag';
import { Source, Sink, START, DATA, END } from 'callbag';
export declare type ChangeTraceLeaf<T> = {

@@ -7,3 +7,3 @@ from: T | undefined;

export declare type ChangeTraceNode<T> = {
subs: (T extends any[] ? {
subs: (T extends Array<unknown> ? {
[index: number]: ChangeTrace<T[number]>;

@@ -39,5 +39,5 @@ } : Partial<{

};
export declare function isState<T>(cb: Callbag<any, T>): cb is State<T>;
export declare function isState<T>(cb: Source<T>): cb is State<T>;
export declare const _Start = 0;
export declare const _Data = 1;
export declare const _End = 2;

@@ -1,2 +0,2 @@

import { Source, Sink, START, DATA, END, Callbag } from 'callbag';
import { Source, Sink, START, DATA, END } from 'callbag';
export declare type ChangeTraceLeaf<T> = {

@@ -7,3 +7,3 @@ from: T | undefined;

export declare type ChangeTraceNode<T> = {
subs: (T extends any[] ? {
subs: (T extends Array<unknown> ? {
[index: number]: ChangeTrace<T[number]>;

@@ -39,5 +39,5 @@ } : Partial<{

};
export declare function isState<T>(cb: Callbag<any, T>): cb is State<T>;
export declare function isState<T>(cb: Source<T>): cb is State<T>;
export declare const _Start = 0;
export declare const _Data = 1;
export declare const _End = 2;
{
"name": "callbag-state",
"version": "0.1.3",
"version": "0.1.4",
"description": "Callbag-based State Management",

@@ -5,0 +5,0 @@ "main": "dist/es5/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet