cap-copilot-sdk 0.2.7 → 0.2.9

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/cds-plugin.js +1 -2
  2. package/package.json +1 -1
package/cds-plugin.js CHANGED
@@ -105,10 +105,9 @@ function _escHtml(str) {
105
105
  // + the widget script. Works for ALL Fiori/UI5 apps served by this CAP server
106
106
  // without any manual changes to their index.html files.
107
107
  function _buildWidgetSnippet() {
108
- // Serve the widget JS bundle from node_modules so no CDN dependency
109
108
  const widgetBundlePath = (() => {
110
109
  try {
111
- return require.resolve("cap-copilot-widget/dist/btp-copilot.js", {
110
+ return require.resolve("cap-copilot-widget", {
112
111
  paths: [process.cwd()],
113
112
  });
114
113
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cap-copilot-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "CDS plugin: auto-extracts entity schemas, relationships, project structure and registers with BTP Copilot backend",
5
5
  "main": "cds-plugin.js",
6
6
  "exports": {