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

@rallie/core

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rallie/core - npm Package Compare versions

Comparing version 0.6.7 to 0.6.8

2

dist/lib/event-emitter.d.ts

@@ -8,5 +8,5 @@ import type { CallbackType } from '../types';

removeBroadcastEventListener(event: string, callback: CallbackType): void;
removeUnicastEventListener(event: string, callback: CallbackType): void;
removeUnicastEventListener(event: string): void;
emitBroadcast(event: string, ...args: any[]): void;
emitUnicast(event: string, ...args: any[]): any;
}

@@ -50,5 +50,6 @@ import type { EventEmitter } from './event-emitter';

* @param namespace
* @param arg
* @param action
* @param setter
*/
setState<T = any>(namespace: string, setter: (state: T) => void | Promise<void>): Promise<void>;
setState<T = any>(namespace: string, action: string, setter: (state: T) => void | Promise<void>): Promise<void>;
/**

@@ -59,3 +60,3 @@ * watch the change of state

*/
watchState<T = any, P = any>(namespace: string, getter: (state: T, isWatchingEffect?: boolean) => undefined | P): Watcher<P>;
watchState<T = any, P = any>(namespace: string, getter: (state: T) => undefined | P): Watcher<P>;
/**

@@ -62,0 +63,0 @@ * waiting for some states to be initialized

@@ -7,3 +7,2 @@ import type { MiddlewareFnType, NextFnType, ContextType, DependencyType, RelateType } from '../types';

removeNonExistedUnicast: (eventName: string) => string;
wrongUnicastCallback: (eventName: string) => string;
registedExistedUnicast: (eventName: string) => string;

@@ -15,2 +14,3 @@ emittedNonExistedUnicast: (eventName: string) => string;

modifyPrivateState: (namespace: string) => string;
actionIsNotDefined: (namespace: string) => string;
accessUninitializedState: (namespace: string) => string;

@@ -17,0 +17,0 @@ waitStateTimeout: (namespaces: string[]) => string;

{
"name": "@rallie/core",
"version": "0.6.7",
"version": "0.6.8",
"description": "a progressive micro front framework",

@@ -28,3 +28,3 @@ "main": "./dist/index.umd.js",

"homepage": "https://github.com/ralliejs/rallie#readme",
"gitHead": "dab5213cdb15b18b2d765d856f8aa8ce1c724729"
"gitHead": "66b039ceefc02dc039f96d7f8ff58da4099df4a3"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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