@ranty/ranty-sdk 0.0.26 → 0.0.27
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.
- package/dist/index.js +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14611,6 +14611,7 @@ let de = class r extends Q {
|
|
|
14611
14611
|
cardType: "",
|
|
14612
14612
|
hasError: !1,
|
|
14613
14613
|
hasPayError: !1,
|
|
14614
|
+
hasC2PAuthError: !1,
|
|
14614
14615
|
hasErrorWebSocket: !1,
|
|
14615
14616
|
locale: "",
|
|
14616
14617
|
dpaId: "",
|
|
@@ -14673,7 +14674,7 @@ let de = class r extends Q {
|
|
|
14673
14674
|
connectedCallback() {
|
|
14674
14675
|
super.connectedCallback(), this.addEventListener("errorOnClick2pay", (e) => {
|
|
14675
14676
|
const t = e;
|
|
14676
|
-
console.log("There was an error with click2pay platform"), this.contextData.hasError = !0, t.detail.hasPayError && (this.contextData.hasPayError = !0), t.detail.hasErrorWebSocket && (this.contextData.hasErrorWebSocket = !0);
|
|
14677
|
+
console.log("There was an error with click2pay platform"), this.contextData.hasError = !0, t.detail.hasPayError && (this.contextData.hasPayError = !0), t.detail.hasErrorWebSocket && (this.contextData.hasErrorWebSocket = !0), t.detail.hasC2PAuthError && (this.contextData.hasC2PAuthError = !0);
|
|
14677
14678
|
}), this.addEventListener("clearErrors", () => {
|
|
14678
14679
|
this.contextData.hasError = !1, this.contextData.hasPayError = !1, this.contextData.hasErrorWebSocket = !1;
|
|
14679
14680
|
}), this.addEventListener("click2payNotAvailable", () => {
|
|
@@ -17006,7 +17007,9 @@ let q = class r extends Q {
|
|
|
17006
17007
|
} catch (c) {
|
|
17007
17008
|
this.isLoading = !1, this.dispatchEvent(
|
|
17008
17009
|
new CustomEvent("errorOnClick2pay", {
|
|
17009
|
-
detail: {
|
|
17010
|
+
detail: {
|
|
17011
|
+
hasC2PAuthError: !0
|
|
17012
|
+
},
|
|
17010
17013
|
bubbles: !0,
|
|
17011
17014
|
composed: !0
|
|
17012
17015
|
})
|
|
@@ -17173,12 +17176,13 @@ let q = class r extends Q {
|
|
|
17173
17176
|
`;
|
|
17174
17177
|
}
|
|
17175
17178
|
_retryPanels() {
|
|
17176
|
-
|
|
17179
|
+
var e;
|
|
17180
|
+
console.log("retryPanels 2"), this.isLoading = !0, $n(this), this.isLoading = !1, (e = this._contextData) != null && e.hasC2PAuthError ? this._showInitialPanels = !0 : this._showC2pCardList = !0, this.dispatchEvent(
|
|
17177
17181
|
new CustomEvent("clearErrors", {
|
|
17178
17182
|
bubbles: !0,
|
|
17179
17183
|
composed: !0
|
|
17180
17184
|
})
|
|
17181
|
-
)
|
|
17185
|
+
);
|
|
17182
17186
|
}
|
|
17183
17187
|
_callbackUrl() {
|
|
17184
17188
|
var t;
|