@actalink/commonlib 0.0.41 → 0.0.42

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 CHANGED
@@ -1879,7 +1879,7 @@ var ActaFlexDeposit = class {
1879
1879
  this.serviceSessionParams = void 0;
1880
1880
  this.depositSessionId = "";
1881
1881
  this.status = "not_started";
1882
- this.serviceType = "bexo";
1882
+ this.serviceType = "deposit";
1883
1883
  this.allowMaxTokenApproval = false;
1884
1884
  var _a, _b, _c;
1885
1885
  this.connectorType = parameters.connectorType;
@@ -2004,7 +2004,7 @@ var ActaFlexDeposit = class {
2004
2004
  return __async(this, null, function* () {
2005
2005
  try {
2006
2006
  if (this.paymentType === "single") {
2007
- const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
2007
+ const paymentParams = this.serviceType === "deposit" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
2008
2008
  depositSessionId: this.depositSessionId
2009
2009
  }) : servicePaymentParams;
2010
2010
  const id = yield this.createSinglePayment(paymentParams);
@@ -2013,7 +2013,7 @@ var ActaFlexDeposit = class {
2013
2013
  if (this.paymentType === "choose") {
2014
2014
  }
2015
2015
  if (this.paymentType === "recurring") {
2016
- const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
2016
+ const paymentParams = this.serviceType === "deposit" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
2017
2017
  depositSessionId: this.depositSessionId
2018
2018
  }) : servicePaymentParams;
2019
2019
  const id = yield this.createRecurringPayments(paymentParams);
package/dist/index.js CHANGED
@@ -1808,7 +1808,7 @@ var ActaFlexDeposit = class {
1808
1808
  this.serviceSessionParams = void 0;
1809
1809
  this.depositSessionId = "";
1810
1810
  this.status = "not_started";
1811
- this.serviceType = "bexo";
1811
+ this.serviceType = "deposit";
1812
1812
  this.allowMaxTokenApproval = false;
1813
1813
  var _a, _b, _c;
1814
1814
  this.connectorType = parameters.connectorType;
@@ -1933,7 +1933,7 @@ var ActaFlexDeposit = class {
1933
1933
  return __async(this, null, function* () {
1934
1934
  try {
1935
1935
  if (this.paymentType === "single") {
1936
- const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
1936
+ const paymentParams = this.serviceType === "deposit" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
1937
1937
  depositSessionId: this.depositSessionId
1938
1938
  }) : servicePaymentParams;
1939
1939
  const id = yield this.createSinglePayment(paymentParams);
@@ -1942,7 +1942,7 @@ var ActaFlexDeposit = class {
1942
1942
  if (this.paymentType === "choose") {
1943
1943
  }
1944
1944
  if (this.paymentType === "recurring") {
1945
- const paymentParams = this.serviceType === "bexo" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
1945
+ const paymentParams = this.serviceType === "deposit" ? __spreadProps(__spreadValues({}, servicePaymentParams), {
1946
1946
  depositSessionId: this.depositSessionId
1947
1947
  }) : servicePaymentParams;
1948
1948
  const id = yield this.createRecurringPayments(paymentParams);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actalink/commonlib",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "author": "Actalink",
5
5
  "license": "MIT license",
6
6
  "publishConfig": {