@commercetools-frontend/constants 20.12.3 → 21.0.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/README.md CHANGED
@@ -4,10 +4,4 @@
4
4
  <a href="https://www.npmjs.com/package/@commercetools-frontend/constants"><img src="https://badgen.net/npm/v/@commercetools-frontend/constants" alt="Latest release (latest dist-tag)" /></a> <a href="https://www.npmjs.com/package/@commercetools-frontend/constants"><img src="https://badgen.net/npm/v/@commercetools-frontend/constants/next" alt="Latest release (next dist-tag)" /></a> <a href="https://bundlephobia.com/result?p=@commercetools-frontend/constants"><img src="https://badgen.net/bundlephobia/minzip/@commercetools-frontend/constants" alt="Minified + GZipped size" /></a> <a href="https://github.com/commercetools/merchant-center-application-kit/blob/main/LICENSE"><img src="https://badgen.net/github/license/commercetools/merchant-center-application-kit" alt="GitHub license" /></a>
5
5
  </p>
6
6
 
7
- Shared constants for MC applications.
8
-
9
- ## Install
10
-
11
- ```bash
12
- $ npm install --save @commercetools-frontend/constants
13
- ```
7
+ Check out the [documentation](https://docs.commercetools.com/custom-applications/api-reference/commercetools-frontend-constants) for more information.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  // NOTE: This string will be replaced on build time with the package version.
6
- var version = "20.12.3";
6
+ var version = "21.0.0";
7
7
 
8
8
  // DOM elements
9
9
  var PORTALS_CONTAINER_ID = 'portals-container'; // Links
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  // NOTE: This string will be replaced on build time with the package version.
6
- var version = "20.12.3";
6
+ var version = "21.0.0";
7
7
 
8
8
  // DOM elements
9
9
  var PORTALS_CONTAINER_ID = 'portals-container'; // Links
@@ -1,5 +1,5 @@
1
1
  // NOTE: This string will be replaced on build time with the package version.
2
- var version = "20.12.3";
2
+ var version = "21.0.0";
3
3
 
4
4
  // DOM elements
5
5
  var PORTALS_CONTAINER_ID = 'portals-container'; // Links
@@ -139,7 +139,7 @@ export declare type ApplicationOidcForDevelopmentConfig = {
139
139
  export interface ApplicationWindow extends Window {
140
140
  dataLayer: unknown[];
141
141
  app: {
142
- applicationId?: string;
142
+ applicationId: string;
143
143
  applicationName: string;
144
144
  entryPointUriPath: string;
145
145
  revision: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/constants",
3
- "version": "20.12.3",
3
+ "version": "21.0.0",
4
4
  "description": "Shared constants for MC applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "https://github.com/commercetools/merchant-center-application-kit.git",
9
9
  "directory": "packages/constants"
10
10
  },
11
- "homepage": "https://docs.commercetools.com/custom-applications",
11
+ "homepage": "https://docs.commercetools.com/custom-applications/api-reference/commercetools-frontend-constants",
12
12
  "keywords": ["javascript", "frontend", "react", "toolkit"],
13
13
  "license": "MIT",
14
14
  "publishConfig": {
@@ -18,7 +18,7 @@
18
18
  "module": "dist/commercetools-frontend-constants.esm.js",
19
19
  "files": ["dist", "package.json", "LICENSE", "README.md"],
20
20
  "dependencies": {
21
- "@babel/runtime": "7.16.5",
22
- "@babel/runtime-corejs3": "7.16.5"
21
+ "@babel/runtime": "^7.16.7",
22
+ "@babel/runtime-corejs3": "^7.16.8"
23
23
  }
24
24
  }