@sparkstudio/authentication-ui 1.0.2 → 1.0.3

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.cjs CHANGED
@@ -3123,7 +3123,12 @@ var require_jsx_runtime = __commonJS({
3123
3123
  var index_exports = {};
3124
3124
  __export(index_exports, {
3125
3125
  AuthenticatorProvider: () => AuthenticatorProvider,
3126
- UserInfoCard: () => UserInfoCard
3126
+ EMPTY_GUID: () => EMPTY_GUID,
3127
+ LoginButton: () => LoginButton,
3128
+ SparkStudioAuthenticationSDK: () => SparkStudioAuthenticationSDK,
3129
+ UserInfoCard: () => UserInfoCard,
3130
+ UserProvider: () => UserProvider,
3131
+ useUser: () => useUser
3127
3132
  });
3128
3133
  module.exports = __toCommonJS(index_exports);
3129
3134
 
@@ -3249,11 +3254,6 @@ var useUser = () => {
3249
3254
  var import_react2 = __toESM(require_react(), 1);
3250
3255
  var import_google = require("@react-oauth/google");
3251
3256
  var import_common_ui = require("@sparkstudio/common-ui");
3252
-
3253
- // src/assets/icons/google_icon.webp
3254
- var google_icon_default = "./google_icon-IHKY4ITL.webp";
3255
-
3256
- // src/components/Buttons/LoginButton.tsx
3257
3257
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
3258
3258
  var LoginButton = ({ onSuccess }) => {
3259
3259
  const { setUser } = useUser();
@@ -3299,7 +3299,7 @@ var LoginButton = ({ onSuccess }) => {
3299
3299
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3300
3300
  "img",
3301
3301
  {
3302
- src: google_icon_default,
3302
+ src: "../../assets/icons/google_icon.webp",
3303
3303
  alt: "Google",
3304
3304
  style: { width: "21px", height: "21px", margin: 0, padding: 0 }
3305
3305
  }
@@ -3368,10 +3368,18 @@ var AuthenticatorProvider = ({
3368
3368
  }) => {
3369
3369
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_google2.GoogleOAuthProvider, { clientId: googleClientId, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(UserProvider, { children }) });
3370
3370
  };
3371
+
3372
+ // src/types/Guid.ts
3373
+ var EMPTY_GUID = "00000000-0000-0000-0000-000000000000";
3371
3374
  // Annotate the CommonJS export names for ESM import in node:
3372
3375
  0 && (module.exports = {
3373
3376
  AuthenticatorProvider,
3374
- UserInfoCard
3377
+ EMPTY_GUID,
3378
+ LoginButton,
3379
+ SparkStudioAuthenticationSDK,
3380
+ UserInfoCard,
3381
+ UserProvider,
3382
+ useUser
3375
3383
  });
3376
3384
  /*! Bundled license information:
3377
3385