@arcgis/core-adapter 4.34.0-next.96 → 4.34.0-next.98

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/dist/index.cjs CHANGED
@@ -1092,9 +1092,9 @@ async function importGraphicKnowledgeGraphGraphicOrigin() {
1092
1092
  const module2 = await import("@arcgis/core/graphic/KnowledgeGraphGraphicOrigin.js");
1093
1093
  return isDefaultModule(module2) ? module2.default : module2;
1094
1094
  }
1095
- async function newGraphicKnowledgeGraphGraphicOrigin(sublayer) {
1095
+ async function newGraphicKnowledgeGraphGraphicOrigin(layer, sublayer) {
1096
1096
  const ModConstructor = await importGraphicKnowledgeGraphGraphicOrigin();
1097
- return new ModConstructor(sublayer);
1097
+ return new ModConstructor(layer, sublayer);
1098
1098
  }
1099
1099
  async function importGraphicMapImageGraphicOrigin() {
1100
1100
  if (isAMD) {
package/dist/index.d.cts CHANGED
@@ -206,7 +206,7 @@ export declare function newGraphicIntegratedMesh3DTilesGraphicOrigin(layer: __es
206
206
  export declare function importGraphicIntegratedMeshGraphicOrigin(): Promise<typeof __esri.IntegratedMeshGraphicOrigin>;
207
207
  export declare function newGraphicIntegratedMeshGraphicOrigin(layer: __esri.IntegratedMeshLayer): Promise<__esri.IntegratedMeshGraphicOrigin>;
208
208
  export declare function importGraphicKnowledgeGraphGraphicOrigin(): Promise<typeof __esri.KnowledgeGraphGraphicOrigin>;
209
- export declare function newGraphicKnowledgeGraphGraphicOrigin(sublayer: __esri.KnowledgeGraphSublayer): Promise<__esri.KnowledgeGraphGraphicOrigin>;
209
+ export declare function newGraphicKnowledgeGraphGraphicOrigin(layer: __esri.KnowledgeGraphLayer, sublayer: __esri.KnowledgeGraphSublayer): Promise<__esri.KnowledgeGraphGraphicOrigin>;
210
210
  export declare function importGraphicMapImageGraphicOrigin(): Promise<typeof __esri.MapImageGraphicOrigin>;
211
211
  export declare function newGraphicMapImageGraphicOrigin(layer: __esri.MapImageLayer, sublayer: __esri.Sublayer): Promise<__esri.MapImageGraphicOrigin>;
212
212
  export declare function importGraphicMapNotesGraphicOrigin(): Promise<typeof __esri.MapNotesGraphicOrigin>;
package/dist/index.d.ts CHANGED
@@ -206,7 +206,7 @@ export declare function newGraphicIntegratedMesh3DTilesGraphicOrigin(layer: __es
206
206
  export declare function importGraphicIntegratedMeshGraphicOrigin(): Promise<typeof __esri.IntegratedMeshGraphicOrigin>;
207
207
  export declare function newGraphicIntegratedMeshGraphicOrigin(layer: __esri.IntegratedMeshLayer): Promise<__esri.IntegratedMeshGraphicOrigin>;
208
208
  export declare function importGraphicKnowledgeGraphGraphicOrigin(): Promise<typeof __esri.KnowledgeGraphGraphicOrigin>;
209
- export declare function newGraphicKnowledgeGraphGraphicOrigin(sublayer: __esri.KnowledgeGraphSublayer): Promise<__esri.KnowledgeGraphGraphicOrigin>;
209
+ export declare function newGraphicKnowledgeGraphGraphicOrigin(layer: __esri.KnowledgeGraphLayer, sublayer: __esri.KnowledgeGraphSublayer): Promise<__esri.KnowledgeGraphGraphicOrigin>;
210
210
  export declare function importGraphicMapImageGraphicOrigin(): Promise<typeof __esri.MapImageGraphicOrigin>;
211
211
  export declare function newGraphicMapImageGraphicOrigin(layer: __esri.MapImageLayer, sublayer: __esri.Sublayer): Promise<__esri.MapImageGraphicOrigin>;
212
212
  export declare function importGraphicMapNotesGraphicOrigin(): Promise<typeof __esri.MapNotesGraphicOrigin>;
package/dist/index.js CHANGED
@@ -1068,9 +1068,9 @@ async function importGraphicKnowledgeGraphGraphicOrigin() {
1068
1068
  const module = await import("@arcgis/core/graphic/KnowledgeGraphGraphicOrigin.js");
1069
1069
  return isDefaultModule(module) ? module.default : module;
1070
1070
  }
1071
- async function newGraphicKnowledgeGraphGraphicOrigin(sublayer) {
1071
+ async function newGraphicKnowledgeGraphGraphicOrigin(layer, sublayer) {
1072
1072
  const ModConstructor = await importGraphicKnowledgeGraphGraphicOrigin();
1073
- return new ModConstructor(sublayer);
1073
+ return new ModConstructor(layer, sublayer);
1074
1074
  }
1075
1075
  async function importGraphicMapImageGraphicOrigin() {
1076
1076
  if (isAMD) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core-adapter",
3
- "version": "4.34.0-next.96",
3
+ "version": "4.34.0-next.98",
4
4
  "description": "ArcGIS Core Adapter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",