@thunderid/vue 0.6.0 → 0.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"ThunderIDVueClient.d.ts","sourceRoot":"","sources":["../src/ThunderIDVueClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,sBAAsB,EAGtB,WAAW,EACX,IAAI,EAMJ,OAAO,EAEP,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAK1B,cAAc,EACf,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAEnD;;;;;GAKG;AACH,cAAM,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,CAAE,SAAQ,sBAAsB,CAAC,CAAC,CAAC;IAC3G,OAAO,CAAC,YAAY,CAAS;gBAEjB,UAAU,SAAI;IAI1B,OAAO,CAAC,UAAU;YAIJ,WAAW;IAUhB,UAAU,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxD,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAoB7D,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlC,OAAO,CAAC,OAAO,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBrC,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIvD,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAI7B,cAAc,CAAC,OAAO,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;IAgCzD,SAAS,IAAI,OAAO;IAId,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAIjC,UAAU,IAAI,OAAO,CAAC,OAAO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AC,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAItE,UAAU,CAAC,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;IAIrE,cAAc,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,YAAY,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAIhC,UAAU,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzF,cAAc,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI3E,iBAAiB,IAAI,cAAc,CAAC,CAAC,CAAC;CAGvD;AAED,eAAe,kBAAkB,CAAC"}
@@ -15,11 +15,11 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import { User, GetScim2MeConfig as BaseGetScim2MeConfig } from '@thunderid/browser';
19
- export interface GetScim2MeConfig extends Omit<BaseGetScim2MeConfig, 'fetcher'> {
18
+ import { User, GetUsersMeConfig as BaseGetUsersMeConfig } from '@thunderid/browser';
19
+ export interface GetUsersMeConfig extends Omit<BaseGetUsersMeConfig, 'fetcher'> {
20
20
  fetcher?: (url: string, config: RequestInit) => Promise<Response>;
21
21
  instanceId?: number;
22
22
  }
23
- declare const getScim2Me: ({ fetcher, instanceId, ...requestConfig }: GetScim2MeConfig) => Promise<User>;
24
- export default getScim2Me;
25
- //# sourceMappingURL=getScim2Me.d.ts.map
23
+ declare const getUsersMe: ({ fetcher, instanceId, ...requestConfig }: GetUsersMeConfig) => Promise<User>;
24
+ export default getUsersMe;
25
+ //# sourceMappingURL=getUsersMe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getScim2Me.d.ts","sourceRoot":"","sources":["../../src/api/getScim2Me.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,IAAI,EAKJ,gBAAgB,IAAI,oBAAoB,EACzC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAC7E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,GAAU,2CAA6C,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAuBrG,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"getUsersMe.d.ts","sourceRoot":"","sources":["../../src/api/getUsersMe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,IAAI,EAKJ,gBAAgB,IAAI,oBAAoB,EACzC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAC7E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,GAAU,2CAA6C,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAuBrG,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -575,14 +575,11 @@ const UserProvider = (0, vue.defineComponent)({
575
575
  },
