fix(core): update

This commit is contained in:
2023-08-27 12:16:09 +02:00
parent d3fca66600
commit f131d3743c
13 changed files with 5707 additions and 16287 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@consentsoftware/webclient',
version: '1.0.15',
version: '1.0.16',
description: 'a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.'
}

View File

@ -52,9 +52,11 @@ export class CsWebclient {
console.log('You need to set accepted cookielevels first');
return;
}
const csGetDomainSettingsRequest = new plugins.typedrequest.TypedRequest<
plugins.csInterfaces.IRequest_Client_ConsentSoftwareServer_GetDomainSettings
>('https://connect.api.global/consentsoftware', 'getDomainSettings');
const csGetDomainSettingsRequest =
new plugins.typedrequest.TypedRequest<plugins.csInterfaces.IRequest_Client_ConsentSoftwareServer_GetDomainSettings>(
'https://connect.api.global/consentsoftware',
'getDomainSettings'
);
const domainToRequest = domainArg || window.location.hostname;
const response = await csGetDomainSettingsRequest.fire({
domain: domainToRequest,

View File

@ -1,22 +1,15 @@
// consentsoftware scope
import * as csInterfaces from '@consentsoftware/interfaces';
import * as csInterfaces from '@consent.software/interfaces';
export {
csInterfaces
};
export { csInterfaces };
// apiglobal scope
import * as typedrequest from '@apiglobal/typedrequest';
import * as typedrequest from '@api.global/typedrequest';
export {
typedrequest
};
export { typedrequest };
// @pushrocks scope
import * as smarttime from '@pushrocks/smarttime';
import * as webstore from '@pushrocks/webstore';
import * as smarttime from '@push.rocks/smarttime';
import * as webstore from '@push.rocks/webstore';
export {
smarttime,
webstore
};
export { smarttime, webstore };