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

minitel-cloudflare-worker

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitel-cloudflare-worker - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

dist/examples/helloworld.d.ts

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

declare const _default: Promise<void>;
declare const _default: {
fetch(request: Request): Promise<Response | undefined>;
};
export default _default;

@@ -10,2 +10,2 @@ "use strict";

setTimeout(() => stream.end(), 10_000);
}).then(() => console.log('MiniPavi handler ready!'));
});

@@ -7,5 +7,5 @@ import { Duplex } from 'node:stream';

}
export declare function createMinipaviHandler(minitelFactory: (ws: Duplex, req: Request) => any, options?: MinipaviHandlerOptions): Promise<{
export declare function createMinipaviHandler(minitelFactory: (ws: Duplex, req: Request) => any, options?: MinipaviHandlerOptions): {
fetch(request: Request): Promise<Response | undefined>;
}>;
};
export {};

@@ -36,3 +36,3 @@ "use strict";

});
async function createMinipaviHandler(minitelFactory, options = {}) {
function createMinipaviHandler(minitelFactory, options = {}) {
const fullOptions = {

@@ -39,0 +39,0 @@ version: '1.0',

{
"name": "minitel-cloudflare-worker",
"version": "1.1.0",
"version": "1.1.1",
"description": "A cloudflare worker for access through MiniPAVI",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,2 +13,2 @@ import { Minitel, TextNode } from 'minitel-standalone';

},
).then(() => console.log('MiniPavi handler ready!'));
);

@@ -41,3 +41,3 @@ import { z } from 'zod';

export async function createMinipaviHandler(
export function createMinipaviHandler(
minitelFactory: (ws: Duplex, req: Request) => any,

@@ -44,0 +44,0 @@ options: MinipaviHandlerOptions = {},

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