@ikas/storefront 0.0.112 → 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
@@ -17697,7 +17697,6 @@ var CheckoutViewModel = /** @class */ (function () {
17697
17697
  return __generator(this, function (_b) {
17698
17698
  switch (_b.label) {
17699
17699
  case 0:
17700
- console.log(IkasStorefrontConfig);
17701
17700
  this.createCustomer();
17702
17701
  this.createShippingAddress();
17703
17702
  this.createBillingAddress();
@@ -17855,6 +17854,7 @@ var CheckoutViewModel = /** @class */ (function () {
17855
17854
  return __generator(this, function (_a) {
17856
17855
  switch (_a.label) {
17857
17856
  case 0:
17857
+ console.log(IkasStorefrontConfig.paymentGateways);
17858
17858
  isLocal = process.env.NEXT_PUBLIC_ENV === "local";
17859
17859
  idList = IkasStorefrontConfig.paymentGateways.map(function (pg) { return pg.id; });
17860
17860
  return [4 /*yield*/, IkasCheckoutAPI.listPaymentGateway(isLocal ? undefined : idList)];
@@ -17872,6 +17872,7 @@ var CheckoutViewModel = /** @class */ (function () {
17872
17872
  if (_pg)
17873
17873
  orderedPaymentGateways.push(_pg);
17874
17874
  });
17875
+ console.log(orderedPaymentGateways);
17875
17876
  this.paymentGateways = orderedPaymentGateways;
17876
17877
  if (!this.paymentGatewayId)
17877
17878
  this.setPaymentGateway(0);
package/build/index.js CHANGED
@@ -17703,7 +17703,6 @@ var CheckoutViewModel = /** @class */ (function () {
17703
17703
  return __generator(this, function (_b) {
17704
17704
  switch (_b.label) {
17705
17705
  case 0:
17706
- console.log(IkasStorefrontConfig);
17707
17706
  this.createCustomer();
17708
17707
  this.createShippingAddress();
17709
17708
  this.createBillingAddress();
@@ -17861,6 +17860,7 @@ var CheckoutViewModel = /** @class */ (function () {
17861
17860
  return __generator(this, function (_a) {
17862
17861
  switch (_a.label) {
17863
17862
  case 0:
17863
+ console.log(IkasStorefrontConfig.paymentGateways);
17864
17864
  isLocal = process.env.NEXT_PUBLIC_ENV === "local";
17865
17865
  idList = IkasStorefrontConfig.paymentGateways.map(function (pg) { return pg.id; });
17866
17866
  return [4 /*yield*/, IkasCheckoutAPI.listPaymentGateway(isLocal ? undefined : idList)];
@@ -17878,6 +17878,7 @@ var CheckoutViewModel = /** @class */ (function () {
17878
17878
  if (_pg)
17879
17879
  orderedPaymentGateways.push(_pg);
17880
17880
  });
17881
+ console.log(orderedPaymentGateways);
17881
17882
  this.paymentGateways = orderedPaymentGateways;
17882
17883
  if (!this.paymentGatewayId)
17883
17884
  this.setPaymentGateway(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.112",
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",