refract-callbag
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -144,3 +144,3 @@ import startWith from 'callbag-start-with'; | ||
? events$ | ||
: events$.pipe(startWith(seedValue)), | ||
: pipe(events$, startWith(seedValue)), | ||
pushEventValue | ||
@@ -147,0 +147,0 @@ ]; |
@@ -150,3 +150,3 @@ 'use strict'; | ||
? events$ | ||
: events$.pipe(startWith(seedValue)), | ||
: pipe(events$, startWith(seedValue)), | ||
pushEventValue | ||
@@ -153,0 +153,0 @@ ]; |
{ | ||
"name": "refract-callbag", | ||
"description": "Refract bindings for React with Callbag: harness the power of reactive programming to supercharge your components!", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "jsnext:main": "index.es.js", |
@@ -23,3 +23,6 @@ import { Callbag, Source, Sink } from 'callbag' | ||
pushEvent: PushEvent | ||
useEvent: <T>(eventName: string) => [Source<T>, (val: T) => any] | ||
useEvent: <T>( | ||
eventName: string, | ||
seedValue?: T | ||
) => [Source<T>, (val: T) => any] | ||
} | ||
@@ -26,0 +29,0 @@ export declare type Aperture<P, E, C = any> = ( |
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
42912
888