@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.
- package/lib/index.d.ts +196 -2
- package/lib/methods/dom/main-dom.js +477 -124
- package/lib/methods/dom/methods.js +8 -1
- package/lib/methods/index.d.ts +196 -2
- package/lib/methods/requests/index.d.ts +6 -2
- package/lib/methods/requests/index.js +115 -5
- package/lib/methods/requests/requests.js +4 -2
- package/lib/types/params.d.ts +10 -0
- package/lib/types/payloads.d.ts +1 -0
- package/lib/types/utils/payloads.d.ts +12 -2
- package/package.json +2 -1
|
@@ -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.
|
|
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",
|