@promptbook/remote-client
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
296607
4314