@versini/sassysaint 1.0.2 → 1.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
2
2
  import m from "clsx";
3
3
  import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
4
- import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.TaY_5bD3.js";
4
+ import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.zwPPEvIR.js";
5
5
  const Q = (e) => {
6
6
  let a = "";
7
7
  if (typeof e == "number" || typeof e == "string")
@@ -558,6 +558,7 @@ const y = w.createContext({
558
558
  headers: t = {}
559
559
  }) => await fetch(`${H}/graphql`, {
560
560
  method: "POST",
561
+ credentials: "include",
561
562
  headers: {
562
563
  ...t,
563
564
  "Content-Type": "application/json",
@@ -601,6 +602,7 @@ const y = w.createContext({
601
602
  const r = `Bearer ${e}`;
602
603
  return await fetch(`${H}/api/${a}`, {
603
604
  method: s,
605
+ credentials: "include",
604
606
  headers: {
605
607
  "Content-Type": "application/json",
606
608
  authorization: r
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.TaY_5bD3.js";
2
+ import { SassySaint as a } from "../../chunks/index.zwPPEvIR.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- declare const SassySaint: () => react_jsx_runtime.JSX.Element;
3
+ type SassySaintProps = {
4
+ domain: string;
5
+ };
6
+ declare const SassySaint: {
7
+ ({ domain }: SassySaintProps): react_jsx_runtime.JSX.Element;
8
+ displayName: string;
9
+ };
4
10
 
5
11
  export { SassySaint };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.TaY_5bD3.js";
1
+ import { SassySaint as r } from "./chunks/index.zwPPEvIR.js";
2
2
  /*!
3
- @sassysaint/client v3.1.2
3
+ @sassysaint/client v3.2.2
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "3.1.2",
9
- buildTime: "07/07/2024 02:39 PM EDT",
8
+ version: "3.2.2",
9
+ buildTime: "07/09/2024 03:55 PM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "18.3.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "3.1.2",
33
+ "@sassysaint/client": "3.2.2",
34
34
  "@versini/ui-styles": "1.9.3"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "d346e993100e3a84c22d5d641a70dae6afe85e67"
44
+ "gitHead": "0e24bc2870a0e4543fe0191f8d10d21234ed49da"
45
45
  }