@lwrjs/client-modules 0.6.4 → 0.7.0-alpha.2

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.
@@ -2,8 +2,8 @@
2
2
  export const BOOTSTRAP_PREFIX = 'lwr.bootstrap.';
3
3
  export const BOOTSTRAP_END = `${BOOTSTRAP_PREFIX}end`;
4
4
  export const BOOTSTRAP_ERROR = `${BOOTSTRAP_PREFIX}error`;
5
- export const BOOTSTRAP_DURATION = `${BOOTSTRAP_PREFIX}duration`;
6
- export const BOOTSTRAP_AVAILABILITY = `${BOOTSTRAP_PREFIX}availability`; // Loader: modules
5
+ export const BOOTSTRAP_ERROR_COUNT = `${BOOTSTRAP_ERROR}.count`;
6
+ export const BOOTSTRAP_DURATION = `${BOOTSTRAP_PREFIX}duration`; // Loader: modules
7
7
 
8
8
  export const LOADER_PREFIX = 'lwr.loader.';
9
9
  export const MODULE_DEFINE = `${LOADER_PREFIX}module.define`;
@@ -12,10 +12,19 @@ export const MODULE_FETCH = `${LOADER_PREFIX}module.fetch`;
12
12
  export const MODULE_FETCH_COUNT = `${MODULE_FETCH}.count`;
13
13
  export const MODULE_FETCH_DURATION = `${MODULE_FETCH}.duration`;
14
14
  export const MODULE_ERROR = `${LOADER_PREFIX}module.error`;
15
- export const MODULE_AVAILABILITY = `${LOADER_PREFIX}module.availability`; // Loader: mappings
15
+ export const MODULE_ERROR_COUNT = `${MODULE_ERROR}.count`; // Loader: mappings
16
16
 
17
17
  export const MAPPINGS_FETCH = `${LOADER_PREFIX}mappings.fetch`;
18
18
  export const MAPPINGS_FETCH_COUNT = `${MAPPINGS_FETCH}.count`;
19
19
  export const MAPPINGS_FETCH_DURATION = `${MAPPINGS_FETCH}.duration`;
20
20
  export const MAPPINGS_ERROR = `${LOADER_PREFIX}mappings.error`;
21
- export const MAPPINGS_AVAILABILITY = `${LOADER_PREFIX}mappings.availability`;
21
+ export const MAPPINGS_ERROR_COUNT = `${MAPPINGS_ERROR}.count`; // Router
22
+
23
+ export const ROUTER_PREFIX = 'lwr.router.';
24
+ export const ROUTER_NAV = `${ROUTER_PREFIX}navigate`;
25
+ export const ROUTER_NAV_COUNT = `${ROUTER_NAV}.count`;
26
+ export const ROUTER_NAV_DURATION = `${ROUTER_NAV}.duration`;
27
+ export const ROUTER_VIEW = `${ROUTER_PREFIX}view`;
28
+ export const ROUTER_VIEW_DURATION = `${ROUTER_VIEW}.duration`;
29
+ export const ROUTER_ERROR = `${ROUTER_PREFIX}error`;
30
+ export const ROUTER_ERROR_COUNT = `${ROUTER_ERROR}.count`;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.6.4",
7
+ "version": "0.7.0-alpha.2",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  "build:bundle": "rollup --config scripts/rollup.moduleBundle.config.cjs"
32
32
  },
33
33
  "dependencies": {
34
- "@locker/sandbox": "0.15.11",
35
- "@lwrjs/shared-utils": "0.6.4"
34
+ "@locker/sandbox": "0.16.1",
35
+ "@lwrjs/shared-utils": "0.7.0-alpha.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "rollup-plugin-terser": "^7.0.2"
@@ -58,5 +58,5 @@
58
58
  "engines": {
59
59
  "node": ">=14.15.4 <17"
60
60
  },
61
- "gitHead": "80b73fe4558dc3db0afcdbe80eb17f5a1464e34e"
61
+ "gitHead": "fc3a13d1c5440833eb2ec17fbf0e294554bafa08"
62
62
  }