2 Commits

Author SHA1 Message Date
c6b75f9236 1.0.10 2020-10-20 22:09:35 +00:00
9157d51471 fix(core): update 2020-10-20 22:09:35 +00:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@consentsoftware/webclient",
"version": "1.0.9",
"version": "1.0.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@consentsoftware/webclient",
"version": "1.0.9",
"version": "1.0.10",
"private": false,
"description": "a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.",
"main": "dist_ts/index.js",

View File

@ -64,7 +64,7 @@ export class CsWebclient {
const scriptString = consentTuple.script as string;
// tslint:disable-next-line: function-constructor
const tupleFunction = new Function(scriptString);
await tupleFunction();
await tupleFunction(consentTuple.scriptExecutionDataArg);
console.log (`Successfully executed ConsentTuple >>${consentTuple.name}<< -> ${consentTuple.description}`);
}
}