@ikas/storefront 0.0.111 → 0.0.113

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/build/index.es.js CHANGED
@@ -17854,6 +17854,7 @@ var CheckoutViewModel = /** @class */ (function () {
17854
17854
  return __generator(this, function (_a) {
17855
17855
  switch (_a.label) {
17856
17856
  case 0:
17857
+ console.log(IkasStorefrontConfig.paymentGateways);
17857
17858
  isLocal = process.env.NEXT_PUBLIC_ENV === "local";
17858
17859
  idList = IkasStorefrontConfig.paymentGateways.map(function (pg) { return pg.id; });
17859
17860
  return [4 /*yield*/, IkasCheckoutAPI.listPaymentGateway(isLocal ? undefined : idList)];
@@ -17871,6 +17872,7 @@ var CheckoutViewModel = /** @class */ (function () {
17871
17872
  if (_pg)
17872
17873
  orderedPaymentGateways.push(_pg);
17873
17874
  });
17875
+ console.log(orderedPaymentGateways);
17874
17876
  this.paymentGateways = orderedPaymentGateways;
17875
17877
  if (!this.paymentGatewayId)
17876
17878
  this.setPaymentGateway(0);
package/build/index.js CHANGED
@@ -17860,6 +17860,7 @@ var CheckoutViewModel = /** @class */ (function () {
17860
17860
  return __generator(this, function (_a) {
17861
17861
  switch (_a.label) {
17862
17862
  case 0:
17863
+ console.log(IkasStorefrontConfig.paymentGateways);
17863
17864
  isLocal = process.env.NEXT_PUBLIC_ENV === "local";
17864
17865
  idList = IkasStorefrontConfig.paymentGateways.map(function (pg) { return pg.id; });
17865
17866
  return [4 /*yield*/, IkasCheckoutAPI.listPaymentGateway(isLocal ? undefined : idList)];
@@ -17877,6 +17878,7 @@ var CheckoutViewModel = /** @class */ (function () {
17877
17878
  if (_pg)
17878
17879
  orderedPaymentGateways.push(_pg);
17879
17880
  });
17881
+ console.log(orderedPaymentGateways);
17880
17882
  this.paymentGateways = orderedPaymentGateways;
17881
17883
  if (!this.paymentGatewayId)
17882
17884
  this.setPaymentGateway(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.111",
3
+ "version": "0.0.113",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",