socket-function 0.139.0 → 0.140.0
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/SocketFunction.ts +3 -0
- package/package.json +1 -1
package/SocketFunction.ts
CHANGED
|
@@ -431,6 +431,9 @@ export class SocketFunction {
|
|
|
431
431
|
}
|
|
432
432
|
return SocketFunction.connect({ address: location.hostname, port: +location.port || 443 });
|
|
433
433
|
}
|
|
434
|
+
public static getBrowserNodeId() {
|
|
435
|
+
return this.browserNodeId();
|
|
436
|
+
}
|
|
434
437
|
|
|
435
438
|
public static addGlobalHook(hook: SocketFunctionHook) {
|
|
436
439
|
registerGlobalHook(hook as SocketFunctionHook);
|