@plasmicpkgs/commerce 0.0.206 → 0.0.208

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.
@@ -540,7 +540,7 @@ var CommerceError = /*#__PURE__*/function (_Error) {
540
540
  return _this;
541
541
  }
542
542
  return CommerceError;
543
- }( /*#__PURE__*/_wrapNativeSuper(Error));
543
+ }(/*#__PURE__*/_wrapNativeSuper(Error));
544
544
  // Used for errors that come from a bad implementation of the hooks
545
545
  var ValidationError = /*#__PURE__*/function (_CommerceError) {
546
546
  _inheritsLoose(ValidationError, _CommerceError);
@@ -566,7 +566,7 @@ var FetcherError = /*#__PURE__*/function (_CommerceError2) {
566
566
  var useData = function useData(options, input, fetcherFn, swrOptions, provider) {
567
567
  var hookInput = Array.isArray(input) ? input : Object.entries(input);
568
568
  var fetcher = /*#__PURE__*/function () {
569
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, query, method) {
569
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, query, method) {
570
570
  var _len,
571
571
  args,
572
572
  _key,
@@ -901,7 +901,7 @@ function AddToCartButton(props) {
901
901
  var form = reactHookForm.useFormContext();
902
902
  var addItem = useAddItem();
903
903
  var addToCart = /*#__PURE__*/function () {
904
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
904
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
905
905
  var _form$getValues$Produ;
906
906
  var quantity, _form$getValues$Produ2, variantId;
907
907
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -954,7 +954,7 @@ function registerAddToCartButton(loader, customAddToCartButtonMeta) {
954
954
  }
955
955
 
956
956
  var fetcher$3 = /*#__PURE__*/function () {
957
- var _ref2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
957
+ var _ref2 = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
958
958
  var options, cartId, fetch;
959
959
  return _regeneratorRuntime().wrap(function _callee$(_context) {
960
960
  while (1) switch (_context.prev = _context.next) {