@memberstack/dom 1.9.7 → 1.9.8

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.
@@ -11,14 +11,21 @@ export declare namespace Payload {
11
11
  endCursor: string | null;
12
12
  totalCount: number;
13
13
  };
14
+ GetAppAndMember: {
15
+ app: Transforms["App"];
16
+ member: Transforms["Member"] | null;
17
+ };
14
18
  App: {
15
19
  id: string;
16
20
  name: string;
17
21
  mode: "live" | "sandbox";
18
22
  plans: Transforms["Plan"][];
19
23
  contentGroups: Transforms["RestrictedUrlGroup"][];
24
+ emailVerificationEnabled: boolean;
25
+ requireEmailVerification: boolean;
20
26
  customField: Transforms["CustomField"][];
21
27
  branding: Transforms["Branding"];
28
+ authProviders: Transforms["AuthProvider"][];
22
29
  };
23
30
  Branding: {
24
31
  logo: string;
@@ -33,6 +40,7 @@ export declare namespace Payload {
33
40
  name: string;
34
41
  key: string;
35
42
  allowAllMembers: boolean;
43
+ activeMemberHasAccess?: boolean;
36
44
  redirect: string;
37
45
  urls: {
38
46
  url: string;
@@ -54,12 +62,14 @@ export declare namespace Payload {
54
62
  requirePayment: string[];
55
63
  requireAuthentication: string[];
56
64
  };
65
+ contentGroups?: Transforms["RestrictedUrlGroup"][];
57
66
  };
58
67
  MemberJSON: {
59
68
  json: object;
60
69
  };
61
70
  Member: {
62
71
  id: string;
72
+ verified: boolean;
63
73
  auth: {
64
74
  email: string;
65
75
  };
@@ -201,9 +211,9 @@ export declare namespace Payload {
201
211
  AuthenticationClientSecret: string;
202
212
  AuthProvider: {
203
213
  clientId: string;
204
- redirectUri: string;
205
- authorizationEndpoint: string;
206
214
  provider: string;
215
+ providerType: string;
216
+ icon: string;
207
217
  };
208
218
  TotalCheckoutAmount: {
209
219
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberstack/dom",
3
- "version": "1.9.7",
3
+ "version": "1.9.8",
4
4
  "main": "./lib/index.js",
5
5
  "files": [
6
6
  "lib/**/*"
@@ -16,6 +16,7 @@
16
16
  "prepublishOnly": "yarn workspace prebuilt-uis build && npx tsc",
17
17
  "watch": "tsc-watch",
18
18
  "watch:dev": "tsc-watch --onSuccess 'yarn replace:vars:local'",
19
+ "watch:dev-ngrok": "tsc-watch --onSuccess 'yarn replace:vars:local endpoint=https://client-testing.ngrok.io'",
19
20
  "watch:dev-api": "tsc-watch --onSuccess 'yarn replace:vars:local endpoint=https://dev-client.memberstack.com'",
20
21
  "clean": "rm -rf node_modules",
21
22
  "replace:vars:local": "ts-node utils/replaceDynamicVars -development",