@temporalio/activity 1.14.0 → 1.14.2-canary-release-testing.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/lib/index.d.ts CHANGED
@@ -420,7 +420,7 @@ export declare function sleep(ms: Duration): Promise<void>;
420
420
  * attribute set to a {@link TimeoutFailure}, which has the last value of `details` available at
421
421
  * {@link TimeoutFailure.lastHeartbeatDetails}.
422
422
  *
423
- * This is a shortcut for `Context.current().heatbeat(ms)` (see {@link Context.heartbeat}).
423
+ * This is a shortcut for `Context.current().heartbeat(details)` (see {@link Context.heartbeat}).
424
424
  */
425
425
  export declare function heartbeat(details?: unknown): void;
426
426
  /**
package/lib/index.js CHANGED
@@ -348,7 +348,7 @@ function sleep(ms) {
348
348
  * attribute set to a {@link TimeoutFailure}, which has the last value of `details` available at
349
349
  * {@link TimeoutFailure.lastHeartbeatDetails}.
350
350
  *
351
- * This is a shortcut for `Context.current().heatbeat(ms)` (see {@link Context.heartbeat}).
351
+ * This is a shortcut for `Context.current().heartbeat(details)` (see {@link Context.heartbeat}).
352
352
  */
353
353
  function heartbeat(details) {
354
354
  Context.current().heartbeat(details);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/activity",
3
- "version": "1.14.0",
3
+ "version": "1.14.2-canary-release-testing.0",
4
4
  "description": "Temporal.io SDK Activity sub-package",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -13,9 +13,9 @@
13
13
  "author": "Temporal Technologies Inc. <sdk@temporal.io>",
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@temporalio/client": "1.14.0",
17
- "@temporalio/common": "1.14.0",
18
- "abort-controller": "^3.0.0"
16
+ "abort-controller": "^3.0.0",
17
+ "@temporalio/common": "1.14.2-canary-release-testing.0",
18
+ "@temporalio/client": "1.14.2-canary-release-testing.0"
19
19
  },
20
20
  "engines": {
21
21
  "node": ">= 18.0.0"
@@ -35,6 +35,5 @@
35
35
  "files": [
36
36
  "src",
37
37
  "lib"
38
- ],
39
- "gitHead": "eb428ac36568b48be67fdba662c38631867b932d"
40
- }
38
+ ]
39
+ }
package/src/index.ts CHANGED
@@ -453,7 +453,7 @@ export function sleep(ms: Duration): Promise<void> {
453
453
  * attribute set to a {@link TimeoutFailure}, which has the last value of `details` available at
454
454
  * {@link TimeoutFailure.lastHeartbeatDetails}.
455
455
  *
456
- * This is a shortcut for `Context.current().heatbeat(ms)` (see {@link Context.heartbeat}).
456
+ * This is a shortcut for `Context.current().heartbeat(details)` (see {@link Context.heartbeat}).
457
457
  */
458
458
  export function heartbeat(details?: unknown): void {
459
459
  Context.current().heartbeat(details);