@webbycrown/webbycommerce 1.1.0 → 1.1.2

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/README.md CHANGED
@@ -580,8 +580,11 @@ Authorization: Bearer YOUR_JWT_TOKEN
580
580
 
581
581
  ## 📜 Changelog
582
582
 
583
+ ## [1.1.2]
584
+ - Fixed bugs and resolved issues with the category slug API.
585
+
583
586
  ## [1.1.0]
584
- - Added Bulk Product API for mass product creation
587
+ - Added Bulk Product API
585
588
 
586
589
  ## [1.0.2] – Patch Release
587
590
 
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const reactIntl = require("react-intl");
6
6
  const designSystem = require("@strapi/design-system");
7
- const index = require("./index-CtxKh-aM.js");
7
+ const index = require("./index-RtBCA1lD.js");
8
8
  const icons = require("@strapi/icons");
9
9
  require("react-dom/client");
10
10
  const ReactDOM = require("react-dom");
@@ -10310,7 +10310,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
10310
10310
  var ys = arrObjKeys(obj, inspect2);
10311
10311
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
10312
10312
  var protoTag = obj instanceof Object ? "" : "null prototype";
10313
- var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
10313
+ var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
10314
10314
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
10315
10315
  var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
10316
10316
  if (ys.length === 0) {
@@ -10335,25 +10335,25 @@ function canTrustToString(obj) {
10335
10335
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
10336
10336
  }
10337
10337
  function isArray$4(obj) {
10338
- return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
10338
+ return toStr(obj) === "[object Array]" && canTrustToString(obj);
10339
10339
  }
10340
10340
  function isDate$2(obj) {
10341
- return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
10341
+ return toStr(obj) === "[object Date]" && canTrustToString(obj);
10342
10342
  }
10343
10343
  function isRegExp$2(obj) {
10344
- return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
10344
+ return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
10345
10345
  }
10346
10346
  function isError(obj) {
10347
- return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
10347
+ return toStr(obj) === "[object Error]" && canTrustToString(obj);
10348
10348
  }
10349
10349
  function isString$1(obj) {
10350
- return toStr$1(obj) === "[object String]" && canTrustToString(obj);
10350
+ return toStr(obj) === "[object String]" && canTrustToString(obj);
10351
10351
  }
10352
10352
  function isNumber$1(obj) {
10353
- return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
10353
+ return toStr(obj) === "[object Number]" && canTrustToString(obj);
10354
10354
  }
10355
10355
  function isBoolean$1(obj) {
10356
- return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
10356
+ return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
10357
10357
  }
10358
10358
  function isSymbol(obj) {
10359
10359
  if (hasShammedSymbols) {
@@ -10389,7 +10389,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
10389
10389
  function has$5(obj, key) {
10390
10390
  return hasOwn$1.call(obj, key);
10391
10391
  }
10392
- function toStr$1(obj) {
10392
+ function toStr(obj) {
10393
10393
  return objectToString.call(obj);
10394
10394
  }
10395
10395
  function nameOf(f2) {
@@ -10698,7 +10698,7 @@ var syntax = SyntaxError;
10698
10698
  var uri = URIError;
10699
10699
  var abs$1 = Math.abs;
10700
10700
  var floor$1 = Math.floor;
10701
- var max$2 = Math.max;
10701
+ var max$1 = Math.max;
10702
10702
  var min$1 = Math.min;
10703
10703
  var pow$1 = Math.pow;
10704
10704
  var round$1 = Math.round;
@@ -10827,78 +10827,99 @@ function requireObject_getPrototypeOf() {
10827
10827
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
10828
10828
  return Object_getPrototypeOf;
10829
10829
  }
10830
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
10831
- var toStr = Object.prototype.toString;
10832
- var max$1 = Math.max;
10833
- var funcType = "[object Function]";
10834
- var concatty = function concatty2(a2, b2) {
10835
- var arr = [];
10836
- for (var i2 = 0; i2 < a2.length; i2 += 1) {
10837
- arr[i2] = a2[i2];
10838
- }
10839
- for (var j2 = 0; j2 < b2.length; j2 += 1) {
10840
- arr[j2 + a2.length] = b2[j2];
10841
- }
10842
- return arr;
10843
- };
10844
- var slicy = function slicy2(arrLike, offset) {
10845
- var arr = [];
10846
- for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
10847
- arr[j2] = arrLike[i2];
10848
- }
10849
- return arr;
10850
- };
10851
- var joiny = function(arr, joiner) {
10852
- var str = "";
10853
- for (var i2 = 0; i2 < arr.length; i2 += 1) {
10854
- str += arr[i2];
10855
- if (i2 + 1 < arr.length) {
10856
- str += joiner;
10830
+ var implementation;
10831
+ var hasRequiredImplementation;
10832
+ function requireImplementation() {
10833
+ if (hasRequiredImplementation) return implementation;
10834
+ hasRequiredImplementation = 1;
10835
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
10836
+ var toStr2 = Object.prototype.toString;
10837
+ var max2 = Math.max;
10838
+ var funcType = "[object Function]";
10839
+ var concatty = function concatty2(a2, b2) {
10840
+ var arr = [];
10841
+ for (var i2 = 0; i2 < a2.length; i2 += 1) {
10842
+ arr[i2] = a2[i2];
10857
10843
  }
10858
- }
10859
- return str;
10860
- };
10861
- var implementation$1 = function bind(that) {
10862
- var target = this;
10863
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
10864
- throw new TypeError(ERROR_MESSAGE + target);
10865
- }
10866
- var args = slicy(arguments, 1);
10867
- var bound;
10868
- var binder = function() {
10869
- if (this instanceof bound) {
10870
- var result = target.apply(
10871
- this,
10872
- concatty(args, arguments)
10873
- );
10874
- if (Object(result) === result) {
10875
- return result;
10844
+ for (var j2 = 0; j2 < b2.length; j2 += 1) {
10845
+ arr[j2 + a2.length] = b2[j2];
10846
+ }
10847
+ return arr;
10848
+ };
10849
+ var slicy = function slicy2(arrLike, offset) {
10850
+ var arr = [];
10851
+ for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
10852
+ arr[j2] = arrLike[i2];
10853
+ }
10854
+ return arr;
10855
+ };
10856
+ var joiny = function(arr, joiner) {
10857
+ var str = "";
10858
+ for (var i2 = 0; i2 < arr.length; i2 += 1) {
10859
+ str += arr[i2];
10860
+ if (i2 + 1 < arr.length) {
10861
+ str += joiner;
10876
10862
  }
10877
- return this;
10878
10863
  }
10879
- return target.apply(
10880
- that,
10881
- concatty(args, arguments)
10882
- );
10864
+ return str;
10883
10865
  };
10884
- var boundLength = max$1(0, target.length - args.length);
10885
- var boundArgs = [];
10886
- for (var i2 = 0; i2 < boundLength; i2++) {
10887
- boundArgs[i2] = "$" + i2;
10888
- }
10889
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
10890
- if (target.prototype) {
10891
- var Empty = function Empty2() {
10866
+ implementation = function bind2(that) {
10867
+ var target = this;
10868
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
10869
+ throw new TypeError(ERROR_MESSAGE + target);
10870
+ }
10871
+ var args = slicy(arguments, 1);
10872
+ var bound;
10873
+ var binder = function() {
10874
+ if (this instanceof bound) {
10875
+ var result = target.apply(
10876
+ this,
10877
+ concatty(args, arguments)
10878
+ );
10879
+ if (Object(result) === result) {
10880
+ return result;
10881
+ }
10882
+ return this;
10883
+ }
10884
+ return target.apply(
10885
+ that,
10886
+ concatty(args, arguments)
10887
+ );
10892
10888
  };
10893
- Empty.prototype = target.prototype;
10894
- bound.prototype = new Empty();
10895
- Empty.prototype = null;
10896
- }
10897
- return bound;
10898
- };
10899
- var implementation = implementation$1;
10900
- var functionBind = Function.prototype.bind || implementation;
10901
- var functionCall = Function.prototype.call;
10889
+ var boundLength = max2(0, target.length - args.length);
10890
+ var boundArgs = [];
10891
+ for (var i2 = 0; i2 < boundLength; i2++) {
10892
+ boundArgs[i2] = "$" + i2;
10893
+ }
10894
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
10895
+ if (target.prototype) {
10896
+ var Empty = function Empty2() {
10897
+ };
10898
+ Empty.prototype = target.prototype;
10899
+ bound.prototype = new Empty();
10900
+ Empty.prototype = null;
10901
+ }
10902
+ return bound;
10903
+ };
10904
+ return implementation;
10905
+ }
10906
+ var functionBind;
10907
+ var hasRequiredFunctionBind;
10908
+ function requireFunctionBind() {
10909
+ if (hasRequiredFunctionBind) return functionBind;
10910
+ hasRequiredFunctionBind = 1;
10911
+ var implementation2 = requireImplementation();
10912
+ functionBind = Function.prototype.bind || implementation2;
10913
+ return functionBind;
10914
+ }
10915
+ var functionCall;
10916
+ var hasRequiredFunctionCall;
10917
+ function requireFunctionCall() {
10918
+ if (hasRequiredFunctionCall) return functionCall;
10919
+ hasRequiredFunctionCall = 1;
10920
+ functionCall = Function.prototype.call;
10921
+ return functionCall;
10922
+ }
10902
10923
  var functionApply;
10903
10924
  var hasRequiredFunctionApply;
10904
10925
  function requireFunctionApply() {
@@ -10908,14 +10929,14 @@ function requireFunctionApply() {
10908
10929
  return functionApply;
10909
10930
  }
10910
10931
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
10911
- var bind$3 = functionBind;
10932
+ var bind$3 = requireFunctionBind();
10912
10933
  var $apply$1 = requireFunctionApply();
10913
- var $call$2 = functionCall;
10934
+ var $call$2 = requireFunctionCall();
10914
10935
  var $reflectApply = reflectApply;
10915
10936
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
10916
- var bind$2 = functionBind;
10937
+ var bind$2 = requireFunctionBind();
10917
10938
  var $TypeError$4 = type;
10918
- var $call$1 = functionCall;
10939
+ var $call$1 = requireFunctionCall();
10919
10940
  var $actualApply = actualApply;
10920
10941
  var callBindApplyHelpers = function callBindBasic(args) {
10921
10942
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -10981,8 +11002,8 @@ function requireHasown() {
10981
11002
  hasRequiredHasown = 1;
10982
11003
  var call = Function.prototype.call;
10983
11004
  var $hasOwn = Object.prototype.hasOwnProperty;
10984
- var bind3 = functionBind;
10985
- hasown = bind3.call(call, $hasOwn);
11005
+ var bind2 = requireFunctionBind();
11006
+ hasown = bind2.call(call, $hasOwn);
10986
11007
  return hasown;
10987
11008
  }
10988
11009
  var undefined$1;
@@ -10996,7 +11017,7 @@ var $TypeError$3 = type;
10996
11017
  var $URIError = uri;
10997
11018
  var abs = abs$1;
10998
11019
  var floor = floor$1;
10999
- var max = max$2;
11020
+ var max = max$1;
11000
11021
  var min = min$1;
11001
11022
  var pow = pow$1;
11002
11023
  var round = round$1;
@@ -11030,7 +11051,7 @@ var getProto = requireGetProto();
11030
11051
  var $ObjectGPO = requireObject_getPrototypeOf();
11031
11052
  var $ReflectGPO = requireReflect_getPrototypeOf();
11032
11053
  var $apply = requireFunctionApply();
11033
- var $call = functionCall;
11054
+ var $call = requireFunctionCall();
11034
11055
  var needsEval = {};
11035
11056
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
11036
11057
  var INTRINSICS = {
@@ -11201,7 +11222,7 @@ var LEGACY_ALIASES = {
11201
11222
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
11202
11223
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
11203
11224
  };
11204
- var bind$1 = functionBind;
11225
+ var bind$1 = requireFunctionBind();
11205
11226
  var hasOwn = requireHasown();
11206
11227
  var $concat = bind$1.call($call, Array.prototype.concat);
11207
11228
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -15532,7 +15553,7 @@ const admin = adminApi.enhanceEndpoints({
15532
15553
  overrideExisting: false
15533
15554
  });
15534
15555
  const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
15535
- function bind2(fn2, thisArg) {
15556
+ function bind(fn2, thisArg) {
15536
15557
  return function wrap() {
15537
15558
  return fn2.apply(thisArg, arguments);
15538
15559
  };
@@ -15669,7 +15690,7 @@ function merge2() {
15669
15690
  const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
15670
15691
  forEach$1(b2, (val, key) => {
15671
15692
  if (thisArg && isFunction$1(val)) {
15672
- a2[key] = bind2(val, thisArg);
15693
+ a2[key] = bind(val, thisArg);
15673
15694
  } else {
15674
15695
  a2[key] = val;
15675
15696
  }
@@ -17949,7 +17970,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
17949
17970
  });
17950
17971
  function createInstance(defaultConfig) {
17951
17972
  const context = new Axios$1(defaultConfig);
17952
- const instance = bind2(Axios$1.prototype.request, context);
17973
+ const instance = bind(Axios$1.prototype.request, context);
17953
17974
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
17954
17975
  utils$1.extend(instance, context, null, { allOwnKeys: true });
17955
17976
  instance.create = function create2(instanceConfig) {
@@ -21625,6 +21646,7 @@ const MainSubNav = styled.styled(designSystem.SubNav)`
21625
21646
  position: sticky;
21626
21647
  top: 0;
21627
21648
  border-right: 1px solid ${({ theme }) => theme.colors.neutral150};
21649
+ overscroll-behavior: contain;
21628
21650
  }
21629
21651
  ${({ theme }) => theme.breakpoints.large} {
21630
21652
  height: 100dvh;
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import React__default, { useContext, useRef, useCallback, useDebugValue, useMemo, useState, useEffect, useLayoutEffect, createContext as createContext$1, createElement, useReducer } from "react";
4
4
  import { useIntl, FormattedMessage } from "react-intl";
5
5
  import { Flex, Box, Popover, Typography, Button, LinkButton, Link as Link$1, Portal, Alert, Field, SubNav, Badge, TextInput, Pagination, PreviousLink, Dots, PageLink, NextLink, Modal, Main } from "@strapi/design-system";
6
- import { P as PLUGIN_ID } from "./index-DIGoLhGE.mjs";
6
+ import { P as PLUGIN_ID } from "./index-BHqcM1qU.mjs";
7
7
  import { WarningCircle, CaretDown, Trash } from "@strapi/icons";
8
8
  import "react-dom/client";
9
9
  import ReactDOM, { unstable_batchedUpdates as unstable_batchedUpdates$1 } from "react-dom";
@@ -21625,6 +21625,7 @@ const MainSubNav = styled(SubNav)`
21625
21625
  position: sticky;
21626
21626
  top: 0;
21627
21627
  border-right: 1px solid ${({ theme }) => theme.colors.neutral150};
21628
+ overscroll-behavior: contain;
21628
21629
  }
21629
21630
  ${({ theme }) => theme.breakpoints.large} {
21630
21631
  height: 100dvh;
@@ -92,7 +92,7 @@ const index = {
92
92
  defaultMessage: "Configure"
93
93
  },
94
94
  to: `${PLUGIN_ID}`,
95
- Component: () => import("./Settings-BWuSG1Bc.mjs")
95
+ Component: () => import("./Settings-VM6V_KJt.mjs")
96
96
  }
97
97
  );
98
98
  },
@@ -93,7 +93,7 @@ const index = {
93
93
  defaultMessage: "Configure"
94
94
  },
95
95
  to: `${PLUGIN_ID}`,
96
- Component: () => Promise.resolve().then(() => require("./Settings-C3yoIgMy.js"))
96
+ Component: () => Promise.resolve().then(() => require("./Settings-D6uf1nI1.js"))
97
97
  }
98
98
  );
99
99
  },
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-CtxKh-aM.js");
2
+ const index = require("../_chunks/index-RtBCA1lD.js");
3
3
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-DIGoLhGE.mjs";
1
+ import { i } from "../_chunks/index-BHqcM1qU.mjs";
2
2
  export {
3
3
  i as default
4
4
  };