Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

2

esm/index.es.js

@@ -75,3 +75,3 @@ import { io } from 'socket.io-client';

var socket = io(_this.options.remoteUrl.href, {
path: '/ptp/socket.io',
path: _this.options.path,
// path: `${this.remoteUrl.pathname}/socket.io`,

@@ -78,0 +78,0 @@ transports: [/*'websocket', <- TODO: [🌬] Make websocket transport work */ 'polling'],

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

import { uuid } from '../../../.././types/typeAliases';
import { string_uri, uuid } from '../../../.././types/typeAliases';
import { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions';

@@ -13,2 +13,9 @@ /**

/**
* Path for the Socket.io server to listen
*
* @default '/socket.io'
* @example '/promptbook/socket.io'
*/
readonly path: string_uri;
/**
* Your client ID

@@ -15,0 +22,0 @@ */

{
"name": "@promptbook/remote-client",
"version": "0.13.0",
"version": "0.13.1",
"description": "Library to supercharge your use of large language models",

@@ -40,3 +40,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.13.0"
"@promptbook/core": "0.13.1"
},

@@ -43,0 +43,0 @@ "main": "./umd/index.umd.js",

@@ -79,3 +79,3 @@ (function (global, factory) {

var socket = socket_ioClient.io(_this.options.remoteUrl.href, {
path: '/ptp/socket.io',
path: _this.options.path,
// path: `${this.remoteUrl.pathname}/socket.io`,

@@ -82,0 +82,0 @@ transports: [/*'websocket', <- TODO: [🌬] Make websocket transport work */ 'polling'],

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

import { uuid } from '../../../.././types/typeAliases';
import { string_uri, uuid } from '../../../.././types/typeAliases';
import { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions';

@@ -13,2 +13,9 @@ /**

/**
* Path for the Socket.io server to listen
*
* @default '/socket.io'
* @example '/promptbook/socket.io'
*/
readonly path: string_uri;
/**
* Your client ID

@@ -15,0 +22,0 @@ */

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