@temporalio/activity
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -6,4 +6,12 @@ # Change Log | ||
## [0.2.2](https://github.com/temporalio/sdk-node/compare/@temporalio/activity@0.2.1...@temporalio/activity@0.2.2) (2021-06-18) | ||
**Note:** Version bump only for package @temporalio/activity | ||
## [0.2.1](https://github.com/temporalio/sdk-node/compare/@temporalio/activity@0.2.0...@temporalio/activity@0.2.1) (2021-05-17) | ||
**Note:** Version bump only for package @temporalio/activity |
@@ -59,3 +59,3 @@ /** | ||
*/ | ||
export declare class CancellationError extends Error { | ||
export declare class CancelledError extends Error { | ||
readonly name: string; | ||
@@ -138,3 +138,3 @@ } | ||
* | ||
* This promise will never be resolved, it will only be rejected with a {@link CancellationError}. | ||
* This promise will never be resolved, it will only be rejected with a {@link CancelledError}. | ||
*/ | ||
@@ -141,0 +141,0 @@ readonly cancelled: Promise<never>; |
@@ -51,3 +51,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Context = exports.CancellationError = exports.asyncLocalStorage = void 0; | ||
exports.Context = exports.CancelledError = exports.asyncLocalStorage = void 0; | ||
const async_hooks_1 = require("async_hooks"); | ||
@@ -61,9 +61,9 @@ /** @ignore */ | ||
*/ | ||
class CancellationError extends Error { | ||
class CancelledError extends Error { | ||
constructor() { | ||
super(...arguments); | ||
this.name = 'CancellationError'; | ||
this.name = 'CancelledError'; | ||
} | ||
} | ||
exports.CancellationError = CancellationError; | ||
exports.CancelledError = CancelledError; | ||
/** | ||
@@ -110,1 +110,2 @@ * Activity Context manager. | ||
exports.Context = Context; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@temporalio/activity", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Temporal.io SDK Activity sub-package", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "59160b0eed13c8ae2e6b68e1494424884ba5b705" | ||
"gitHead": "3e16d09a18550c04a797d73e95ad73b765b94c95" | ||
} |
@@ -61,4 +61,4 @@ /** | ||
*/ | ||
export class CancellationError extends Error { | ||
public readonly name: string = 'CancellationError'; | ||
export class CancelledError extends Error { | ||
public readonly name: string = 'CancelledError'; | ||
} | ||
@@ -142,3 +142,3 @@ | ||
* | ||
* This promise will never be resolved, it will only be rejected with a {@link CancellationError}. | ||
* This promise will never be resolved, it will only be rejected with a {@link CancelledError}. | ||
*/ | ||
@@ -145,0 +145,0 @@ public readonly cancelled: Promise<never>; |
Sorry, the diff of this file is not supported yet
80311
10