@react-three/viverse 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ const viverseAvatarClientSymbol = Symbol('viverse-avatar-client');
31
31
  * @param props.loginRequired forces the user to login before playing
32
32
  */
33
33
  export function Viverse({ children, loginRequired = false, checkAuth, ...options }) {
34
- const clientId = import.meta.env.VITE_VIVERSE_APP_ID ?? options.clientId;
34
+ const clientId = options.clientId;
35
35
  const client = suspend(async () => clientId == null
36
36
  ? undefined
37
37
  : new Client({
package/package.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "@react-three/xr": "^6.6.20",
29
29
  "@pixiv/three-vrm": "^3.4.2",
30
30
  "zustand": "^5.0.6",
31
- "@pmndrs/viverse": "^0.1.2"
31
+ "@pmndrs/viverse": "^0.1.4"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@react-three/fiber": "*"
@@ -38,7 +38,7 @@
38
38
  "@types/react": "^19.1.8",
39
39
  "react": "^19.1.0"
40
40
  },
41
- "version": "0.1.2",
41
+ "version": "0.1.4",
42
42
  "scripts": {
43
43
  "build": "tsc",
44
44
  "check:prettier": "prettier --check src",