@one-commerce/sdk-core 1.19.3-alpha.0 → 1.19.4

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.
@@ -462,15 +462,15 @@
462
462
 
463
463
  return _createClass(BackofficeTenant);
464
464
  }(BaseCallClass);
465
- var BackofficeOrderpath = /*#__PURE__*/function (_BaseCallClass4) {
466
- _inherits(BackofficeOrderpath, _BaseCallClass4);
465
+ var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass4) {
466
+ _inherits(BackofficeLayout, _BaseCallClass4);
467
467
 
468
- var _super4 = _createSuper(BackofficeOrderpath);
468
+ var _super4 = _createSuper(BackofficeLayout);
469
469
 
470
- function BackofficeOrderpath() {
470
+ function BackofficeLayout() {
471
471
  var _this4;
472
472
 
473
- _classCallCheck(this, BackofficeOrderpath);
473
+ _classCallCheck(this, BackofficeLayout);
474
474
 
475
475
  for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
476
476
  args[_key4] = arguments[_key4];
@@ -478,22 +478,24 @@
478
478
 
479
479
  _this4 = _super4.call.apply(_super4, [this].concat(args));
480
480
 
481
- _defineProperty(_assertThisInitialized(_this4), "serviceName", 'orderpath');
481
+ _defineProperty(_assertThisInitialized(_this4), "serviceName", 'layout');
482
+
483
+ _defineProperty(_assertThisInitialized(_this4), "isAsideOpened", void 0);
482
484
 
483
485
  return _this4;
484
486
  }
485
487
 
486
- return _createClass(BackofficeOrderpath);
488
+ return _createClass(BackofficeLayout);
487
489
  }(BaseCallClass);
488
- var BackofficeLayout = /*#__PURE__*/function (_BaseCallClass5) {
489
- _inherits(BackofficeLayout, _BaseCallClass5);
490
+ var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass5) {
491
+ _inherits(BackofficeAuthorization, _BaseCallClass5);
490
492
 
491
- var _super5 = _createSuper(BackofficeLayout);
493
+ var _super5 = _createSuper(BackofficeAuthorization);
492
494
 
493
- function BackofficeLayout() {
495
+ function BackofficeAuthorization() {
494
496
  var _this5;
495
497
 
496
- _classCallCheck(this, BackofficeLayout);
498
+ _classCallCheck(this, BackofficeAuthorization);
497
499
 
498
500
  for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
499
501
  args[_key5] = arguments[_key5];
@@ -501,36 +503,11 @@
501
503
 
502
504
  _this5 = _super5.call.apply(_super5, [this].concat(args));
503
505
 
504
- _defineProperty(_assertThisInitialized(_this5), "serviceName", 'layout');
505
-
506
- _defineProperty(_assertThisInitialized(_this5), "isAsideOpened", void 0);
506
+ _defineProperty(_assertThisInitialized(_this5), "serviceName", 'authorization');
507
507
 
508
508
  return _this5;
509
509
  }
510
510
 
511
- return _createClass(BackofficeLayout);
512
- }(BaseCallClass);
513
- var BackofficeAuthorization = /*#__PURE__*/function (_BaseCallClass6) {
514
- _inherits(BackofficeAuthorization, _BaseCallClass6);
515
-
516
- var _super6 = _createSuper(BackofficeAuthorization);
517
-
518
- function BackofficeAuthorization() {
519
- var _this6;
520
-
521
- _classCallCheck(this, BackofficeAuthorization);
522
-
523
- for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
524
- args[_key6] = arguments[_key6];
525
- }
526
-
527
- _this6 = _super6.call.apply(_super6, [this].concat(args));
528
-
529
- _defineProperty(_assertThisInitialized(_this6), "serviceName", 'authorization');
530
-
531
- return _this6;
532
- }
533
-
534
511
  _createClass(BackofficeAuthorization, [{
535
512
  key: "getAuthToken",
536
513
  value: function getAuthToken() {
@@ -540,58 +517,58 @@
540
517
 
541
518
  return BackofficeAuthorization;
542
519
  }(BaseCallClass);
543
- var BackofficeCustomer = /*#__PURE__*/function (_BaseCallClass7) {
544
- _inherits(BackofficeCustomer, _BaseCallClass7);
520
+ var BackofficeCustomer = /*#__PURE__*/function (_BaseCallClass6) {
521
+ _inherits(BackofficeCustomer, _BaseCallClass6);
545
522
 
546
- var _super7 = _createSuper(BackofficeCustomer);
523
+ var _super6 = _createSuper(BackofficeCustomer);
547
524
 
548
525
  function BackofficeCustomer() {
549
- var _this7;
526
+ var _this6;
550
527
 
551
528
  _classCallCheck(this, BackofficeCustomer);
552
529
 
553
- for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
554
- args[_key7] = arguments[_key7];
530
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
531
+ args[_key6] = arguments[_key6];
555
532
  }
556
533
 
557
- _this7 = _super7.call.apply(_super7, [this].concat(args));
534
+ _this6 = _super6.call.apply(_super6, [this].concat(args));
558
535
 
559
- _defineProperty(_assertThisInitialized(_this7), "serviceName", 'customer');
536
+ _defineProperty(_assertThisInitialized(_this6), "serviceName", 'customer');
560
537
 
561
- _defineProperty(_assertThisInitialized(_this7), "id", void 0);
538
+ _defineProperty(_assertThisInitialized(_this6), "id", void 0);
562
539
 
563
- _defineProperty(_assertThisInitialized(_this7), "name", void 0);
540
+ _defineProperty(_assertThisInitialized(_this6), "name", void 0);
564
541
 
565
- return _this7;
542
+ return _this6;
566
543
  }
567
544
 
568
545
  return _createClass(BackofficeCustomer);
569
546
  }(BaseCallClass);
570
- var BackofficePlugin = /*#__PURE__*/function (_BaseCallClass8) {
571
- _inherits(BackofficePlugin, _BaseCallClass8);
547
+ var BackofficePlugin = /*#__PURE__*/function (_BaseCallClass7) {
548
+ _inherits(BackofficePlugin, _BaseCallClass7);
572
549
 
573
- var _super8 = _createSuper(BackofficePlugin);
550
+ var _super7 = _createSuper(BackofficePlugin);
574
551
 
575
552
  function BackofficePlugin() {
576
- var _this8;
553
+ var _this7;
577
554
 
578
555
  _classCallCheck(this, BackofficePlugin);
579
556
 
580
- for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
581
- args[_key8] = arguments[_key8];
557
+ for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
558
+ args[_key7] = arguments[_key7];
582
559
  }
583
560
 
584
- _this8 = _super8.call.apply(_super8, [this].concat(args));
561
+ _this7 = _super7.call.apply(_super7, [this].concat(args));
585
562
 
586
- _defineProperty(_assertThisInitialized(_this8), "serviceName", 'plugin');
563
+ _defineProperty(_assertThisInitialized(_this7), "serviceName", 'plugin');
587
564
 
588
- _defineProperty(_assertThisInitialized(_this8), "id", void 0);
565
+ _defineProperty(_assertThisInitialized(_this7), "id", void 0);
589
566
 
590
- _defineProperty(_assertThisInitialized(_this8), "srcUrl", void 0);
567
+ _defineProperty(_assertThisInitialized(_this7), "srcUrl", void 0);
591
568
 
592
- _defineProperty(_assertThisInitialized(_this8), "name", void 0);
569
+ _defineProperty(_assertThisInitialized(_this7), "name", void 0);
593
570
 
594
- return _this8;
571
+ return _this7;
595
572
  }
596
573
 
597
574
  return _createClass(BackofficePlugin);
@@ -679,15 +656,15 @@
679
656
 
680
657
  return ShopCatalog;
681
658
  }(BaseCallClass);
682
- var ShopAccount = /*#__PURE__*/function (_BaseCallClass2) {
683
- _inherits(ShopAccount, _BaseCallClass2);
659
+ var ShopWishlist = /*#__PURE__*/function (_BaseCallClass2) {
660
+ _inherits(ShopWishlist, _BaseCallClass2);
684
661
 
685
- var _super2 = _createSuper(ShopAccount);
662
+ var _super2 = _createSuper(ShopWishlist);
686
663
 
687
- function ShopAccount() {
664
+ function ShopWishlist() {
688
665
  var _this2;
689
666
 
690
- _classCallCheck(this, ShopAccount);
667
+ _classCallCheck(this, ShopWishlist);
691
668
 
692
669
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
693
670
  args[_key2] = arguments[_key2];
@@ -695,17 +672,57 @@
695
672
 
696
673
  _this2 = _super2.call.apply(_super2, [this].concat(args));
697
674
 
698
- _defineProperty(_assertThisInitialized(_this2), "serviceName", 'account');
675
+ _defineProperty(_assertThisInitialized(_this2), "serviceName", 'wishlist');
699
676
 
700
- _defineProperty(_assertThisInitialized(_this2), "client", void 0);
677
+ return _this2;
678
+ }
701
679
 
702
- _defineProperty(_assertThisInitialized(_this2), "isAuthenticated", void 0);
680
+ _createClass(ShopWishlist, [{
681
+ key: "addProductsToWishlist",
682
+ value: function addProductsToWishlist(wishlistId, newProduct) {
683
+ return this.call('addProductsToWishlist', wishlistId, newProduct);
684
+ }
685
+ }, {
686
+ key: "getWishlists",
687
+ value: function getWishlists() {
688
+ return this.call('getWishlists');
689
+ }
690
+ }, {
691
+ key: "createWishlist",
692
+ value: function createWishlist(name) {
693
+ return this.call('createWishlist', name);
694
+ }
695
+ }]);
703
696
 
704
- _defineProperty(_assertThisInitialized(_this2), "user", void 0);
697
+ return ShopWishlist;
698
+ }(BaseCallClass);
699
+ var ShopAccount = /*#__PURE__*/function (_BaseCallClass3) {
700
+ _inherits(ShopAccount, _BaseCallClass3);
705
701
 
706
- _defineProperty(_assertThisInitialized(_this2), "manager", void 0);
702
+ var _super3 = _createSuper(ShopAccount);
707
703
 
708
- return _this2;
704
+ function ShopAccount() {
705
+ var _this3;
706
+
707
+ _classCallCheck(this, ShopAccount);
708
+
709
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
710
+ args[_key3] = arguments[_key3];
711
+ }
712
+
713
+ _this3 = _super3.call.apply(_super3, [this].concat(args));
714
+
715
+ _defineProperty(_assertThisInitialized(_this3), "serviceName", 'account');
716
+
717
+ _defineProperty(_assertThisInitialized(_this3), "client", void 0);
718
+
719
+ _defineProperty(_assertThisInitialized(_this3), "isAuthenticated", void 0);
720
+
721
+ _defineProperty(_assertThisInitialized(_this3), "user", void 0);
722
+
723
+ _defineProperty(_assertThisInitialized(_this3), "manager", void 0);
724
+
725
+ return _this3;
709
726
  }
710
727
 
711
728
  _createClass(ShopAccount, [{
@@ -721,31 +738,31 @@
721
738
 
722
739
  return ShopAccount;
723
740
  }(BaseCallClass);
724
- var ShopCart = /*#__PURE__*/function (_BaseCallClass3) {
725
- _inherits(ShopCart, _BaseCallClass3);
741
+ var ShopCart = /*#__PURE__*/function (_BaseCallClass4) {
742
+ _inherits(ShopCart, _BaseCallClass4);
726
743
 
727
- var _super3 = _createSuper(ShopCart);
744
+ var _super4 = _createSuper(ShopCart);
728
745
 
729
746
  function ShopCart() {
730
- var _this3;
747
+ var _this4;
731
748
 
732
749
  _classCallCheck(this, ShopCart);
733
750
 
734
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
735
- args[_key3] = arguments[_key3];
751
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
752
+ args[_key4] = arguments[_key4];
736
753
  }
737
754
 
738
- _this3 = _super3.call.apply(_super3, [this].concat(args));
755
+ _this4 = _super4.call.apply(_super4, [this].concat(args));
739
756
 
740
- _defineProperty(_assertThisInitialized(_this3), "serviceName", 'cart');
757
+ _defineProperty(_assertThisInitialized(_this4), "serviceName", 'cart');
741
758
 
742
- _defineProperty(_assertThisInitialized(_this3), "carts", void 0);
759
+ _defineProperty(_assertThisInitialized(_this4), "carts", void 0);
743
760
 
744
- _defineProperty(_assertThisInitialized(_this3), "currentCart", void 0);
761
+ _defineProperty(_assertThisInitialized(_this4), "currentCart", void 0);
745
762
 
746
- _defineProperty(_assertThisInitialized(_this3), "totalCartPrice", void 0);
763
+ _defineProperty(_assertThisInitialized(_this4), "totalCartPrice", void 0);
747
764
 
748
- return _this3;
765
+ return _this4;
749
766
  }
750
767
 
751
768
  _createClass(ShopCart, [{
@@ -757,25 +774,25 @@
757
774
 
758
775
  return ShopCart;
759
776
  }(BaseCallClass);
760
- var ShopAuthorization = /*#__PURE__*/function (_BaseCallClass4) {
761
- _inherits(ShopAuthorization, _BaseCallClass4);
777
+ var ShopAuthorization = /*#__PURE__*/function (_BaseCallClass5) {
778
+ _inherits(ShopAuthorization, _BaseCallClass5);
762
779
 
763
- var _super4 = _createSuper(ShopAuthorization);
780
+ var _super5 = _createSuper(ShopAuthorization);
764
781
 
765
782
  function ShopAuthorization() {
766
- var _this4;
783
+ var _this5;
767
784
 
768
785
  _classCallCheck(this, ShopAuthorization);
769
786
 
770
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
771
- args[_key4] = arguments[_key4];
787
+ for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
788
+ args[_key5] = arguments[_key5];
772
789
  }
773
790
 
774
- _this4 = _super4.call.apply(_super4, [this].concat(args));
791
+ _this5 = _super5.call.apply(_super5, [this].concat(args));
775
792
 
776
- _defineProperty(_assertThisInitialized(_this4), "serviceName", 'authorization');
793
+ _defineProperty(_assertThisInitialized(_this5), "serviceName", 'authorization');
777
794
 
778
- return _this4;
795
+ return _this5;
779
796
  }
780
797
 
781
798
  _createClass(ShopAuthorization, [{
@@ -787,41 +804,41 @@
787
804
 
788
805
  return ShopAuthorization;
789
806
  }(BaseCallClass);
790
- var ShopUtils = /*#__PURE__*/function (_BaseCallClass5) {
791
- _inherits(ShopUtils, _BaseCallClass5);
807
+ var ShopUtils = /*#__PURE__*/function (_BaseCallClass6) {
808
+ _inherits(ShopUtils, _BaseCallClass6);
792
809
 
793
- var _super5 = _createSuper(ShopUtils);
810
+ var _super6 = _createSuper(ShopUtils);
794
811
 
795
812
  function ShopUtils(call) {
796
- var _this5;
813
+ var _this6;
797
814
 
798
815
  _classCallCheck(this, ShopUtils);
799
816
 
800
- _this5 = _super5.call(this, call);
817
+ _this6 = _super6.call(this, call);
801
818
 
802
- _defineProperty(_assertThisInitialized(_this5), "serviceName", 'utils');
819
+ _defineProperty(_assertThisInitialized(_this6), "serviceName", 'utils');
803
820
 
804
- _defineProperty(_assertThisInitialized(_this5), "currency", void 0);
821
+ _defineProperty(_assertThisInitialized(_this6), "currency", void 0);
805
822
 
806
- _defineProperty(_assertThisInitialized(_this5), "isAnonymousAndPurchaseDisabled", void 0);
823
+ _defineProperty(_assertThisInitialized(_this6), "isAnonymousAndPurchaseDisabled", void 0);
807
824
 
808
- _defineProperty(_assertThisInitialized(_this5), "isB2B", void 0);
825
+ _defineProperty(_assertThisInitialized(_this6), "isB2B", void 0);
809
826
 
810
- _defineProperty(_assertThisInitialized(_this5), "isB2BAndPlatformIsNotOpened", void 0);
827
+ _defineProperty(_assertThisInitialized(_this6), "isB2BAndPlatformIsNotOpened", void 0);
811
828
 
812
- _defineProperty(_assertThisInitialized(_this5), "isIndexPage", void 0);
829
+ _defineProperty(_assertThisInitialized(_this6), "isIndexPage", void 0);
813
830
 
814
- _defineProperty(_assertThisInitialized(_this5), "isPurchaseEnabledOrAuthenticated", void 0);
831
+ _defineProperty(_assertThisInitialized(_this6), "isPurchaseEnabledOrAuthenticated", void 0);
815
832
 
816
- _defineProperty(_assertThisInitialized(_this5), "routes", void 0);
833
+ _defineProperty(_assertThisInitialized(_this6), "routes", void 0);
817
834
 
818
- _this5.routes = {
819
- getCategoryPath: _this5.getCategoryPath,
820
- getManufacturerSearchUrl: _this5.getManufacturerSearchUrl,
821
- getProductUrl: _this5.getProductUrl,
822
- isExternalUrl: _this5.isExternalUrl
835
+ _this6.routes = {
836
+ getCategoryPath: _this6.getCategoryPath,
837
+ getManufacturerSearchUrl: _this6.getManufacturerSearchUrl,
838
+ getProductUrl: _this6.getProductUrl,
839
+ isExternalUrl: _this6.isExternalUrl
823
840
  };
824
- return _this5;
841
+ return _this6;
825
842
  }
826
843
 
827
844
  _createClass(ShopUtils, [{
@@ -848,43 +865,43 @@
848
865
 
849
866
  return ShopUtils;
850
867
  }(BaseCallClass);
851
- var ShopConfig = /*#__PURE__*/function (_BaseCallClass6) {
852
- _inherits(ShopConfig, _BaseCallClass6);
868
+ var ShopConfig = /*#__PURE__*/function (_BaseCallClass7) {
869
+ _inherits(ShopConfig, _BaseCallClass7);
853
870
 
854
- var _super6 = _createSuper(ShopConfig);
871
+ var _super7 = _createSuper(ShopConfig);
855
872
 
856
873
  function ShopConfig() {
857
- var _this6;
874
+ var _this7;
858
875
 
859
876
  _classCallCheck(this, ShopConfig);
860
877
 
861
- for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
862
- args[_key5] = arguments[_key5];
878
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
879
+ args[_key6] = arguments[_key6];
863
880
  }
864
881
 
865
- _this6 = _super6.call.apply(_super6, [this].concat(args));
882
+ _this7 = _super7.call.apply(_super7, [this].concat(args));
866
883
 
867
- _defineProperty(_assertThisInitialized(_this6), "serviceName", 'config');
884
+ _defineProperty(_assertThisInitialized(_this7), "serviceName", 'config');
868
885
 
869
- _defineProperty(_assertThisInitialized(_this6), "accessMode", void 0);
886
+ _defineProperty(_assertThisInitialized(_this7), "accessMode", void 0);
870
887
 
871
- _defineProperty(_assertThisInitialized(_this6), "isB2CRegistrationEnabled", void 0);
888
+ _defineProperty(_assertThisInitialized(_this7), "isB2CRegistrationEnabled", void 0);
872
889
 
873
- _defineProperty(_assertThisInitialized(_this6), "isCatalogOpened", void 0);
890
+ _defineProperty(_assertThisInitialized(_this7), "isCatalogOpened", void 0);
874
891
 
875
- _defineProperty(_assertThisInitialized(_this6), "isGrossSelected", void 0);
892
+ _defineProperty(_assertThisInitialized(_this7), "isGrossSelected", void 0);
876
893
 
877
- _defineProperty(_assertThisInitialized(_this6), "isPlatformClosed", void 0);
894
+ _defineProperty(_assertThisInitialized(_this7), "isPlatformClosed", void 0);
878
895
 
879
- _defineProperty(_assertThisInitialized(_this6), "isPlatformOpened", void 0);
896
+ _defineProperty(_assertThisInitialized(_this7), "isPlatformOpened", void 0);
880
897
 
881
- _defineProperty(_assertThisInitialized(_this6), "isPurchaseEnabled", void 0);
898
+ _defineProperty(_assertThisInitialized(_this7), "isPurchaseEnabled", void 0);
882
899
 
883
- _defineProperty(_assertThisInitialized(_this6), "isRegistrationEnabled", void 0);
900
+ _defineProperty(_assertThisInitialized(_this7), "isRegistrationEnabled", void 0);
884
901
 
885
- _defineProperty(_assertThisInitialized(_this6), "currency", void 0);
902
+ _defineProperty(_assertThisInitialized(_this7), "currency", void 0);
886
903
 
887
- return _this6;
904
+ return _this7;
888
905
  }
889
906
 
890
907
  return _createClass(ShopConfig);
@@ -995,7 +1012,11 @@
995
1012
  _createClass(Sdk, [{
996
1013
  key: "initializeContextClass",
997
1014
  value: function initializeContextClass() {
998
- return new this.contextClass(this.callFunction.bind(this));
1015
+ if (this.contextClass) {
1016
+ return new this.contextClass(this.callFunction.bind(this));
1017
+ }
1018
+
1019
+ return {};
999
1020
  }
1000
1021
  }, {
1001
1022
  key: "initializeServiceGetters",
@@ -1080,11 +1101,15 @@
1080
1101
  method: fun,
1081
1102
  payload: payload
1082
1103
  });
1083
- return new Promise(function (resolve) {
1104
+ return new Promise(function (resolve, reject) {
1084
1105
  var onChannelMessage = function onChannelMessage(response) {
1085
1106
  if (response.callId === callId) {
1086
1107
  _this4.channel.unsubscribe(main.Message.METHOD_RESULT, onChannelMessage);
1087
1108
 
1109
+ if (response !== null && response !== void 0 && response.isException) {
1110
+ return reject(response.result);
1111
+ }
1112
+
1088
1113
  return resolve(response.result);
1089
1114
  }
1090
1115
  };
@@ -1151,7 +1176,6 @@
1151
1176
  hash: '',
1152
1177
  query: {}
1153
1178
  },
1154
- orderpath: new BackofficeOrderpath(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1155
1179
  catalog: new BackofficeCatalog(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1156
1180
  user: new BackofficeUser(_this5.callFunction.bind(_assertThisInitialized(_this5))),
1157
1181
  tenant: new BackofficeTenant(_this5.callFunction.bind(_assertThisInitialized(_this5))),
@@ -1193,7 +1217,8 @@
1193
1217
  catalog: new ShopCatalog(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1194
1218
  account: new ShopAccount(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1195
1219
  utils: new ShopUtils(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1196
- config: new ShopConfig(_this6.callFunction.bind(_assertThisInitialized(_this6)))
1220
+ config: new ShopConfig(_this6.callFunction.bind(_assertThisInitialized(_this6))),
1221
+ wishlist: new ShopWishlist(_this6.callFunction.bind(_assertThisInitialized(_this6)))
1197
1222
  });
1198
1223
 
1199
1224
  return _this6;