@howone/sdk 0.5.0 → 0.5.1

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.d.mts CHANGED
@@ -1038,7 +1038,7 @@ type HowoneContextValue = {
1038
1038
  interface HowOneProviderProps {
1039
1039
  children: React$1.ReactNode;
1040
1040
  autoRedirect?: boolean;
1041
- showFloatingButton?: boolean;
1041
+ showHowOneFlag?: boolean;
1042
1042
  projectId?: string;
1043
1043
  defaultTheme?: Theme$1;
1044
1044
  themeStorageKey?: string;
@@ -1059,7 +1059,7 @@ interface HowOneProviderProps {
1059
1059
  * <HowOneProvider
1060
1060
  * defaultTheme="dark"
1061
1061
  * themeStorageKey="my-app-theme"
1062
- * showFloatingButton={true}
1062
+ * showHowOneFlag={true}
1063
1063
  * redirectOnUnauthenticated={true}
1064
1064
  * >
1065
1065
  * <App />
package/dist/index.d.ts CHANGED
@@ -1038,7 +1038,7 @@ type HowoneContextValue = {
1038
1038
  interface HowOneProviderProps {
1039
1039
  children: React$1.ReactNode;
1040
1040
  autoRedirect?: boolean;
1041
- showFloatingButton?: boolean;
1041
+ showHowOneFlag?: boolean;
1042
1042
  projectId?: string;
1043
1043
  defaultTheme?: Theme$1;
1044
1044
  themeStorageKey?: string;
@@ -1059,7 +1059,7 @@ interface HowOneProviderProps {
1059
1059
  * <HowOneProvider
1060
1060
  * defaultTheme="dark"
1061
1061
  * themeStorageKey="my-app-theme"
1062
- * showFloatingButton={true}
1062
+ * showHowOneFlag={true}
1063
1063
  * redirectOnUnauthenticated={true}
1064
1064
  * >
1065
1065
  * <App />
package/dist/index.js CHANGED
@@ -1374,7 +1374,7 @@ var injectRedirectOverlayStyles = () => {
1374
1374
  };
1375
1375
  var HowOneProvider = ({
1376
1376
  children,
1377
- showFloatingButton = true,
1377
+ showHowOneFlag = true,
1378
1378
  projectId,
1379
1379
  defaultTheme = "system",
1380
1380
  themeStorageKey = "howone-theme",
@@ -1505,7 +1505,7 @@ var HowOneProvider = ({
1505
1505
  children: [
1506
1506
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ElementSelectorProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(HowoneContext.Provider, { value, children: [
1507
1507
  children,
1508
- showFloatingButton && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingButton, { onClick: () => window.open("https://howone.ai", "_blank") }),
1508
+ showHowOneFlag && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingButton, { onClick: () => window.open("https://howone.ai", "_blank") }),
1509
1509
  pendingRedirect && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1510
1510
  "div",
1511
1511
  {