@superdurable/dex 0.11.2 → 0.12.1
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 +12 -5
- package/dist/src/client.d.ts +6 -9
- package/dist/src/client.js +84 -41
- package/dist/src/client.js.map +1 -1
- package/dist/src/errors.d.ts +4 -4
- package/dist/src/errors.js +4 -4
- package/dist/src/errors.js.map +1 -1
- package/dist/src/gen/dex.d.ts +21 -11
- package/dist/src/gen/dex.js +42 -13
- package/dist/src/gen/dex.js.map +1 -1
- package/dist/src/grpc-status.js +5 -5
- package/dist/src/grpc-status.js.map +1 -1
- package/dist/src/options.d.ts +27 -11
- package/dist/src/options.js +1 -1
- package/dist/src/options.js.map +1 -1
- package/dist/src/sdk-version.generated.d.ts +1 -1
- package/dist/src/sdk-version.generated.js +1 -1
- package/native/windows-x86_64/dex_blob_cache_node.node +0 -0
- package/package.json +1 -1
package/dist/src/gen/dex.js
CHANGED
|
@@ -156,7 +156,7 @@ export var ErrorSubStatus;
|
|
|
156
156
|
ErrorSubStatus[ErrorSubStatus["ERROR_SUB_STATUS_WORKER_API_ERROR"] = 4] = "ERROR_SUB_STATUS_WORKER_API_ERROR";
|
|
157
157
|
ErrorSubStatus[ErrorSubStatus["ERROR_SUB_STATUS_LONG_POLL_TIME_OUT"] = 5] = "ERROR_SUB_STATUS_LONG_POLL_TIME_OUT";
|
|
158
158
|
ErrorSubStatus[ErrorSubStatus["ERROR_SUB_STATUS_CHANNEL_MESSAGE_NOT_FOUND"] = 6] = "ERROR_SUB_STATUS_CHANNEL_MESSAGE_NOT_FOUND";
|
|
159
|
-
ErrorSubStatus[ErrorSubStatus["
|
|
159
|
+
ErrorSubStatus[ErrorSubStatus["ERROR_SUB_STATUS_REQUEST_TIMEOUT"] = 7] = "ERROR_SUB_STATUS_REQUEST_TIMEOUT";
|
|
160
160
|
ErrorSubStatus[ErrorSubStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
161
161
|
})(ErrorSubStatus || (ErrorSubStatus = {}));
|
|
162
162
|
export var CloseDecisionType;
|
|
@@ -7684,7 +7684,14 @@ export const UpdateFlowConfigRequest = {
|
|
|
7684
7684
|
},
|
|
7685
7685
|
};
|
|
7686
7686
|
function createBaseWaitForStepCompletionRequest() {
|
|
7687
|
-
return {
|
|
7687
|
+
return {
|
|
7688
|
+
flowId: "",
|
|
7689
|
+
stepType: "",
|
|
7690
|
+
stepExecutionNumber: "",
|
|
7691
|
+
requestTimeoutSeconds: 0,
|
|
7692
|
+
internalHandlerTimeoutSeconds: 0,
|
|
7693
|
+
requestId: "",
|
|
7694
|
+
};
|
|
7688
7695
|
}
|
|
7689
7696
|
export const WaitForStepCompletionRequest = {
|
|
7690
7697
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -7697,8 +7704,11 @@ export const WaitForStepCompletionRequest = {
|
|
|
7697
7704
|
if (message.stepExecutionNumber !== "") {
|
|
7698
7705
|
writer.uint32(26).string(message.stepExecutionNumber);
|
|
7699
7706
|
}
|
|
7700
|
-
if (message.
|
|
7701
|
-
writer.uint32(
|
|
7707
|
+
if (message.requestTimeoutSeconds !== 0) {
|
|
7708
|
+
writer.uint32(32).int32(message.requestTimeoutSeconds);
|
|
7709
|
+
}
|
|
7710
|
+
if (message.internalHandlerTimeoutSeconds !== 0) {
|
|
7711
|
+
writer.uint32(40).int32(message.internalHandlerTimeoutSeconds);
|
|
7702
7712
|
}
|
|
7703
7713
|
if (message.requestId !== "") {
|
|
7704
7714
|
writer.uint32(50).string(message.requestId);
|
|
@@ -7733,11 +7743,18 @@ export const WaitForStepCompletionRequest = {
|
|
|
7733
7743
|
message.stepExecutionNumber = reader.string();
|
|
7734
7744
|
continue;
|
|
7735
7745
|
}
|
|
7746
|
+
case 4: {
|
|
7747
|
+
if (tag !== 32) {
|
|
7748
|
+
break;
|
|
7749
|
+
}
|
|
7750
|
+
message.requestTimeoutSeconds = reader.int32();
|
|
7751
|
+
continue;
|
|
7752
|
+
}
|
|
7736
7753
|
case 5: {
|
|
7737
7754
|
if (tag !== 40) {
|
|
7738
7755
|
break;
|
|
7739
7756
|
}
|
|
7740
|
-
message.
|
|
7757
|
+
message.internalHandlerTimeoutSeconds = reader.int32();
|
|
7741
7758
|
continue;
|
|
7742
7759
|
}
|
|
7743
7760
|
case 6: {
|
|
@@ -7763,7 +7780,8 @@ export const WaitForStepCompletionRequest = {
|
|
|
7763
7780
|
message.flowId = object.flowId ?? "";
|
|
7764
7781
|
message.stepType = object.stepType ?? "";
|
|
7765
7782
|
message.stepExecutionNumber = object.stepExecutionNumber ?? "";
|
|
7766
|
-
message.
|
|
7783
|
+
message.requestTimeoutSeconds = object.requestTimeoutSeconds ?? 0;
|
|
7784
|
+
message.internalHandlerTimeoutSeconds = object.internalHandlerTimeoutSeconds ?? 0;
|
|
7767
7785
|
message.requestId = object.requestId ?? "";
|
|
7768
7786
|
return message;
|
|
7769
7787
|
},
|
|
@@ -7799,7 +7817,7 @@ export const WaitForStepCompletionResponse = {
|
|
|
7799
7817
|
},
|
|
7800
7818
|
};
|
|
7801
7819
|
function createBaseWaitForAttributeRequest() {
|
|
7802
|
-
return { flowId: "", match: undefined,
|
|
7820
|
+
return { flowId: "", match: undefined, requestTimeoutSeconds: 0, internalHandlerTimeoutSeconds: 0, requestId: "" };
|
|
7803
7821
|
}
|
|
7804
7822
|
export const WaitForAttributeRequest = {
|
|
7805
7823
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -7809,11 +7827,14 @@ export const WaitForAttributeRequest = {
|
|
|
7809
7827
|
if (message.match !== undefined) {
|
|
7810
7828
|
AttributeMatch.encode(message.match, writer.uint32(18).fork()).join();
|
|
7811
7829
|
}
|
|
7812
|
-
if (message.
|
|
7813
|
-
writer.uint32(24).int32(message.
|
|
7830
|
+
if (message.requestTimeoutSeconds !== 0) {
|
|
7831
|
+
writer.uint32(24).int32(message.requestTimeoutSeconds);
|
|
7832
|
+
}
|
|
7833
|
+
if (message.internalHandlerTimeoutSeconds !== 0) {
|
|
7834
|
+
writer.uint32(32).int32(message.internalHandlerTimeoutSeconds);
|
|
7814
7835
|
}
|
|
7815
7836
|
if (message.requestId !== "") {
|
|
7816
|
-
writer.uint32(
|
|
7837
|
+
writer.uint32(42).string(message.requestId);
|
|
7817
7838
|
}
|
|
7818
7839
|
return writer;
|
|
7819
7840
|
},
|
|
@@ -7842,11 +7863,18 @@ export const WaitForAttributeRequest = {
|
|
|
7842
7863
|
if (tag !== 24) {
|
|
7843
7864
|
break;
|
|
7844
7865
|
}
|
|
7845
|
-
message.
|
|
7866
|
+
message.requestTimeoutSeconds = reader.int32();
|
|
7846
7867
|
continue;
|
|
7847
7868
|
}
|
|
7848
7869
|
case 4: {
|
|
7849
|
-
if (tag !==
|
|
7870
|
+
if (tag !== 32) {
|
|
7871
|
+
break;
|
|
7872
|
+
}
|
|
7873
|
+
message.internalHandlerTimeoutSeconds = reader.int32();
|
|
7874
|
+
continue;
|
|
7875
|
+
}
|
|
7876
|
+
case 5: {
|
|
7877
|
+
if (tag !== 42) {
|
|
7850
7878
|
break;
|
|
7851
7879
|
}
|
|
7852
7880
|
message.requestId = reader.string();
|
|
@@ -7869,7 +7897,8 @@ export const WaitForAttributeRequest = {
|
|
|
7869
7897
|
message.match = (object.match !== undefined && object.match !== null)
|
|
7870
7898
|
? AttributeMatch.fromPartial(object.match)
|
|
7871
7899
|
: undefined;
|
|
7872
|
-
message.
|
|
7900
|
+
message.requestTimeoutSeconds = object.requestTimeoutSeconds ?? 0;
|
|
7901
|
+
message.internalHandlerTimeoutSeconds = object.internalHandlerTimeoutSeconds ?? 0;
|
|
7873
7902
|
message.requestId = object.requestId ?? "";
|
|
7874
7903
|
return message;
|
|
7875
7904
|
},
|