@latticexyz/utils 1.29.0 → 1.30.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 +8 -0
- package/dist/worker.d.ts +2 -2
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.30.1](https://github.com/latticexyz/mud/compare/v1.30.0...v1.30.1) (2022-12-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @latticexyz/utils
|
|
9
|
+
|
|
10
|
+
# [1.30.0](https://github.com/latticexyz/mud/compare/v1.29.0...v1.30.0) (2022-12-02)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @latticexyz/utils
|
|
13
|
+
|
|
6
14
|
# [1.29.0](https://github.com/latticexyz/mud/compare/v1.28.1...v1.29.0) (2022-11-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @latticexyz/utils
|
package/dist/worker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
|
-
export interface DoWork<
|
|
3
|
-
work(input$: Observable<
|
|
2
|
+
export interface DoWork<In, Out> {
|
|
3
|
+
work(input$: Observable<In>): Observable<Out>;
|
|
4
4
|
}
|
|
5
5
|
export declare function fromWorker<I, O>(worker: Worker, input$: Observable<I>): Observable<O>;
|
|
6
6
|
export declare function runWorker<I, O>(worker: DoWork<I, O>): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/utils",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.30.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "src/index.ts",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"lint": "eslint . --ext .ts",
|
|
16
16
|
"test": "tsc && jest",
|
|
17
17
|
"link": "yarn link",
|
|
18
|
-
"docs": "typedoc src",
|
|
19
|
-
"prepack": "mv package.json package.json.bak && jq \".main = \\\"dist/index.js\\\"\" package.json.bak > package.json
|
|
18
|
+
"docs": "rimraf API && typedoc src && find API -type f -name '*.md' -exec sed -E -i \"\" \"s/(#.*)(<.*>)/\\1/\" {} \\; && echo 'label: API' > API/index.yml",
|
|
19
|
+
"prepack": "mv package.json package.json.bak && jq \".main = \\\"dist/index.js\\\"\" package.json.bak > package.json",
|
|
20
20
|
"postpack": "mv package.json.bak package.json || echo 'no package.json.bak'",
|
|
21
21
|
"build": "rimraf dist && rollup -c rollup.config.js",
|
|
22
22
|
"release": "npm publish || echo 'version already published'"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"rxjs": "^7.5.5",
|
|
38
38
|
"ts-jest": "^27.1.3",
|
|
39
39
|
"tslib": "^2.3.1",
|
|
40
|
-
"typedoc": "
|
|
40
|
+
"typedoc": "0.23.21",
|
|
41
41
|
"typescript": "^4.5.5",
|
|
42
42
|
"web3-utils": "^1.8.0"
|
|
43
43
|
},
|
|
@@ -48,5 +48,8 @@
|
|
|
48
48
|
"rxjs": "^7.5.5",
|
|
49
49
|
"web3-utils": "^1.8.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "bb70a2ffd3b059131cb9b719c677ce2f932696be",
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"typedoc-plugin-markdown": "^3.13.6"
|
|
54
|
+
}
|
|
52
55
|
}
|