@magemetrics/ai 0.0.36 → 0.0.38

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/styles.js ADDED
@@ -0,0 +1 @@
1
+
@@ -1,4 +1,4 @@
1
- import { g as o } from "./web-component-EdF33Ah-.js";
1
+ import { g as o } from "./web-component-B-Q_tXDP.js";
2
2
  var r, e;
3
3
  function t() {
4
4
  return e || (e = 1, r = function() {
@@ -15935,7 +15935,7 @@ class lpe {
15935
15935
  close: () => {
15936
15936
  this.conn = null;
15937
15937
  }
15938
- }), import("./browser-djP6rtNi.js").then((t) => t.b).then(({ default: t }) => {
15938
+ }), import("./browser-CH_bPnDK.js").then((t) => t.b).then(({ default: t }) => {
15939
15939
  this.conn = new t(this.endpointURL(), void 0, {
15940
15940
  headers: this.headers
15941
15941
  }), this.setupConnection();
@@ -21921,7 +21921,7 @@ const Ige = (e, t) => {
21921
21921
  loading: !0
21922
21922
  }), o = I.useRef(Symbol("initial")), { data: s } = Fge(t), { mutateAsync: l, isPending: u } = Rge();
21923
21923
  I.useEffect(() => {
21924
- Nme(r, "0.0.36");
21924
+ Nme(r, "0.0.38");
21925
21925
  }, [r]), I.useEffect(() => {
21926
21926
  if (console.debug("Main Supabase auth effect re-running."), console.debug(
21927
21927
  `Effect dependencies: apiInformation=${!!s}, externalJwt='${n}', isExchangingTokens=${u}, processedJwtRef='${String(o.current)}'`
@@ -26604,23 +26604,20 @@ const Fye = Nv(
26604
26604
  }
26605
26605
  ]
26606
26606
  }
26607
- ), Yr = ({
26608
- className: e,
26609
- variant: t,
26610
- size: n,
26611
- asChild: r = !1,
26612
- ...i
26613
- }) => {
26614
- const a = r ? jv : "button";
26615
- return /* @__PURE__ */ R.jsx(
26616
- a,
26617
- {
26618
- "data-slot": "button",
26619
- className: at(Fye({ variant: t, size: n, className: e })),
26620
- ...i
26621
- }
26622
- );
26623
- }, gu = Y.forwardRef(
26607
+ ), Yr = I.forwardRef(
26608
+ ({ className: e, variant: t, size: n, asChild: r = !1, ...i }, a) => {
26609
+ const o = r ? jv : "button";
26610
+ return /* @__PURE__ */ R.jsx(
26611
+ o,
26612
+ {
26613
+ ref: a,
26614
+ "data-slot": "button",
26615
+ className: at(Fye({ variant: t, size: n, className: e })),
26616
+ ...i
26617
+ }
26618
+ );
26619
+ }
26620
+ ), gu = Y.forwardRef(
26624
26621
  ({ className: e, children: t, direction: n, ...r }, i) => /* @__PURE__ */ R.jsx(
26625
26622
  "div",
26626
26623
  {
@@ -1,4 +1,4 @@
1
- import { c as o, l as r } from "./web-component-EdF33Ah-.js";
1
+ import { c as o, l as r } from "./web-component-B-Q_tXDP.js";
2
2
  export {
3
3
  o as createMagemetrics,
4
4
  r as logout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magemetrics/ai",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@ai-sdk/react": "^1.2.8",
@@ -56,16 +56,5 @@
56
56
  },
57
57
  "files": [
58
58
  "dist/"
59
- ],
60
- "scripts": {
61
- "gen:openapi": "./scripts/update-openapi.sh",
62
- "build:tailwind": "node scripts/build-style.js",
63
- "build": "pnpm run build:tailwind && vite build -c vite.react.config.ts && vite build -c vite.webcomponent.config.ts",
64
- "preview": "vite preview",
65
- "lint": "sh -c 'cd ../../ && pnpm exec eslint --report-unused-disable-directives packages/ui'",
66
- "lint:fix": "sh -c 'cd ../../ && pnpm exec eslint packages/ui --fix'",
67
- "dev": "node scripts/dev-styles.js",
68
- "typecheck": "tsc -b",
69
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .rollup.cache"
70
- }
59
+ ]
71
60
  }