@base44-preview/sdk 0.8.19-pr.127.9e0f4e8 → 0.8.19-pr.128.524a3e0

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.
@@ -179,22 +179,29 @@ export interface AuthModule {
179
179
  * Supported providers:
180
180
  * - `'google'` - {@link https://developers.google.com/identity/protocols/oauth2 | Google OAuth}. Enabled by default.
181
181
  * - `'microsoft'` - {@link https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow | Microsoft OAuth}. Enable Microsoft in your app's authentication settings before specifying this provider.
182
- * - `'facebook'` - {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable this in your app's authentication settings before using.
182
+ * - `'facebook'` - {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable Facebook in your app's authentication settings before using.
183
+ * - `'apple'` - {@link https://developer.apple.com/sign-in-with-apple/ | Sign in with Apple}. Enable Apple in your app's authentication settings before using this provider.
183
184
  *
184
- * @param provider - The authentication provider to use: `'google'`, `'microsoft'`, or `'facebook'`.
185
+ * @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, or `'apple'`.
185
186
  * @param fromUrl - URL to redirect to after successful authentication. Defaults to `'/'`.
186
187
  *
187
188
  * @example
188
189
  * ```typescript
189
- * // Login with Google and return to current page
190
+ * // Google
190
191
  * base44.auth.loginWithProvider('google', window.location.pathname);
191
192
  * ```
192
193
  *
193
194
  * @example
194
195
  * ```typescript
195
- * // Login with Microsoft and redirect to dashboard
196
+ * // Microsoft
196
197
  * base44.auth.loginWithProvider('microsoft', '/dashboard');
197
198
  * ```
199
+ *
200
+ * @example
201
+ * ```typescript
202
+ * // Apple
203
+ * base44.auth.loginWithProvider('apple', '/dashboard');
204
+ * ```
198
205
  */
199
206
  loginWithProvider(provider: string, fromUrl?: string): void;
200
207
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.19-pr.127.9e0f4e8",
3
+ "version": "0.8.19-pr.128.524a3e0",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",