@contentstack/marketplace-sdk 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/CHANGELOG.md +11 -2
  2. package/dist/es-modules/entity.js +78 -74
  3. package/dist/es-modules/marketplace/app/hosting/deployment.js +71 -70
  4. package/dist/es-modules/marketplace/app/hosting/index.js +85 -84
  5. package/dist/es-modules/marketplace/app/index.js +84 -84
  6. package/dist/es-modules/marketplace/app/oauth/index.js +43 -42
  7. package/dist/es-modules/marketplace/apprequest/index.js +43 -42
  8. package/dist/es-modules/marketplace/authorization/index.js +43 -42
  9. package/dist/es-modules/marketplace/index.js +91 -22
  10. package/dist/es-modules/marketplace/installation/index.js +129 -126
  11. package/dist/es-modules/marketplace/installation/webhooks/index.js +42 -42
  12. package/dist/es5/entity.js +78 -74
  13. package/dist/es5/marketplace/app/hosting/deployment.js +71 -70
  14. package/dist/es5/marketplace/app/hosting/index.js +85 -84
  15. package/dist/es5/marketplace/app/index.js +84 -84
  16. package/dist/es5/marketplace/app/oauth/index.js +43 -42
  17. package/dist/es5/marketplace/apprequest/index.js +43 -42
  18. package/dist/es5/marketplace/authorization/index.js +43 -42
  19. package/dist/es5/marketplace/index.js +91 -22
  20. package/dist/es5/marketplace/installation/index.js +129 -126
  21. package/dist/es5/marketplace/installation/webhooks/index.js +42 -42
  22. package/dist/nativescript/contentstack-marketplace.js +1 -1
  23. package/dist/node/contentstack-marketplace.js +1 -1
  24. package/dist/react-native/contentstack-marketplace.js +1 -1
  25. package/dist/web/contentstack-marketplace.js +1 -1
  26. package/package.json +14 -13
  27. package/types/marketplace/index.d.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentstack/marketplace-sdk",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
4
4
  "description": "The Contentstack Marketplace SDK is used to manage the content of your Contentstack marketplace apps",
5
5
  "main": "./dist/node/contentstack-marketplace.js",
6
6
  "browser": "./dist/web/contentstack-marketplace.js",
@@ -39,7 +39,8 @@
39
39
  "prepare": "npm run build",
40
40
  "pretest": "rimraf coverage && npm run lint",
41
41
  "precommit": "npm run lint",
42
- "prepush": "npm run test:unit"
42
+ "prepush": "npm run test:unit",
43
+ "husky-check": "npx husky && chmod +x .husky/pre-commit"
43
44
  },
44
45
  "repository": {
45
46
  "type": "git",
@@ -49,13 +50,13 @@
49
50
  "license": "MIT",
50
51
  "homepage": "https://www.contentstack.com",
51
52
  "devDependencies": {
52
- "@babel/cli": "^7.26.4",
53
- "@babel/core": "^7.26.9",
54
- "@babel/plugin-transform-runtime": "^7.26.9",
55
- "@babel/preset-env": "^7.26.9",
56
- "@babel/register": "^7.25.9",
57
- "@babel/runtime": "^7.26.9",
58
- "@slack/bolt": "^4.2.1",
53
+ "@babel/cli": "^7.28.0",
54
+ "@babel/core": "^7.28.0",
55
+ "@babel/plugin-transform-runtime": "^7.28.0",
56
+ "@babel/preset-env": "^7.28.0",
57
+ "@babel/register": "^7.27.1",
58
+ "@babel/runtime": "^7.28.2",
59
+ "@slack/bolt": "^4.4.0",
59
60
  "@types/jest": "^28.1.8",
60
61
  "@types/mocha": "^7.0.2",
61
62
  "axios-mock-adapter": "^1.22.0",
@@ -76,7 +77,7 @@
76
77
  "eslint-plugin-standard": "^4.1.0",
77
78
  "jest": "^28.1.3",
78
79
  "jsdoc": "^4.0.4",
79
- "mocha": "^11.1.0",
80
+ "mocha": "^11.7.1",
80
81
  "mochawesome": "^7.1.3",
81
82
  "multiparty": "^4.2.3",
82
83
  "nock": "^10.0.6",
@@ -84,14 +85,14 @@
84
85
  "os-browserify": "^0.3.0",
85
86
  "rimraf": "^2.7.1",
86
87
  "sinon": "^7.5.0",
87
- "string-replace-loader": "^3.1.0",
88
+ "string-replace-loader": "^3.2.0",
88
89
  "ts-jest": "^28.0.8",
89
90
  "typescript": "^4.9.5",
90
- "webpack": "^5.98.0",
91
+ "webpack": "^5.101.0",
91
92
  "webpack-cli": "^4.10.0",
92
93
  "webpack-merge": "4.2.2"
93
94
  },
94
95
  "dependencies": {
95
- "axios": "^1.8.4"
96
+ "axios": "^1.11.0"
96
97
  }
97
98
  }
@@ -13,5 +13,6 @@ export interface Marketplace extends SystemFields, SystemFunction<Marketplace> {
13
13
  installation(uid: string): Installation
14
14
  appRequests(): AppRequest
15
15
  findAllApps(param?: AnyProperty): Promise<ContentstackCollection<App>>
16
+ searchApps(search: string, queryParams?: AnyProperty): Promise<AnyProperty>
16
17
  findAllAuthorizedApps(param?: AnyProperty): Promise<AnyProperty>
17
18
  }