teleportxr 1.0.33 → 1.0.35
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/client/client.js +5 -10
- package/package.json +1 -1
package/client/client.js
CHANGED
|
@@ -145,17 +145,12 @@ class Client {
|
|
|
145
145
|
|
|
146
146
|
// Log the setup command for debugging
|
|
147
147
|
console.log("\n===== NODE SERVER SENDING SETUPCOMMAND =====");
|
|
148
|
-
console.log(JSON.stringify({
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
backgroundMode: this.setupCommand.BackgroundMode_backgroundMode,
|
|
152
|
-
backgroundTexture: this.setupCommand.uid_backgroundTexture.toString(),
|
|
153
|
-
drawDistance: this.setupCommand.float32_draw_distance,
|
|
154
|
-
clientDynamicLighting: {
|
|
155
|
-
diffuse_cubemap_texture_uid: this.clientDynamicLighting.uid_diffuse_cubemap_texture_uid.toString(),
|
|
156
|
-
specular_cubemap_texture_uid: this.clientDynamicLighting.uid_specular_cubemap_texture_uid.toString()
|
|
148
|
+
console.log(JSON.stringify(this.setupCommand, (key, value) => {
|
|
149
|
+
if (typeof value === 'bigint') {
|
|
150
|
+
return value.toString();
|
|
157
151
|
}
|
|
158
|
-
|
|
152
|
+
return value;
|
|
153
|
+
}, 2));
|
|
159
154
|
console.log("===== END SETUPCOMMAND =====\n");
|
|
160
155
|
|
|
161
156
|
this.SendCommand(this.setupCommand);
|
package/package.json
CHANGED