@ferricstore/ferricstore 0.1.2 → 0.1.4
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/README.md +13 -1
- package/dist/index.cjs +5348 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1322 -0
- package/dist/index.d.ts +34 -4
- package/dist/index.js +130 -3
- package/dist/index.js.map +1 -1
- package/docs/api/assets/hierarchy.js +1 -1
- package/docs/api/assets/highlight.css +10 -10
- package/docs/api/assets/navigation.js +1 -1
- package/docs/api/assets/search.js +1 -1
- package/docs/api/classes/FerricStoreClient.html +2 -2
- package/docs/api/classes/FerricStoreError.html +6 -6
- package/docs/api/classes/FlowAlreadyExistsError.html +6 -6
- package/docs/api/classes/FlowNotFoundError.html +6 -6
- package/docs/api/classes/FlowWrongStateError.html +6 -6
- package/docs/api/classes/InvalidCommandError.html +6 -6
- package/docs/api/classes/LockHeldError.html +6 -6
- package/docs/api/classes/LockNotOwnedError.html +6 -6
- package/docs/api/classes/NativeAdapter.html +2 -2
- package/docs/api/classes/OverloadedError.html +6 -6
- package/docs/api/classes/ReconnectingExecutor.html +5 -0
- package/docs/api/classes/StaleLeaseError.html +6 -6
- package/docs/api/functions/isReconnectableClosedConnectionError.html +1 -0
- package/docs/api/hierarchy.html +1 -1
- package/docs/api/index.html +18 -10
- package/docs/api/interfaces/AutoBatchOptions.html +2 -2
- package/docs/api/interfaces/CancelOptions.html +2 -2
- package/docs/api/interfaces/ClaimDueOptions.html +2 -2
- package/docs/api/interfaces/CommandExecutor.html +1 -1
- package/docs/api/interfaces/CompleteOptions.html +2 -2
- package/docs/api/interfaces/CompleteOutcome.html +1 -1
- package/docs/api/interfaces/CreateManyOptions.html +2 -2
- package/docs/api/interfaces/CreateOptions.html +2 -2
- package/docs/api/interfaces/FailOptions.html +2 -2
- package/docs/api/interfaces/FailOutcome.html +1 -1
- package/docs/api/interfaces/FerricStoreClientFromUrlOptions.html +6 -0
- package/docs/api/interfaces/FerricStoreClientOptions.html +2 -2
- package/docs/api/interfaces/MutateOptions.html +2 -2
- package/docs/api/interfaces/NamedValueMutation.html +1 -1
- package/docs/api/interfaces/NativeAdapterOptions.html +6 -2
- package/docs/api/interfaces/ReadOptions.html +2 -2
- package/docs/api/interfaces/ReclaimOptions.html +2 -2
- package/docs/api/interfaces/ReconnectOptions.html +2 -0
- package/docs/api/interfaces/RetryOptions.html +2 -2
- package/docs/api/interfaces/RetryOutcome.html +1 -1
- package/docs/api/interfaces/TDigestCreateOptions.html +1 -1
- package/docs/api/interfaces/TDigestMergeOptions.html +1 -1
- package/docs/api/interfaces/TransitionOptions.html +2 -2
- package/docs/api/interfaces/TransitionOutcome.html +1 -1
- package/docs/api/modules.html +1 -1
- package/package.json +17 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ferricstore/ferricstore",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "TypeScript SDK for FerricStore and FerricFlow",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,14 +27,23 @@
|
|
|
27
27
|
"workflow"
|
|
28
28
|
],
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=22.22"
|
|
31
31
|
},
|
|
32
32
|
"packageManager": "npm@11.6.2",
|
|
33
33
|
"sideEffects": false,
|
|
34
|
+
"main": "./dist/index.cjs",
|
|
35
|
+
"module": "./dist/index.js",
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
34
37
|
"exports": {
|
|
35
38
|
".": {
|
|
36
|
-
"
|
|
37
|
-
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"default": "./dist/index.js"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/index.d.cts",
|
|
45
|
+
"default": "./dist/index.cjs"
|
|
46
|
+
}
|
|
38
47
|
},
|
|
39
48
|
"./package.json": "./package.json"
|
|
40
49
|
},
|
|
@@ -45,8 +54,8 @@
|
|
|
45
54
|
"LICENSE"
|
|
46
55
|
],
|
|
47
56
|
"scripts": {
|
|
48
|
-
"build": "tsup src/index.ts --format esm --dts --sourcemap --clean",
|
|
49
|
-
"check": "npm run typecheck && npm run lint && npm run test && npm run build && npm run docs:check",
|
|
57
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean",
|
|
58
|
+
"check": "npm run typecheck && npm run lint && npm run test && npm run build && npm run test:exports && npm run docs:check",
|
|
50
59
|
"docs": "typedoc",
|
|
51
60
|
"docs:check": "typedoc --logLevel Warn",
|
|
52
61
|
"integration:down": "docker compose down -v",
|
|
@@ -54,6 +63,7 @@
|
|
|
54
63
|
"lint": "eslint .",
|
|
55
64
|
"pack:dry-run": "npm pack --dry-run",
|
|
56
65
|
"test": "vitest run tests/*.test.ts",
|
|
66
|
+
"test:exports": "node scripts/check-package-exports.mjs",
|
|
57
67
|
"test:integration": "vitest run tests/integration",
|
|
58
68
|
"typecheck": "tsc --noEmit",
|
|
59
69
|
"bench:kv": "node benchmarks/kv-benchmark.mjs",
|
|
@@ -63,7 +73,7 @@
|
|
|
63
73
|
"@emnapi/core": "^1.11.1",
|
|
64
74
|
"@emnapi/runtime": "^1.11.1",
|
|
65
75
|
"@eslint/js": "^10.0.1",
|
|
66
|
-
"@types/node": "^
|
|
76
|
+
"@types/node": "^22.20.0",
|
|
67
77
|
"eslint": "^10.4.1",
|
|
68
78
|
"tsup": "^8.5.1",
|
|
69
79
|
"typedoc": "^0.28.19",
|