@base44-preview/sdk 0.8.39-pr.234.b3ce1e1 → 0.8.39-pr.234.de0df52

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.
@@ -114,6 +114,7 @@ export interface AppUserConnectorConnectionResponse {
114
114
  * | Slack Bot | `slackbot` |
115
115
  * | Snowflake | `snowflake` |
116
116
  * | Splitwise | `splitwise` |
117
+ * | Square | `square` |
117
118
  * | Supabase | `supabase` |
118
119
  * | TikTok | `tiktok` |
119
120
  * | Typeform | `typeform` |
@@ -5,7 +5,6 @@ import { SsoModule } from "./sso.types";
5
5
  *
6
6
  * @param axios - Axios instance
7
7
  * @param appId - Application ID
8
- * @param userToken - User authentication token
9
8
  * @returns SSO module with authentication methods
10
9
  * @internal
11
10
  */
@@ -3,7 +3,6 @@
3
3
  *
4
4
  * @param axios - Axios instance
5
5
  * @param appId - Application ID
6
- * @param userToken - User authentication token
7
6
  * @returns SSO module with authentication methods
8
7
  * @internal
9
8
  */
@@ -18,6 +17,8 @@ export function createSsoModule(axios, appId) {
18
17
  async getIdToken(userid) {
19
18
  const url = `/apps/${appId}/auth/sso/idtoken/${userid}`;
20
19
  const response = await axios.get(url);
20
+ // The configured response interceptor unwraps response.data at runtime,
21
+ // while AxiosInstance retains AxiosResponse typings.
21
22
  return response;
22
23
  },
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.39-pr.234.b3ce1e1",
3
+ "version": "0.8.39-pr.234.de0df52",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",