@uraiagent/react 0.0.3 → 0.0.4

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.es.js CHANGED
@@ -2799,7 +2799,7 @@ function ke() {
2799
2799
  var Ae = {
2800
2800
  name: "@uraiagent/react",
2801
2801
  private: !1,
2802
- version: "0.0.3",
2802
+ version: "0.0.4",
2803
2803
  type: "module",
2804
2804
  description: "Customizable, embeddable AI chat widget — use as a React library or a drop-in inline embed script.",
2805
2805
  publishConfig: { access: "public" },
@@ -2815,7 +2815,10 @@ var Ae = {
2815
2815
  prepublishOnly: "pnpm build:lib && pnpm build:embed",
2816
2816
  "update-dashboard-agent": "pnpm build:embed && mv ./dist-embed/*.js ../dashboard/public/agent.js"
2817
2817
  },
2818
- peerDependencies: { "framer-motion": "^11.2.4" },
2818
+ peerDependencies: {
2819
+ react: ">=18",
2820
+ "react-dom": ">=18"
2821
+ },
2819
2822
  devDependencies: {
2820
2823
  "@eslint/js": "^10.0.1",
2821
2824
  "@types/node": "^25.8.0",
@@ -2842,13 +2845,14 @@ var Ae = {
2842
2845
  name: "Abdellatif-E",
2843
2846
  url: "https://github.com/Abdellatif-E"
2844
2847
  },
2845
- main: "./dist/index.js",
2848
+ main: "./dist/index.cjs.js",
2849
+ module: "./dist/index.es.js",
2846
2850
  types: "./dist/index.d.ts",
2847
2851
  exports: { ".": {
2848
- require: "./dist/index.cjs.js",
2852
+ types: "./dist/index.d.ts",
2849
2853
  import: "./dist/index.es.js",
2850
- default: "./dist/index.es.js",
2851
- types: "./dist/index.d.ts"
2854
+ require: "./dist/index.cjs.js",
2855
+ default: "./dist/index.es.js"
2852
2856
  } },
2853
2857
  dependencies: {
2854
2858
  "@heroicons/react": "^2.2.0",
@@ -26,7 +26,8 @@ declare const get: <K extends keyof typeof json>(key: K) => {
26
26
  "update-dashboard-agent": string;
27
27
  };
28
28
  peerDependencies: {
29
- "framer-motion": string;
29
+ react: string;
30
+ "react-dom": string;
30
31
  };
31
32
  devDependencies: {
32
33
  "@eslint/js": string;
@@ -55,13 +56,14 @@ declare const get: <K extends keyof typeof json>(key: K) => {
55
56
  url: string;
56
57
  };
57
58
  main: string;
59
+ module: string;
58
60
  types: string;
59
61
  exports: {
60
62
  ".": {
61
- require: string;
63
+ types: string;
62
64
  import: string;
65
+ require: string;
63
66
  default: string;
64
- types: string;
65
67
  };
66
68
  };
67
69
  dependencies: {