@actalink/commonlib 0.0.27 → 0.0.28
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.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1812,7 +1812,7 @@ var ActaDeposit = class {
|
|
|
1812
1812
|
this.serviceSessionParams = void 0;
|
|
1813
1813
|
this.depositSessionId = "";
|
|
1814
1814
|
this.status = "not_started";
|
|
1815
|
-
this.serviceType = "
|
|
1815
|
+
this.serviceType = "bexo";
|
|
1816
1816
|
this.allowMaxTokenApproval = false;
|
|
1817
1817
|
var _a, _b, _c;
|
|
1818
1818
|
this.connectorType = parameters.connectorType;
|
|
@@ -1937,7 +1937,7 @@ var ActaDeposit = class {
|
|
|
1937
1937
|
return __async(this, null, function* () {
|
|
1938
1938
|
try {
|
|
1939
1939
|
if (this.paymentType === "single") {
|
|
1940
|
-
const paymentParams = this.serviceType === "
|
|
1940
|
+
const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
|
|
1941
1941
|
depositSessionId: this.depositSessionId
|
|
1942
1942
|
}) : servicePaymentParams;
|
|
1943
1943
|
const id = yield this.createSinglePayment(paymentParams);
|
|
@@ -1946,7 +1946,7 @@ var ActaDeposit = class {
|
|
|
1946
1946
|
if (this.paymentType === "choose") {
|
|
1947
1947
|
}
|
|
1948
1948
|
if (this.paymentType === "recurring") {
|
|
1949
|
-
const paymentParams = this.serviceType === "
|
|
1949
|
+
const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
|
|
1950
1950
|
depositSessionId: this.depositSessionId
|
|
1951
1951
|
}) : servicePaymentParams;
|
|
1952
1952
|
const id = yield this.createRecurringPayments(paymentParams);
|
package/dist/index.js
CHANGED
|
@@ -1739,7 +1739,7 @@ var ActaDeposit = class {
|
|
|
1739
1739
|
this.serviceSessionParams = void 0;
|
|
1740
1740
|
this.depositSessionId = "";
|
|
1741
1741
|
this.status = "not_started";
|
|
1742
|
-
this.serviceType = "
|
|
1742
|
+
this.serviceType = "bexo";
|
|
1743
1743
|
this.allowMaxTokenApproval = false;
|
|
1744
1744
|
var _a, _b, _c;
|
|
1745
1745
|
this.connectorType = parameters.connectorType;
|
|
@@ -1864,7 +1864,7 @@ var ActaDeposit = class {
|
|
|
1864
1864
|
return __async(this, null, function* () {
|
|
1865
1865
|
try {
|
|
1866
1866
|
if (this.paymentType === "single") {
|
|
1867
|
-
const paymentParams = this.serviceType === "
|
|
1867
|
+
const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
|
|
1868
1868
|
depositSessionId: this.depositSessionId
|
|
1869
1869
|
}) : servicePaymentParams;
|
|
1870
1870
|
const id = yield this.createSinglePayment(paymentParams);
|
|
@@ -1873,7 +1873,7 @@ var ActaDeposit = class {
|
|
|
1873
1873
|
if (this.paymentType === "choose") {
|
|
1874
1874
|
}
|
|
1875
1875
|
if (this.paymentType === "recurring") {
|
|
1876
|
-
const paymentParams = this.serviceType === "
|
|
1876
|
+
const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
|
|
1877
1877
|
depositSessionId: this.depositSessionId
|
|
1878
1878
|
}) : servicePaymentParams;
|
|
1879
1879
|
const id = yield this.createRecurringPayments(paymentParams);
|