Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --fail-on=all
json: true
continue-on-error: true
- uses: contentstack/sca-policy@main
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2025 Contentstack
Copyright (c) 2026 Contentstack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9,775 changes: 4,887 additions & 4,888 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/app-sdk",
"version": "2.3.5",
"version": "2.3.6",
"types": "dist/src/index.d.ts",
"description": "The Contentstack App SDK allows you to customize your Contentstack applications.",
"main": "dist/index.js",
Expand Down Expand Up @@ -55,7 +55,7 @@
"typescript": "^4.4.4",
"webpack": "^5.92.1",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.3"
"webpack-dev-server": "^5.2.3"
},
"dependencies": {
"axios": "^1.7.9",
Expand All @@ -77,5 +77,9 @@
},
"engines": {
"node": ">=18.x"
},
"overrides": {
"http-proxy-agent": "^7.0.2",
"micromatch": "^4.0.8"
}
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import UiLocation from "./uiLocation";
import { version } from "../package.json";

postRobot.CONFIG.LOG_LEVEL = "error";

postRobot.CONFIG.ACK_TIMEOUT = 10000;
/**
* Class to initialize the App on Contentstack UI.
* Import Contentstack App SDK and then call ContentstackAppSDK.init in your code base
Expand Down
1 change: 1 addition & 0 deletions src/types/post-robot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ declare module "post-robot" {

interface Config {
LOG_LEVEL: string;
ACK_TIMEOUT: number;
}

export const CONFIG: Config;
Expand Down
1 change: 1 addition & 0 deletions src/types/postRobot.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ interface FireAndForgetRequestOptionsType {

interface Config {
LOG_LEVEL: string;
ACK_TIMEOUT: number;
}
Loading