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

cushax-client

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cushax-client - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

4

lib/cushax.d.ts
/// <reference types="socket.io-client" />
import { Module } from "vuex";
import { ObjectPropertyToPair, UnionToIntersection } from "./types";
declare type CushaxAuthType<TSchema extends Module<any, any>, TAuth = Pick<TSchema["state"], "$auth">> = (data: Partial<TAuth>) => void;
declare type CushaxAuthType<TSchema extends Module<any, any>> = (data: Partial<TSchema["state"]["$auth"]>) => void;
export declare class Cushax<TModule extends Module<any, any>> {

@@ -11,4 +11,4 @@ private socket;

commit: UnionToIntersection<ObjectPropertyToPair<TModule, "mutations", keyof TModule["mutations"]> extends [infer TName, infer TFunction] ? TFunction extends (state: any, payload: infer TPayload) => any ? (name: TName, payload: TPayload) => void : never : never>;
auth: CushaxAuthType<TModule, Pick<TModule["state"], "$auth">>;
auth: CushaxAuthType<TModule>;
}
export {};
{
"name": "cushax-client",
"version": "0.1.8",
"version": "0.1.9",
"author": "boenfu <1997@boenfu.cn>",

@@ -5,0 +5,0 @@ "license": "MIT",

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