@mxenabled/connect-widget 0.18.4 → 0.19.0

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.es.js CHANGED
@@ -69834,7 +69834,14 @@ const OAuthStep = React__default.forwardRef((props, navigationRef) => {
69834
69834
  member$ = of(pendingOauthMember);
69835
69835
  } else {
69836
69836
  const newMemberStream$ = defer(
69837
- () => api.addMember({ is_oauth: true, institution_guid: institution.guid }, config)
69837
+ () => api.addMember(
69838
+ {
69839
+ is_oauth: true,
69840
+ institution_guid: institution.guid,
69841
+ rawInstitutionData: { ...institution }
69842
+ },
69843
+ config
69844
+ )
69838
69845
  ).pipe(pluck("member")).subscribe(
69839
69846
  (member2) => {
69840
69847
  sendPosthogEvent(AnalyticEvents.OAUTH_PENDING_MEMBER_CREATED, {
@@ -70791,7 +70798,11 @@ const CreateMemberForm = (props) => {
70791
70798
  postMessageFunctions.onPostMessage("connect/enterCredentials", {
70792
70799
  institution: { guid: institution.guid, code: institution.code }
70793
70800
  });
70794
- const memberData = { institution_guid: institution.guid, credentials: userCredentials };
70801
+ const memberData = {
70802
+ institution_guid: institution.guid,
70803
+ credentials: userCredentials,
70804
+ rawInstitutionData: { ...institution }
70805
+ };
70795
70806
  const createMember$ = defer(() => api.addMember(memberData, config, isHuman)).pipe(
70796
70807
  // this delay is dumb, but if we don't wait long enough after the
70797
70808
  // create, then the job afterward is gonna 404.