@interopio/browser-platform 4.5.1 → 5.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/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@interopio/browser-platform",
3
- "version": "4.5.1",
3
+ "version": "5.0.0",
4
4
  "description": "IoConnect Browser main application package",
5
- "main": "dist/browser.platform.umd.js",
5
+ "type": "module",
6
+ "main": "dist/browser.platform.es.js",
6
7
  "module": "dist/browser.platform.es.js",
7
8
  "types": "./browser.platform.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./browser.platform.d.ts",
12
+ "default": "./dist/browser.platform.es.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
8
16
  "keywords": [
9
17
  "glue",
10
18
  "glue42",
@@ -38,13 +46,29 @@
38
46
  "postversion": "npm run build"
39
47
  },
40
48
  "dependencies": {
41
- "@interopio/browser": "^4.5.0",
42
- "@interopio/core": "^6.11.0",
49
+ "@interopio/browser": "^5.0.0",
50
+ "@interopio/core": "^6.14.1",
43
51
  "@interopio/desktop": "^6.20.4"
44
52
  },
45
53
  "devDependencies": {
46
- "@interopio/search-api": "^3.5.0",
47
- "@interopio/utils": "^2.5.0"
54
+ "@interopio/search-api": "^3.7.0",
55
+ "@interopio/utils": "^2.7.0"
56
+ },
57
+ "peerDependencies": {
58
+ "@interopio/insights-base": "0.1.*",
59
+ "@interopio/insights-metrics": "0.1.*",
60
+ "@interopio/insights-traces": "0.1.*"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@interopio/insights-base": {
64
+ "optional": true
65
+ },
66
+ "@interopio/insights-metrics": {
67
+ "optional": true
68
+ },
69
+ "@interopio/insights-traces": {
70
+ "optional": true
71
+ }
48
72
  },
49
- "gitHead": "c42272c5ee46e248ad078e8c8b30c62172e3e074"
73
+ "gitHead": "e8ca21b706f0c11a450261c4ffad963a26825ed0"
50
74
  }
package/readme.md CHANGED
@@ -12,6 +12,14 @@ To install the library, execute the following command:
12
12
  npm install @interopio/browser-platform
13
13
  ```
14
14
 
15
+ ## Deployment requirements
16
+
17
+ As of **io.Connect Browser** 5.0, you must host the Main app over HTTPS in a browser that supports the Web Crypto API, which is required to verify your license. For local development, HTTP on `localhost` or a loopback address is supported when the browser provides Web Crypto. If the Main app runs in an `<iframe>`, its parent pages must also use a secure context.
18
+
19
+ If your Main app is hosted over HTTP on an intranet hostname or a non-loopback network IP address, configure HTTPS first before upgrading from an older version. It's not necessary to replace your existing license key. Allowing HTTP origins in your license won't remove this hosting requirement.
20
+
21
+ If Web Crypto is unavailable, the Main app won't be able to start and will report an error explaining the browser and HTTPS requirements.
22
+
15
23
  ## Usage
16
24
 
17
25
  The following example demonstrates basic initialization of the `@interopio/browser-platform` library in a Main app.