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

@contentful/app-action-utils

Package Overview
Dependencies
Maintainers
164
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/app-action-utils - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

16

dist/index.js

@@ -189,6 +189,16 @@ "use strict";

}) {
const defaults = api.raw.getDefaultParams();
const spaceId = (additionalParameters == null ? void 0 : additionalParameters.spaceId) || (defaults == null ? void 0 : defaults.spaceId);
if (!spaceId) {
throw Error("No space id provided");
}
let environmentId = (additionalParameters == null ? void 0 : additionalParameters.environmentId) || (defaults == null ? void 0 : defaults.environmentId);
if (!environmentId) {
throw Error("No environment id provided");
}
const params = {
appDefinitionId,
appActionId,
...additionalParameters ?? {}
spaceId,
environmentId
};

@@ -203,3 +213,5 @@ const createResponse = await api.appActionCall.create(params, { parameters });

retryInterval,
timeout
timeout,
spaceId,
environmentId
});

@@ -206,0 +218,0 @@ return { result, callId };

6

package.json
{
"name": "@contentful/app-action-utils",
"description": "Utilities for intearcting with Hosted App Actions",
"version": "1.2.2",
"version": "1.2.3",
"license": "MIT",

@@ -100,3 +100,3 @@ "author": "Contentful <opensource@contentful.com>",

"jest": "^29.4.3",
"semantic-release": "^20.0.2",
"semantic-release": "^21.0.0",
"size-limit": "^8.1.1",

@@ -107,3 +107,3 @@ "ts-jest": "^29.0.5",

"tsup": "^6.6.3",
"typescript": "^4.2.4"
"typescript": "^5.0.2"
},

@@ -110,0 +110,0 @@ "dependencies": {

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