@contentstack/marketplace-sdk 1.0.1 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentstack/marketplace-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.1.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",
@@ -90,6 +90,6 @@
90
90
  "webpack-merge": "4.1.0"
91
91
  },
92
92
  "dependencies": {
93
- "axios": "^1.6.0"
93
+ "axios": "^1.6.5"
94
94
  }
95
95
  }
@@ -20,6 +20,7 @@ export interface App extends SystemFields, SystemFunction<App> {
20
20
  redirectUri: string,
21
21
  scope: string,
22
22
  state: string }): Promise<AnyProperty>
23
+ reinstall(data: {targetUid: string, targetType: AppTarget}): Promise<Installation>
23
24
  authorization(): Authorization
24
25
  listInstallations(): Promise<ContentstackCollection<App>>
25
26
  }
@@ -11,7 +11,6 @@ export interface Installation extends SystemFields {
11
11
  serverConfig(param?: AnyProperty): Promise<AnyProperty>
12
12
  setServerConfig(config: AnyProperty): Promise<AnyProperty>
13
13
  installationData(): Promise<AnyProperty>
14
- webhooks(webhookUid: string): WebHooks
15
14
  }
16
15
 
17
16
  export interface Installations {