@contentstack/marketplace-sdk 1.0.0 → 1.0.1

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.0",
3
+ "version": "1.0.1",
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.5.1"
93
+ "axios": "^1.6.0"
94
94
  }
95
95
  }
@@ -21,10 +21,17 @@ export interface ContentstackToken {
21
21
  authtoken?: string
22
22
  }
23
23
 
24
+ export enum Region {
25
+ EU = 'eu',
26
+ NA = '',
27
+ AZURE_NA = 'azure-na',
28
+ AZURE_EU = 'azure-eu'
29
+ }
24
30
  export interface ContentstackConfig extends AxiosRequestConfig, ContentstackToken {
25
31
  proxy?: ProxyConfig | false
26
32
  endpoint?: string
27
33
  host?: string
34
+ region?: Region
28
35
  timeout?: number
29
36
  maxRequests?: number
30
37
  retryOnError?: boolean
@@ -25,7 +25,6 @@ export interface App extends SystemFields, SystemFunction<App> {
25
25
  }
26
26
 
27
27
  export interface Apps extends Creatable<App, AppData> {
28
- create(): Promise<App>
29
28
  }
30
29
 
31
30
  export interface AppData extends AnyProperty {