jazz-tools 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
 
2
- > jazz-tools@0.7.8 build /Users/anselm/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.7.9 build /Users/anselm/jazz/jazz/packages/jazz-tools
3
3
  > npm run lint && rm -rf ./dist && tsc --sourceMap --outDir dist
4
4
 
5
5
 
6
- > jazz-tools@0.7.8 lint
6
+ > jazz-tools@0.7.9 lint
7
7
  > eslint . --ext ts,tsx
8
8
 
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.7.8 test /Users/anselm/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.7.9 test /Users/anselm/jazz/jazz/packages/jazz-tools
3
3
  > vitest --run
4
4
 
5
5
 
@@ -8,9 +8,9 @@
8
8
  stdout | unknown test
9
9
  TestMap schema undefined
10
10
 
11
- ✓ src/tests/groupsAndAccounts.test.ts (1 test) 38ms
12
- ✓ src/tests/deepLoading.test.ts (3 tests) 81ms
13
- ✓ src/tests/coList.test.ts (10 tests) 147ms
11
+ ✓ src/tests/groupsAndAccounts.test.ts (1 test) 34ms
12
+ ✓ src/tests/deepLoading.test.ts (3 tests) 72ms
13
+ ✓ src/tests/coList.test.ts (10 tests) 99ms
14
14
  stdout | src/tests/coList.test.ts > Simple CoList operations > Mutation > splice
15
15
  [ 'bread', 'onion' ] 0
16
16
  [ 'bread', 'salt', 'onion' ] 1
@@ -28,9 +28,9 @@ subscribedStream[me.id] {
28
28
  value: [Getter],
29
29
  ref: [Getter],
30
30
  by: [Getter],
31
- madeAt: 2024-06-04T11:05:44.766Z,
31
+ madeAt: 2024-06-04T11:14:44.524Z,
32
32
  tx: {
33
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ',
33
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m',
34
34
  txIndex: 0
35
35
  }
36
36
  }
@@ -40,9 +40,9 @@ subscribedStream[me.id] {
40
40
  value: [Getter],
41
41
  ref: [Getter],
42
42
  by: [Getter],
43
- madeAt: 2024-06-04T11:05:44.766Z,
43
+ madeAt: 2024-06-04T11:14:44.524Z,
44
44
  tx: {
45
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ',
45
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m',
46
46
  txIndex: 0
47
47
  }
48
48
  }
@@ -52,36 +52,36 @@ subscribedStream[me.id] {
52
52
  value: [Getter],
53
53
  ref: [Getter],
54
54
  by: [Getter],
55
- madeAt: 2024-06-04T11:05:44.766Z,
55
+ madeAt: 2024-06-04T11:14:44.524Z,
56
56
  tx: {
57
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ',
57
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m',
58
58
  txIndex: 0
59
59
  }
60
60
  }
61
61
  subscribedStream[me.id]?.value?.[me.id]?.value {
62
- id: 'co_zCaLBqHH9hJEQ3tGnKKMyrvBr2S',
62
+ id: 'co_zcM4UvvD6ckDjxYB5Ln8uScjuyZ',
63
63
  _type: 'CoStream',
64
- co_zA2QUpiazkuqNFersyboeykk9dU: 'milk',
65
- in: { co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ: 'milk' }
64
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f: 'milk',
65
+ in: { co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m: 'milk' }
66
66
  }
67
67
  subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value milk
68
68
  subscribedStream[me.id] {
69
69
  value: [Getter],
70
70
  ref: [Getter],
71
71
  by: [Getter],
72
- madeAt: 2024-06-04T11:05:44.766Z,
72
+ madeAt: 2024-06-04T11:14:44.524Z,
73
73
  tx: {
74
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ',
74
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m',
75
75
  txIndex: 0
76
76
  }
77
77
  }
78
78
  subscribedStream[me.id]?.value?.[me.id]?.value {
79
- id: 'co_zCaLBqHH9hJEQ3tGnKKMyrvBr2S',
79
+ id: 'co_zcM4UvvD6ckDjxYB5Ln8uScjuyZ',
80
80
  _type: 'CoStream',
81
- co_zA2QUpiazkuqNFersyboeykk9dU: 'bread',
81
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f: 'bread',
82
82
  in: {
83
- co_zA2QUpiazkuqNFersyboeykk9dU_session_z9bGjF8s9tgQ: 'milk',
84
- co_zA2QUpiazkuqNFersyboeykk9dU_session_z74exoHYCpNq: 'bread'
83
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_zY8Ph31Jmf3m: 'milk',
84
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_z9sHQLTdQrc1: 'bread'
85
85
  }
86
86
  }
87
87
  subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value bread
