Skip to content

Commit b9406ea

Browse files
committed
chore: update dependencies and project configuration
- Update package.json and package-lock.json with latest dependencies - Update LICENSE file - Update README with script documentation - Update blueprint.json configuration - Add postRobot TypeScript type definitions - Update src/index.ts with latest changes Made-with: Cursor
1 parent 9222bc3 commit b9406ea

8 files changed

Lines changed: 4903 additions & 4898 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022-2025 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Include the compiled version of the extension client library by adding the follo
88

99
```html
1010
<script
11-
src="https://unpkg.com/@contentstack/app-sdk@2.1.0/dist/index.js"
12-
integrity="sha512-wlEBUkZA+vdcHXRTK69fZvK44c5Y8KeU/kw9OOShWNDjddtrIB8a1lfbLjH5nKWQqkWZ2L9VYEqr96P7qx3ZZg=="
11+
src="https://unpkg.com/@contentstack/app-sdk@2.3.6/dist/index.js"
12+
integrity="sha512-emopr/zIeDgm48mJPZsk0xuAautCD26qEG0RV5c8/R/MMhGG+N1TUZf2HxOVmS9BexQ6beP8YT5Q9MLf+ZK0Hw=="
1313
crossorigin="anonymous"
1414
></script>
1515
```
@@ -23,7 +23,7 @@ npm install @contentstack/app-sdk
2323
Alternatively, you can use the following command within the script tag to install the App SDK:
2424

2525
```html
26-
<script src="https://unpkg.com/@contentstack/app-sdk@2.0.0/dist/index.js"></script>
26+
<script src="https://unpkg.com/@contentstack/app-sdk@2.3.6/dist/index.js"></script>
2727
```
2828

2929
### Initializing the App SDK
@@ -32,7 +32,7 @@ To Initialize the App SDK you need to run the following command:
3232

3333
```js
3434
ContentstackAppSdk.init().then(function (appSdk) {
35-
// add code here
35+
// add code here
3636
});
3737
```
3838

blueprint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
},
77
"line": "none",
88
"subresourceIntegrity": {
9-
"js": "sha512-wlEBUkZA+vdcHXRTK69fZvK44c5Y8KeU/kw9OOShWNDjddtrIB8a1lfbLjH5nKWQqkWZ2L9VYEqr96P7qx3ZZg=="
9+
"js": "sha512-emopr/zIeDgm48mJPZsk0xuAautCD26qEG0RV5c8/R/MMhGG+N1TUZf2HxOVmS9BexQ6beP8YT5Q9MLf+ZK0Hw=="
1010
}
1111
}

package-lock.json

Lines changed: 4887 additions & 4888 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/app-sdk",
3-
"version": "2.3.5",
3+
"version": "2.3.6",
44
"types": "dist/src/index.d.ts",
55
"description": "The Contentstack App SDK allows you to customize your Contentstack applications.",
66
"main": "dist/index.js",
@@ -55,7 +55,7 @@
5555
"typescript": "^4.4.4",
5656
"webpack": "^5.92.1",
5757
"webpack-cli": "^4.9.1",
58-
"webpack-dev-server": "^4.7.3"
58+
"webpack-dev-server": "^5.2.3"
5959
},
6060
"dependencies": {
6161
"axios": "^1.7.9",
@@ -77,5 +77,9 @@
7777
},
7878
"engines": {
7979
"node": ">=18.x"
80+
},
81+
"overrides": {
82+
"http-proxy-agent": "^7.0.2",
83+
"micromatch": "^4.0.8"
8084
}
81-
}
85+
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import UiLocation from "./uiLocation";
77
import { version } from "../package.json";
88

99
postRobot.CONFIG.LOG_LEVEL = "error";
10-
10+
postRobot.CONFIG.ACK_TIMEOUT = 10000;
1111
/**
1212
* Class to initialize the App on Contentstack UI.
1313
* Import Contentstack App SDK and then call ContentstackAppSDK.init in your code base

src/types/post-robot.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ declare module "post-robot" {
6464

6565
interface Config {
6666
LOG_LEVEL: string;
67+
ACK_TIMEOUT: number;
6768
}
6869

6970
export const CONFIG: Config;

src/types/postRobot.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ interface FireAndForgetRequestOptionsType {
4444

4545
interface Config {
4646
LOG_LEVEL: string;
47+
ACK_TIMEOUT: number;
4748
}

0 commit comments

Comments
 (0)