@shware/workflow 0.3.0 → 0.4.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.
package/dist/client.d.cts CHANGED
@@ -105,4 +105,5 @@ export declare class JourneyClient<C extends Contract | undefined = undefined> {
105
105
  private post;
106
106
  }
107
107
  //#endregion
108
+ export {};
108
109
  //# sourceMappingURL=client.d.cts.map
package/dist/client.d.mts CHANGED
@@ -105,4 +105,5 @@ export declare class JourneyClient<C extends Contract | undefined = undefined> {
105
105
  private post;
106
106
  }
107
107
  //#endregion
108
+ export {};
108
109
  //# sourceMappingURL=client.d.mts.map
@@ -87,4 +87,5 @@ export declare class ContractValidationError extends Error {
87
87
  export declare function checkEvent(contract: Contract, name: string, payload: unknown): ContractResult<Record<string, unknown>>;
88
88
  export declare function isContract(value: unknown): value is Contract;
89
89
  //#endregion
90
+ export {};
90
91
  //# sourceMappingURL=contract.d.cts.map
@@ -87,4 +87,5 @@ export declare class ContractValidationError extends Error {
87
87
  export declare function checkEvent(contract: Contract, name: string, payload: unknown): ContractResult<Record<string, unknown>>;
88
88
  export declare function isContract(value: unknown): value is Contract;
89
89
  //#endregion
90
+ export {};
90
91
  //# sourceMappingURL=contract.d.mts.map
@@ -139,4 +139,5 @@ export interface SegmentDefinition extends SegmentMeta {
139
139
  */
140
140
  export declare function segment({ id, condition, name, description }: SegmentDefinition): SegmentRef;
141
141
  //#endregion
142
+ export {};
142
143
  //# sourceMappingURL=condition.d.cts.map
@@ -139,4 +139,5 @@ export interface SegmentDefinition extends SegmentMeta {
139
139
  */
140
140
  export declare function segment({ id, condition, name, description }: SegmentDefinition): SegmentRef;
141
141
  //#endregion
142
+ export {};
142
143
  //# sourceMappingURL=condition.d.mts.map
@@ -254,4 +254,5 @@ export declare class FlowBuilderImpl implements FlowBuilder {
254
254
  */
255
255
  export declare function flow(build: (w: FlowBuilder) => FlowBuilder): Flow;
256
256
  //#endregion
257
+ export {};
257
258
  //# sourceMappingURL=flow.d.cts.map
@@ -254,4 +254,5 @@ export declare class FlowBuilderImpl implements FlowBuilder {
254
254
  */
255
255
  export declare function flow(build: (w: FlowBuilder) => FlowBuilder): Flow;
256
256
  //#endregion
257
+ export {};
257
258
  //# sourceMappingURL=flow.d.mts.map
@@ -72,4 +72,5 @@ export interface TemplateRefs<R extends TemplateRegistry> {
72
72
  */
73
73
  export declare function templates<const R extends TemplateRegistry>(registry: R): TemplateRefs<R>;
74
74
  //#endregion
75
+ export {};
75
76
  //# sourceMappingURL=template.d.cts.map
@@ -72,4 +72,5 @@ export interface TemplateRefs<R extends TemplateRegistry> {
72
72
  */
73
73
  export declare function templates<const R extends TemplateRegistry>(registry: R): TemplateRefs<R>;
74
74
  //#endregion
75
+ export {};
75
76
  //# sourceMappingURL=template.d.mts.map
package/dist/ir.d.cts CHANGED
@@ -483,4 +483,5 @@ export declare const BundleIR: z.ZodMiniObject<{
483
483
  }, z.core.$strip>;
484
484
  export type BundleIR = z.infer<typeof BundleIR>;
485
485
  //#endregion
486
+ export {};
486
487
  //# sourceMappingURL=ir.d.cts.map
package/dist/ir.d.mts CHANGED
@@ -483,4 +483,5 @@ export declare const BundleIR: z.ZodMiniObject<{
483
483
  }, z.core.$strip>;
484
484
  export type BundleIR = z.infer<typeof BundleIR>;
485
485
  //#endregion
486
+ export {};
486
487
  //# sourceMappingURL=ir.d.mts.map
@@ -38,4 +38,5 @@ export declare function captureLoc(boundary: AnyFunction): SourceLocIR | undefin
38
38
  */
39
39
  export declare function normalizeFile(rawFile: string, cwd: string | undefined): string;
40
40
  //#endregion
41
+ export {};
41
42
  //# sourceMappingURL=provenance.d.cts.map
@@ -38,4 +38,5 @@ export declare function captureLoc(boundary: AnyFunction): SourceLocIR | undefin
38
38
  */
39
39
  export declare function normalizeFile(rawFile: string, cwd: string | undefined): string;
40
40
  //#endregion
41
+ export {};
41
42
  //# sourceMappingURL=provenance.d.mts.map
@@ -184,4 +184,5 @@ export declare function registryValidator(registries: {
184
184
  }): ResolvedProps;
185
185
  };
186
186
  //#endregion
187
+ export {};
187
188
  //# sourceMappingURL=templates.d.cts.map
@@ -184,4 +184,5 @@ export declare function registryValidator(registries: {
184
184
  }): ResolvedProps;
185
185
  };
186
186
  //#endregion
187
+ export {};
187
188
  //# sourceMappingURL=templates.d.mts.map
@@ -50,4 +50,5 @@ export declare class WebPushSender implements MessageSender {
50
50
  send(message: OutboundMessage): Promise<void | SendResult>;
51
51
  }
52
52
  //#endregion
53
+ export {};
53
54
  //# sourceMappingURL=webpush.d.cts.map
@@ -50,4 +50,5 @@ export declare class WebPushSender implements MessageSender {
50
50
  send(message: OutboundMessage): Promise<void | SendResult>;
51
51
  }
52
52
  //#endregion
53
+ export {};
53
54
  //# sourceMappingURL=webpush.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/workflow",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ShwareHQ/shware-sdk.git"
@@ -149,27 +149,28 @@
149
149
  },
150
150
  "dependencies": {
151
151
  "@slack/types": "^3.2.0",
152
- "@types/ms": "^2.1.0",
153
152
  "discord-api-types": "^0.38.56",
154
- "ms": "^2.1.3",
155
- "zod": "^4.6.5"
153
+ "ms": "^2.1.3"
156
154
  },
157
155
  "devDependencies": {
158
- "@electric-sql/pglite": "^0.5.8",
156
+ "@electric-sql/pglite": "^0.5.10",
159
157
  "@repo/typescript-config": "0.0.0",
160
- "@types/node": "^26.6.3",
161
- "@types/react": "^19.2.18",
162
- "@types/react-dom": "^19.2.5",
158
+ "@types/ms": "^2.1.0",
159
+ "@types/node": "^26.6.5",
160
+ "@types/react": "^19.3.0",
161
+ "@types/react-dom": "^19.3.0",
163
162
  "postgres": "^3.4.9",
164
- "react": "^19.2.8",
165
- "react-dom": "^19.2.8",
163
+ "react": "^19.3.1",
164
+ "react-dom": "^19.3.1",
166
165
  "typescript": "^7.0.2",
167
- "vitest": "^5.0.2"
166
+ "vitest": "^5.0.5",
167
+ "zod": "^4.6.7"
168
168
  },
169
169
  "peerDependencies": {
170
170
  "postgres": ">=3.4.0",
171
171
  "react": ">=19",
172
- "react-dom": ">=19"
172
+ "react-dom": ">=19",
173
+ "zod": "^4.6.5"
173
174
  },
174
175
  "peerDependenciesMeta": {
175
176
  "postgres": {