@hotmeshio/hotmesh 0.0.35 → 0.0.36

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 CHANGED
@@ -20,7 +20,7 @@ HotMesh inverts the relationship to Redis: those functions that once used Redis
20
20
  HotMesh creates an *ad hoc*, Redis-backed network of functions and organizes them into a unified service mesh. *Any service with access to Redis can join in the network, bypassing the legacy clutter.*
21
21
 
22
22
  ## Design
23
- The simplest way to get started is to use the `Durable` module. It's organized using principles similar to Temporal. If you're familiar with their SDK, the setup is similar.
23
+ The simplest way to get started is to use the `Durable` module. It's organized using principles similar to temporal.io. If you're familiar with their SDK, the setup is similar.
24
24
 
25
25
  1. Start by defining **activities**. Activities can be written in any style, using any framework, and can even be legacy functions you've already written. The only requirement is that they return a Promise. *Note how the `saludar` example throws an error 50% of the time. It doesn't matter how unpredictable your functions are, HotMesh will retry as necessary until they succeed.*
26
26
  ```javascript
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotmeshio/hotmesh",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Unbreakable Workflows",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -21,6 +21,7 @@ class IORedisStoreService extends index_1.StoreService {
21
21
  }
22
22
  return response;
23
23
  }
24
+ return response;
24
25
  }
25
26
  hGetAllResult(result) {
26
27
  //ioredis response signature is [null, {}] or [null, null]
package/modules/enums.ts CHANGED
@@ -29,4 +29,4 @@ export const TEST_FIDELITY_SECONDS = 5;
29
29
  export const FIDELITY_SECONDS = process.env.NODE_ENV === 'test' ? TEST_FIDELITY_SECONDS : BASE_FIDELITY_SECONDS
30
30
 
31
31
  // DURABLE CONSTANTS
32
- export const DURABLE_EXPIRE_SECONDS = 1;
32
+ export const DURABLE_EXPIRE_SECONDS = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotmeshio/hotmesh",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Unbreakable Workflows",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -32,6 +32,7 @@ class IORedisStoreService extends StoreService<RedisClientType, RedisMultiType>
32
32
  }
33
33
  return response as string[];
34
34
  }
35
+ return response;
35
36
  }
36
37
 
37
38
  hGetAllResult(result: any) {