@one-commerce/sdk-backoffice-vue3 1.19.1-alpha.0 → 1.19.2-alpha.0

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.
@@ -73,18 +73,7 @@ exports.Errors = exports.Message = void 0;
73
73
 
74
74
  var api = {};
75
75
 
76
- (function (exports) {
77
- Object.defineProperty(exports, "__esModule", { value: true });
78
- exports.Backoffice = void 0;
79
- (function (Backoffice) {
80
- (function (Context) {
81
- (function (AvailableContext) {
82
- AvailableContext["ADD_TO_CART"] = "backofficeAddToCart";
83
- })(Context.AvailableContext || (Context.AvailableContext = {}));
84
- })(Backoffice.Context || (Backoffice.Context = {}));
85
- })(exports.Backoffice || (exports.Backoffice = {}));
86
-
87
- }(api));
76
+ Object.defineProperty(api, "__esModule", { value: true });
88
77
 
89
78
  (function (exports) {
90
79
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -151,11 +140,19 @@ class BaseCallClass {
151
140
  }
152
141
 
153
142
  function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
154
- class AddToCartContext extends BaseCallClass {
143
+
144
+ class ContextCallClass extends BaseCallClass {
155
145
  constructor(...args) {
156
146
  super(...args);
157
147
 
158
- _defineProperty$3(this, "serviceName", main.Backoffice.Context.AvailableContext.ADD_TO_CART);
148
+ _defineProperty$3(this, "serviceName", 'context');
149
+ }
150
+
151
+ }
152
+
153
+ class AddToCartContext extends ContextCallClass {
154
+ constructor(...args) {
155
+ super(...args);
159
156
 
160
157
  _defineProperty$3(this, "productId", void 0);
161
158