Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.1.8 to 0.1.9

6

dist/es5/types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc