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

doura

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doura - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

12

dist/doura.d.ts

@@ -13,3 +13,3 @@ export declare type Action = ModifyAction | PatchAction | ReplaceAction;

declare type ActionOptions = Record<string, Function>;
export declare type ActionOptions = Record<string, Function>;

@@ -51,3 +51,3 @@ declare type Actions<A> = A extends ActionOptions ? {

declare type DefineModel<S extends State, A extends ActionOptions, V extends ViewOptions, P extends Params> = ModelOptions<S, A, V, P> & {};
export declare type DefineModel<S extends State, A extends ActionOptions, V extends ViewOptions, P extends Params> = ModelOptions<S, A, V, P> & {};

@@ -80,3 +80,3 @@ export declare const defineModel: <S extends StateObject, A extends ActionOptions, V extends ViewOptions<S>, P extends unknown>(modelOptions: ModelOptions<S, A, V, P>) => DefineModel<S, A, V, P>;

declare interface FunctionModel<S extends State, A extends ActionOptions, V extends ViewOptions> {
export declare interface FunctionModel<S extends State, A extends ActionOptions, V extends ViewOptions> {
(context: ModelOptionContext): ObjectModel<S, A, V>;

@@ -150,3 +150,3 @@ }

declare type ModelOptions<S extends State, A extends ActionOptions, V extends ViewOptions, P extends Params> = ObjectModel<S, A, V> | FunctionModel<S, A, V>;
export declare type ModelOptions<S extends State, A extends ActionOptions, V extends ViewOptions, P extends Params> = ObjectModel<S, A, V> | FunctionModel<S, A, V>;

@@ -201,3 +201,3 @@ declare interface ModelPatchEvent extends ModelChangeEventBase, PatchArgs {

declare type ObjectModel<S extends State, A extends ActionOptions, V extends ViewOptions> = {
export declare type ObjectModel<S extends State, A extends ActionOptions, V extends ViewOptions> = {
state: S;

@@ -265,3 +265,3 @@ actions?: A;

declare type ViewOptions<State = any> = Record<string, ((s: State) => any) | (() => any)>;
export declare type ViewOptions<State = any> = Record<string, ((s: State) => any) | (() => any)>;

@@ -268,0 +268,0 @@ declare type Views<ViewOptions> = {

{
"name": "doura",
"version": "0.0.2",
"version": "0.0.3",
"description": "Reactive and intuitive state management",

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

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