phirepass-widgets 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/phirepass-terminal.cjs.entry.js +32 -17
- package/dist/cjs/phirepass-widgets.cjs.js +1 -1
- package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +33 -2
- package/dist/collection/phirepass-channel_bg.wasm +0 -0
- package/dist/components/phirepass-terminal.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/phirepass-terminal.entry.js +32 -17
- package/dist/esm/phirepass-widgets.js +1 -1
- package/dist/phirepass-widgets/{p-1201eb0d.entry.js → p-2ee3ba0c.entry.js} +4 -4
- package/dist/phirepass-widgets/phirepass-channel_bg.wasm +0 -0
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/dist/types/components/phirepass-terminal/phirepass-terminal.d.ts +2 -0
- package/dist/types/components.d.ts +3 -0
- package/package.json +2 -2
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as r}from"./p-elO6rcMK.js";export{s as setNonce}from"./p-elO6rcMK.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),e(s)})().then((async e=>(await t(),r([["p-37426f4b",[[257,"phirepass-sftp-client"]]],["p-
|
|
1
|
+
import{p as e,b as r}from"./p-elO6rcMK.js";export{s as setNonce}from"./p-elO6rcMK.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),e(s)})().then((async e=>(await t(),r([["p-37426f4b",[[257,"phirepass-sftp-client"]]],["p-2ee3ba0c",[[513,"phirepass-terminal",{terminalOptions:[16],serverHost:[1,"server-host"],serverPort:[2,"server-port"],allowInsecure:[4,"allow-insecure"],heartbeatInterval:[2,"heartbeat-interval"],nodeId:[1,"node-id"],serverId:[1,"server-id"]},null,{nodeId:[{onNodeIdChange:0}],serverId:[{onServerIdChange:0}]}]]]],e))));
|
|
@@ -51,6 +51,8 @@ export declare class PhirepassTerminal {
|
|
|
51
51
|
heartbeatInterval: number;
|
|
52
52
|
nodeId?: string;
|
|
53
53
|
onNodeIdChange(newValue?: string, _oldValue?: string): void;
|
|
54
|
+
serverId?: string;
|
|
55
|
+
onServerIdChange(_newValue?: string, _oldValue?: string): void;
|
|
54
56
|
createWebSocketEndpoint(): string;
|
|
55
57
|
connectedCallback(): Promise<void>;
|
|
56
58
|
disconnectedCallback(): Promise<void>;
|
|
@@ -22,6 +22,7 @@ export namespace Components {
|
|
|
22
22
|
* @default "phirepass.io"
|
|
23
23
|
*/
|
|
24
24
|
"serverHost": string;
|
|
25
|
+
"serverId"?: string;
|
|
25
26
|
/**
|
|
26
27
|
* @default 443
|
|
27
28
|
*/
|
|
@@ -67,6 +68,7 @@ declare namespace LocalJSX {
|
|
|
67
68
|
* @default "phirepass.io"
|
|
68
69
|
*/
|
|
69
70
|
"serverHost"?: string;
|
|
71
|
+
"serverId"?: string;
|
|
70
72
|
/**
|
|
71
73
|
* @default 443
|
|
72
74
|
*/
|
|
@@ -83,6 +85,7 @@ declare namespace LocalJSX {
|
|
|
83
85
|
"allowInsecure": boolean;
|
|
84
86
|
"heartbeatInterval": number;
|
|
85
87
|
"nodeId": string;
|
|
88
|
+
"serverId": string;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
interface IntrinsicElements {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phirepass-widgets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Phirepass widgets for the web application",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"@xterm/addon-web-links": "^0.12.0",
|
|
58
58
|
"@xterm/addon-webgl": "^0.19.0",
|
|
59
59
|
"@xterm/xterm": "^6.0.0",
|
|
60
|
-
"phirepass-channel": "^0.1.
|
|
60
|
+
"phirepass-channel": "^0.1.123"
|
|
61
61
|
}
|
|
62
62
|
}
|