@wcstack/wakelock 1.22.6 → 1.23.0

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 CHANGED
@@ -215,6 +215,8 @@ core.dispose(); // visibilitychange リスナを除去
215
215
 
216
216
  Core を直接駆動する場合は、終わったら `dispose()` を呼んで `visibilitychange` リスナを除去してください。
217
217
 
218
+ Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
219
+
218
220
  ## ノートと制限
219
221
 
220
222
  - **プロデューサーではなくシンク。** 他の @wcstack センサーとは違い、wake lock は状態に *よって* 駆動されます(`state → element`)。それが返すのは `held` だけです。
package/README.md CHANGED
@@ -219,6 +219,8 @@ core.dispose(); // remove the visibilitychange listener
219
219
  When you drive the Core directly, call `dispose()` when you are done so its
220
220
  `visibilitychange` listener is removed.
221
221
 
222
+ The structural Core surface is normative across wcstack IO nodes ([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md)); to bind it into signals with no element at all, see [@wcstack/signals — Binding a Core directly](../signals/README.md#binding-a-core-directly-no-element).
223
+
222
224
  ## Notes & limitations
223
225
 
224
226
  - **Sink, not producer.** Unlike the other @wcstack sensors, the wake lock is driven *by* state (`state → element`). `held` is the only thing it produces back.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/wakelock",
3
- "version": "1.22.6",
3
+ "version": "1.23.0",
4
4
  "description": "Declarative Screen Wake Lock component for Web Components. Framework-agnostic, holds the screen awake while a bound state is true via wc-bindable-protocol.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",