@forge/events
Advanced tools
Comparing version 0.5.3 to 0.6.0-next.0
# @forge/events | ||
## 0.6.0-next.0 | ||
### Minor Changes | ||
- 0859c971: Allow app developers to return InvocationError on error from lambda function | ||
## 0.5.3 | ||
@@ -4,0 +10,0 @@ |
@@ -5,2 +5,5 @@ export { Queue } from './queue'; | ||
export { QueueResponse } from './queueResponse'; | ||
export { InvocationError } from './invocationError'; | ||
export { InvocationErrorCode } from './invocationErrorCode'; | ||
export { RetryOptions } from './retryOptions'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -20,1 +20,7 @@ "use strict"; | ||
Object.defineProperty(exports, "QueueResponse", { enumerable: true, get: function () { return queueResponse_1.QueueResponse; } }); | ||
var invocationError_1 = require("./invocationError"); | ||
Object.defineProperty(exports, "InvocationError", { enumerable: true, get: function () { return invocationError_1.InvocationError; } }); | ||
var invocationErrorCode_1 = require("./invocationErrorCode"); | ||
Object.defineProperty(exports, "InvocationErrorCode", { enumerable: true, get: function () { return invocationErrorCode_1.InvocationErrorCode; } }); | ||
var retryOptions_1 = require("./retryOptions"); | ||
Object.defineProperty(exports, "RetryOptions", { enumerable: true, get: function () { return retryOptions_1.RetryOptions; } }); |
@@ -1,5 +0,9 @@ | ||
export declare class QueueResponse { | ||
export declare class Response { | ||
protected _retry: boolean; | ||
constructor(_retry: boolean); | ||
} | ||
export declare class QueueResponse extends Response { | ||
constructor(); | ||
retry(): void; | ||
} | ||
//# sourceMappingURL=queueResponse.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.QueueResponse = void 0; | ||
class QueueResponse { | ||
exports.QueueResponse = exports.Response = void 0; | ||
class Response { | ||
constructor(_retry) { | ||
this._retry = _retry; | ||
} | ||
} | ||
exports.Response = Response; | ||
class QueueResponse extends Response { | ||
constructor() { | ||
this._retry = false; | ||
super(false); | ||
} | ||
@@ -8,0 +14,0 @@ retry() { |
{ | ||
"name": "@forge/events", | ||
"version": "0.5.3", | ||
"version": "0.6.0-next.0", | ||
"description": "Forge Async Event methods", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian", |
@@ -16,1 +16,4 @@ export { Queue } from './queue'; | ||
export { QueueResponse } from './queueResponse'; | ||
export { InvocationError } from './invocationError'; | ||
export { InvocationErrorCode } from './invocationErrorCode'; | ||
export { RetryOptions } from './retryOptions'; |
@@ -1,4 +0,10 @@ | ||
export class QueueResponse { | ||
protected _retry = false; | ||
export class Response { | ||
constructor(protected _retry: boolean) {} | ||
} | ||
export class QueueResponse extends Response { | ||
constructor() { | ||
super(false); | ||
} | ||
retry(): void { | ||
@@ -5,0 +11,0 @@ this._retry = true; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140420
77
1731