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

@contentful/node-apps-toolkit

Package Overview
Dependencies
Maintainers
0
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/node-apps-toolkit - npm Package Compare versions

Comparing version 3.7.0 to 3.8.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [3.8.0](https://github.com/contentful/node-apps-toolkit/compare/v3.7.0...v3.8.0) (2024-09-03)
### Features
* add appaction.call to types ([#699](https://github.com/contentful/node-apps-toolkit/issues/699)) ([7ea547d](https://github.com/contentful/node-apps-toolkit/commit/7ea547d5d50cb84c59a74b7d22e4227088e1bcc6))
# [3.7.0](https://github.com/contentful/node-apps-toolkit/compare/v3.6.1...v3.7.0) (2024-08-23)

@@ -2,0 +9,0 @@

@@ -8,2 +8,3 @@ import { AppInstallationProps, AssetProps, BulkActionProps, CommentProps, ContentTypeProps, EntryProps, EnvironmentTemplateInstallationProps, PlainClientAPI, ReleaseActionProps, ReleaseProps, ScheduledActionProps, TaskProps } from 'contentful-management';

declare const APP_EVENT_TRANSFORMATION = "appevent.transformation";
declare const APP_ACTION_CALL = "appaction.call";
type GraphQLFieldTypeMappingRequest = {

@@ -84,2 +85,8 @@ type: typeof GRAPHQL_FIELD_MAPPING_EVENT;

export type AppEventHandlerResponse = void;
export type AppActionRequest = {
headers: Record<string, string | number>;
body: Record<string, unknown>;
type: typeof APP_ACTION_CALL;
};
export type AppActionResponse = void | Record<string, unknown>;
/**

@@ -103,2 +110,6 @@ * P: Possibility to type app installation parameters

};
[APP_ACTION_CALL]: {
event: AppActionRequest;
response: AppActionResponse;
};
[APP_EVENT_FILTER]: {

@@ -105,0 +116,0 @@ event: AppEventRequest;

1

lib/requests/typings/function.js

@@ -12,1 +12,2 @@ "use strict";

const APP_EVENT_TRANSFORMATION = 'appevent.transformation';
const APP_ACTION_CALL = 'appaction.call';

2

package.json
{
"name": "@contentful/node-apps-toolkit",
"version": "3.7.0",
"version": "3.8.0",
"description": "A collection of helpers and utilities for creating NodeJS Contentful Apps",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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