@memberstack/dom 1.9.5 → 1.9.6

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/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  init: (props: import("./methods").DOMConfig) => {
3
- openModal: (type: "LOGIN" | "SIGNUP" | "FORGOT_PASSWORD" | "RESET_PASSWORD", params?: {}) => Promise<unknown>;
3
+ openModal: (type: "LOGIN" | "SIGNUP" | "FORGOT_PASSWORD" | "RESET_PASSWORD" | "PROFILE", params?: {}) => Promise<unknown>;
4
4
  hideModal: () => void;
5
5
  _hideLoader: (element?: any) => void;
6
6
  _showLoader: (element?: any) => void;
@@ -52,6 +52,20 @@ declare const _default: {
52
52
  id: string;
53
53
  }[];
54
54
  }[];
55
+ customField: {
56
+ order: number;
57
+ key: string;
58
+ label: string;
59
+ hidden: boolean;
60
+ }[];
61
+ branding: {
62
+ logo: string;
63
+ colors: {
64
+ lightMode: {
65
+ primaryButton: string;
66
+ };
67
+ };
68
+ };
55
69
  };
56
70
  }>;
57
71
  getAuthProviders(): Promise<{
@@ -96,6 +110,20 @@ declare const _default: {
96
110
  id: string;
97
111
  }[];
98
112
  }[];
113
+ customField: {
114
+ order: number;
115
+ key: string;
116
+ label: string;
117
+ hidden: boolean;
118
+ }[];
119
+ branding: {
120
+ logo: string;
121
+ colors: {
122
+ lightMode: {
123
+ primaryButton: string;
124
+ };
125
+ };
126
+ };
99
127
  };
100
128
  }>;
101
129
  loginMemberEmailPassword(params: import("./types").LoginMemberEmailPasswordParams): Promise<{
@@ -110,6 +138,7 @@ declare const _default: {
110
138
  auth: {
111
139
  email: string;
112
140
  };
141
+ loginRedirect: string;
113
142
  stripeCustomerId: string;
114
143
  createdAt: string;
115
144
  metaData: object;
@@ -135,7 +164,6 @@ declare const _default: {
135
164
  }[];
136
165
  };
137
166
  redirect: string;
138
- loginRedirect: string;
139
167
  payment: {
140
168
  requirePayment: string[];
141
169
  requireAuthentication: string[];
@@ -154,6 +182,7 @@ declare const _default: {
154
182
  auth: {
155
183
  email: string;
156
184
  };
185
+ loginRedirect: string;
157
186
  stripeCustomerId: string;
158
187
  createdAt: string;
159
188
  metaData: object;
@@ -179,7 +208,6 @@ declare const _default: {
179
208
  }[];
180
209
  };
181
210
  redirect: string;
182
- loginRedirect: string;
183
211
  payment: {
184
212
  requirePayment: string[];
185
213
  requireAuthentication: string[];
@@ -258,6 +286,7 @@ declare const _default: {
258
286
  auth: {
259
287
  email: string;
260
288
  };
289
+ loginRedirect: string;
261
290
  stripeCustomerId: string;
262
291
  createdAt: string;
263
292
  metaData: object;
@@ -409,6 +438,7 @@ declare const _default: {
409
438
  auth: {
410
439
  email: string;
411
440
  };
441
+ loginRedirect: string;
412
442
  stripeCustomerId: string;
413
443
  createdAt: string;
414
444
  metaData: object;
@@ -440,6 +470,7 @@ declare const _default: {
440
470
  auth: {
441
471
  email: string;
442
472
  };
473
+ loginRedirect: string;
443
474
  stripeCustomerId: string;
444
475
  createdAt: string;
445
476
  metaData: object;
@@ -471,6 +502,7 @@ declare const _default: {
471
502
  auth: {
472
503
  email: string;
473
504
  };
505
+ loginRedirect: string;
474
506
  stripeCustomerId: string;
475
507
  createdAt: string;
476
508
  metaData: object;
@@ -502,6 +534,7 @@ declare const _default: {
502
534
  auth: {
503
535
  email: string;
504
536
  };
537
+ loginRedirect: string;
505
538
  stripeCustomerId: string;
506
539
  createdAt: string;
507
540
  metaData: object;
@@ -533,6 +566,7 @@ declare const _default: {
533
566
  auth: {
534
567
  email: string;
535
568
  };
569
+ loginRedirect: string;
536
570
  stripeCustomerId: string;
537
571
  createdAt: string;
538
572
  metaData: object;
@@ -564,6 +598,7 @@ declare const _default: {
564
598
  auth: {
565
599
  email: string;
566
600
  };
601
+ loginRedirect: string;
567
602
  stripeCustomerId: string;
568
603
  createdAt: string;
569
604
  metaData: object;
@@ -601,6 +636,7 @@ declare const _default: {
601
636
  auth: {
602
637
  email: string;
603
638
  };
639
+ loginRedirect: string;
604
640
  stripeCustomerId: string;
605
641
  createdAt: string;
606
642
  metaData: object;
@@ -626,7 +662,6 @@ declare const _default: {
626
662
  }[];
627
663
  };
628
664
  redirect: string;
629
- loginRedirect: string;
630
665
  payment: {
631
666
  requirePayment: string[];
632
667
  requireAuthentication: string[];
@@ -645,6 +680,7 @@ declare const _default: {
645
680
  auth: {
646
681
  email: string;
647
682
  };
683
+ loginRedirect: string;
648
684
  stripeCustomerId: string;
649
685
  createdAt: string;
650
686
  metaData: object;
@@ -670,7 +706,6 @@ declare const _default: {
670
706
  }[];
671
707
  };
672
708
  redirect: string;
673
- loginRedirect: string;
674
709
  payment: {
675
710
  requirePayment: string[];
676
711
  requireAuthentication: string[];
@@ -686,6 +721,7 @@ declare const _default: {
686
721
  auth: {
687
722
  email: string;
688
723
  };
724
+ loginRedirect: string;
689
725
  stripeCustomerId: string;
690
726
  createdAt: string;
691
727
  metaData: object;