Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@grapp/wave

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grapp/wave - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/index.d.ts

@@ -65,3 +65,3 @@ import * as wonka from 'wonka';

declare function useSourceCallback<E = void>(): [Source<E>, (event: E) => void];
declare function useSourceCallback<O, E extends unknown[] = [O]>(initFn: (source: Source<E['length'] extends infer T ? (T extends 1 ? O : E) : E>) => Source<O>): [Source<O>, (...events: E) => void];
declare function useSourceCallback<O, P = O, E extends unknown[] = [O]>(initFn: (source: Source<E['length'] extends infer T ? (T extends 1 ? O : E) : E>) => Source<P>): [Source<O>, (...events: E) => void];

@@ -68,0 +68,0 @@ declare const useSubscription: <T>(source: Source<T>, nextFn?: (value: T) => void) => React.MutableRefObject<Subscription>;

{
"name": "@grapp/wave",
"description": "Bring the power of reactive programming to your React applications.",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "Marcin Dziewulski <hello@mobily.pl>",

@@ -14,4 +14,4 @@ import * as React from 'react';

export function useSourceCallback<E = void>(): [Source<E>, (event: E) => void];
export function useSourceCallback<O, E extends unknown[] = [O]>(
initFn: (source: Source<E['length'] extends infer T ? (T extends 1 ? O : E) : E>) => Source<O>,
export function useSourceCallback<O, P = O, E extends unknown[] = [O]>(
initFn: (source: Source<E['length'] extends infer T ? (T extends 1 ? O : E) : E>) => Source<P>,
): [Source<O>, (...events: E) => void];

@@ -18,0 +18,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