@thi.ng/rstream-gestures 5.0.58 → 5.0.60

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,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-07T20:40:47Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -212,6 +212,9 @@ zoom value. This can be done by supplying a stream/subscription as part of the
212
212
  config options:
213
213
 
214
214
  ```ts
215
+ import { reactive } from "@thi.ng/rstream";
216
+ import { gestureStream } from "@thi.ng/rstream-gestures";
217
+
215
218
  // create stream for initial zoom value & for resetting
216
219
  const zoomReset = reactive(1);
217
220
 
@@ -16,7 +16,7 @@ import type { GestureStream, GestureStreamOpts } from "./api.js";
16
16
  * `document.body`, the following event listener options SHOULD be used:
17
17
  *
18
18
  * @example
19
- * ```ts
19
+ * ```text
20
20
  * eventOpts: { passive: false }
21
21
  * ```
22
22
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream-gestures",
3
- "version": "5.0.58",
3
+ "version": "5.0.60",
4
4
  "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,14 +36,15 @@
36
36
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
37
37
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
38
  "pub": "yarn npm publish --access public",
39
- "test": "bun test"
39
+ "test": "bun test",
40
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
41
  },
41
42
  "dependencies": {
42
- "@thi.ng/api": "^8.9.27",
43
- "@thi.ng/checks": "^3.5.1",
44
- "@thi.ng/math": "^5.10.4",
45
- "@thi.ng/rstream": "^8.3.9",
46
- "@thi.ng/transducers": "^8.9.8"
43
+ "@thi.ng/api": "^8.9.28",
44
+ "@thi.ng/checks": "^3.5.2",
45
+ "@thi.ng/math": "^5.10.5",
46
+ "@thi.ng/rstream": "^8.3.11",
47
+ "@thi.ng/transducers": "^8.9.10"
47
48
  },
48
49
  "devDependencies": {
49
50
  "@microsoft/api-extractor": "^7.40.1",
@@ -95,5 +96,5 @@
95
96
  ],
96
97
  "year": 2018
97
98
  },
98
- "gitHead": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
99
+ "gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
99
100
  }