@embeddable.com/sdk-react 4.0.0 → 4.0.1-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-react",
3
- "version": "4.0.0",
3
+ "version": "4.0.1-next.0",
4
4
  "description": "Embeddable SDK React plugin responsible for React components bundling.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -34,7 +34,7 @@
34
34
  "@babel/generator": "^7.23.0",
35
35
  "@babel/parser": "^7.26.2",
36
36
  "@babel/traverse": "^7.24.7",
37
- "@embeddable.com/sdk-core": "4.0.0",
37
+ "@embeddable.com/sdk-core": "4.0.1-next.0",
38
38
  "@embeddable.com/sdk-utils": "0.8.1",
39
39
  "@happy-dom/global-registrator": "^15.11.0",
40
40
  "@vitejs/plugin-react": "^4.3.2",
@@ -1,14 +0,0 @@
1
- const { fileURLToPath, pathToFileURL } = require("url");
2
-
3
- async function loadModule(modulePath) {
4
- try {
5
- const module = await import(pathToFileURL(modulePath).href);
6
- process.stdout.write(JSON.stringify(module.meta));
7
- } catch (error) {
8
- console.error(`Failed to load module: ${error.message}`);
9
- process.exit(1);
10
- }
11
- }
12
-
13
- const modulePath = fileURLToPath(process.argv[2]);
14
- loadModule(modulePath);