@aikirun/client 0.14.0 → 0.16.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -82,6 +82,14 @@ var ConsoleLogger = class _ConsoleLogger {
82
82
  }
83
83
  };
84
84
 
85
+ // ../../lib/address/index.ts
86
+ function getWorkflowStreamName(name, versionId, shard) {
87
+ return shard ? `workflow/${name}/${versionId}/${shard}` : `workflow/${name}/${versionId}`;
88
+ }
89
+ function getWorkerConsumerGroupName(workflowName, workflowVersionId, shard) {
90
+ return shard ? `worker/${workflowName}/${workflowVersionId}/${shard}` : `worker/${workflowName}/${workflowVersionId}`;
91
+ }
92
+
85
93
  // ../../lib/array/utils.ts
86
94
  function isNonEmptyArray(value) {
87
95
  return value.length > 0;
@@ -103,14 +111,6 @@ function distributeRoundRobin(totalSize, itemCount) {
103
111
  return distribution;
104
112
  }
105
113
 
106
- // ../../lib/path/index.ts
107
- function getWorkflowStreamName(name, versionId, shard) {
108
- return shard ? `workflow/${name}/${versionId}/${shard}` : `workflow/${name}/${versionId}`;
109
- }
110
- function getWorkerConsumerGroupName(workflowName, workflowVersionId, shard) {
111
- return shard ? `worker/${workflowName}/${workflowVersionId}/${shard}` : `worker/${workflowName}/${workflowVersionId}`;
112
- }
113
-
114
114
  // ../../lib/retry/strategy.ts
115
115
  function getRetryParams(attempts, strategy) {
116
116
  const strategyType = strategy.type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikirun/client",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "Client SDK for Aiki - connect to the server, start workflows, and manage execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "build": "tsup"
19
19
  },
20
20
  "dependencies": {
21
- "@aikirun/types": "0.14.0",
21
+ "@aikirun/types": "0.16.0",
22
22
  "@orpc/client": "^1.9.3",
23
23
  "ioredis": "^5.4.1",
24
24
  "arktype": "^2.1.29"