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

@based/client

Package Overview
Dependencies
Maintainers
0
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 6.11.0 to 6.11.1

2

dist/src/getTargetInfo.d.ts
import { BasedClient } from './index.js';
export declare const getTargetInfo: (client: BasedClient, id: number, type: 'channel' | 'sub') => {
export declare const getTargetInfo: (client: BasedClient, id: number, type: "channel" | "sub") => {
name: string;

@@ -4,0 +4,0 @@ payload?: any;

import { AuthState } from '../types/auth.js';
import { ChannelPublishQueueItem, ChannelQueueItem, FunctionQueueItem, GetObserveQueue, ObserveQueue, StreamQueueItem } from '../types/index.js';
export declare const encodeGetObserveMessage: (id: number, o: import("../types/observe.js").GetObserveQueueItem) => {
export declare const encodeGetObserveMessage: (id: number, o: GetObserveQueue extends Map<any, infer I> ? I : never) => {
buffers: Uint8Array[];

@@ -11,3 +11,3 @@ len: number;

};
export declare const encodeObserveMessage: (id: number, o: import("../types/observe.js").ObserveQueueItem) => {
export declare const encodeObserveMessage: (id: number, o: ObserveQueue extends Map<any, infer I> ? I : never) => {
buffers: Uint8Array[];

@@ -24,3 +24,3 @@ len: number;

};
export declare const encodeAuthMessage: (authState: AuthState) => Uint8Array;
export declare const encodeAuthMessage: (authState: AuthState) => Uint8Array<ArrayBufferLike>;
export declare const encodeStreamMessage: (f: StreamQueueItem) => {

@@ -27,0 +27,0 @@ buffers: Uint8Array[];

@@ -5,3 +5,2 @@ import { addStreamChunk, addStreamRegister } from '../outgoing/index.js';

reader.addEventListener('loadend', (e) => {
console.log('loaded?');
resolve(new Uint8Array(reader.result));

@@ -8,0 +7,0 @@ });

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import { Readable } from "stream";

@@ -3,0 +2,0 @@ import { StreamFunctionPath, StreamFunctionStream } from "./types.js";

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
export type ReadableStream = {

@@ -3,0 +2,0 @@ pipe: (x: any) => ReadableStream;

{
"name": "@based/client",
"version": "6.11.0",
"version": "6.11.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

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