@functionalcms/svelte-components 4.36.0 → 4.36.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/index-server.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { default as errorHandler } from './auth/errorHandle.js';
|
|
|
4
4
|
export { redisSessionProvider } from './auth/redisSessionProvider.js';
|
|
5
5
|
export { machineAuthenticationProvider } from './auth/machineAuthenticationProvider.js';
|
|
6
6
|
export { userAuthenticationProvider } from './auth/userAuthenticationProvider.js';
|
|
7
|
-
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, } from './server-side/getServices.js';
|
|
7
|
+
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, getFileService, } from './server-side/getServices.js';
|
|
8
8
|
export type { RedirectResponse } from './auth/RedirectResponse.js';
|
|
9
9
|
export { createMachineTokenApprovedLocals } from './auth/getMachineAccessToken.js';
|
|
10
10
|
export { isHuman } from './components/form/AntiBot.js';
|
package/dist/index-server.js
CHANGED
|
@@ -4,7 +4,7 @@ export { default as errorHandler } from './auth/errorHandle.js';
|
|
|
4
4
|
export { redisSessionProvider } from './auth/redisSessionProvider.js';
|
|
5
5
|
export { machineAuthenticationProvider } from './auth/machineAuthenticationProvider.js';
|
|
6
6
|
export { userAuthenticationProvider } from './auth/userAuthenticationProvider.js';
|
|
7
|
-
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, } from './server-side/getServices.js';
|
|
7
|
+
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, getFileService, } from './server-side/getServices.js';
|
|
8
8
|
export { createMachineTokenApprovedLocals } from './auth/getMachineAccessToken.js';
|
|
9
9
|
export { isHuman } from './components/form/AntiBot.js';
|
|
10
10
|
export { default as getRedirectPipeline } from './server-side/getRedirectPipeline.js';
|
package/dist/index.server.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { default as errorHandler } from './auth/errorHandle.ts';
|
|
|
4
4
|
export { redisSessionProvider } from './auth/redisSessionProvider.ts';
|
|
5
5
|
export { machineAuthenticationProvider } from './auth/machineAuthenticationProvider.ts';
|
|
6
6
|
export { userAuthenticationProvider } from './auth/userAuthenticationProvider.ts';
|
|
7
|
-
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, } from './server-side/getServices.ts';
|
|
7
|
+
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, getFileService, } from './server-side/getServices.ts';
|
|
8
8
|
export type { RedirectResponse } from './auth/RedirectResponse.ts';
|
|
9
9
|
export { createMachineTokenApprovedLocals } from './auth/getMachineAccessToken.ts';
|
|
10
10
|
export { isHuman } from './components/form/AntiBot.ts';
|
package/dist/index.server.js
CHANGED
|
@@ -4,7 +4,7 @@ export { default as errorHandler } from './auth/errorHandle.ts';
|
|
|
4
4
|
export { redisSessionProvider } from './auth/redisSessionProvider.ts';
|
|
5
5
|
export { machineAuthenticationProvider } from './auth/machineAuthenticationProvider.ts';
|
|
6
6
|
export { userAuthenticationProvider } from './auth/userAuthenticationProvider.ts';
|
|
7
|
-
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, } from './server-side/getServices.ts';
|
|
7
|
+
export { getBlobService, getCommunicationService, getDataService, getTemplateService, getWebsiteService, getAIService, getAuthService, getFileService, } from './server-side/getServices.ts';
|
|
8
8
|
export { createMachineTokenApprovedLocals } from './auth/getMachineAccessToken.ts';
|
|
9
9
|
export { isHuman } from './components/form/AntiBot.ts';
|
|
10
10
|
export { default as getRedirectPipeline } from './server-side/getRedirectPipeline.js';
|
|
@@ -48,6 +48,6 @@ export const getAuthService = (locals, endpoint = undefined) => {
|
|
|
48
48
|
export const getFileService = (locals, endpoint = undefined) => {
|
|
49
49
|
const accessToken = getAccessToken(locals);
|
|
50
50
|
const serviceEndopint = endpoint ?? ENDPOINT;
|
|
51
|
-
const service = new FilesService(accessToken, serviceEndopint);
|
|
51
|
+
const service = new FilesService(accessToken, DOMAIN, serviceEndopint);
|
|
52
52
|
return service;
|
|
53
53
|
};
|