@pluv/client 2.0.0 → 2.0.1

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@2.0.0 build /home/runner/work/pluv/pluv/packages/client
2
+ > @pluv/client@2.0.1 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 57.21 KB
12
- ESM ⚡️ Build success in 99ms
13
- CJS dist/index.js 58.71 KB
14
- CJS ⚡️ Build success in 100ms
11
+ ESM dist/index.mjs 57.33 KB
12
+ ESM ⚡️ Build success in 127ms
13
+ CJS dist/index.js 58.82 KB
14
+ CJS ⚡️ Build success in 128ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4382ms
16
+ DTS ⚡️ Build success in 4134ms
17
17
  DTS dist/index.d.mts 21.88 KB
18
18
  DTS dist/index.d.ts 21.88 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @pluv/client
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1b93b18: Fixed `ConnectionState` not being exported.
8
+ - @pluv/crdt@2.0.1
9
+ - @pluv/types@2.0.1
10
+
3
11
  ## 2.0.0
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -58,6 +58,7 @@ var __async = (__this, __arguments, generator) => {
58
58
  var index_exports = {};
59
59
  __export(index_exports, {
60
60
  AbstractStorageStore: () => AbstractStorageStore,
61
+ ConnectionState: () => import_types3.ConnectionState,
61
62
  MockedRoom: () => MockedRoom,
62
63
  PluvClient: () => PluvClient,
63
64
  PluvRoom: () => PluvRoom,
@@ -66,6 +67,7 @@ __export(index_exports, {
66
67
  register: () => register
67
68
  });
68
69
  module.exports = __toCommonJS(index_exports);
70
+ var import_types3 = require("@pluv/types");
69
71
 
70
72
  // src/AbstractStorageStore.ts
71
73
  var AbstractStorageStore = class {
@@ -1735,6 +1737,7 @@ var register = (params) => {
1735
1737
  // Annotate the CommonJS export names for ESM import in node:
1736
1738
  0 && (module.exports = {
1737
1739
  AbstractStorageStore,
1740
+ ConnectionState,
1738
1741
  MockedRoom,
1739
1742
  PluvClient,
1740
1743
  PluvRoom,
package/dist/index.mjs CHANGED
@@ -38,6 +38,9 @@ var __async = (__this, __arguments, generator) => {
38
38
  });
39
39
  };
40
40
 
41
+ // src/index.ts
42
+ import { ConnectionState as ConnectionState3 } from "@pluv/types";
43
+
41
44
  // src/AbstractStorageStore.ts
42
45
  var AbstractStorageStore = class {
43
46
  constructor(room) {
@@ -1705,6 +1708,7 @@ var register = (params) => {
1705
1708
  };
1706
1709
  export {
1707
1710
  AbstractStorageStore,
1711
+ ConnectionState3 as ConnectionState,
1708
1712
  MockedRoom,
1709
1713
  PluvClient,
1710
1714
  PluvRoom,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/client",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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": "^2.0.0",
22
- "@pluv/types": "^2.0.0"
21
+ "@pluv/crdt": "^2.0.1",
22
+ "@pluv/types": "^2.0.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "eslint": "^9.25.1",
26
26
  "tsup": "^8.4.0",
27
27
  "typescript": "^5.8.3",
28
- "@pluv/tsconfig": "^2.0.0",
29
- "eslint-config-pluv": "^2.0.0"
28
+ "@pluv/tsconfig": "^2.0.1",
29
+ "eslint-config-pluv": "^2.0.1"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsup src/index.ts --format esm,cjs --dts",
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export type { CrdtType, InferCrdtJson } from "@pluv/crdt";
2
+ export { ConnectionState } from "@pluv/types";
2
3
  export type {
3
4
  BaseUser,
4
- ConnectionState,
5
5
  EventMessage,
6
6
  EventNotifierSubscriptionCallback,
7
7
  EventRecord,