@temporal-contract/client 0.0.2 → 0.0.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/dist/index.mjs CHANGED
@@ -1,87 +1,78 @@
1
1
  import { Client } from "@temporalio/client";
2
+ import { AsyncData, Future, Future as Future$1, Option, Result, Result as Result$1 } from "@swan-io/boxed";
2
3
 
3
4
  //#region src/errors.ts
4
5
  /**
5
- * Base error class for typed client errors
6
+ * Base class for all typed client errors with boxed pattern
6
7
  */
7
8
  var TypedClientError = class extends Error {
8
9
  constructor(message) {
9
10
  super(message);
10
- this.name = "TypedClientError";
11
+ this.name = this.constructor.name;
11
12
  if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
12
13
  }
13
14
  };
14
15
  /**
15
- * Error thrown when a workflow is not found in the contract
16
+ * Thrown when a workflow is not found in the contract
16
17
  */
17
18
  var WorkflowNotFoundError = class extends TypedClientError {
18
- constructor(workflowName, availableWorkflows = []) {
19
- const message = availableWorkflows.length > 0 ? `Workflow "${workflowName}" not found in contract. Available workflows: ${availableWorkflows.join(", ")}` : `Workflow "${workflowName}" not found in contract`;
20
- super(message);
19
+ constructor(workflowName, availableWorkflows) {
20
+ super(`Workflow "${workflowName}" not found in contract. Available workflows: ${availableWorkflows.join(", ")}`);
21
21
  this.workflowName = workflowName;
22
22
  this.availableWorkflows = availableWorkflows;
23
- this.name = "WorkflowNotFoundError";
24
23
  }
25
24
  };
26
25
  /**
27
- * Error thrown when workflow input or output validation fails
26
+ * Thrown when workflow input or output validation fails
28
27
  */
29
28
  var WorkflowValidationError = class extends TypedClientError {
30
- constructor(workflowName, phase, issues) {
31
- const message = issues.map((issue) => issue.message).join("; ");
32
- super(`Validation failed for workflow "${workflowName}" ${phase}: ${message}`);
29
+ constructor(workflowName, direction, issues) {
30
+ super(`Validation failed for workflow "${workflowName}" ${direction}: ${JSON.stringify(issues)}`);
33
31
  this.workflowName = workflowName;
34
- this.phase = phase;
32
+ this.direction = direction;
35
33
  this.issues = issues;
36
- this.name = "WorkflowValidationError";
37
34
  }
38
35
  };
39
36
  /**
40
- * Error thrown when query input or output validation fails
37
+ * Thrown when query input or output validation fails
41
38
  */
42
39
  var QueryValidationError = class extends TypedClientError {
43
- constructor(queryName, phase, issues) {
44
- const message = issues.map((issue) => issue.message).join("; ");
45
- super(`Validation failed for query "${queryName}" ${phase}: ${message}`);
40
+ constructor(queryName, direction, issues) {
41
+ super(`Validation failed for query "${queryName}" ${direction}: ${JSON.stringify(issues)}`);
46
42
  this.queryName = queryName;
47
- this.phase = phase;
43
+ this.direction = direction;
48
44
  this.issues = issues;
49
- this.name = "QueryValidationError";
50
45
  }
51
46
  };
52
47
  /**
53
- * Error thrown when signal input validation fails
48
+ * Thrown when signal input validation fails
54
49
  */
55
50
  var SignalValidationError = class extends TypedClientError {
56
51
  constructor(signalName, issues) {
57
- const message = issues.map((issue) => issue.message).join("; ");
58
- super(`Validation failed for signal "${signalName}" input: ${message}`);
52
+ super(`Validation failed for signal "${signalName}": ${JSON.stringify(issues)}`);
59
53
  this.signalName = signalName;
60
54
  this.issues = issues;
61
- this.name = "SignalValidationError";
62
55
  }
63
56
  };
64
57
  /**
65
- * Error thrown when update input or output validation fails
58
+ * Thrown when update input or output validation fails
66
59
  */
67
60
  var UpdateValidationError = class extends TypedClientError {
68
- constructor(updateName, phase, issues) {
69
- const message = issues.map((issue) => issue.message).join("; ");
70
- super(`Validation failed for update "${updateName}" ${phase}: ${message}`);
61
+ constructor(updateName, direction, issues) {
62
+ super(`Validation failed for update "${updateName}" ${direction}: ${JSON.stringify(issues)}`);
71
63
  this.updateName = updateName;
72
- this.phase = phase;
64
+ this.direction = direction;
73
65
  this.issues = issues;
74
- this.name = "UpdateValidationError";
75
66
  }
76
67
  };
77
68
 
78
69
  //#endregion
79
70
  //#region src/client.ts
80
71
  /**
81
- * Typed Temporal client based on a contract
72
+ * Typed Temporal client with Result/Future pattern based on a contract
82
73
  *
83
74
  * Provides type-safe methods to start and execute workflows
84
- * defined in the contract.
75
+ * defined in the contract, with explicit error handling using Result pattern.
85
76
  */
86
77
  var TypedClient = class TypedClient {
87
78
  constructor(contract, client) {
@@ -89,7 +80,7 @@ var TypedClient = class TypedClient {
89
80
  this.client = client;
90
81
  }
91
82
  /**
92
- * Create a typed Temporal client from a contract
83
+ * Create a typed Temporal client with boxed pattern from a contract
93
84
  *
94
85
  * @example
95
86
  * ```ts
@@ -101,7 +92,12 @@ var TypedClient = class TypedClient {
101
92
  *
102
93
  * const result = await client.executeWorkflow('processOrder', {
103
94
  * workflowId: 'order-123',
104
- * args: [...],
95
+ * args: { ... },
96
+ * }).toPromise();
97
+ *
98
+ * result.match({
99
+ * Ok: (output) => console.log('Success:', output),
100
+ * Error: (error) => console.error('Failed:', error),
105
101
  * });
106
102
  * ```
107
103
  */
@@ -109,125 +105,262 @@ var TypedClient = class TypedClient {
109
105
  return new TypedClient(contract, new Client(options));
110
106
  }
111
107
  /**
112
- * Start a workflow and return a typed handle
108
+ * Start a workflow and return a typed handle with Future pattern
113
109
  *
114
110
  * @example
115
111
  * ```ts
116
- * const handle = await client.startWorkflow('processOrder', {
112
+ * const handleResult = await client.startWorkflow('processOrder', {
117
113
  * workflowId: 'order-123',
118
- * args: ['ORD-123', 'CUST-456', [{ productId: 'PROD-1', quantity: 2 }]],
114
+ * args: { orderId: 'ORD-123' },
119
115
  * workflowExecutionTimeout: '1 day',
120
116
  * retry: { maximumAttempts: 3 },
121
- * });
117
+ * }).toPromise();
122
118
  *
123
- * const result = await handle.result();
119
+ * handleResult.match({
120
+ * Ok: async (handle) => {
121
+ * const result = await handle.result().toPromise();
122
+ * // ... handle result
123
+ * },
124
+ * Error: (error) => console.error('Failed to start:', error),
125
+ * });
124
126
  * ```
125
127
  */
126
- async startWorkflow(workflowName, { args, ...temporalOptions }) {
127
- const definition = this.contract.workflows[workflowName];
128
- if (!definition) throw new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows));
129
- const inputResult = await definition.input["~standard"].validate(args);
130
- if (inputResult.issues) throw new WorkflowValidationError(String(workflowName), "input", inputResult.issues);
131
- const validatedInput = inputResult.value;
132
- const handle = await this.client.workflow.start(workflowName, {
133
- ...temporalOptions,
134
- taskQueue: this.contract.taskQueue,
135
- args: [validatedInput]
128
+ startWorkflow(workflowName, { args, ...temporalOptions }) {
129
+ return Future$1.make((resolve) => {
130
+ const definition = this.contract.workflows[workflowName];
131
+ if (!definition) {
132
+ resolve(Result$1.Error(new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows))));
133
+ return;
134
+ }
135
+ (async () => {
136
+ const inputResult = await definition.input["~standard"].validate(args);
137
+ if (inputResult.issues) {
138
+ resolve(Result$1.Error(new WorkflowValidationError(String(workflowName), "input", inputResult.issues)));
139
+ return;
140
+ }
141
+ const validatedInput = inputResult.value;
142
+ try {
143
+ const handle = await this.client.workflow.start(workflowName, {
144
+ ...temporalOptions,
145
+ taskQueue: this.contract.taskQueue,
146
+ args: [validatedInput]
147
+ });
148
+ const typedHandle = this.createTypedHandle(handle, definition);
149
+ resolve(Result$1.Ok(typedHandle));
150
+ } catch (error) {
151
+ resolve(Result$1.Error(new TypedClientError(`Failed to start workflow: ${error instanceof Error ? error.message : String(error)}`)));
152
+ }
153
+ })();
136
154
  });
137
- return this.createTypedHandle(handle, definition);
138
155
  }
139
156
  /**
140
- * Execute a workflow (start and wait for result)
157
+ * Execute a workflow (start and wait for result) with Future/Result pattern
141
158
  *
142
159
  * @example
143
160
  * ```ts
144
161
  * const result = await client.executeWorkflow('processOrder', {
145
162
  * workflowId: 'order-123',
146
- * args: ['ORD-123', 'CUST-456', [{ productId: 'PROD-1', quantity: 2 }]],
163
+ * args: { orderId: 'ORD-123' },
147
164
  * workflowExecutionTimeout: '1 day',
148
165
  * retry: { maximumAttempts: 3 },
149
- * });
166
+ * }).toPromise();
150
167
  *
151
- * console.log(result.status); // fully typed!
168
+ * result.match({
169
+ * Ok: (output) => console.log('Order processed:', output.status),
170
+ * Error: (error) => console.error('Processing failed:', error),
171
+ * });
152
172
  * ```
153
173
  */
154
- async executeWorkflow(workflowName, { args, ...temporalOptions }) {
155
- const definition = this.contract.workflows[workflowName];
156
- if (!definition) throw new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows));
157
- const inputResult = await definition.input["~standard"].validate(args);
158
- if (inputResult.issues) throw new WorkflowValidationError(String(workflowName), "input", inputResult.issues);
159
- const validatedInput = inputResult.value;
160
- const result = await this.client.workflow.execute(workflowName, {
161
- ...temporalOptions,
162
- taskQueue: this.contract.taskQueue,
163
- args: [validatedInput]
174
+ executeWorkflow(workflowName, { args, ...temporalOptions }) {
175
+ return Future$1.make((resolve) => {
176
+ const definition = this.contract.workflows[workflowName];
177
+ if (!definition) {
178
+ resolve(Result$1.Error(new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows))));
179
+ return;
180
+ }
181
+ (async () => {
182
+ const inputResult = await definition.input["~standard"].validate(args);
183
+ if (inputResult.issues) {
184
+ resolve(Result$1.Error(new WorkflowValidationError(String(workflowName), "input", inputResult.issues)));
185
+ return;
186
+ }
187
+ const validatedInput = inputResult.value;
188
+ try {
189
+ const result = await this.client.workflow.execute(workflowName, {
190
+ ...temporalOptions,
191
+ taskQueue: this.contract.taskQueue,
192
+ args: [validatedInput]
193
+ });
194
+ const outputResult = await definition.output["~standard"].validate(result);
195
+ if (outputResult.issues) {
196
+ resolve(Result$1.Error(new WorkflowValidationError(String(workflowName), "output", outputResult.issues)));
197
+ return;
198
+ }
199
+ resolve(Result$1.Ok(outputResult.value));
200
+ } catch (error) {
201
+ resolve(Result$1.Error(new TypedClientError(`Failed to execute workflow: ${error instanceof Error ? error.message : String(error)}`)));
202
+ }
203
+ })();
164
204
  });
165
- const outputResult = await definition.output["~standard"].validate(result);
166
- if (outputResult.issues) throw new WorkflowValidationError(String(workflowName), "output", outputResult.issues);
167
- return outputResult.value;
168
205
  }
169
206
  /**
170
- * Get a handle to an existing workflow
207
+ * Get a handle to an existing workflow with Future/Result pattern
171
208
  *
172
209
  * @example
173
210
  * ```ts
174
- * const handle = await client.getHandle('processOrder', 'order-123');
175
- * const result = await handle.result();
211
+ * const handleResult = await client.getHandle('processOrder', 'order-123').toPromise();
212
+ * handleResult.match({
213
+ * Ok: async (handle) => {
214
+ * const result = await handle.result().toPromise();
215
+ * // ... handle result
216
+ * },
217
+ * Error: (error) => console.error('Failed to get handle:', error),
218
+ * });
176
219
  * ```
177
220
  */
178
- async getHandle(workflowName, workflowId) {
179
- const definition = this.contract.workflows[workflowName];
180
- if (!definition) throw new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows));
181
- const handle = this.client.workflow.getHandle(workflowId);
182
- return this.createTypedHandle(handle, definition);
221
+ getHandle(workflowName, workflowId) {
222
+ return Future$1.make((resolve) => {
223
+ const definition = this.contract.workflows[workflowName];
224
+ if (!definition) {
225
+ resolve(Result$1.Error(new WorkflowNotFoundError(String(workflowName), Object.keys(this.contract.workflows))));
226
+ return;
227
+ }
228
+ try {
229
+ const handle = this.client.workflow.getHandle(workflowId);
230
+ const typedHandle = this.createTypedHandle(handle, definition);
231
+ resolve(Result$1.Ok(typedHandle));
232
+ } catch (error) {
233
+ resolve(Result$1.Error(new TypedClientError(`Failed to get workflow handle: ${error instanceof Error ? error.message : String(error)}`)));
234
+ }
235
+ });
183
236
  }
184
237
  createTypedHandle(handle, definition) {
185
238
  const queries = {};
186
- for (const [queryName, queryDef] of Object.entries(definition.queries ?? {})) queries[queryName] = async (args) => {
187
- const inputResult = await queryDef.input["~standard"].validate(args);
188
- if (inputResult.issues) throw new QueryValidationError(queryName, "input", inputResult.issues);
189
- const result = await handle.query(queryName, inputResult.value);
190
- const outputResult = await queryDef.output["~standard"].validate(result);
191
- if (outputResult.issues) throw new QueryValidationError(queryName, "output", outputResult.issues);
192
- return outputResult.value;
239
+ for (const [queryName, queryDef] of Object.entries(definition.queries ?? {})) queries[queryName] = (args) => {
240
+ return Future$1.make((resolve) => {
241
+ (async () => {
242
+ const inputResult = await queryDef.input["~standard"].validate(args);
243
+ if (inputResult.issues) {
244
+ resolve(Result$1.Error(new QueryValidationError(queryName, "input", inputResult.issues)));
245
+ return;
246
+ }
247
+ try {
248
+ const result = await handle.query(queryName, inputResult.value);
249
+ const outputResult = await queryDef.output["~standard"].validate(result);
250
+ if (outputResult.issues) {
251
+ resolve(Result$1.Error(new QueryValidationError(queryName, "output", outputResult.issues)));
252
+ return;
253
+ }
254
+ resolve(Result$1.Ok(outputResult.value));
255
+ } catch (error) {
256
+ resolve(Result$1.Error(new TypedClientError(`Query failed: ${error instanceof Error ? error.message : String(error)}`)));
257
+ }
258
+ })();
259
+ });
193
260
  };
194
261
  const signals = {};
195
- for (const [signalName, signalDef] of Object.entries(definition.signals ?? {})) signals[signalName] = async (args) => {
196
- const inputResult = await signalDef.input["~standard"].validate(args);
197
- if (inputResult.issues) throw new SignalValidationError(signalName, inputResult.issues);
198
- await handle.signal(signalName, inputResult.value);
262
+ for (const [signalName, signalDef] of Object.entries(definition.signals ?? {})) signals[signalName] = (args) => {
263
+ return Future$1.make((resolve) => {
264
+ (async () => {
265
+ const inputResult = await signalDef.input["~standard"].validate(args);
266
+ if (inputResult.issues) {
267
+ resolve(Result$1.Error(new SignalValidationError(signalName, inputResult.issues)));
268
+ return;
269
+ }
270
+ try {
271
+ await handle.signal(signalName, inputResult.value);
272
+ resolve(Result$1.Ok(void 0));
273
+ } catch (error) {
274
+ resolve(Result$1.Error(new TypedClientError(`Signal failed: ${error instanceof Error ? error.message : String(error)}`)));
275
+ }
276
+ })();
277
+ });
199
278
  };
200
279
  const updates = {};
201
- for (const [updateName, updateDef] of Object.entries(definition.updates ?? {})) updates[updateName] = async (args) => {
202
- const inputResult = await updateDef.input["~standard"].validate(args);
203
- if (inputResult.issues) throw new UpdateValidationError(updateName, "input", inputResult.issues);
204
- const result = await handle.executeUpdate(updateName, { args: [inputResult.value] });
205
- const outputResult = await updateDef.output["~standard"].validate(result);
206
- if (outputResult.issues) throw new UpdateValidationError(updateName, "output", outputResult.issues);
207
- return outputResult.value;
280
+ for (const [updateName, updateDef] of Object.entries(definition.updates ?? {})) updates[updateName] = (args) => {
281
+ return Future$1.make((resolve) => {
282
+ (async () => {
283
+ const inputResult = await updateDef.input["~standard"].validate(args);
284
+ if (inputResult.issues) {
285
+ resolve(Result$1.Error(new UpdateValidationError(updateName, "input", inputResult.issues)));
286
+ return;
287
+ }
288
+ try {
289
+ const result = await handle.executeUpdate(updateName, { args: [inputResult.value] });
290
+ const outputResult = await updateDef.output["~standard"].validate(result);
291
+ if (outputResult.issues) {
292
+ resolve(Result$1.Error(new UpdateValidationError(updateName, "output", outputResult.issues)));
293
+ return;
294
+ }
295
+ resolve(Result$1.Ok(outputResult.value));
296
+ } catch (error) {
297
+ resolve(Result$1.Error(new TypedClientError(`Update failed: ${error instanceof Error ? error.message : String(error)}`)));
298
+ }
299
+ })();
300
+ });
208
301
  };
209
302
  return {
210
303
  workflowId: handle.workflowId,
211
304
  queries,
212
305
  signals,
213
306
  updates,
214
- result: async () => {
215
- const result = await handle.result();
216
- const outputResult = await definition.output["~standard"].validate(result);
217
- if (outputResult.issues) throw new WorkflowValidationError(handle.workflowId, "output", outputResult.issues);
218
- return outputResult.value;
307
+ result: () => {
308
+ return Future$1.make((resolve) => {
309
+ (async () => {
310
+ try {
311
+ const result = await handle.result();
312
+ const outputResult = await definition.output["~standard"].validate(result);
313
+ if (outputResult.issues) {
314
+ resolve(Result$1.Error(new WorkflowValidationError(handle.workflowId, "output", outputResult.issues)));
315
+ return;
316
+ }
317
+ resolve(Result$1.Ok(outputResult.value));
318
+ } catch (error) {
319
+ resolve(Result$1.Error(new TypedClientError(`Workflow execution failed: ${error instanceof Error ? error.message : String(error)}`)));
320
+ }
321
+ })();
322
+ });
323
+ },
324
+ terminate: (reason) => {
325
+ return Future$1.make((resolve) => {
326
+ (async () => {
327
+ try {
328
+ await handle.terminate(reason);
329
+ resolve(Result$1.Ok(void 0));
330
+ } catch (error) {
331
+ resolve(Result$1.Error(new TypedClientError(`Terminate failed: ${error instanceof Error ? error.message : String(error)}`)));
332
+ }
333
+ })();
334
+ });
219
335
  },
220
- terminate: async (reason) => {
221
- await handle.terminate(reason);
336
+ cancel: () => {
337
+ return Future$1.make((resolve) => {
338
+ (async () => {
339
+ try {
340
+ await handle.cancel();
341
+ resolve(Result$1.Ok(void 0));
342
+ } catch (error) {
343
+ resolve(Result$1.Error(new TypedClientError(`Cancel failed: ${error instanceof Error ? error.message : String(error)}`)));
344
+ }
345
+ })();
346
+ });
222
347
  },
223
- cancel: async () => {
224
- await handle.cancel();
348
+ describe: () => {
349
+ return Future$1.make((resolve) => {
350
+ (async () => {
351
+ try {
352
+ const description = await handle.describe();
353
+ resolve(Result$1.Ok(description));
354
+ } catch (error) {
355
+ resolve(Result$1.Error(new TypedClientError(`Describe failed: ${error instanceof Error ? error.message : String(error)}`)));
356
+ }
357
+ })();
358
+ });
225
359
  },
226
- describe: () => handle.describe(),
227
360
  fetchHistory: () => handle.fetchHistory()
228
361
  };
229
362
  }
230
363
  };
231
364
 
232
365
  //#endregion
233
- export { QueryValidationError, SignalValidationError, TypedClient, TypedClientError, UpdateValidationError, WorkflowNotFoundError, WorkflowValidationError };
366
+ export { AsyncData, Future, Option, QueryValidationError, Result, SignalValidationError, TypedClient, TypedClientError, UpdateValidationError, WorkflowNotFoundError, WorkflowValidationError };
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "@temporal-contract/client",
3
- "version": "0.0.2",
4
- "type": "module",
5
- "description": "Client utilities for consuming temporal-contract workflows",
3
+ "version": "0.0.4",
4
+ "description": "Client utilities with Result/Future pattern for consuming temporal-contract workflows",
5
+ "keywords": [
6
+ "temporal",
7
+ "typescript",
8
+ "contract",
9
+ "client",
10
+ "result",
11
+ "future"
12
+ ],
6
13
  "homepage": "https://github.com/btravers/temporal-contract#readme",
7
14
  "bugs": {
8
15
  "url": "https://github.com/btravers/temporal-contract/issues"
@@ -12,17 +19,9 @@
12
19
  "url": "https://github.com/btravers/temporal-contract.git",
13
20
  "directory": "packages/client"
14
21
  },
15
- "author": "Benoit TRAVERS <benoit.travers.frgmail.com>",
16
22
  "license": "MIT",
17
- "keywords": [
18
- "temporal",
19
- "typescript",
20
- "contract",
21
- "client"
22
- ],
23
- "main": "./dist/index.cjs",
24
- "module": "./dist/index.mjs",
25
- "types": "./dist/index.d.mts",
23
+ "author": "Benoit TRAVERS <benoit.travers.frgmail.com>",
24
+ "type": "module",
26
25
  "exports": {
27
26
  ".": {
28
27
  "import": {
@@ -36,28 +35,35 @@
36
35
  },
37
36
  "./package.json": "./package.json"
38
37
  },
38
+ "main": "./dist/index.cjs",
39
+ "module": "./dist/index.mjs",
40
+ "types": "./dist/index.d.mts",
41
+ "files": [
42
+ "dist"
43
+ ],
39
44
  "dependencies": {
40
45
  "@standard-schema/spec": "1.0.0",
41
- "@temporal-contract/contract": "0.0.2"
46
+ "@swan-io/boxed": "3.2.1",
47
+ "@temporal-contract/contract": "0.0.4"
42
48
  },
43
49
  "devDependencies": {
44
50
  "@temporalio/client": "1.13.2",
45
- "@types/node": "24.10.2",
51
+ "@types/node": "25.0.1",
46
52
  "@vitest/coverage-v8": "4.0.15",
47
- "tsdown": "0.17.2",
53
+ "tsdown": "0.17.3",
48
54
  "typescript": "5.9.3",
49
55
  "vitest": "4.0.15",
50
56
  "zod": "4.1.13",
51
- "@temporal-contract/tsconfig": "0.0.2"
57
+ "@temporal-contract/tsconfig": "0.0.4"
52
58
  },
53
59
  "peerDependencies": {
54
60
  "@temporalio/client": ">=1.13.0 <2.0.0"
55
61
  },
56
62
  "scripts": {
57
- "dev": "tsdown src/index.ts --format cjs,esm --dts --watch",
58
63
  "build": "tsdown src/index.ts --format cjs,esm --dts --clean",
59
- "typecheck": "tsc --noEmit",
64
+ "dev": "tsdown src/index.ts --format cjs,esm --dts --watch",
60
65
  "test": "vitest run",
61
- "test:watch": "vitest"
66
+ "test:watch": "vitest",
67
+ "typecheck": "tsc --noEmit"
62
68
  }
63
69
  }
@@ -1,17 +0,0 @@
1
-
2
- > @temporal-contract/client@0.0.2 build /home/runner/work/temporal-contract/temporal-contract/packages/client
3
- > tsdown src/index.ts --format cjs,esm --dts --clean
4
-
5
- ℹ tsdown v0.17.2 powered by rolldown v1.0.0-beta.53
6
- ℹ entry: src/index.ts
7
- ℹ tsconfig: tsconfig.json
8
- ℹ Build start
9
- ℹ [CJS] dist/index.cjs 8.83 kB │ gzip: 1.84 kB
10
- ℹ [CJS] 1 files, total: 8.83 kB
11
- ℹ [CJS] dist/index.d.cts 7.02 kB │ gzip: 1.67 kB
12
- ℹ [CJS] 1 files, total: 7.02 kB
13
- ✔ Build complete in 4263ms
14
- ℹ [ESM] dist/index.mjs 8.60 kB │ gzip: 1.81 kB
15
- ℹ [ESM] dist/index.d.mts 7.02 kB │ gzip: 1.67 kB
16
- ℹ [ESM] 2 files, total: 15.62 kB
17
- ✔ Build complete in 4270ms
package/CHANGELOG.md DELETED
@@ -1,9 +0,0 @@
1
- # @temporal-contract/client
2
-
3
- ## 0.0.2
4
-
5
- ### Patch Changes
6
-
7
- - Release version 0.0.2
8
- - Updated dependencies
9
- - @temporal-contract/contract@0.0.2