Skip to content

Commit c3d84f4

Browse files
committed
update example & expose websocket & update icon
1 parent aa5fdc2 commit c3d84f4

File tree

4 files changed

+62
-38
lines changed

4 files changed

+62
-38
lines changed

examples/example.c3p

872 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"name": "@pipelab/construct-plugin",
1111
"description": "Pipelab construct plugin",
12-
"version": "1.1.0",
12+
"version": "1.2.0",
1313
"packageManager": "[email protected]",
1414
"type": "module",
1515
"scripts": {

src/icon.svg

Lines changed: 57 additions & 37 deletions
Loading

src/instance.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ function getInstanceJs(parentClass, addonTriggers, C3) {
231231
reconnectInterval: 5000
232232
});
233233

234+
window.pipelab = {
235+
ws: this.ws
236+
}
237+
234238
await this.ws.connect();
235239

236240
console.log('this.ws', this.ws)

0 commit comments

Comments
 (0)