File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 44714471 " gdjs._playgamaBridgeExtension.isLastActionCompletedSuccessfully = true;",
44724472 " gdjs._playgamaBridgeExtension.paymentsPurchase = { ",
44734473 " ...data, ",
4474- " options: options || {},",
4475- " optionsJson: options ? JSON.stringify(options) : ''",
4474+ " options: options || {}",
44764475 " };",
44774476 " })",
44784477 " .catch(error => console.log(error))",
48154814 " }",
48164815 " eventsFunctionContext.returnValue = value ?? '';",
48174816 " } else {",
4818- " eventsFunctionContext.returnValue = isNaN(+property)",
4817+ " const value = isNaN(+property)",
48194818 " ? paymentsPurchase[property]",
48204819 " : paymentsPurchase[Object.keys(paymentsPurchase)[property]];",
4820+ " eventsFunctionContext.returnValue = typeof value === 'object' && value !== null",
4821+ " ? JSON.stringify(value)",
4822+ " : (value ?? '');",
48214823 " }",
48224824 "}",
48234825 "",
You can’t perform that action at this time.
0 commit comments