@couch-kit/client 0.6.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @couch-kit/client
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#9](https://github.com/faluciano/react-native-couch-kit/pull/9) [`db8bbc9`](https://github.com/faluciano/react-native-couch-kit/commit/db8bbc95c3a3334c97da3e000b2c28b9c2959fb1) Thanks [@faluciano](https://github.com/faluciano)! - Add publishConfig with public access and provenance attestation to all packages. Add missing prepublishOnly build script to CLI package.
8
+
9
+ - Updated dependencies [[`db8bbc9`](https://github.com/faluciano/react-native-couch-kit/commit/db8bbc95c3a3334c97da3e000b2c28b9c2959fb1)]:
10
+ - @couch-kit/core@0.5.1
11
+
3
12
  ## 0.6.0
4
13
 
5
14
  ### Minor Changes
package/README.md CHANGED
@@ -28,6 +28,7 @@ Config:
28
28
  - `reducer`: `(state, action) => state` (your shared reducer)
29
29
  - `initialState`: initial state used until the host hydrates
30
30
  - `url?`: explicit WebSocket URL. If omitted, the hook uses `ws(s)://{window.location.hostname}:8082`.
31
+ - `wsPort?`: WebSocket port override (default: auto-detected from page URL using HTTP port + 2)
31
32
  - `name?`: player display name (default: `"Player"`)
32
33
  - `avatar?`: player avatar emoji (default: `"\u{1F600}"`)
33
34
  - `maxRetries?`: maximum reconnection attempts before giving up (default: `5`)
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@couch-kit/client",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "provenance": true
7
+ },
4
8
  "description": "React hooks for phone controllers in Couch Kit party games — WebSocket client and action dispatch",
5
9
  "license": "MIT",
6
10
  "repository": {
@@ -43,7 +47,7 @@
43
47
  "clean": "rm -rf dist lib"
44
48
  },
45
49
  "dependencies": {
46
- "@couch-kit/core": "0.5.0"
50
+ "@couch-kit/core": "0.5.1"
47
51
  },
48
52
  "devDependencies": {
49
53
  "react": "^18.2.0",