@pluv/client 0.38.10 → 0.38.11

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/client@0.38.10 build /home/runner/work/pluv/pluv/packages/client
2
+ > @pluv/client@0.38.11 build /home/runner/work/pluv/pluv/packages/client
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
+ ESM dist/index.mjs 48.04 KB
12
+ ESM ⚡️ Build success in 109ms
11
13
  CJS dist/index.js 49.35 KB
12
- CJS ⚡️ Build success in 113ms
13
- ESM dist/index.mjs 48.03 KB
14
- ESM ⚡️ Build success in 116ms
14
+ CJS ⚡️ Build success in 115ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 3215ms
16
+ DTS ⚡️ Build success in 3258ms
17
17
  DTS dist/index.d.mts 23.16 KB
18
18
  DTS dist/index.d.ts 23.16 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @pluv/client
2
2
 
3
+ ## 0.38.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 5ac1aba: Fix the default `wsEndpoint` parameter (for when `@pluv/platform-pluv` is being used).
8
+ - @pluv/crdt@0.38.11
9
+ - @pluv/types@0.38.11
10
+
3
11
  ## 0.38.10
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -848,7 +848,7 @@ var PluvRoom = class extends AbstractRoom {
848
848
  _getWsEndpoint(room) {
849
849
  switch (typeof this._endpoints.wsEndpoint) {
850
850
  case "undefined":
851
- return !!this._getPublicKey() ? `https://rooms.pluv.io/${room}` : `/api/pluv/room/${room}`;
851
+ return !!this._getPublicKey() ? `wss://rooms.pluv.io/api/room/${room}` : `/api/pluv/room/${room}`;
852
852
  case "string":
853
853
  return this._endpoints.wsEndpoint;
854
854
  default:
package/dist/index.mjs CHANGED
@@ -817,7 +817,7 @@ var PluvRoom = class extends AbstractRoom {
817
817
  _getWsEndpoint(room) {
818
818
  switch (typeof this._endpoints.wsEndpoint) {
819
819
  case "undefined":
820
- return !!this._getPublicKey() ? `https://rooms.pluv.io/${room}` : `/api/pluv/room/${room}`;
820
+ return !!this._getPublicKey() ? `wss://rooms.pluv.io/api/room/${room}` : `/api/pluv/room/${room}`;
821
821
  case "string":
822
822
  return this._endpoints.wsEndpoint;
823
823
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/client",
3
- "version": "0.38.10",
3
+ "version": "0.38.11",
4
4
  "description": "@pluv/io frontend client",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -18,15 +18,15 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "wonka": "^6.3.5",
21
- "@pluv/crdt": "^0.38.10",
22
- "@pluv/types": "^0.38.10"
21
+ "@pluv/crdt": "^0.38.11",
22
+ "@pluv/types": "^0.38.11"
23
23
  },
24
24
  "devDependencies": {
25
25
  "eslint": "^8.57.1",
26
26
  "tsup": "^8.4.0",
27
- "typescript": "^5.8.2",
28
- "@pluv/tsconfig": "^0.38.10",
29
- "eslint-config-pluv": "^0.38.10"
27
+ "typescript": "^5.8.3",
28
+ "@pluv/tsconfig": "^0.38.11",
29
+ "eslint-config-pluv": "^0.38.11"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsup src/index.ts --format esm,cjs --dts",
package/src/PluvRoom.ts CHANGED
@@ -747,7 +747,7 @@ export class PluvRoom<
747
747
  private _getWsEndpoint(room: string): string {
748
748
  switch (typeof this._endpoints.wsEndpoint) {
749
749
  case "undefined":
750
- return !!this._getPublicKey() ? `https://rooms.pluv.io/${room}` : `/api/pluv/room/${room}`;
750
+ return !!this._getPublicKey() ? `wss://rooms.pluv.io/api/room/${room}` : `/api/pluv/room/${room}`;
751
751
  case "string":
752
752
  return this._endpoints.wsEndpoint;
753
753
  default: