@temporalio/activity 1.13.2 → 1.14.1
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/{LICENSE.md → LICENSE} +6 -8
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
package/{LICENSE.md → LICENSE}
RENAMED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2021 Temporal Technologies Inc. All Rights Reserved
|
|
3
|
+
Copyright (c) 2021-2025 Temporal Technologies Inc. All rights reserved.
|
|
6
4
|
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
11
9
|
copies of the Software, and to permit persons to whom the Software is
|
|
12
10
|
furnished to do so, subject to the following conditions:
|
|
13
11
|
|
|
14
|
-
The above copyright notice and this permission notice shall be included in
|
|
15
|
-
copies or substantial portions of the Software.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
16
14
|
|
|
17
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
-
SOFTWARE.
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
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().
|
|
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().
|
|
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.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "Temporal.io SDK Activity sub-package",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@temporalio/client": "1.
|
|
17
|
-
"@temporalio/common": "1.
|
|
16
|
+
"@temporalio/client": "1.14.1",
|
|
17
|
+
"@temporalio/common": "1.14.1",
|
|
18
18
|
"abort-controller": "^3.0.0"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"src",
|
|
37
37
|
"lib"
|
|
38
38
|
],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "42bf6087946b7bbda61c7856bc0723c1616f9973"
|
|
40
40
|
}
|
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().
|
|
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);
|