576
576
  setup(props, { slots }) {
577
577
  const profileRef = (0, vue.computed)(() => props.profile);
578
- const flattenedProfileRef = (0, vue.computed)(() => props.profile?.flattenedProfile ?? null);
579
- const schemasRef = (0, vue.computed)(() => props.profile?.schemas ?? null);
580
578
  (0, vue.provide)(USER_KEY, {
581
- flattenedProfile: flattenedProfileRef,
579
+ flattenedProfile: (0, vue.computed)(() => props.profile?.flattenedProfile ?? null),
582
580
  onUpdateProfile: props.onUpdateProfile ?? (() => {}),
583
581
  profile: profileRef,
584
582
  revalidateProfile: props.revalidateProfile,
585
- schemas: schemasRef,
586
583
  updateProfile: props.updateProfile ?? (async () => ({
587
584
  data: { user: {} },
588
585
  error: "updateProfile callback not provided",
@@ -595,8 +592,8 @@ const UserProvider = (0, vue.defineComponent)({
595
592
  var UserProvider_default = UserProvider;
596
593
 
597
594
  //#endregion
598
- //#region src/api/getSchemas.ts
599
- const getSchemas = async ({ fetcher, instanceId = 0,...requestConfig }) => {
595
+ //#region src/api/getUsersMe.ts
596
+ const getUsersMe = async ({ fetcher, instanceId = 0,...requestConfig }) => {
600
597
  const defaultFetcher = async (url, config) => {
601
598
  const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
602
599
  headers: config.headers,
@@ -611,36 +608,12 @@ const getSchemas = async ({ fetcher, instanceId = 0,...requestConfig }) => {
611
608
  text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
612
609
  };
613
610
  };
614
- return (0, __thunderid_browser.getSchemas)({
611
+ return (0, __thunderid_browser.getUsersMe)({
615
612
  ...requestConfig,
616
613
  fetcher: fetcher || defaultFetcher
617
614
  });
618
615
  };
619
- var getSchemas_default = getSchemas;
620
-
621
- //#endregion
622
- //#region src/api/getScim2Me.ts
623
- const getScim2Me = async ({ fetcher, instanceId = 0,...requestConfig }) => {
624
- const defaultFetcher = async (url, config) => {
625
- const response = await __thunderid_browser.FetchHttpClient.getInstance(instanceId).request({
626
- headers: config.headers,
627
- method: config.method || "GET",
628
- url
629
- });
630
- return {
631
- json: () => Promise.resolve(response.data),
632
- ok: response.status >= 200 && response.status < 300,
633
- status: response.status,
634
- statusText: response.statusText || "",
635
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
636
- };
637
- };
638
- return (0, __thunderid_browser.getScim2Me)({
639
- ...requestConfig,
640
- fetcher: fetcher || defaultFetcher
641
- });
642
- };
643
- var getScim2Me_default = getScim2Me;
616
+ var getUsersMe_default = getUsersMe;
644
617
 
645
618
  //#endregion
646
619
  //#region src/ThunderIDVueClient.ts
@@ -688,7 +661,7 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
688
661
  try {
689
662
  let baseUrl = options?.baseUrl;
690
663
  if (!baseUrl) baseUrl = (await this.getStorageManager().getConfigData())?.baseUrl;
691
- return (0, __thunderid_browser.generateUserProfile)(await getScim2Me_default({ baseUrl }), (0, __thunderid_browser.flattenUserSchema)(await getSchemas_default({ baseUrl })));
664
+ return await getUsersMe_default({ baseUrl });
692
665
  } catch (error) {
693
666
  return (0, __thunderid_browser.extractUserClaimsFromIdToken)(await this.getDecodedIdToken());
694
667
  }
@@ -704,24 +677,18 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
704
677
  try {
705
678
  let baseUrl = options?.baseUrl;
706
679
  if (!baseUrl) baseUrl = (await this.getStorageManager().getConfigData())?.baseUrl;
707
- const profile = await getScim2Me_default({
680
+ const profile = await getUsersMe_default({
708
681
  baseUrl,
709
682
  instanceId: this.getInstanceId()
710
683
  });
711
- const processedSchemas = (0, __thunderid_browser.flattenUserSchema)(await getSchemas_default({
712
- baseUrl,
713
- instanceId: this.getInstanceId()
714
- }));
715
684
  return {
716
- flattenedProfile: (0, __thunderid_browser.generateFlattenedUserProfile)(profile, processedSchemas),
717
- profile,
718
- schemas: processedSchemas
685
+ flattenedProfile: (0, __thunderid_browser.generateFlattenedUserProfile)(profile),
686
+ profile
719
687
  };
720
688
  } catch (error) {
721
689
  return {
722
690
  flattenedProfile: (0, __thunderid_browser.extractUserClaimsFromIdToken)(await this.getDecodedIdToken()),
723
- profile: (0, __thunderid_browser.extractUserClaimsFromIdToken)(await this.getDecodedIdToken()),
724
- schemas: []
691
+ profile: (0, __thunderid_browser.extractUserClaimsFromIdToken)(await this.getDecodedIdToken())
725
692
  };
726
693
  }
727
694
  });
@@ -958,8 +925,7 @@ const ThunderIDProvider = (0, vue.defineComponent)({
958
925
  user.value = claims;
959
926
  userProfile.value = {
960
927
  flattenedProfile: claims,
961
- profile: claims,
962
- schemas: []
928
+ profile: claims
963
929
  };
964
930
  isSignedIn.value = await client.isSignedIn();
965
931
  } catch {} finally {
@@ -1098,9 +1064,8 @@ const ThunderIDProvider = (0, vue.defineComponent)({
1098
1064
  onUpdateProfile: (updatedUser) => {
1099
1065
  user.value = updatedUser;
1100
1066
  userProfile.value = {
1101
- flattenedProfile: (0, __thunderid_browser.generateFlattenedUserProfile)(updatedUser, userProfile.value?.schemas ?? []),
1102
- profile: updatedUser,
1103
- schemas: userProfile.value?.schemas ?? []
1067
+ flattenedProfile: (0, __thunderid_browser.generateFlattenedUserProfile)(updatedUser),
1068
+ profile: updatedUser
1104
1069
  };
1105
1070
  },
1106
1071
  profile: userProfile.value,
@@ -1110,8 +1075,7 @@ const ThunderIDProvider = (0, vue.defineComponent)({
1110
1075
  user.value = claims;
1111
1076
  userProfile.value = {
1112
1077
  flattenedProfile: claims,
1113
- profile: claims,
1114
- schemas: []
1078
+ profile: claims
1115
1079
  };
1116
1080
  } catch {}
1117
1081
  }
@@ -7894,35 +7858,8 @@ function getAvatarGradient$1(seed) {
7894
7858
  function formatLabel(key) {
7895
7859
  return key.split(/(?=[A-Z])|[_.]/).map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join(" ");
7896
7860
  }
7897
- function buildScimPatchValue(flatKey, rawValue, schemaId, multiValued) {
7898
- if (flatKey === "phoneNumbers.mobile") return {
7899
- phoneNumbers: [{
7900
- type: "mobile",
7901
- value: rawValue
7902
- }],
7903
- [__thunderid_browser.WellKnownSchemaIds.SystemUser]: { mobileNumbers: [rawValue] }
7904
- };
7905
- const complexMultiValued = new Set([
7906
- "phoneNumbers",
7907
- "emails",
7908
- "ims",
7909
- "photos",
7910
- "addresses",
7911
- "entitlements",
7912
- "roles",
7913
- "x509Certificates"
7914
- ]);
7915
- const dotIndex = flatKey.indexOf(".");
7916
- if (dotIndex > 0) {
7917
- const head = flatKey.slice(0, dotIndex);
7918
- const tail = flatKey.slice(dotIndex + 1);
7919
- if (complexMultiValued.has(head)) return { [head]: [{
7920
- type: tail,
7921
- value: rawValue
7922
- }] };
7923
- }
7861
+ function buildPatchValue(flatKey, rawValue, _schemaId, multiValued) {
7924
7862
  const value = multiValued ? [rawValue] : rawValue;
7925
- if (schemaId && schemaId !== __thunderid_browser.WellKnownSchemaIds.User) return { [schemaId]: { [flatKey]: value } };
7926
7863
  const segments = flatKey.split(".");
7927
7864
  const nested = {};
7928
7865
  let cursor = nested;
@@ -8036,7 +7973,7 @@ const BaseUserProfile = (0, vue.defineComponent)({
8036
7973
  function saveField(schema) {
8037
7974
  if (!props.onUpdate || !schema.name) return;
8038
7975
  const value = editedValues.value[schema.name] ?? "";
8039
- const payload = buildScimPatchValue(schema.name, value, schema.schemaId, schema.multiValued);
7976
+ const payload = buildPatchValue(schema.name, value, schema.schemaId, schema.multiValued);
8040
7977
  props.onUpdate(payload);
8041
7978
  editingFields.value = {
8042
7979
  ...editingFields.value,
@@ -8272,7 +8209,7 @@ const UserProfile = (0, vue.defineComponent)({
8272
8209
  },
8273
8210
  setup(props, { slots }) {
8274
8211
  const { baseUrl, instanceId } = useThunderID_default();
8275
- const { flattenedProfile, profile, schemas, onUpdateProfile } = useUser_default();
8212
+ const { flattenedProfile, profile, onUpdateProfile } = useUser_default();
8276
8213
  const { t } = useI18n_default();
8277
8214
  const error = (0, vue.ref)(null);
8278
8215
  async function handleProfileUpdate(payload) {
@@ -8303,7 +8240,6 @@ const UserProfile = (0, vue.defineComponent)({
8303
8240
  hideFields: props.hideFields,
8304
8241
  onUpdate: handleProfileUpdate,
8305
8242
  profile: profile?.value?.profile ?? flattenedProfile?.value,
8306
- schemas: schemas?.value,
8307
8243
  showAvatar: props.showAvatar,
8308
8244
  showFields: props.showFields,
8309
8245
  title: props.title
@@ -15,7 +15,7 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import { type User, type Schema } from '@thunderid/browser';
18
+ import { type User } from '@thunderid/browser';
19
19
  import { type Component } from 'vue';
20
20
  export interface BaseUserProfileProps {
21
21
  avatarSize?: 'sm' | 'md' | 'lg';
@@ -30,7 +30,7 @@ export interface BaseUserProfileProps {
30
30
  isLoading?: boolean;
31
31
  onUpdate?: (payload: any) => Promise<void>;
32
32
  profile?: User | null;
33
- schemas?: Schema[] | null;
33
+ schemas?: any[] | null;
34
34
  showAvatar?: boolean;
35
35
  showFields?: string[];
36
36
  title?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,IAAI,EAAE,KAAK,MAAM,EAA+C,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AA8BpH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAmHD,QAAA,MAAM,eAAe,EAAE,SA+TrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,IAAI,EAA2B,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AA8BpH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAoFD,QAAA,MAAM,eAAe,EAAE,SA0TrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/UserProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AAoBpH,QAAA,MAAM,WAAW,EAAE,SAgFjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/UserProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AAoBpH,QAAA,MAAM,WAAW,EAAE,SA+EjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, TranslationBundleConstants, WellKnownSchemaIds, arrayBufferToBase64url, base64urlToArrayBuffer, createClassObserver, createClassObserver as createClassObserver$1, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createPackageComponentLogger, createPackageLogger, createTheme, deepMerge, detectThemeMode, detectThemeMode as detectThemeMode$1, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, extractEmojiFromUri, extractUserClaimsFromIdToken, flattenUserSchema, generateFlattenedUserProfile, generateUserProfile, get, getActiveTheme, getDefaultI18nBundles, getFlowMeta, getSchemas, getScim2Me, getVendorPrefix, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, http, isEmojiUri, isEmpty, navigate, navigate as navigate$1, normalizeTranslations, resolveFlowTemplateLiterals, updateMeProfile, withVendorCSSClassPrefix } from "@thunderid/browser";
1
+ import { DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, TranslationBundleConstants, arrayBufferToBase64url, base64urlToArrayBuffer, createClassObserver, createClassObserver as createClassObserver$1, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createPackageComponentLogger, createPackageLogger, createTheme, deepMerge, detectThemeMode, detectThemeMode as detectThemeMode$1, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, extractEmojiFromUri, extractUserClaimsFromIdToken, generateFlattenedUserProfile, get, getActiveTheme, getDefaultI18nBundles, getFlowMeta, getUsersMe, getVendorPrefix, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, http, isEmojiUri, isEmpty, navigate, navigate as navigate$1, normalizeTranslations, resolveFlowTemplateLiterals, updateMeProfile, withVendorCSSClassPrefix } from "@thunderid/browser";
2
2
  import { Fragment, computed, defineComponent, h, inject, nextTick, onBeforeUnmount, onMounted, onUnmounted, provide, readonly, ref, shallowReadonly, shallowRef, watch } from "vue";
3
3
  import DOMPurify from "dompurify";
4
4
 
@@ -549,14 +549,11 @@ const UserProvider = defineComponent({
549
549
  },
550
550
  setup(props, { slots }) {
551
551
  const profileRef = computed(() => props.profile);
552
- const flattenedProfileRef = computed(() => props.profile?.flattenedProfile ?? null);
553
- const schemasRef = computed(() => props.profile?.schemas ?? null);
554
552
  provide(USER_KEY, {
555
- flattenedProfile: flattenedProfileRef,
553
+ flattenedProfile: computed(() => props.profile?.flattenedProfile ?? null),
556
554
  onUpdateProfile: props.onUpdateProfile ?? (() => {}),
557
555
  profile: profileRef,
558
556
  revalidateProfile: props.revalidateProfile,
559
- schemas: schemasRef,
560
557
  updateProfile: props.updateProfile ?? (async () => ({
561
558
  data: { user: {} },
562
559
  error: "updateProfile callback not provided",
@@ -569,8 +566,8 @@ const UserProvider = defineComponent({
569
566
  var UserProvider_default = UserProvider;
570
567
 
571
568
  //#endregion
572
- //#region src/api/getSchemas.ts
573
- const getSchemas$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
569
+ //#region src/api/getUsersMe.ts
570
+ const getUsersMe$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
574
571
  const defaultFetcher = async (url, config) => {
575
572
  const response = await FetchHttpClient.getInstance(instanceId).request({
576
573
  headers: config.headers,
@@ -585,36 +582,12 @@ const getSchemas$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
585
582
  text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
586
583
  };
587
584
  };
588
- return getSchemas({
585
+ return getUsersMe({
589
586
  ...requestConfig,
590
587
  fetcher: fetcher || defaultFetcher
591
588
  });
592
589
  };
593
- var getSchemas_default = getSchemas$1;
594
-
595
- //#endregion
596
- //#region src/api/getScim2Me.ts
597
- const getScim2Me$1 = async ({ fetcher, instanceId = 0,...requestConfig }) => {
598
- const defaultFetcher = async (url, config) => {
599
- const response = await FetchHttpClient.getInstance(instanceId).request({
600
- headers: config.headers,
601
- method: config.method || "GET",
602
- url
603
- });
604
- return {
605
- json: () => Promise.resolve(response.data),
606
- ok: response.status >= 200 && response.status < 300,
607
- status: response.status,
608
- statusText: response.statusText || "",
609
- text: () => Promise.resolve(typeof response.data === "string" ? response.data : JSON.stringify(response.data))
610
- };
611
- };
612
- return getScim2Me({
613
- ...requestConfig,
614
- fetcher: fetcher || defaultFetcher
615
- });
616
- };
617
- var getScim2Me_default = getScim2Me$1;
590
+ var getUsersMe_default = getUsersMe$1;
618
591
 
619
592
  //#endregion
620
593
  //#region src/ThunderIDVueClient.ts
@@ -662,7 +635,7 @@ var ThunderIDVueClient = class extends ThunderIDBrowserClient {
662
635
  try {
663
636
  let baseUrl = options?.baseUrl;
664
637
  if (!baseUrl) baseUrl = (await this.getStorageManager().getConfigData())?.baseUrl;
665
- return generateUserProfile(await getScim2Me_default({ baseUrl }), flattenUserSchema(await getSchemas_default({ baseUrl })));
638
+ return await getUsersMe_default({ baseUrl });
666
639
  } catch (error) {
667
640
  return extractUserClaimsFromIdToken(await this.getDecodedIdToken());
668
641
  }
@@ -678,24 +651,18 @@ var ThunderIDVueClient = class extends ThunderIDBrowserClient {
678
651
  try {
679
652
  let baseUrl = options?.baseUrl;
680
653
  if (!baseUrl) baseUrl = (await this.getStorageManager().getConfigData())?.baseUrl;
681
- const profile = await getScim2Me_default({
654
+ const profile = await getUsersMe_default({
682
655
  baseUrl,
683
656
  instanceId: this.getInstanceId()
684
657
  });
685
- const processedSchemas = flattenUserSchema(await getSchemas_default({
686
- baseUrl,
687
- instanceId: this.getInstanceId()
688
- }));
689
658
  return {
690
- flattenedProfile: generateFlattenedUserProfile(profile, processedSchemas),
691
- profile,
692
- schemas: processedSchemas
659
+ flattenedProfile: generateFlattenedUserProfile(profile),
660
+ profile
693
661
  };
694
662
  } catch (error) {
695
663
  return {
696
664
  flattenedProfile: extractUserClaimsFromIdToken(await this.getDecodedIdToken()),
697
- profile: extractUserClaimsFromIdToken(await this.getDecodedIdToken()),
698
- schemas: []
665
+ profile: extractUserClaimsFromIdToken(await this.getDecodedIdToken())
699
666
  };
700
667
  }
701
668
  });
@@ -932,8 +899,7 @@ const ThunderIDProvider = defineComponent({
932
899
  user.value = claims;
933
900
  userProfile.value = {
934
901
  flattenedProfile: claims,
935
- profile: claims,
936
- schemas: []
902
+ profile: claims
937
903
  };
938
904
  isSignedIn.value = await client.isSignedIn();
939
905
  } catch {} finally {
@@ -1072,9 +1038,8 @@ const ThunderIDProvider = defineComponent({
1072
1038
  onUpdateProfile: (updatedUser) => {
1073
1039
  user.value = updatedUser;
1074
1040
  userProfile.value = {
1075
- flattenedProfile: generateFlattenedUserProfile(updatedUser, userProfile.value?.schemas ?? []),
1076
- profile: updatedUser,
1077
- schemas: userProfile.value?.schemas ?? []
1041
+ flattenedProfile: generateFlattenedUserProfile(updatedUser),
1042
+ profile: updatedUser
1078
1043
  };
1079
1044
  },
1080
1045
  profile: userProfile.value,
@@ -1084,8 +1049,7 @@ const ThunderIDProvider = defineComponent({
1084
1049
  user.value = claims;
1085
1050
  userProfile.value = {
1086
1051
  flattenedProfile: claims,
1087
- profile: claims,
1088
- schemas: []
1052
+ profile: claims
1089
1053
  };
1090
1054
  } catch {}
1091
1055
  }
@@ -7868,35 +7832,8 @@ function getAvatarGradient$1(seed) {
7868
7832
  function formatLabel(key) {
7869
7833
  return key.split(/(?=[A-Z])|[_.]/).map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join(" ");
7870
7834
  }
7871
- function buildScimPatchValue(flatKey, rawValue, schemaId, multiValued) {
7872
- if (flatKey === "phoneNumbers.mobile") return {
7873
- phoneNumbers: [{
7874
- type: "mobile",
7875
- value: rawValue
7876
- }],
7877
- [WellKnownSchemaIds.SystemUser]: { mobileNumbers: [rawValue] }
7878
- };
7879
- const complexMultiValued = new Set([
7880
- "phoneNumbers",
7881
- "emails",
7882
- "ims",
7883
- "photos",
7884
- "addresses",
7885
- "entitlements",
7886
- "roles",
7887
- "x509Certificates"
7888
- ]);
7889
- const dotIndex = flatKey.indexOf(".");
7890
- if (dotIndex > 0) {
7891
- const head = flatKey.slice(0, dotIndex);
7892
- const tail = flatKey.slice(dotIndex + 1);
7893
- if (complexMultiValued.has(head)) return { [head]: [{
7894
- type: tail,
7895
- value: rawValue
7896
- }] };
7897
- }
7835
+ function buildPatchValue(flatKey, rawValue, _schemaId, multiValued) {
7898
7836
  const value = multiValued ? [rawValue] : rawValue;
7899
- if (schemaId && schemaId !== WellKnownSchemaIds.User) return { [schemaId]: { [flatKey]: value } };
7900
7837
  const segments = flatKey.split(".");
7901
7838
  const nested = {};
7902
7839
  let cursor = nested;
@@ -8010,7 +7947,7 @@ const BaseUserProfile = defineComponent({
8010
7947
  function saveField(schema) {
8011
7948
  if (!props.onUpdate || !schema.name) return;
8012
7949
  const value = editedValues.value[schema.name] ?? "";
8013
- const payload = buildScimPatchValue(schema.name, value, schema.schemaId, schema.multiValued);
7950
+ const payload = buildPatchValue(schema.name, value, schema.schemaId, schema.multiValued);
8014
7951
  props.onUpdate(payload);
8015
7952
  editingFields.value = {
8016
7953
  ...editingFields.value,
@@ -8246,7 +8183,7 @@ const UserProfile = defineComponent({
8246
8183
  },
8247
8184
  setup(props, { slots }) {
8248
8185
  const { baseUrl, instanceId } = useThunderID_default();
8249
- const { flattenedProfile, profile, schemas, onUpdateProfile } = useUser_default();
8186
+ const { flattenedProfile, profile, onUpdateProfile } = useUser_default();
8250
8187
  const { t } = useI18n_default();
8251
8188
  const error = ref(null);
8252
8189
  async function handleProfileUpdate(payload) {
@@ -8277,7 +8214,6 @@ const UserProfile = defineComponent({
8277
8214
  hideFields: props.hideFields,
8278
8215
  onUpdate: handleProfileUpdate,
8279
8216
  profile: profile?.value?.profile ?? flattenedProfile?.value,
8280
- schemas: schemas?.value,
8281
8217
  showAvatar: props.showAvatar,
8282
8218
  showFields: props.showFields,
8283
8219
  title: props.title
@@ -15,7 +15,7 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import type { FlowMetadataResponse, HttpRequestConfig, HttpResponse, IdToken, Schema, SignInOptions, StorageManager, Theme, TokenExchangeRequestConfig, TokenResponse, UpdateMeProfileConfig, User, UserProfile, I18nBundle } from '@thunderid/browser';
18
+ import type { FlowMetadataResponse, HttpRequestConfig, HttpResponse, IdToken, SignInOptions, StorageManager, Theme, TokenExchangeRequestConfig, TokenResponse, UpdateMeProfileConfig, User, UserProfile, I18nBundle } from '@thunderid/browser';
19
19
  import type { Ref } from 'vue';
20
20
  import type { ThunderIDVueConfig } from './config';
21
21
  /**
@@ -83,14 +83,12 @@ export interface UserContextValue {
83
83
  flattenedProfile: Readonly<Ref<User | null>>;
84
84
  /** Called after a successful profile update to sync state up to ThunderIDProvider. */
85
85
  onUpdateProfile: (payload: User) => void;
86
- /** The raw nested user profile from the SCIM2/ME endpoint. */
86
+ /** The raw nested user profile from the users/me endpoint. */
87
87
  profile: Readonly<Ref<UserProfile | null>>;
88
88
  /** Refetch the user profile from the server. */
89
89
  revalidateProfile: () => Promise<void>;
90
- /** The SCIM2 schemas describing the user profile attributes. */
91
- schemas: Readonly<Ref<Schema[] | null>>;
92
90
  /**
93
- * Update the user profile. Accepts the standard SCIM2 patch request config.
91
+ * Update the user profile. Accepts the standard patch request config.
94
92
  */
95
93
  updateProfile: (requestConfig: UpdateMeProfileConfig, sessionId?: string) => Promise<{
96
94
  data: {
@@ -1 +1 @@
1
- {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/models/contexts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,MAAM,EACN,aAAa,EACb,cAAc,EACd,KAAK,EACL,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,IAAI,EACJ,WAAW,EACX,UAAU,EACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,4CAA4C;IAC5C,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,oDAAoD;IACpD,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,4CAA4C;IAC5C,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,YAAY,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACvC,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,8DAA8D;IAC9D,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;IAEtC,aAAa,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK,OAAO,CAAC,aAAa,GAAG,QAAQ,CAAC,CAAC;IAEzF,cAAc,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IACtC,iBAAiB,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C,UAAU,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,iBAAiB,EAAE,M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;IAC5B,0CAA0C;IAC1C,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAMD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uEAAuE;IACvE,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IACnD,iDAAiD;IACjD,eAAe,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IACvC,kCAAkC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D,mCAAmC;IACnC,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,sDAAsD;IACtD,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;CACtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAiBH,OAAO,EACL,KAAK,SAAS,EAaf,MAAM,KAAK,CAAC;AAyCb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,SA2ZvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAiBH,OAAO,EACL,KAAK,SAAS,EAaf,MAAM,KAAK,CAAC;AAyCb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,SAqZvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserProvider.d.ts","sourceRoot":"","sources":["../../src/providers/UserProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAKL,KAAK,SAAS,EAKf,MAAM,KAAK,CAAC;AAwBb,QAAA,MAAM,YAAY,EAAE,SA8ClB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"UserProvider.d.ts","sourceRoot":"","sources":["../../src/providers/UserProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAKL,KAAK,SAAS,EAKf,MAAM,KAAK,CAAC;AAwBb,QAAA,MAAM,YAAY,EAAE,SA4ClB,CAAC;AAEH,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thunderid/vue",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Vue SDK for ThunderID",
5
5
  "keywords": [
6
6
  "thunderid",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "dompurify": "3.4.11",
60
60
  "tslib": "2.8.1",
61
- "@thunderid/browser": "^0.6.0"
61
+ "@thunderid/browser": "^0.6.1"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
@@ -1,25 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
- *
4
- * WSO2 LLC. licenses this file to you under the Apache License,
5
- * Version 2.0 (the "License"); you may not use this file except
6
- * in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import { Schema, GetSchemasConfig as BaseGetSchemasConfig } from '@thunderid/browser';
19
- export interface GetSchemasConfig extends Omit<BaseGetSchemasConfig, 'fetcher'> {
20
- fetcher?: (url: string, config: RequestInit) => Promise<Response>;
21
- instanceId?: number;
22
- }
23
- declare const getSchemas: ({ fetcher, instanceId, ...requestConfig }: GetSchemasConfig) => Promise<Schema[]>;
24
- export default getSchemas;
25
- //# sourceMappingURL=getSchemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSchemas.d.ts","sourceRoot":"","sources":["../../src/api/getSchemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,MAAM,EAKN,gBAAgB,IAAI,oBAAoB,EACzC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAC7E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,GAAU,2CAA6C,gBAAgB,KAAG,OAAO,CAAC,MAAM,EAAE,CAuBzG,CAAC;AAEF,eAAe,UAAU,CAAC"}