@rivus/gateway 0.22.3 → 0.23.0

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.
@@ -0,0 +1,13 @@
1
+ //#region src/automation/domain/automation-occurrence/errors.ts
2
+ var RivusAutomationFailure = class extends Error {
3
+ name = "RivusAutomationFailure";
4
+ code;
5
+ constructor(code, message = code, options) {
6
+ if (typeof code !== "string" || !/^[A-Z][A-Z0-9_]{0,63}$/.test(code)) throw new TypeError("Automation failure code must match ^[A-Z][A-Z0-9_]{0,63}$");
7
+ super(message, options);
8
+ this.code = code;
9
+ }
10
+ };
11
+ //#endregion
12
+ export { RivusAutomationFailure as t };
13
+
@@ -13,7 +13,7 @@ function formatSchemaIssuePath(issue) {
13
13
  }).join("");
14
14
  }
15
15
  //#endregion
16
- //#region src/feishu/domain/message/adapters/feishu-receive-message.ts
16
+ //#region src/feishu/lib/message/feishu-receive-message.ts
17
17
  /** Match the durable codec's non-blank check without changing the stored identifier text. */
18
18
  const filledText = Schema.String.check(Schema.makeFilter((value) => value.trim().length > 0));
19
19
  const storedMessageFields = {