@lovable.dev/cloud-auth-js 0.0.2-dev.1 → 0.0.3-dev.1
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -159,7 +159,7 @@ function createAuth(config = {}) {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
// src/index.ts
|
|
162
|
-
function createLovableAuth(config) {
|
|
162
|
+
function createLovableAuth(config = {}) {
|
|
163
163
|
return createAuth(config);
|
|
164
164
|
}
|
|
165
165
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.d.cts
CHANGED
|
@@ -28,6 +28,6 @@ interface LovableAuth {
|
|
|
28
28
|
signInWithOAuth: (provider: OAuthProvider, opts?: SignInWithOAuthOptions) => Promise<SignInWithOAuthResult>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
declare function createLovableAuth(config
|
|
31
|
+
declare function createLovableAuth(config?: LovableAuthConfig): LovableAuth;
|
|
32
32
|
|
|
33
33
|
export { type LovableAuth, type LovableAuthConfig, type OAuthProvider, type OAuthTokens, type SignInWithOAuthOptions, type SignInWithOAuthResult, createLovableAuth };
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ interface LovableAuth {
|
|
|
28
28
|
signInWithOAuth: (provider: OAuthProvider, opts?: SignInWithOAuthOptions) => Promise<SignInWithOAuthResult>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
declare function createLovableAuth(config
|
|
31
|
+
declare function createLovableAuth(config?: LovableAuthConfig): LovableAuth;
|
|
32
32
|
|
|
33
33
|
export { type LovableAuth, type LovableAuthConfig, type OAuthProvider, type OAuthTokens, type SignInWithOAuthOptions, type SignInWithOAuthResult, createLovableAuth };
|
package/dist/index.js
CHANGED