@ranty/ranty-sdk 1.2.4-beta.1 → 1.2.4

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18059,22 +18059,20 @@ let xe = class n extends H {
18059
18059
  _loadFraudScripts() {
18060
18060
  return B(this, null, function* () {
18061
18061
  if (this.contextData.fraudPreventionConfig.option === "SIFT") {
18062
+ $.info("Loading sift fraud prevention tooling");
18062
18063
  const e = {
18063
18064
  accountId: be.currentEnvironment.SIFT_FRAUD_PREVENTION.ACCOUNT_ID,
18064
18065
  sessionId: this.contextData.fraudPreventionConfig.sessionId,
18065
18066
  userId: this.contextData.cardHolderData.email
18066
- };
18067
- $.info("Loading sift fraud prevention tooling", e);
18068
- const t = Cm(e);
18067
+ }, t = Cm(e);
18069
18068
  document.head.appendChild(t);
18070
18069
  } else {
18070
+ $.info("Loading cybersource fraud prevention tooling");
18071
18071
  const e = {
18072
18072
  merchantId: be.currentEnvironment.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
18073
18073
  orgId: be.currentEnvironment.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
18074
18074
  sessionId: this.contextData.fraudPreventionConfig.sessionId
18075
- };
18076
- $.info("Loading cybersource fraud prevention tooling", e);
18077
- const t = Tm(e);
18075
+ }, t = Tm(e);
18078
18076
  document.head.appendChild(t.script);
18079
18077
  const r = document.querySelector("noscript");
18080
18078
  if (r) {
@@ -22962,7 +22960,7 @@ let sr = class extends H {
22962
22960
  <click2pay-context
22963
22961
  publicKey="${this.publicKey}"
22964
22962
  paymentRequestId="${this.paymentRequestId}"
22965
- useC2P="${this._useC2P}"
22963
+ .useC2P="${this._useC2P}"
22966
22964
  dpaName="${this.dpaName}"
22967
22965
  dpaId="${this.dpaId}"
22968
22966
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "1.2.4-beta.1",
3
+ "version": "1.2.4",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {