New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

awai

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awai - npm Package Compare versions

Comparing version 0.0.1-alpha-8 to 0.0.1-alpha-9

8

dist/index.d.ts

@@ -59,5 +59,5 @@ type Resolver<T> = (payload: T) => any;

type FamilyState<T, Family extends Record<Id, T>, Id extends string = string> = ReadableState<Family> & {
type FamilyState<T, Id extends string = string> = ReadableState<Record<Id, T>> & {
events: {
changed: AwaitableEvent<Family>;
changed: AwaitableEvent<Record<Id, T>>;
};

@@ -112,4 +112,4 @@ getNode: (id: Id) => T;

type Id$1 = string;
declare const familyState: <T, Initializer extends (id: Id$1) => T | Promise<T>, NodeType extends ReturnType<Initializer> extends PromiseLike<T> ? AsyncState<T> : State<T>, Family extends Record<string, NodeType>>(initializer: Initializer) => FamilyState<NodeType, Family>;
type Id = string;
declare const familyState: <T, Initializer extends (id: Id) => T | Promise<T>, Family extends Record<string, NodeType>, NodeType = ReturnType<Initializer> extends PromiseLike<infer Q> ? AsyncState<Q> : State<ReturnType<Initializer>>>(initializer: Initializer) => FamilyState<NodeType>;

@@ -116,0 +116,0 @@ declare const scenario: (scenarioFn: () => Promise<any>) => Promise<never>;

{
"name": "awai",
"version": "0.0.1-alpha-8",
"version": "0.0.1-alpha-9",
"author": "Yuriy Yakym",

@@ -5,0 +5,0 @@ "description": "State management library",

Sorry, the diff of this file is not supported yet

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