@seamapi/react 2.1.1 → 2.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
@@ -87,7 +87,7 @@ export function App() {
87
87
  <seam-device-table publishable-key="your_publishable_key"></seam-device-table>
88
88
  <script
89
89
  type="module"
90
- src="https://react.seam.co/v/2.1.1/dist/elements.js"
90
+ src="https://react.seam.co/v/2.1.2/dist/elements.js"
91
91
  ></script>
92
92
  </body>
93
93
  ```
package/dist/elements.js CHANGED
@@ -8226,7 +8226,7 @@ function Id(t, e, n) {
8226
8226
  }
8227
8227
  return qO(r);
8228
8228
  }
8229
- const bS = "2.1.1";
8229
+ const bS = "2.1.2";
8230
8230
  var Gn, vr, ds, Qn, cs, ps, qt, Ec, wS, Zn, on;
8231
8231
  class SS {
8232
8232
  constructor({
@@ -29308,14 +29308,14 @@ function nE({
29308
29308
  function Mz({
29309
29309
  deviceModel: t
29310
29310
  }) {
29311
- var n;
29312
- const e = (n = t.aesthetic_variants[0]) == null ? void 0 : n.manufacturer_sku;
29311
+ var r;
29312
+ const e = (r = t.aesthetic_variants[0]) == null ? void 0 : r.manufacturer_sku, n = t.main_connection_type === "unknown" ? null : t.main_connection_type;
29313
29313
  return /* @__PURE__ */ p.jsxs("div", { className: "seam-col seam-model-col", children: [
29314
29314
  /* @__PURE__ */ p.jsx("div", { className: "seam-model-name", children: /* @__PURE__ */ p.jsx("div", { className: "seam-truncated-text", children: t.display_name }) }),
29315
29315
  /* @__PURE__ */ p.jsx("div", { className: "seam-model-id", children: /* @__PURE__ */ p.jsxs("div", { className: "seam-truncated-text", children: [
29316
29316
  e,
29317
- e != null && /* @__PURE__ */ p.jsx(wi, {}),
29318
- t.main_connection_type
29317
+ e != null && n != null && /* @__PURE__ */ p.jsx(wi, {}),
29318
+ n
29319
29319
  ] }) })
29320
29320
  ] });
29321
29321
  }