@wcstack/websocket 4.0.4 → 4.1.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/README.ja.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -48,8 +48,8 @@ npm install @wcstack/websocket
|
|
|
48
48
|
`<wcs-ws>` が DOM に接続され `url` が設定されると、自動的に WebSocket 接続を開きます。JSON メッセージは自動パースされます。
|
|
49
49
|
|
|
50
50
|
```html
|
|
51
|
-
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
52
51
|
<script type="module" src="https://esm.run/@wcstack/websocket/auto"></script>
|
|
52
|
+
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
53
53
|
|
|
54
54
|
<wcs-state>
|
|
55
55
|
<script type="module">
|
package/README.md
CHANGED
|
@@ -48,8 +48,8 @@ npm install @wcstack/websocket
|
|
|
48
48
|
When `<wcs-ws>` is connected to the DOM with a `url`, it automatically opens a WebSocket connection. JSON messages are automatically parsed.
|
|
49
49
|
|
|
50
50
|
```html
|
|
51
|
-
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
52
51
|
<script type="module" src="https://esm.run/@wcstack/websocket/auto"></script>
|
|
52
|
+
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
53
53
|
|
|
54
54
|
<wcs-state>
|
|
55
55
|
<script type="module">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/websocket",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Declarative WebSocket component for Web Components. Framework-agnostic real-time communication via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|