cojson 0.7.34-neverthrow.4 → 0.7.34
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +23 -0
- package/dist/streamUtils.js +2 -2
- package/package.json +2 -2
- package/src/streamUtils.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> cojson@0.7.34-neverthrow.
|
|
2
|
+
> cojson@0.7.34-neverthrow.4 build /Users/anselm/jazz/jazz/packages/cojson
|
|
3
3
|
> npm run lint && rm -rf ./dist && tsc --sourceMap --outDir dist
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> cojson@0.7.34-neverthrow.
|
|
6
|
+
> cojson@0.7.34-neverthrow.4 lint
|
|
7
7
|
> eslint . --ext ts,tsx
|
|
8
8
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# cojson
|
|
2
2
|
|
|
3
|
+
## 0.7.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d91f9f: Stop using tryAddTransactionsAsync
|
|
8
|
+
- 5094e6d: Start introducing neverthrow, make tryAddNewTransactionsAsync and handleNewContent less throwy
|
|
9
|
+
- b09589b: Only one async transaction per CoValue at a time again
|
|
10
|
+
- 2c3a40c: Use fork of queueable
|
|
11
|
+
- 4e16575: Use queueable fork
|
|
12
|
+
- ea882ab: Better log message for failed transactions
|
|
13
|
+
|
|
14
|
+
## 0.7.34-neverthrow.8
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Use queueable fork
|
|
19
|
+
|
|
20
|
+
## 0.7.34-neverthrow.7
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Use fork of queueable
|
|
25
|
+
|
|
3
26
|
## 0.7.34-neverthrow.4
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/streamUtils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Channel } from "
|
|
2
|
-
export { Channel } from "
|
|
1
|
+
import { Channel } from "queueueue";
|
|
2
|
+
export { Channel } from "queueueue";
|
|
3
3
|
export function connectedPeers(peer1id, peer2id, { trace = false, peer1role = "peer", peer2role = "peer", crashOnClose = false, } = {}) {
|
|
4
4
|
const [from1to2Rx, from1to2Tx] = newQueuePair(trace ? { traceAs: `${peer1id} -> ${peer2id}` } : undefined);
|
|
5
5
|
const [from2to1Rx, from2to1Tx] = newQueuePair(trace ? { traceAs: `${peer2id} -> ${peer1id}` } : undefined);
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"types": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"version": "0.7.34
|
|
8
|
+
"version": "0.7.34",
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@types/jest": "^29.5.3",
|
|
11
11
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@scure/base": "^1.1.1",
|
|
26
26
|
"hash-wasm": "^4.9.0",
|
|
27
27
|
"neverthrow": "^7.0.1",
|
|
28
|
-
"
|
|
28
|
+
"queueueue": "^4.1.2"
|
|
29
29
|
},
|
|
30
30
|
"lint-staged": {
|
|
31
31
|
"*.{ts,tsx}": "eslint --fix",
|
package/src/streamUtils.ts
CHANGED