diff --git a/examples/typescript/package-lock.json b/examples/typescript/package-lock.json index 495c895..8e9acfc 100644 --- a/examples/typescript/package-lock.json +++ b/examples/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tensorworks/spstypescriptexample", - "version": "v1.0.0-rc.2", + "version": "1.0.0-rc.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@tensorworks/spstypescriptexample", - "version": "v1.0.0-rc.2", + "version": "1.0.0-rc.3", "license": "MIT", "dependencies": { "dotenv": "^16.0.3" diff --git a/examples/typescript/package.json b/examples/typescript/package.json index b0b060b..0e92ee6 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tensorworks/spstypescriptexample", - "version": "v1.0.0-rc.2", + "version": "1.0.0-rc.3", "description": "The typescript example for consuming the Scalable Pixel Streaming Frontend", "main": "./src/index.ts", "scripts": { diff --git a/examples/typescript/src/index.ts b/examples/typescript/src/index.ts index abd42c6..cb2089d 100644 --- a/examples/typescript/src/index.ts +++ b/examples/typescript/src/index.ts @@ -36,7 +36,7 @@ document.body.onload = function () { { // Replace with your custom signalling url if you need to. // Otherwise SPS will use ws|wss://window.location.host/signalling/window.location.pathname - let YOUR_CUSTOM_SIGNALLING_URL_HERE : string = ""; // <-- replace here + let YOUR_CUSTOM_SIGNALLING_URL_HERE: string = ""; // <-- replace here // Check the ?ss= url parameter for a custom signalling url. const urlParams = new URLSearchParams(window.location.search); @@ -51,8 +51,8 @@ document.body.onload = function () { // Override the onConfig so we can determine if we need to send the WebRTC offer based on what is sent from the signalling server stream.signallingProtocol.removeAllListeners("config"); - stream.signallingProtocol.addListener("config", (config : MessageExtendedConfig) => { - if(config.frontendToSendOffer) { + stream.signallingProtocol.addListener("config", (config: MessageExtendedConfig) => { + if (config.frontendToSendOffer) { stream.config.setFlagEnabled(Flags.BrowserSendOffer, config.frontendToSendOffer); } stream.handleOnConfig(config); @@ -84,4 +84,4 @@ document.body.onload = function () { }; const spsApplication: SPSApplication = new SPSApplication(uiOptions); document.body.appendChild(spsApplication.rootElement); -} \ No newline at end of file +} diff --git a/library/package-lock.json b/library/package-lock.json index 8b2f7f7..9637835 100644 --- a/library/package-lock.json +++ b/library/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tensorworks/libspsfrontend", - "version": "0.4.1", + "version": "1.0.0-rc.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@tensorworks/libspsfrontend", - "version": "0.4.1", + "version": "1.0.0-rc.3", "license": "MIT", "dependencies": { "@epicgames-ps/lib-pixelstreamingfrontend-ue5.5": "^0.1.4", diff --git a/library/package.json b/library/package.json index 1d8736c..313a1d8 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@tensorworks/libspsfrontend", - "version": "0.4.1", + "version": "1.0.0-rc.3", "description": "The Scalable Pixel Streaming Frontend Library consuming Epic Games' Pixel Streaming Frontend", "main": "dist/libspsfrontend.min.js", "module": "dist/libspsfrontend.esm.js",