@ferricstore/ferricstore 0.13.2 → 0.13.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 +6 -4
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/docs/api/assets/hierarchy.js +1 -1
- package/docs/api/classes/ConnectionClosedError.html +1 -1
- package/docs/api/classes/FerricStoreClient.html +23 -23
- package/docs/api/classes/FerricStoreError.html +1 -1
- package/docs/api/classes/FlowAlreadyExistsError.html +1 -1
- package/docs/api/classes/FlowBatchError.html +1 -1
- package/docs/api/classes/FlowNotFoundError.html +1 -1
- package/docs/api/classes/FlowQueryError.html +1 -1
- package/docs/api/classes/FlowWrongStateError.html +1 -1
- package/docs/api/classes/HTTPTransportError.html +1 -1
- package/docs/api/classes/InvalidCommandError.html +1 -1
- package/docs/api/classes/LeaseRenewalError.html +1 -1
- package/docs/api/classes/LockHeldError.html +1 -1
- package/docs/api/classes/LockNotOwnedError.html +1 -1
- package/docs/api/classes/OverloadedError.html +1 -1
- package/docs/api/classes/QueueCompletionError.html +1 -1
- package/docs/api/classes/RequestNotSentError.html +1 -1
- package/docs/api/classes/RequestTimeoutError.html +1 -1
- package/docs/api/classes/RerouteError.html +1 -1
- package/docs/api/classes/StaleLeaseError.html +1 -1
- package/docs/api/classes/StalePolicyGenerationError.html +1 -1
- package/docs/api/hierarchy.html +52 -52
- package/docs/api/index.html +6 -4
- package/docs/api/interfaces/AdminListOptions.html +1 -1
- package/docs/api/interfaces/AdvanceOptions.html +1 -1
- package/docs/api/interfaces/AlreadyAppliedOutcome.html +1 -1
- package/docs/api/interfaces/AppliedStepOutcome.html +1 -1
- package/docs/api/interfaces/CancelOptions.html +1 -1
- package/docs/api/interfaces/CompleteOptions.html +1 -1
- package/docs/api/interfaces/CompleteOutcome.html +1 -1
- package/docs/api/interfaces/CreateManyOptions.html +1 -1
- package/docs/api/interfaces/EffectCompensateOptions.html +1 -1
- package/docs/api/interfaces/EffectConfirmOptions.html +1 -1
- package/docs/api/interfaces/EffectFailOptions.html +1 -1
- package/docs/api/interfaces/EffectStatusOptions.html +1 -1
- package/docs/api/interfaces/FailOptions.html +1 -1
- package/docs/api/interfaces/FailOutcome.html +1 -1
- package/docs/api/interfaces/FerricStoreClientFromUrlOptions.html +1 -1
- package/docs/api/interfaces/FerricStoreClientOptions.html +1 -1
- package/docs/api/interfaces/FlowQueryCountResult.html +1 -1
- package/docs/api/interfaces/FlowQueryIndexBuild.html +1 -1
- package/docs/api/interfaces/FlowQueryIndexProgress.html +1 -1
- package/docs/api/interfaces/FlowQueryIndexValidation.html +1 -1
- package/docs/api/interfaces/FlowQueryRecordsResult.html +1 -1
- package/docs/api/interfaces/InvocationCreateOptions.html +1 -1
- package/docs/api/interfaces/LeaseMutationOptions.html +1 -1
- package/docs/api/interfaces/LimitListOptions.html +1 -1
- package/docs/api/interfaces/MutateOptions.html +1 -1
- package/docs/api/interfaces/NamedValueMutation.html +1 -1
- package/docs/api/interfaces/ReadOptions.html +1 -1
- package/docs/api/interfaces/ReclaimOptions.html +1 -1
- package/docs/api/interfaces/RequestContextOptions.html +1 -1
- package/docs/api/interfaces/RetryOptions.html +1 -1
- package/docs/api/interfaces/RetryOutcome.html +1 -1
- package/docs/api/interfaces/SearchOptions.html +1 -1
- package/docs/api/interfaces/StepContinueOptions.html +1 -1
- package/docs/api/interfaces/StepOptions.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 +1 -1
- package/docs/api/interfaces/TransitionOutcome.html +1 -1
- package/docs/api/variables/FERRICSTORE_SDK_VERSION.html +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2124,6 +2124,7 @@ declare class FerricStoreFlowSupportClient extends FerricStoreFlowQueryClient {
|
|
|
2124
2124
|
partitionKey?: string;
|
|
2125
2125
|
toEvent?: string;
|
|
2126
2126
|
expectState?: string;
|
|
2127
|
+
reason?: unknown;
|
|
2127
2128
|
nowMs?: number;
|
|
2128
2129
|
returnRecord?: boolean;
|
|
2129
2130
|
}): Promise<FlowRecord | Buffer$1 | unknown>;
|
|
@@ -2677,7 +2678,7 @@ declare class WorkflowWorker {
|
|
|
2677
2678
|
}
|
|
2678
2679
|
|
|
2679
2680
|
/** TypeScript SDK package version. */
|
|
2680
|
-
declare const FERRICSTORE_SDK_VERSION = "0.13.
|
|
2681
|
+
declare const FERRICSTORE_SDK_VERSION = "0.13.4";
|
|
2681
2682
|
/** Oldest FerricStore server supported by this breaking beta contract. */
|
|
2682
2683
|
declare const FERRICSTORE_MINIMUM_SERVER_VERSION = "0.11.4";
|
|
2683
2684
|
/** Native framing and opcode ABI version; unchanged by FerricStore 0.11. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2124,6 +2124,7 @@ declare class FerricStoreFlowSupportClient extends FerricStoreFlowQueryClient {
|
|
|
2124
2124
|
partitionKey?: string;
|
|
2125
2125
|
toEvent?: string;
|
|
2126
2126
|
expectState?: string;
|
|
2127
|
+
reason?: unknown;
|
|
2127
2128
|
nowMs?: number;
|
|
2128
2129
|
returnRecord?: boolean;
|
|
2129
2130
|
}): Promise<FlowRecord | Buffer$1 | unknown>;
|
|
@@ -2677,7 +2678,7 @@ declare class WorkflowWorker {
|
|
|
2677
2678
|
}
|
|
2678
2679
|
|
|
2679
2680
|
/** TypeScript SDK package version. */
|
|
2680
|
-
declare const FERRICSTORE_SDK_VERSION = "0.13.
|
|
2681
|
+
declare const FERRICSTORE_SDK_VERSION = "0.13.4";
|
|
2681
2682
|
/** Oldest FerricStore server supported by this breaking beta contract. */
|
|
2682
2683
|
declare const FERRICSTORE_MINIMUM_SERVER_VERSION = "0.11.4";
|
|
2683
2684
|
/** Native framing and opcode ABI version; unchanged by FerricStore 0.11. */
|
package/dist/index.js
CHANGED
|
@@ -6883,7 +6883,8 @@ function buildProtocolCommand(args, maxBodyBytes = Number.MAX_SAFE_INTEGER, allo
|
|
|
6883
6883
|
"NOW",
|
|
6884
6884
|
"PARTITION",
|
|
6885
6885
|
"TO_EVENT",
|
|
6886
|
-
"EXPECT_STATE"
|
|
6886
|
+
"EXPECT_STATE",
|
|
6887
|
+
"REASON"
|
|
6887
6888
|
]));
|
|
6888
6889
|
}
|
|
6889
6890
|
if (command === "FLOW.COMPLETE_MANY") {
|
|
@@ -17969,6 +17970,7 @@ var FerricStoreFlowSupportClient = class extends FerricStoreFlowQueryClient {
|
|
|
17969
17970
|
append(args, "PARTITION", partitionKey);
|
|
17970
17971
|
append(args, "TO_EVENT", options.toEvent);
|
|
17971
17972
|
append(args, "EXPECT_STATE", options.expectState);
|
|
17973
|
+
appendEncoded(args, "REASON", this.codec, options.reason);
|
|
17972
17974
|
const response = await this.commandArgs(args);
|
|
17973
17975
|
if (returnRecord) {
|
|
17974
17976
|
return await this.recordOrGet(response, id, partitionKey);
|
|
@@ -18579,6 +18581,8 @@ var FerricStoreClaimClient = class extends FerricStoreMutationClient {
|
|
|
18579
18581
|
}
|
|
18580
18582
|
if (jobOnly) {
|
|
18581
18583
|
append(args, "RETURN", compactClaimReturnMode2(captured.includeState === true, captured.includeAttributes === true));
|
|
18584
|
+
} else {
|
|
18585
|
+
args.push("RETURN", "RECORDS");
|
|
18582
18586
|
}
|
|
18583
18587
|
append(args, "BLOCK", captured.blockMs);
|
|
18584
18588
|
appendPayloadRead(args, captured.payload, captured.payloadMaxBytes);
|
|
@@ -18653,6 +18657,8 @@ var FerricStoreClaimClient = class extends FerricStoreMutationClient {
|
|
|
18653
18657
|
append(args, "PRIORITY", captured.priority);
|
|
18654
18658
|
if (jobOnly) {
|
|
18655
18659
|
append(args, "RETURN", compactClaimReturnMode2(true, captured.includeAttributes === true));
|
|
18660
|
+
} else {
|
|
18661
|
+
args.push("RETURN", "RECORDS");
|
|
18656
18662
|
}
|
|
18657
18663
|
appendPayloadRead(args, captured.payload, captured.payloadMaxBytes);
|
|
18658
18664
|
appendValueReturn(args, { values: captured.values, valueMaxBytes: captured.valueMaxBytes });
|
|
@@ -21880,7 +21886,7 @@ function throwError(value) {
|
|
|
21880
21886
|
}
|
|
21881
21887
|
|
|
21882
21888
|
// src/version.ts
|
|
21883
|
-
var FERRICSTORE_SDK_VERSION = "0.13.
|
|
21889
|
+
var FERRICSTORE_SDK_VERSION = "0.13.4";
|
|
21884
21890
|
var FERRICSTORE_MINIMUM_SERVER_VERSION = "0.11.4";
|
|
21885
21891
|
var FERRICSTORE_NATIVE_PROTOCOL_VERSION = 1;
|
|
21886
21892
|
export {
|