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

@chijs/client

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chijs/client - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

lib/index.d.ts
import { ManagerOptions, Socket, SocketOptions } from 'socket.io-client';
import { RpcHub, IClientRpcFns, IServerClientRpcFns, RpcWrapped } from '@chijs/core';
import { RpcHub, RpcWrapped } from '@chijs/core';
import type { IClientRpcFns, IServerClientRpcFns } from '@chijs/core';
export declare class ChiClient {

@@ -11,1 +12,2 @@ socket: Socket;

}
export * from '@chijs/core';

@@ -13,7 +13,8 @@ import { io } from 'socket.io-client';

this.socket.on('rpc', (msg) => this.hub.handle(msg));
this.service = createRpcWrapper(this.hub, 'app:service:');
this.plugin = createRpcWrapper(this.hub, 'app:plugin:');
this.misc = createRpcWrapper(this.hub, 'app:misc:');
this.service = createRpcWrapper(this.hub.client, 'app:service:');
this.plugin = createRpcWrapper(this.hub.client, 'app:plugin:');
this.misc = createRpcWrapper(this.hub.client, 'app:misc:');
}
}
export * from '@chijs/core';
//# sourceMappingURL=index.js.map
{
"name": "@chijs/client",
"version": "0.0.4",
"version": "0.0.5",
"main": "lib/index.js",

@@ -19,6 +19,5 @@ "license": "AGPL-3.0",

"dependencies": {
"@chijs/core": "^0.0.4",
"@chijs/core": "^0.0.5",
"socket.io-client": "^4.5.1"
},
"devDependencies": {},
"scripts": {

@@ -25,0 +24,0 @@ "build": "node ../../scripts/build.mjs --package client",

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