@squiz/edge-dev-render-runtime-lib 2.4.2 → 2.5.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/lib/index.js CHANGED
@@ -1540,7 +1540,12 @@ var DevelopmentComponentRunnerService = class {
1540
1540
  version: task.manifest.version,
1541
1541
  previewKey: task.previewKey,
1542
1542
  queryParameters: task.queryParameters,
1543
- ctx: (0, import_component_lib3.createComponentContextualFunctions)(ctxInput),
1543
+ //Update to match edge
1544
+ ctx: {
1545
+ url: contextAwareness?.matrixUrl,
1546
+ assetId: contextAwareness?.matrixUrl,
1547
+ ...(0, import_component_lib3.createComponentContextualFunctions)(ctxInput)
1548
+ },
1544
1549
  fns: {
1545
1550
  ...(0, import_component_lib3.createComponentContextualFunctions)(ctxInput),
1546
1551
  resolveMatrixAssetById: function(assetId, attributes) {