fix(core): update
This commit is contained in:
@ -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.'
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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 };
|
||||
|
Reference in New Issue
Block a user