@getlupa/client 1.2.1 → 1.2.3

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.
@@ -9342,8 +9342,9 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
9342
9342
  }
9343
9343
  };
9344
9344
  const handleInput = (value) => {
9345
+ var _a2;
9345
9346
  opened.value = true;
9346
- inputValue.value = value.replace(/\s+$/, "");
9347
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9347
9348
  suggestedValue.value = defaultSuggestedValue;
9348
9349
  trackSearchQuery(value);
9349
9350
  if (props.isSearchContainer) {
@@ -9342,8 +9342,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
9342
9342
  }
9343
9343
  };
9344
9344
  const handleInput = (value) => {
9345
+ var _a2;
9345
9346
  opened.value = true;
9346
- inputValue.value = value.replace(/\s+$/, "");
9347
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9347
9348
  suggestedValue.value = defaultSuggestedValue;
9348
9349
  trackSearchQuery(value);
9349
9350
  if (props.isSearchContainer) {
@@ -9340,8 +9340,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
9340
9340
  }
9341
9341
  };
9342
9342
  const handleInput = (value) => {
9343
+ var _a2;
9343
9344
  opened.value = true;
9344
- inputValue.value = value.replace(/\s+$/, "");
9345
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9345
9346
  suggestedValue.value = defaultSuggestedValue;
9346
9347
  trackSearchQuery(value);
9347
9348
  if (props.isSearchContainer) {
@@ -9344,8 +9344,9 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
9344
9344
  }
9345
9345
  };
9346
9346
  const handleInput = (value) => {
9347
+ var _a2;
9347
9348
  opened.value = true;
9348
- inputValue.value = value.replace(/\s+$/, "");
9349
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9349
9350
  suggestedValue.value = defaultSuggestedValue;
9350
9351
  trackSearchQuery(value);
9351
9352
  if (props.isSearchContainer) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.3.4",
23
- "@getlupa/vue": "0.2.0",
23
+ "@getlupa/vue": "0.2.1",
24
24
  "@rushstack/eslint-patch": "^1.3.2",
25
25
  "@tsconfig/node18": "^2.0.1",
26
26
  "@types/jsdom": "^21.1.1",