@gomusdev/web-components 4.8.2 → 4.9.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/README.md +6 -0
- package/dist-js/components/auth/setPassword/SetPassword.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.iife.js +116 -9
- package/dist-js/gomus-webcomponents.js +116 -9
- package/dist-js/gomus-webcomponents.min.iife.js +18 -18
- package/dist-js/gomus-webcomponents.min.js +2654 -2570
- package/dist-js/src/components/auth/passwordReset/PasswordReset.spec.d.ts +1 -0
- package/dist-js/src/components/auth/setPassword/SetPassword.spec.d.ts +1 -0
- package/dist-js/src/lib/stores/shop.passwordReset.spec.d.ts +1 -0
- package/dist-js/src/lib/stores/shop.svelte.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -496,7 +496,23 @@ export declare class Shop {
|
|
|
496
496
|
}): Promise<PasswordUpdateResponse>;
|
|
497
497
|
passwordReset(params: {
|
|
498
498
|
email: string;
|
|
499
|
+
redirect_url?: string;
|
|
499
500
|
}): Promise<PasswordResetResponse>;
|
|
501
|
+
/**
|
|
502
|
+
* Sets a new password using the one-time credentials the backend appends to
|
|
503
|
+
* the reset-mail redirect (`access-token`, `client`, `uid` query params).
|
|
504
|
+
* Unlike `updatePassword` no `current_password` is needed — the reset link
|
|
505
|
+
* flags the session with `allow_password_change`. The 200 response carries
|
|
506
|
+
* fresh auth headers which AuthMiddleware ingests, signing the customer in.
|
|
507
|
+
*/
|
|
508
|
+
setNewPassword(params: {
|
|
509
|
+
password: string;
|
|
510
|
+
password_confirmation: string;
|
|
511
|
+
}, headers: {
|
|
512
|
+
'access-token': string;
|
|
513
|
+
client: string;
|
|
514
|
+
uid: string;
|
|
515
|
+
}): Promise<PasswordUpdateResponse>;
|
|
500
516
|
activateMembership(params: MembershipActivationParams): Promise<MembershipActivationResponse>;
|
|
501
517
|
checkout(params: CheckoutParams): Promise<CheckoutResponse>;
|
|
502
518
|
createCart(params: PostCartParams): Promise<PostCartResponse>;
|