@base44-preview/sdk 0.8.39-pr.234.8826166 → 0.8.39-pr.234.9e8b8b2
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` |
|
package/dist/modules/sso.d.ts
CHANGED
package/dist/modules/sso.js
CHANGED
|
@@ -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
|
*/
|
|
@@ -17,8 +16,7 @@ export function createSsoModule(axios, appId) {
|
|
|
17
16
|
// Get the stored SSO OIDC ID token for a specific user
|
|
18
17
|
async getIdToken(userid) {
|
|
19
18
|
const url = `/apps/${appId}/auth/sso/idtoken/${userid}`;
|
|
20
|
-
|
|
21
|
-
return response;
|
|
19
|
+
return axios.get(url);
|
|
22
20
|
},
|
|
23
21
|
};
|
|
24
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/sdk",
|
|
3
|
-
"version": "0.8.39-pr.234.
|
|
3
|
+
"version": "0.8.39-pr.234.9e8b8b2",
|
|
4
4
|
"description": "JavaScript SDK for Base44 API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"create-docs:process": "node scripts/mintlify-post-processing/file-processing/file-processing.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"axios": "^1.
|
|
29
|
+
"axios": "^1.18.1",
|
|
30
30
|
"socket.io-client": "^4.8.3",
|
|
31
31
|
"uuid": "^13.0.2"
|
|
32
32
|
},
|