@@ -89,38 +89,37 @@ subscribedStream[me.id] {
89
89
  value: [Getter],
90
90
  ref: [Getter],
91
91
  by: [Getter],
92
- madeAt: 2024-06-04T11:05:44.781Z,
92
+ madeAt: 2024-06-04T11:14:44.537Z,
93
93
  tx: {
94
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z74exoHYCpNq',
94
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_z9sHQLTdQrc1',
95
95
  txIndex: 0
96
96
  }
97
97
  }
98
98
  subscribedStream[me.id]?.value?.[me.id]?.value {
99
- id: 'co_z4SLYmVLAc9YMwS5sb9YhxjiY8Q',
99
+ id: 'co_zYJHSVkaJZkQkthUT2RaVyasEBT',
100
100
  _type: 'CoStream',
101
- co_zA2QUpiazkuqNFersyboeykk9dU: 'butter',
102
- in: { co_zA2QUpiazkuqNFersyboeykk9dU_session_z74exoHYCpNq: 'butter' }
101
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f: 'butter',
102
+ in: { co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_z9sHQLTdQrc1: 'butter' }
103
103
  }
104
104
  subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value butter
105
105
  subscribedStream[me.id] {
106
106
  value: [Getter],
107
107
  ref: [Getter],
108
108
  by: [Getter],
109
- madeAt: 2024-06-04T11:05:44.781Z,
109
+ madeAt: 2024-06-04T11:14:44.537Z,
110
110
  tx: {
111
- sessionID: 'co_zA2QUpiazkuqNFersyboeykk9dU_session_z74exoHYCpNq',
111
+ sessionID: 'co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_z9sHQLTdQrc1',
112
112
  txIndex: 0
113
113
  }
114
114
  }
115
115
  subscribedStream[me.id]?.value?.[me.id]?.value {
116
- id: 'co_z4SLYmVLAc9YMwS5sb9YhxjiY8Q',
116
+ id: 'co_zYJHSVkaJZkQkthUT2RaVyasEBT',
117
117
  _type: 'CoStream',
118
- co_zA2QUpiazkuqNFersyboeykk9dU: 'jam',
119
- in: { co_zA2QUpiazkuqNFersyboeykk9dU_session_z74exoHYCpNq: 'jam' }
118
+ co_zKxpUkYeedd9ogg8WMjUv2pPB8f: 'jam',
119
+ in: { co_zKxpUkYeedd9ogg8WMjUv2pPB8f_session_z9sHQLTdQrc1: 'jam' }
120
120
  }
121
121
  subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value jam
122
122
 
123
- ✓ src/tests/coStream.test.ts (10 tests) 171ms
124
123
  stdout | src/tests/coMap.test.ts > CoMap resolution > Subscription & auto-resolution
125
124
  subscribedMap.nested?.twiceNested?.taste undefined
126
125
  subscribedMap.nested?.twiceNested?.taste undefined
@@ -131,10 +130,11 @@ subscribedMap.nested?.twiceNested?.taste sweet
131
130
  subscribedMap.nested?.twiceNested?.taste salty
132
131
  subscribedMap.nested?.twiceNested?.taste umami
133
132
 
134
- ✓ src/tests/coMap.test.ts (12 tests) 194ms
133
+ ✓ src/tests/coMap.test.ts (12 tests) 130ms
134
+ ✓ src/tests/coStream.test.ts (10 tests) 130ms
135
135
 
136
136
  Test Files 5 passed (5)
137
137
  Tests 36 passed (36)
138
- Start at 12:05:43
139
- Duration 1.09s (transform 194ms, setup 0ms, collect 3.22s, tests 631ms, environment 0ms, prepare 215ms)
138
+ Start at 12:14:43
139
+ Duration 1.12s (transform 274ms, setup 0ms, collect 3.75s, tests 465ms, environment 0ms, prepare 464ms)
140
140
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # jazz-autosub
2
2
 
3
+ ## 0.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - cojson@0.7.10
9
+ - cojson-transport-nodejs-ws@0.7.10
10
+
3
11
  ## 0.7.9
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -5,13 +5,13 @@
5
5
  "types": "./src/index.ts",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
- "version": "0.7.9",
8
+ "version": "0.7.10",
9
9
  "dependencies": {
10
10
  "@effect/schema": "^0.66.16",
11
11
  "effect": "^3.1.5",
12
12
  "fast-check": "^3.17.2",
13
- "cojson": "0.7.9",
14
- "cojson-transport-nodejs-ws": "0.7.9"
13
+ "cojson": "0.7.10",
14
+ "cojson-transport-nodejs-ws": "0.7.10"
15
15
  },
16
16
  "devDependencies": {
17
17
  "typescript": "^5.3.3",