@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/README.md
CHANGED
|
@@ -14,7 +14,19 @@ FLOW.CREATE -> FLOW.CLAIM_DUE -> handler -> FLOW.TRANSITION / COMPLETE / FAIL /
|
|
|
14
14
|
npm install @ferricstore/ferricstore
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Requires Node.js
|
|
17
|
+
Requires Node.js 22.22 or newer. The SDK ships ESM and CommonJS builds and is tested with Node 22, 24, and 26.
|
|
18
|
+
|
|
19
|
+
ESM:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import { FerricStoreClient, JsonCodec } from "@ferricstore/ferricstore";
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
CommonJS:
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
const { FerricStoreClient, JsonCodec } = require("@ferricstore/ferricstore");
|
|
29
|
+
```
|
|
18
30
|
|
|
19
31
|
## Run FerricStore Locally
|
|
20
32
|
|