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

@mercuryworkshop/bare-mux

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercuryworkshop/bare-mux - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/types.d.ts

2

dist/index.js

@@ -101,3 +101,3 @@ import { v4 } from 'uuid';

//@ts-expect-error not installing node types for this one thing
self.BCC_VERSION = "1.1.0";
self.BCC_VERSION = "1.1.1";
console.debug("BARE_MUX_VERSION: " + self.BCC_VERSION);

@@ -104,0 +104,0 @@ function initTransport(name, config) {

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

/// <reference lib="webworker" />
import { BareHeaders, BareTransport, TransferrableResponse } from './BareTypes';

@@ -3,0 +2,0 @@ export declare function registerRemoteListener(channel: ServiceWorker): void;

export declare const fetch: typeof globalThis.fetch;
export declare const WebSocket: {
new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;
new (url: string | URL, protocols?: string | string[]): WebSocket;
prototype: WebSocket;

@@ -11,11 +11,11 @@ readonly CONNECTING: 0;

export declare const Request: {
new (input: URL | RequestInfo, init?: RequestInit | undefined): Request;
new (input: RequestInfo | URL, init?: RequestInit): Request;
prototype: Request;
};
export declare const Response: {
new (body?: BodyInit | null | undefined, init?: ResponseInit | undefined): Response;
new (body?: BodyInit | null, init?: ResponseInit): Response;
prototype: Response;
error(): Response;
json(data: any, init?: ResponseInit | undefined): Response;
redirect(url: string | URL, status?: number | undefined): Response;
json(data: any, init?: ResponseInit): Response;
redirect(url: string | URL, status?: number): Response;
};

@@ -34,4 +34,4 @@ export declare const XMLHttpRequest: {

send: {
(data: string | Blob | ArrayBufferView | ArrayBufferLike): void;
(data: string | Blob | ArrayBufferView | ArrayBufferLike): void;
(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
};

@@ -38,0 +38,0 @@ };

{
"name": "@mercuryworkshop/bare-mux",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"type": "module",
"scripts": {
"build": "rollup -c"
},
"author": "",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"types": "dist/types.d.ts",
"exports": {

@@ -39,3 +36,6 @@ ".": {

"uuid": "^9.0.1"
},
"scripts": {
"build": "rollup -c"
}
}
}

@@ -45,6 +45,5 @@ # Bare-Mux

SetTransport("EpxMod.EpoxyClient", { wisp: "wss://wisp.mercurywork.shop" });
SetTransport("BareMod.BareClient", "https://some-bare-server.com" });
SetTransport("BareMod.BareClient", "https://some-bare-server.com");
```
If not using a bundler, include the `bare.cjs` file in releases and call `BareMux.SetTransport`.
If not using a bundler, extract the npm package in releases, and include the `bare.cjs` file and call `BareMux.SetTransport`.

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