Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forge/events

Package Overview
Dependencies
Maintainers
2
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/events - npm Package Compare versions

Comparing version 0.5.3 to 0.6.0-next.0

out/__test__/invocationError.test.d.ts

6

CHANGELOG.md
# @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 @@

3

out/index.d.ts

@@ -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

12

out/queueResponse.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc