@medusajs/types 1.12.0-snapshot-20240904063643 → 1.12.0-snapshot-20240904084135
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/common/provider.d.ts +0 -8
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/providers/github.d.ts +0 -1
- package/dist/auth/providers/github.d.ts.map +1 -1
- package/dist/auth/providers/google.d.ts +0 -1
- package/dist/auth/providers/google.d.ts.map +1 -1
- package/dist/auth/service.d.ts +1 -1
- package/package.json +1 -1
@@ -29,14 +29,6 @@ export type AuthenticationResponse = {
|
|
29
29
|
* specified location.
|
30
30
|
*/
|
31
31
|
location?: string;
|
32
|
-
/**
|
33
|
-
* Some authentication providers support redirecting to a specified URL on
|
34
|
-
* success. In those cases, the URL to redirect to is set in this field.
|
35
|
-
*
|
36
|
-
* So, if `success` is true, there's no `location` set, and this field
|
37
|
-
* is set, you can redirect to this URL.
|
38
|
-
*/
|
39
|
-
successRedirectUrl?: string;
|
40
32
|
};
|
41
33
|
/**
|
42
34
|
* @interface
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/auth/common/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,eAAe,CAAA;IAE9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/auth/common/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,eAAe,CAAA;IAE9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/github.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/github.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;CACpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"google.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/google.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"google.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/google.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;CACpB"}
|
package/dist/auth/service.d.ts
CHANGED
@@ -56,7 +56,7 @@ export interface IAuthModuleService extends IModuleService {
|
|
56
56
|
* `req` is an instance of the `MedusaRequest` object:
|
57
57
|
*
|
58
58
|
* ```ts
|
59
|
-
* const { success, authIdentity, error
|
59
|
+
* const { success, authIdentity, error } =
|
60
60
|
* await authModuleService.validateCallback("google", {
|
61
61
|
* url: req.url,
|
62
62
|
* headers: req.headers,
|