@wix/members 1.0.88 → 1.0.90
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/members",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.90",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/members_authentication": "1.0.
|
|
22
|
-
"@wix/members_badges": "1.0.
|
|
23
|
-
"@wix/members_members": "1.0.
|
|
21
|
+
"@wix/members_authentication": "1.0.18",
|
|
22
|
+
"@wix/members_badges": "1.0.26",
|
|
23
|
+
"@wix/members_members": "1.0.32"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
26
27
|
"glob": "^10.4.1",
|
|
27
28
|
"rollup": "^4.18.0",
|
|
28
29
|
"rollup-plugin-dts": "^6.1.1",
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"fqdn": ""
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "39248d25d1538c8015bf9bae14692a23358f43a3d5afef028d82fe3b"
|
|
48
49
|
}
|
|
@@ -307,7 +307,6 @@ interface ListMembersByBadgeOptions {
|
|
|
307
307
|
type RESTFunctionDescriptor$2<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$2) => T;
|
|
308
308
|
interface HttpClient$2 {
|
|
309
309
|
request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
|
|
310
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
311
310
|
}
|
|
312
311
|
type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
|
|
313
312
|
type HttpResponse$2<T = any> = {
|
|
@@ -333,20 +332,13 @@ type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
|
333
332
|
__type: 'event-definition';
|
|
334
333
|
type: Type;
|
|
335
334
|
isDomainEvent?: boolean;
|
|
336
|
-
transformations?:
|
|
335
|
+
transformations?: unknown;
|
|
337
336
|
__payload: Payload;
|
|
338
337
|
};
|
|
339
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
338
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
340
339
|
type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
|
|
341
340
|
type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
|
|
342
341
|
|
|
343
|
-
declare global {
|
|
344
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
345
|
-
interface SymbolConstructor {
|
|
346
|
-
readonly observable: symbol;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
342
|
declare function createBadge$1(httpClient: HttpClient$2): (badge: Badge) => Promise<Badge & {
|
|
351
343
|
_id: string;
|
|
352
344
|
}>;
|
|
@@ -837,7 +829,6 @@ interface SendSetPasswordEmailOptions {
|
|
|
837
829
|
type RESTFunctionDescriptor$1<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$1) => T;
|
|
838
830
|
interface HttpClient$1 {
|
|
839
831
|
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
|
840
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
841
832
|
}
|
|
842
833
|
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
|
843
834
|
type HttpResponse$1<T = any> = {
|
|
@@ -860,13 +851,6 @@ type APIMetadata$1 = {
|
|
|
860
851
|
};
|
|
861
852
|
type BuildRESTFunction$1<T extends RESTFunctionDescriptor$1> = T extends RESTFunctionDescriptor$1<infer U> ? U : never;
|
|
862
853
|
|
|
863
|
-
declare global {
|
|
864
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
865
|
-
interface SymbolConstructor {
|
|
866
|
-
readonly observable: symbol;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
854
|
declare function changeLoginEmail$1(httpClient: HttpClient$1): (_id: string, newEmail: string, options?: ChangeLoginEmailOptions) => Promise<ChangeLoginEmailResponse & ChangeLoginEmailResponseNonNullableFields>;
|
|
871
855
|
declare function approve$1(httpClient: HttpClient$1): (options?: ApproveOptions) => Promise<ApproveMemberResponse>;
|
|
872
856
|
declare function block$1(httpClient: HttpClient$1): (options?: BlockOptions) => Promise<void>;
|
|
@@ -1720,7 +1704,6 @@ interface UpdateMember {
|
|
|
1720
1704
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
1721
1705
|
interface HttpClient {
|
|
1722
1706
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
1723
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
1724
1707
|
}
|
|
1725
1708
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
1726
1709
|
type HttpResponse<T = any> = {
|
|
@@ -1746,20 +1729,13 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
1746
1729
|
__type: 'event-definition';
|
|
1747
1730
|
type: Type;
|
|
1748
1731
|
isDomainEvent?: boolean;
|
|
1749
|
-
transformations?:
|
|
1732
|
+
transformations?: unknown;
|
|
1750
1733
|
__payload: Payload;
|
|
1751
1734
|
};
|
|
1752
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
1735
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
1753
1736
|
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
1754
1737
|
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
1755
1738
|
|
|
1756
|
-
declare global {
|
|
1757
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1758
|
-
interface SymbolConstructor {
|
|
1759
|
-
readonly observable: symbol;
|
|
1760
|
-
}
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
1739
|
declare function updateCurrentMemberSlug$1(httpClient: HttpClient): (slug: string) => Promise<UpdateMySlugResponse & UpdateMySlugResponseNonNullableFields>;
|
|
1764
1740
|
declare function joinCommunity$1(httpClient: HttpClient): () => Promise<JoinCommunityResponse & JoinCommunityResponseNonNullableFields>;
|
|
1765
1741
|
declare function leaveCommunity$1(httpClient: HttpClient): () => Promise<LeaveCommunityResponse & LeaveCommunityResponseNonNullableFields>;
|
|
@@ -562,7 +562,6 @@ interface ListMembersByBadgeOptions {
|
|
|
562
562
|
|
|
563
563
|
interface HttpClient$2 {
|
|
564
564
|
request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
|
|
565
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
566
565
|
}
|
|
567
566
|
type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
|
|
568
567
|
type HttpResponse$2<T = any> = {
|
|
@@ -587,17 +586,10 @@ type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
|
587
586
|
__type: 'event-definition';
|
|
588
587
|
type: Type;
|
|
589
588
|
isDomainEvent?: boolean;
|
|
590
|
-
transformations?:
|
|
589
|
+
transformations?: unknown;
|
|
591
590
|
__payload: Payload;
|
|
592
591
|
};
|
|
593
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
594
|
-
|
|
595
|
-
declare global {
|
|
596
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
597
|
-
interface SymbolConstructor {
|
|
598
|
-
readonly observable: symbol;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
592
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
601
593
|
|
|
602
594
|
declare const __metadata$2: {
|
|
603
595
|
PACKAGE_NAME: string;
|
|
@@ -1501,7 +1493,6 @@ interface SendSetPasswordEmailOptions {
|
|
|
1501
1493
|
|
|
1502
1494
|
interface HttpClient$1 {
|
|
1503
1495
|
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
|
1504
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
1505
1496
|
}
|
|
1506
1497
|
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
|
1507
1498
|
type HttpResponse$1<T = any> = {
|
|
@@ -1523,13 +1514,6 @@ type APIMetadata$1 = {
|
|
|
1523
1514
|
packageName?: string;
|
|
1524
1515
|
};
|
|
1525
1516
|
|
|
1526
|
-
declare global {
|
|
1527
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1528
|
-
interface SymbolConstructor {
|
|
1529
|
-
readonly observable: symbol;
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
1517
|
declare const __metadata$1: {
|
|
1534
1518
|
PACKAGE_NAME: string;
|
|
1535
1519
|
};
|
|
@@ -3318,7 +3302,6 @@ interface UpdateMember {
|
|
|
3318
3302
|
|
|
3319
3303
|
interface HttpClient {
|
|
3320
3304
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
3321
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
3322
3305
|
}
|
|
3323
3306
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
3324
3307
|
type HttpResponse<T = any> = {
|
|
@@ -3343,17 +3326,10 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
3343
3326
|
__type: 'event-definition';
|
|
3344
3327
|
type: Type;
|
|
3345
3328
|
isDomainEvent?: boolean;
|
|
3346
|
-
transformations?:
|
|
3329
|
+
transformations?: unknown;
|
|
3347
3330
|
__payload: Payload;
|
|
3348
3331
|
};
|
|
3349
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
3350
|
-
|
|
3351
|
-
declare global {
|
|
3352
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
3353
|
-
interface SymbolConstructor {
|
|
3354
|
-
readonly observable: symbol;
|
|
3355
|
-
}
|
|
3356
|
-
}
|
|
3332
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
3357
3333
|
|
|
3358
3334
|
declare const __metadata: {
|
|
3359
3335
|
PACKAGE_NAME: string;
|