@intlayer/api 5.7.2-canary.2 → 5.7.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/dist/cjs/getIntlayerAPI/auth.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/auth.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
- package/dist/esm/getIntlayerAPI/auth.mjs +2 -3
- package/dist/esm/getIntlayerAPI/auth.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
- package/dist/types/getIntlayerAPI/auth.d.ts +2 -2
- package/dist/types/getIntlayerAPI/auth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -32,16 +32,15 @@ __export(auth_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(auth_exports);
|
|
34
34
|
var import_built = __toESM(require("@intlayer/config/built"));
|
|
35
|
-
|
|
36
|
-
const getAuthAPI = (intlayerConfig) => {
|
|
35
|
+
const getAuthAPI = async (intlayerConfig) => {
|
|
37
36
|
const backendURL = intlayerConfig?.editor?.backendURL ?? import_built.default.editor?.backendURL;
|
|
38
|
-
const { clientId, clientSecret } = intlayerConfig?.editor ?? {};
|
|
39
37
|
if (!backendURL) {
|
|
40
38
|
throw new Error(
|
|
41
39
|
"Backend URL is not defined in the Intlayer configuration."
|
|
42
40
|
);
|
|
43
41
|
}
|
|
44
|
-
const
|
|
42
|
+
const { createAuthClient } = await import("better-auth/client");
|
|
43
|
+
const authClient = createAuthClient({
|
|
45
44
|
baseURL: backendURL,
|
|
46
45
|
withCredentials: true
|
|
47
46
|
// makes fetch forward cookies
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/getIntlayerAPI/auth.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/config/client';\nimport { createAuthClient } from 'better-auth/client';\n\ntype AuthClient = ReturnType<typeof createAuthClient>;\n\nexport interface AuthAPI {\n signInEmail: AuthClient['signIn']['email'];\n signUpEmail: AuthClient['signUp']['email'];\n signOut: AuthClient['signOut'];\n signInSocial: AuthClient['signIn']['social'];\n linkSocial: AuthClient['linkSocial'];\n changePasswordSession: AuthClient['changePassword'];\n requestPasswordResetSession: AuthClient['requestPasswordReset'];\n resetPassword: AuthClient['resetPassword'];\n verifyEmailSession: AuthClient['verifyEmail'];\n getSession: AuthClient['getSession'];\n forgetPassword: AuthClient['forgetPassword'];\n sendVerificationEmail: AuthClient['sendVerificationEmail'];\n changeEmail: AuthClient['changeEmail'];\n deleteUser: AuthClient['deleteUser'];\n revokeSession: AuthClient['revokeSession'];\n revokeSessions: AuthClient['revokeSessions'];\n revokeOtherSessions: AuthClient['revokeOtherSessions'];\n listAccounts: AuthClient['listAccounts'];\n unlinkAccount: AuthClient['unlinkAccount'];\n refreshToken: AuthClient['refreshToken'];\n getAccessToken: AuthClient['getAccessToken'];\n accountInfo: AuthClient['accountInfo'];\n updateUser: AuthClient['updateUser'];\n listSessions: AuthClient['listSessions'];\n}\n\nexport const getAuthAPI = (intlayerConfig?: IntlayerConfig): AuthAPI => {\n const backendURL =\n intlayerConfig?.editor?.backendURL ?? configuration.editor?.backendURL;\n
|
|
1
|
+
{"version":3,"sources":["../../../src/getIntlayerAPI/auth.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/config/client';\nimport type { createAuthClient } from 'better-auth/client';\n\ntype AuthClient = ReturnType<typeof createAuthClient>;\n\nexport interface AuthAPI {\n signInEmail: AuthClient['signIn']['email'];\n signUpEmail: AuthClient['signUp']['email'];\n signOut: AuthClient['signOut'];\n signInSocial: AuthClient['signIn']['social'];\n linkSocial: AuthClient['linkSocial'];\n changePasswordSession: AuthClient['changePassword'];\n requestPasswordResetSession: AuthClient['requestPasswordReset'];\n resetPassword: AuthClient['resetPassword'];\n verifyEmailSession: AuthClient['verifyEmail'];\n getSession: AuthClient['getSession'];\n forgetPassword: AuthClient['forgetPassword'];\n sendVerificationEmail: AuthClient['sendVerificationEmail'];\n changeEmail: AuthClient['changeEmail'];\n deleteUser: AuthClient['deleteUser'];\n revokeSession: AuthClient['revokeSession'];\n revokeSessions: AuthClient['revokeSessions'];\n revokeOtherSessions: AuthClient['revokeOtherSessions'];\n listAccounts: AuthClient['listAccounts'];\n unlinkAccount: AuthClient['unlinkAccount'];\n refreshToken: AuthClient['refreshToken'];\n getAccessToken: AuthClient['getAccessToken'];\n accountInfo: AuthClient['accountInfo'];\n updateUser: AuthClient['updateUser'];\n listSessions: AuthClient['listSessions'];\n}\n\nexport const getAuthAPI = async (\n intlayerConfig?: IntlayerConfig\n): Promise<AuthAPI> => {\n const backendURL =\n intlayerConfig?.editor?.backendURL ?? configuration.editor?.backendURL;\n\n if (!backendURL) {\n throw new Error(\n 'Backend URL is not defined in the Intlayer configuration.'\n );\n }\n\n const { createAuthClient } = await import('better-auth/client');\n /*\n * Extract each method to avoid type inference issues at build time.\n */\n const authClient: AuthClient = createAuthClient({\n baseURL: backendURL,\n withCredentials: true, // makes fetch forward cookies\n });\n\n const signInEmail: AuthClient['signIn']['email'] = async (...args) =>\n await authClient.signIn.email(...args);\n\n const signInSocial: AuthClient['signIn']['social'] = async (...args) =>\n await authClient.signIn.social(...args);\n\n const signUpEmail: AuthClient['signUp']['email'] = async (...args) =>\n await authClient.signUp.email(...args);\n\n const signOut: AuthClient['signOut'] = async (...args) =>\n await authClient.signOut(...args);\n\n const changePasswordSession: AuthClient['changePassword'] = async (...args) =>\n await authClient.changePassword(...args);\n\n const requestPasswordResetSession: AuthClient['requestPasswordReset'] =\n async (...args) => await authClient.requestPasswordReset(...args);\n\n const resetPassword = authClient.resetPassword;\n\n const verifyEmailSession: AuthClient['verifyEmail'] = async (...args) =>\n await authClient.verifyEmail(...args);\n\n const getSession: AuthClient['getSession'] = async (...args) =>\n await authClient.getSession(...args);\n\n const forgetPassword: AuthClient['forgetPassword'] = async (...args) =>\n await authClient.forgetPassword(...args);\n\n const sendVerificationEmail: AuthClient['sendVerificationEmail'] = async (\n ...args\n ) => await authClient.sendVerificationEmail(...args);\n\n const changeEmail: AuthClient['changeEmail'] = async (...args) =>\n await authClient.changeEmail(...args);\n\n const deleteUser = authClient.deleteUser;\n\n const revokeSession: AuthClient['revokeSession'] = async (...args) =>\n await authClient.revokeSession(...args);\n\n const revokeSessions: AuthClient['revokeSessions'] = async (...args) =>\n await authClient.revokeSessions(...args);\n\n const revokeOtherSessions: AuthClient['revokeOtherSessions'] = async (\n ...args\n ) => await authClient.revokeOtherSessions(...args);\n\n const linkSocial: AuthClient['linkSocial'] = async (...args) =>\n await authClient.linkSocial(...args);\n\n const listAccounts: AuthClient['listAccounts'] = async (...args) =>\n await authClient.listAccounts(...args);\n\n const unlinkAccount: AuthClient['unlinkAccount'] = async (...args) =>\n await authClient.unlinkAccount(...args);\n\n const refreshToken: AuthClient['refreshToken'] = async (...args) =>\n await authClient.refreshToken(...args);\n\n const getAccessToken: AuthClient['getAccessToken'] = async (...args) =>\n await authClient.getAccessToken(...args);\n\n const accountInfo: AuthClient['accountInfo'] = async (...args) =>\n await authClient.accountInfo(...args);\n\n const updateUser: AuthClient['updateUser'] = async (...args) =>\n await authClient.updateUser(...args);\n\n const listSessions: AuthClient['listSessions'] = async (...args) =>\n await authClient.listSessions(...args);\n\n return {\n signInEmail,\n signUpEmail,\n signOut,\n signInSocial,\n linkSocial,\n changePasswordSession,\n requestPasswordResetSession,\n resetPassword,\n verifyEmailSession,\n getSession,\n forgetPassword,\n sendVerificationEmail,\n changeEmail,\n deleteUser,\n revokeSession,\n revokeSessions,\n revokeOtherSessions,\n listAccounts,\n unlinkAccount,\n refreshToken,\n getAccessToken,\n accountInfo,\n updateUser,\n listSessions,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AA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AG,IAAI;AAEzC,QAAM,sBAAyD,UAC1D,SACA,MAAM,WAAW,oBAAoB,GAAG,IAAI;AAEjD,QAAM,aAAuC,UAAU,SACrD,MAAM,WAAW,WAAW,GAAG,IAAI;AAErC,QAAM,eAA2C,UAAU,SACzD,MAAM,WAAW,aAAa,GAAG,IAAI;AAEvC,QAAM,gBAA6C,UAAU,SAC3D,MAAM,WAAW,cAAc,GAAG,IAAI;AAExC,QAAM,eAA2C,UAAU,SACzD,MAAM,WAAW,aAAa,GAAG,IAAI;AAEvC,QAAM,iBAA+C,UAAU,SAC7D,MAAM,WAAW,eAAe,GAAG,IAAI;AAEzC,QAAM,cAAyC,UAAU,SACvD,MAAM,WAAW,YAAY,GAAG,IAAI;AAEtC,QAAM,aAAuC,UAAU,SACrD,MAAM,WAAW,WAAW,GAAG,IAAI;AAErC,QAAM,eAA2C,UAAU,SACzD,MAAM,WAAW,aAAa,GAAG,IAAI;AAEvC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":["configuration"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/getIntlayerAPI/index.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/config/client';\nimport type { FetcherOptions } from '../fetcher';\nimport { getAiAPI } from './ai';\nimport { AuthAPI, getAuthAPI } from './auth';\nimport { getDictionaryAPI } from './dictionary';\nimport { getEditorAPI } from './editor';\nimport { getNewsletterAPI } from './newsletter';\nimport { getOAuthAPI, oAuthAPI } from './oAuth';\nimport { getOrganizationAPI } from './organization';\nimport { getProjectAPI } from './project';\nimport { getSearchAPI } from './search';\nimport { getStripeAPI } from './stripe';\nimport { getTagAPI } from './tag';\nimport { getUserAPI } from './user';\n\ninterface IntlayerAPIReturn {\n organization: ReturnType<typeof getOrganizationAPI>;\n project: ReturnType<typeof getProjectAPI>;\n user: ReturnType<typeof getUserAPI>;\n auth: AuthAPI
|
|
1
|
+
{"version":3,"sources":["../../../src/getIntlayerAPI/index.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/config/client';\nimport type { FetcherOptions } from '../fetcher';\nimport { getAiAPI } from './ai';\nimport { AuthAPI, getAuthAPI } from './auth';\nimport { getDictionaryAPI } from './dictionary';\nimport { getEditorAPI } from './editor';\nimport { getNewsletterAPI } from './newsletter';\nimport { getOAuthAPI, oAuthAPI } from './oAuth';\nimport { getOrganizationAPI } from './organization';\nimport { getProjectAPI } from './project';\nimport { getSearchAPI } from './search';\nimport { getStripeAPI } from './stripe';\nimport { getTagAPI } from './tag';\nimport { getUserAPI } from './user';\n\ninterface IntlayerAPIReturn {\n organization: ReturnType<typeof getOrganizationAPI>;\n project: ReturnType<typeof getProjectAPI>;\n user: ReturnType<typeof getUserAPI>;\n auth: Promise<AuthAPI>;\n oAuth: oAuthAPI;\n dictionary: ReturnType<typeof getDictionaryAPI>;\n stripe: ReturnType<typeof getStripeAPI>;\n ai: ReturnType<typeof getAiAPI>;\n tag: ReturnType<typeof getTagAPI>;\n search: ReturnType<typeof getSearchAPI>;\n editor: ReturnType<typeof getEditorAPI>;\n newsletter: ReturnType<typeof getNewsletterAPI>;\n}\n\nexport const getIntlayerAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n): IntlayerAPIReturn => ({\n organization: getOrganizationAPI(authAPIOptions, intlayerConfig),\n project: getProjectAPI(authAPIOptions, intlayerConfig),\n user: getUserAPI(authAPIOptions, intlayerConfig),\n auth: getAuthAPI(intlayerConfig),\n oAuth: getOAuthAPI(intlayerConfig),\n dictionary: getDictionaryAPI(authAPIOptions, intlayerConfig),\n stripe: getStripeAPI(authAPIOptions, intlayerConfig),\n ai: getAiAPI(authAPIOptions, intlayerConfig),\n tag: getTagAPI(authAPIOptions, intlayerConfig),\n search: getSearchAPI(authAPIOptions, intlayerConfig),\n editor: getEditorAPI(authAPIOptions, intlayerConfig),\n newsletter: getNewsletterAPI(authAPIOptions, intlayerConfig),\n});\n\nexport type IntlayerAPI = ReturnType<typeof getIntlayerAPI>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,gBAAyB;AACzB,kBAAoC;AACpC,wBAAiC;AACjC,oBAA6B;AAC7B,wBAAiC;AACjC,mBAAsC;AACtC,0BAAmC;AACnC,qBAA8B;AAC9B,oBAA6B;AAC7B,oBAA6B;AAC7B,iBAA0B;AAC1B,kBAA2B;AAiBpB,MAAM,iBAAiB,CAC5B,iBAAiC,CAAC,GAClC,oBACuB;AAAA,EACvB,kBAAc,wCAAmB,gBAAgB,cAAc;AAAA,EAC/D,aAAS,8BAAc,gBAAgB,cAAc;AAAA,EACrD,UAAM,wBAAW,gBAAgB,cAAc;AAAA,EAC/C,UAAM,wBAAW,cAAc;AAAA,EAC/B,WAAO,0BAAY,cAAc;AAAA,EACjC,gBAAY,oCAAiB,gBAAgB,cAAc;AAAA,EAC3D,YAAQ,4BAAa,gBAAgB,cAAc;AAAA,EACnD,QAAI,oBAAS,gBAAgB,cAAc;AAAA,EAC3C,SAAK,sBAAU,gBAAgB,cAAc;AAAA,EAC7C,YAAQ,4BAAa,gBAAgB,cAAc;AAAA,EACnD,YAAQ,4BAAa,gBAAgB,cAAc;AAAA,EACnD,gBAAY,oCAAiB,gBAAgB,cAAc;AAC7D;","names":[]}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import configuration from "@intlayer/config/built";
|
|
2
|
-
|
|
3
|
-
const getAuthAPI = (intlayerConfig) => {
|
|
2
|
+
const getAuthAPI = async (intlayerConfig) => {
|
|
4
3
|
const backendURL = intlayerConfig?.editor?.backendURL ?? configuration.editor?.backendURL;
|
|
5
|
-
const { clientId, clientSecret } = intlayerConfig?.editor ?? {};
|
|
6
4
|
if (!backendURL) {
|
|
7
5
|
throw new Error(
|
|
8
6
|
"Backend URL is not defined in the Intlayer configuration."
|
|
9
7
|
);
|
|
10
8
|
}
|
|
9
|
+
const { createAuthClient } = await import("better-auth/client");
|
|
11
10
|
const authClient = createAuthClient({
|
|
12
11
|
baseURL: backendURL,
|
|
13
12
|
withCredentials: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/getIntlayerAPI/auth.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/config/client';\nimport { createAuthClient } from 'better-auth/client';\n\ntype AuthClient = ReturnType<typeof createAuthClient>;\n\nexport interface AuthAPI {\n signInEmail: AuthClient['signIn']['email'];\n signUpEmail: AuthClient['signUp']['email'];\n signOut: AuthClient['signOut'];\n signInSocial: AuthClient['signIn']['social'];\n linkSocial: AuthClient['linkSocial'];\n changePasswordSession: AuthClient['changePassword'];\n requestPasswordResetSession: AuthClient['requestPasswordReset'];\n resetPassword: AuthClient['resetPassword'];\n verifyEmailSession: AuthClient['verifyEmail'];\n getSession: AuthClient['getSession'];\n forgetPassword: AuthClient['forgetPassword'];\n sendVerificationEmail: AuthClient['sendVerificationEmail'];\n changeEmail: AuthClient['changeEmail'];\n deleteUser: AuthClient['deleteUser'];\n revokeSession: AuthClient['revokeSession'];\n revokeSessions: AuthClient['revokeSessions'];\n revokeOtherSessions: AuthClient['revokeOtherSessions'];\n listAccounts: AuthClient['listAccounts'];\n unlinkAccount: AuthClient['unlinkAccount'];\n refreshToken: AuthClient['refreshToken'];\n getAccessToken: AuthClient['getAccessToken'];\n accountInfo: AuthClient['accountInfo'];\n updateUser: AuthClient['updateUser'];\n listSessions: AuthClient['listSessions'];\n}\n\nexport const getAuthAPI = (intlayerConfig?: IntlayerConfig): AuthAPI => {\n const backendURL =\n intlayerConfig?.editor?.backendURL ?? configuration.editor?.backendURL;\n
|
|
1
|
+
{"version":3,"sources":["../../../src/getIntlayerAPI/auth.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/config/client';\nimport type { createAuthClient } from 'better-auth/client';\n\ntype AuthClient = ReturnType<typeof createAuthClient>;\n\nexport interface AuthAPI {\n signInEmail: AuthClient['signIn']['email'];\n signUpEmail: AuthClient['signUp']['email'];\n signOut: AuthClient['signOut'];\n signInSocial: AuthClient['signIn']['social'];\n linkSocial: AuthClient['linkSocial'];\n changePasswordSession: AuthClient['changePassword'];\n requestPasswordResetSession: AuthClient['requestPasswordReset'];\n resetPassword: AuthClient['resetPassword'];\n verifyEmailSession: AuthClient['verifyEmail'];\n getSession: AuthClient['getSession'];\n forgetPassword: AuthClient['forgetPassword'];\n sendVerificationEmail: AuthClient['sendVerificationEmail'];\n changeEmail: AuthClient['changeEmail'];\n deleteUser: AuthClient['deleteUser'];\n revokeSession: AuthClient['revokeSession'];\n revokeSessions: AuthClient['revokeSessions'];\n revokeOtherSessions: AuthClient['revokeOtherSessions'];\n listAccounts: AuthClient['listAccounts'];\n unlinkAccount: AuthClient['unlinkAccount'];\n refreshToken: AuthClient['refreshToken'];\n getAccessToken: AuthClient['getAccessToken'];\n accountInfo: AuthClient['accountInfo'];\n updateUser: AuthClient['updateUser'];\n listSessions: AuthClient['listSessions'];\n}\n\nexport const getAuthAPI = async (\n intlayerConfig?: IntlayerConfig\n): Promise<AuthAPI> => {\n const backendURL =\n intlayerConfig?.editor?.backendURL ?? configuration.editor?.backendURL;\n\n if (!backendURL) {\n throw new Error(\n 'Backend URL is not defined in the Intlayer configuration.'\n );\n }\n\n const { createAuthClient } = await import('better-auth/client');\n /*\n * Extract each method to avoid type inference issues at build time.\n */\n const authClient: AuthClient = createAuthClient({\n baseURL: backendURL,\n withCredentials: true, // makes fetch forward cookies\n });\n\n const signInEmail: AuthClient['signIn']['email'] = async (...args) =>\n await authClient.signIn.email(...args);\n\n const signInSocial: AuthClient['signIn']['social'] = async (...args) =>\n await authClient.signIn.social(...args);\n\n const signUpEmail: AuthClient['signUp']['email'] = async (...args) =>\n await authClient.signUp.email(...args);\n\n const signOut: AuthClient['signOut'] = async (...args) =>\n await authClient.signOut(...args);\n\n const changePasswordSession: AuthClient['changePassword'] = async (...args) =>\n await authClient.changePassword(...args);\n\n const requestPasswordResetSession: AuthClient['requestPasswordReset'] =\n async (...args) => await authClient.requestPasswordReset(...args);\n\n const resetPassword = authClient.resetPassword;\n\n const verifyEmailSession: AuthClient['verifyEmail'] = async (...args) =>\n await authClient.verifyEmail(...args);\n\n const getSession: AuthClient['getSession'] = async (...args) =>\n await authClient.getSession(...args);\n\n const forgetPassword: AuthClient['forgetPassword'] = async (...args) =>\n await authClient.forgetPassword(...args);\n\n const sendVerificationEmail: AuthClient['sendVerificationEmail'] = async (\n ...args\n ) => await authClient.sendVerificationEmail(...args);\n\n const changeEmail: AuthClient['changeEmail'] = async (...args) =>\n await authClient.changeEmail(...args);\n\n const deleteUser = authClient.deleteUser;\n\n const revokeSession: AuthClient['revokeSession'] = async (...args) =>\n await authClient.revokeSession(...args);\n\n const revokeSessions: AuthClient['revokeSessions'] = async (...args) =>\n await authClient.revokeSessions(...args);\n\n const revokeOtherSessions: AuthClient['revokeOtherSessions'] = async (\n ...args\n ) => await authClient.revokeOtherSessions(...args);\n\n const linkSocial: AuthClient['linkSocial'] = async (...args) =>\n await authClient.linkSocial(...args);\n\n const listAccounts: AuthClient['listAccounts'] = async (...args) =>\n await authClient.listAccounts(...args);\n\n const unlinkAccount: AuthClient['unlinkAccount'] = async (...args) =>\n await authClient.unlinkAccount(...args);\n\n const refreshToken: AuthClient['refreshToken'] = async (...args) =>\n await authClient.refreshToken(...args);\n\n const getAccessToken: AuthClient['getAccessToken'] = async (...args) =>\n await authClient.getAccessToken(...args);\n\n const accountInfo: AuthClient['accountInfo'] = async (...args) =>\n await authClient.accountInfo(...args);\n\n const updateUser: AuthClient['updateUser'] = async (...args) =>\n await authClient.updateUser(...args);\n\n const listSessions: AuthClient['listSessions'] = async (...args) =>\n await authClient.listSessions(...args);\n\n return {\n signInEmail,\n signUpEmail,\n signOut,\n signInSocial,\n linkSocial,\n changePasswordSession,\n requestPasswordResetSession,\n resetPassword,\n verifyEmailSession,\n getSession,\n forgetPassword,\n sendVerificationEmail,\n changeEmail,\n deleteUser,\n revokeSession,\n revokeSessions,\n revokeOtherSessions,\n listAccounts,\n unlinkAccount,\n refreshToken,\n getAccessToken,\n accountInfo,\n updateUser,\n listSessions,\n };\n};\n"],"mappings":"AAAA,OAAO,mBAAmB;AAiCnB,MAAM,aAAa,OACxB,mBACqB;AACrB,QAAM,aACJ,gBAAgB,QAAQ,cAAc,cAAc,QAAQ;AAE9D,MAAI,CAAC,YAAY;AACf,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEA,QAAM,EAAE,iBAAiB,IAAI,MAAM,OAAO,oBAAoB;AAI9D,QAAM,aAAyB,iBAAiB;AAAA,IAC9C,SAAS;AAAA,IACT,iBAAiB;AAAA;AAAA,EACnB,CAAC;AAED,QAAM,cAA6C,UAAU,SAC3D,MAAM,WAAW,OAAO,MAAM,GAAG,IAAI;AAEvC,QAAM,eAA+C,UAAU,SAC7D,MAAM,WAAW,OAAO,OAAO,GAAG,IAAI;AAExC,QAAM,cAA6C,UAAU,SAC3D,MAAM,WAAW,OAAO,MAAM,GAAG,IAAI;AAEvC,QAAM,UAAiC,UAAU,SAC/C,MAAM,WAAW,QAAQ,GAAG,IAAI;AAElC,QAAM,wBAAsD,UAAU,SACpE,MAAM,WAAW,eAAe,GAAG,IAAI;AAEzC,QAAM,8BACJ,UAAU,SAAS,MAAM,WAAW,qBAAqB,GAAG,IAAI;AAElE,QAAM,gBAAgB,WAAW;AAEjC,QAAM,qBAAgD,UAAU,SAC9D,MAAM,WAAW,YAAY,GAAG,IAAI;AAEtC,QAAM,aAAuC,UAAU,SACrD,MAAM,WAA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|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/getIntlayerAPI/index.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/config/client';\nimport type { FetcherOptions } from '../fetcher';\nimport { getAiAPI } from './ai';\nimport { AuthAPI, getAuthAPI } from './auth';\nimport { getDictionaryAPI } from './dictionary';\nimport { getEditorAPI } from './editor';\nimport { getNewsletterAPI } from './newsletter';\nimport { getOAuthAPI, oAuthAPI } from './oAuth';\nimport { getOrganizationAPI } from './organization';\nimport { getProjectAPI } from './project';\nimport { getSearchAPI } from './search';\nimport { getStripeAPI } from './stripe';\nimport { getTagAPI } from './tag';\nimport { getUserAPI } from './user';\n\ninterface IntlayerAPIReturn {\n organization: ReturnType<typeof getOrganizationAPI>;\n project: ReturnType<typeof getProjectAPI>;\n user: ReturnType<typeof getUserAPI>;\n auth: AuthAPI
|
|
1
|
+
{"version":3,"sources":["../../../src/getIntlayerAPI/index.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/config/client';\nimport type { FetcherOptions } from '../fetcher';\nimport { getAiAPI } from './ai';\nimport { AuthAPI, getAuthAPI } from './auth';\nimport { getDictionaryAPI } from './dictionary';\nimport { getEditorAPI } from './editor';\nimport { getNewsletterAPI } from './newsletter';\nimport { getOAuthAPI, oAuthAPI } from './oAuth';\nimport { getOrganizationAPI } from './organization';\nimport { getProjectAPI } from './project';\nimport { getSearchAPI } from './search';\nimport { getStripeAPI } from './stripe';\nimport { getTagAPI } from './tag';\nimport { getUserAPI } from './user';\n\ninterface IntlayerAPIReturn {\n organization: ReturnType<typeof getOrganizationAPI>;\n project: ReturnType<typeof getProjectAPI>;\n user: ReturnType<typeof getUserAPI>;\n auth: Promise<AuthAPI>;\n oAuth: oAuthAPI;\n dictionary: ReturnType<typeof getDictionaryAPI>;\n stripe: ReturnType<typeof getStripeAPI>;\n ai: ReturnType<typeof getAiAPI>;\n tag: ReturnType<typeof getTagAPI>;\n search: ReturnType<typeof getSearchAPI>;\n editor: ReturnType<typeof getEditorAPI>;\n newsletter: ReturnType<typeof getNewsletterAPI>;\n}\n\nexport const getIntlayerAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n): IntlayerAPIReturn => ({\n organization: getOrganizationAPI(authAPIOptions, intlayerConfig),\n project: getProjectAPI(authAPIOptions, intlayerConfig),\n user: getUserAPI(authAPIOptions, intlayerConfig),\n auth: getAuthAPI(intlayerConfig),\n oAuth: getOAuthAPI(intlayerConfig),\n dictionary: getDictionaryAPI(authAPIOptions, intlayerConfig),\n stripe: getStripeAPI(authAPIOptions, intlayerConfig),\n ai: getAiAPI(authAPIOptions, intlayerConfig),\n tag: getTagAPI(authAPIOptions, intlayerConfig),\n search: getSearchAPI(authAPIOptions, intlayerConfig),\n editor: getEditorAPI(authAPIOptions, intlayerConfig),\n newsletter: getNewsletterAPI(authAPIOptions, intlayerConfig),\n});\n\nexport type IntlayerAPI = ReturnType<typeof getIntlayerAPI>;\n"],"mappings":"AAEA,SAAS,gBAAgB;AACzB,SAAkB,kBAAkB;AACpC,SAAS,wBAAwB;AACjC,SAAS,oBAAoB;AAC7B,SAAS,wBAAwB;AACjC,SAAS,mBAA6B;AACtC,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAiBpB,MAAM,iBAAiB,CAC5B,iBAAiC,CAAC,GAClC,oBACuB;AAAA,EACvB,cAAc,mBAAmB,gBAAgB,cAAc;AAAA,EAC/D,SAAS,cAAc,gBAAgB,cAAc;AAAA,EACrD,MAAM,WAAW,gBAAgB,cAAc;AAAA,EAC/C,MAAM,WAAW,cAAc;AAAA,EAC/B,OAAO,YAAY,cAAc;AAAA,EACjC,YAAY,iBAAiB,gBAAgB,cAAc;AAAA,EAC3D,QAAQ,aAAa,gBAAgB,cAAc;AAAA,EACnD,IAAI,SAAS,gBAAgB,cAAc;AAAA,EAC3C,KAAK,UAAU,gBAAgB,cAAc;AAAA,EAC7C,QAAQ,aAAa,gBAAgB,cAAc;AAAA,EACnD,QAAQ,aAAa,gBAAgB,cAAc;AAAA,EACnD,YAAY,iBAAiB,gBAAgB,cAAc;AAC7D;","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
|
-
import { createAuthClient } from 'better-auth/client';
|
|
2
|
+
import type { createAuthClient } from 'better-auth/client';
|
|
3
3
|
type AuthClient = ReturnType<typeof createAuthClient>;
|
|
4
4
|
export interface AuthAPI {
|
|
5
5
|
signInEmail: AuthClient['signIn']['email'];
|
|
@@ -27,6 +27,6 @@ export interface AuthAPI {
|
|
|
27
27
|
updateUser: AuthClient['updateUser'];
|
|
28
28
|
listSessions: AuthClient['listSessions'];
|
|
29
29
|
}
|
|
30
|
-
export declare const getAuthAPI: (intlayerConfig?: IntlayerConfig) => AuthAPI
|
|
30
|
+
export declare const getAuthAPI: (intlayerConfig?: IntlayerConfig) => Promise<AuthAPI>;
|
|
31
31
|
export {};
|
|
32
32
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtD,MAAM,WA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AAE,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C;AAED,eAAO,MAAM,UAAU,GACrB,iBAAiB,cAAc,KAC9B,OAAO,CAAC,OAAO,CAqHjB,CAAC"}
|
|
@@ -16,7 +16,7 @@ interface IntlayerAPIReturn {
|
|
|
16
16
|
organization: ReturnType<typeof getOrganizationAPI>;
|
|
17
17
|
project: ReturnType<typeof getProjectAPI>;
|
|
18
18
|
user: ReturnType<typeof getUserAPI>;
|
|
19
|
-
auth: AuthAPI
|
|
19
|
+
auth: Promise<AuthAPI>;
|
|
20
20
|
oAuth: oAuthAPI;
|
|
21
21
|
dictionary: ReturnType<typeof getDictionaryAPI>;
|
|
22
22
|
stripe: ReturnType<typeof getStripeAPI>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAc,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAe,QAAQ,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,E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AC;IACpC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACvB,KAAK,EAAE,QAAQ,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAChD,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACxC,EAAE,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;IAChC,GAAG,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;IAClC,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACxC,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;CACjD;AAED,eAAO,MAAM,cAAc,GACzB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc,KAC9B,iBAaD,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/api",
|
|
3
|
-
"version": "5.7.2
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "SDK for interacting with the Intlayer API, enabling content auditing, and managing organizations, projects, and users.",
|
|
6
6
|
"keywords": [
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"better-auth": "^1.3.4",
|
|
65
65
|
"nanostores": "npm:nanostores-cjs@0.7.1",
|
|
66
|
-
"@intlayer/config": "5.7.2
|
|
66
|
+
"@intlayer/config": "5.7.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@changesets/changelog-github": "0.5.1",
|
|
@@ -78,15 +78,15 @@
|
|
|
78
78
|
"tsup": "^8.5.0",
|
|
79
79
|
"typescript": "^5.8.3",
|
|
80
80
|
"vitest": "^3.2.2",
|
|
81
|
-
"@
|
|
81
|
+
"@intlayer/backend": "5.7.2",
|
|
82
82
|
"@utils/eslint-config": "1.0.4",
|
|
83
|
-
"@utils/ts-config-types": "1.0.4",
|
|
84
83
|
"@utils/tsup-config": "1.0.4",
|
|
85
|
-
"@
|
|
86
|
-
"
|
|
84
|
+
"@utils/ts-config-types": "1.0.4",
|
|
85
|
+
"@utils/ts-config": "1.0.4",
|
|
86
|
+
"intlayer-editor": "5.7.2"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@intlayer/config": "5.7.2
|
|
89
|
+
"@intlayer/config": "5.7.2"
|
|
90
90
|
},
|
|
91
91
|
"engines": {
|
|
92
92
|
"node": ">=14.18"
|