@arcgis/lumina 4.32.0-next.42 → 4.32.0-next.44

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ function useContextConsumer(options) {
22
22
  }
23
23
 
24
24
  // src/createEvent.ts
25
- import { retrieveComponent as retrieveComponent2, trackPropertyKey, keyTrackResolve } from "@arcgis/components-controllers";
25
+ import { retrieveComponent as retrieveComponent2, keyTrackResolve, trackKey } from "@arcgis/components-controllers";
26
26
  import { isEsriInternalEnv } from "@arcgis/components-utils";
27
27
  var createEventFactory = (eventName = "", options = {}, component = retrieveComponent2()) => {
28
28
  const emitter = {
@@ -50,13 +50,13 @@ var createEventFactory = (eventName = "", options = {}, component = retrieveComp
50
50
  }
51
51
  };
52
52
  if (eventName === "") {
53
- trackPropertyKey(
54
- component,
55
- (key) => {
56
- if (typeof process === "object" && process.env.NODE_ENV !== "production" && isEsriInternalEnv() && key === void 0) {
53
+ trackKey(
54
+ void 0,
55
+ (resolution) => {
56
+ if (typeof process === "object" && process.env.NODE_ENV !== "production" && isEsriInternalEnv() && resolution === void 0) {
57
57
  throw new Error(`createEvent must be called in property default value only`);
58
58
  }
59
- eventName = key;
59
+ eventName = resolution.key;
60
60
  },
61
61
  emitter
62
62
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "4.32.0-next.42",
3
+ "version": "4.32.0-next.44",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -20,8 +20,8 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "dependencies": {
23
- "@arcgis/components-controllers": "4.32.0-next.42",
24
- "@arcgis/components-utils": "4.32.0-next.42",
23
+ "@arcgis/components-controllers": "4.32.0-next.44",
24
+ "@arcgis/components-utils": "4.32.0-next.44",
25
25
  "@lit-labs/ssr": "^3.2.2",
26
26
  "@lit-labs/ssr-client": "^1.1.7",
27
27
  "@lit/context": "^1.1.3",