@seamapi/react 1.45.0 → 1.45.1

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
@@ -78,7 +78,7 @@ export function App() {
78
78
  <seam-device-table publishable-key="your_publishable_key"></seam-device-table>
79
79
  <script
80
80
  type="module"
81
- src="https://react.seam.co/v/1.45.0/dist/elements.js"
81
+ src="https://react.seam.co/v/1.45.1/dist/elements.js"
82
82
  ></script>
83
83
  </body>
84
84
  ```
package/dist/elements.js CHANGED
@@ -8098,7 +8098,7 @@ const Fm = "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;60
8098
8098
  const n = globalThis.document.createElement("link");
8099
8099
  n.rel = "stylesheet", n.type = "text/css", n.href = Fm, globalThis.document.head.appendChild(n);
8100
8100
  }, [t]);
8101
- }, OO = "1.45.0", xO = "https://react.seam.co", CO = ({
8101
+ }, OO = "1.45.1", xO = "https://react.seam.co", CO = ({
8102
8102
  disabled: t = !1,
8103
8103
  unminified: e = !1
8104
8104
  }) => {
@@ -26378,11 +26378,9 @@ const cz = ({
26378
26378
  const i = {};
26379
26379
  t.trim() !== "" && (i.text_search = t.trim()), e.supportedOnly && (i.support_level = "live"), e.brand !== null && (i.brand = e.brand);
26380
26380
  const o = OS(i);
26381
- return n === null ? o : {
26381
+ return {
26382
26382
  ...o,
26383
- deviceModels: (s = o.deviceModels) == null ? void 0 : s.filter(
26384
- ({ brand: l }) => n.includes(l) && !r.includes(l)
26385
- )
26383
+ deviceModels: (s = o.deviceModels) == null ? void 0 : s.filter(({ brand: l }) => n === null ? !0 : n.includes(l)).filter(({ brand: l }) => !r.includes(l))
26386
26384
  };
26387
26385
  };
26388
26386
  function pz({
@@ -26641,7 +26639,7 @@ const Sz = (t) => {
26641
26639
  const { deviceModels: n } = OS();
26642
26640
  if (n == null)
26643
26641
  return [];
26644
- const r = n.map(({ brand: i }) => i.trim()).filter((i) => i !== "").filter((i) => t === null ? !0 : t.includes(i) && !e.includes(i)).map((i) => vz(i));
26642
+ const r = n.map(({ brand: i }) => i.trim()).filter((i) => i !== "").filter((i) => t === null ? !0 : t.includes(i)).filter((i) => !e.includes(i)).map((i) => vz(i));
26645
26643
  return Array.from(new Set(r));
26646
26644
  }, ea = {
26647
26645
  all: "All",