@base44/sdk 0.1.0 → 0.1.2

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 CHANGED
@@ -19,7 +19,7 @@ import { createClient } from '@base44/sdk';
19
19
 
20
20
  // Create a client instance
21
21
  const base44 = createClient({
22
- serverUrl: 'https://app.base44.com', // Optional, defaults to 'https://app.base44.com'
22
+ serverUrl: 'https://base44.app', // Optional, defaults to 'https://base44.app'
23
23
  appId: 'your-app-id', // Required
24
24
  env: 'prod', // Optional, defaults to 'prod'
25
25
  token: 'your-token', // Optional
@@ -126,7 +126,7 @@ import { getAccessToken, saveAccessToken, removeAccessToken } from '@base44/sdk/
126
126
  const base44 = createClient({ appId: 'your-app-id' });
127
127
 
128
128
  // Redirect to the login page
129
- // This will redirect to: app.base44.com/login?from_url=http://your-app.com/dashboard&app_id=your-app-id
129
+ // This will redirect to: base44.app/login?from_url=http://your-app.com/dashboard&app_id=your-app-id
130
130
  function handleLogin() {
131
131
  base44.auth.login('/dashboard');
132
132
  }
@@ -483,7 +483,7 @@ E2E tests require access to a Base44 API. To run these tests:
483
483
  1. Copy `tests/.env.example` to `tests/.env`
484
484
  2. Fill in your Base44 API credentials in the `.env` file:
485
485
  ```
486
- BASE44_SERVER_URL=https://app.base44.com
486
+ BASE44_SERVER_URL=https://base44.app
487
487
  BASE44_APP_ID=your_app_id_here
488
488
  BASE44_AUTH_TOKEN=your_auth_token_here
489
489
  ```