@syncular/testkit 0.15.44 → 0.15.46
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/dist/faults.d.ts +1 -1
- package/dist/faults.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +4 -5
- package/src/faults.ts +1 -1
- package/src/index.ts +2 -5
package/dist/faults.d.ts
CHANGED
package/dist/faults.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @syncular/testkit — the app-developer test kit
|
|
2
|
+
* @syncular/testkit — the app-developer test kit.
|
|
3
3
|
*
|
|
4
4
|
* A small, documented surface over the shipped Syncular core: an in-memory
|
|
5
5
|
* server, N real clients on bun:sqlite through an in-process loopback (no
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* The React helper lives behind `@syncular/testkit/react` so the core
|
|
11
11
|
* pulls in no React. See README.md for paste-ready examples.
|
|
12
12
|
*/
|
|
13
|
-
export type { TestClient, TestClientOptions
|
|
13
|
+
export type { TestClient, TestClientOptions } from './client.js';
|
|
14
14
|
export { createVirtualClock, DEFAULT_EPOCH_MS, type VirtualClock, } from './clock.js';
|
|
15
15
|
export { type CreateTestSyncOptions, createTestSync, type TestClientOverrides, type TestSync, } from './create-test-sync.js';
|
|
16
16
|
export { seededRandom, seedFromName, TransportFault, TransportFaults, } from './faults.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @syncular/testkit — the app-developer test kit
|
|
2
|
+
* @syncular/testkit — the app-developer test kit.
|
|
3
3
|
*
|
|
4
4
|
* A small, documented surface over the shipped Syncular core: an in-memory
|
|
5
5
|
* server, N real clients on bun:sqlite through an in-process loopback (no
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/testkit",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.46",
|
|
4
4
|
"description": "Syncular test kit: in-process loopback server + clients for integration scenarios",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Benjamin Kniffler",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"test": "bun test --preload ./test/setup.ts"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@syncular/server": "0.15.
|
|
68
|
-
"@syncular/client": "0.15.
|
|
67
|
+
"@syncular/server": "0.15.46",
|
|
68
|
+
"@syncular/client": "0.15.46"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": ">=18.0.0"
|
|
@@ -77,8 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
80
|
-
"@syncular/
|
|
81
|
-
"@syncular/react": "0.15.44",
|
|
80
|
+
"@syncular/react": "0.15.46",
|
|
82
81
|
"@testing-library/react": "^16.1.0",
|
|
83
82
|
"@types/react": "^18.3.0",
|
|
84
83
|
"react": "^18.3.1",
|
package/src/faults.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @syncular/testkit — the app-developer test kit
|
|
2
|
+
* @syncular/testkit — the app-developer test kit.
|
|
3
3
|
*
|
|
4
4
|
* A small, documented surface over the shipped Syncular core: an in-memory
|
|
5
5
|
* server, N real clients on bun:sqlite through an in-process loopback (no
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
* pulls in no React. See README.md for paste-ready examples.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
export type {
|
|
15
|
-
TestClient,
|
|
16
|
-
TestClientOptions,
|
|
17
|
-
} from './client';
|
|
14
|
+
export type { TestClient, TestClientOptions } from './client';
|
|
18
15
|
export {
|
|
19
16
|
createVirtualClock,
|
|
20
17
|
DEFAULT_EPOCH_MS,
|