@wix/builder-services 1.16.3 → 1.16.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.
@@ -697,7 +697,7 @@
697
697
  }
698
698
  var runInContext = function runInContext2(context) {
699
699
  context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
700
- var Array2 = context.Array, Date = context.Date, Error = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
700
+ var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
701
701
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
702
702
  var coreJsData = context["__core-js_shared__"];
703
703
  var funcToString = funcProto.toString;
@@ -4153,7 +4153,7 @@
4153
4153
  }
4154
4154
  function isNative(value) {
4155
4155
  if (isMaskable(value)) {
4156
- throw new Error(CORE_ERROR_TEXT);
4156
+ throw new Error2(CORE_ERROR_TEXT);
4157
4157
  }
4158
4158
  return baseIsNative(value);
4159
4159
  }
@@ -4668,7 +4668,7 @@
4668
4668
  var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4669
4669
  arrayEach(importsKeys, function(key) {
4670
4670
  if (reForbiddenIdentifierChars.test(key)) {
4671
- throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4671
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4672
4672
  }
4673
4673
  });
4674
4674
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
@@ -4699,7 +4699,7 @@
4699
4699
  if (!variable) {
4700
4700
  source = "with (obj) {\n" + source + "\n}\n";
4701
4701
  } else if (reForbiddenIdentifierChars.test(variable)) {
4702
- throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
4702
+ throw new Error2(INVALID_TEMPL_VAR_ERROR_TEXT);
4703
4703
  }
4704
4704
  source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
4705
4705
  source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
@@ -4818,7 +4818,7 @@
4818
4818
  try {
4819
4819
  return apply(func, undefined$1, args);
4820
4820
  } catch (e) {
4821
- return isError(e) ? e : new Error(e);
4821
+ return isError(e) ? e : new Error2(e);
4822
4822
  }
4823
4823
  });
4824
4824
  var bindAll = flatRest(function(object, methodNames) {
@@ -5566,9 +5566,26 @@
5566
5566
  setHead
5567
5567
  };
5568
5568
  };
5569
+ const SiteMembersService = () => ({
5570
+ promptLogin: () => Promise.reject(new Error("promptLogin is not supported in this environment")),
5571
+ logout: () => Promise.resolve(),
5572
+ getMemberDetails: () => Promise.resolve(null),
5573
+ addMemberLoginListener: () => "",
5574
+ removeMemberLoginListener: () => {
5575
+ },
5576
+ addMemberDetailsRefreshListener: () => "",
5577
+ removeMemberDetailsRefreshListener: () => {
5578
+ }
5579
+ });
5580
+ const SeoService = () => ({
5581
+ setSeoEntity: () => Promise.resolve(),
5582
+ resetSeoEntity: () => Promise.resolve()
5583
+ });
5569
5584
  exports2.BusinessLoggerService = BusinessLoggerService;
5570
5585
  exports2.HeadAppenderService = HeadAppenderService;
5571
5586
  exports2.LightboxService = LightboxService;
5587
+ exports2.SeoService = SeoService;
5588
+ exports2.SiteMembersService = SiteMembersService;
5572
5589
  exports2.createServicesProvider = createServicesProvider;
5573
5590
  exports2.registerPopupReactRoot = registerPopupReactRoot;
5574
5591
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });