@simpoobusiness/sdk 1.0.5 → 1.0.7

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/dist/cjs/index.js CHANGED
@@ -29383,7 +29383,6 @@ const Title = ({ title, item_uuid, item_type_id, data, }) => {
29383
29383
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx("button", { className: cn(`text-primary font-bold text-sm first-letter:uppercase truncate max-w-[265px]`, data.expired ? "text-danger" : ""), title: title, children: title }) }));
29384
29384
  };
29385
29385
 
29386
- const emptyImage = require("../../../assets/images/placeholder-image.svg");
29387
29386
  const InventoryTable = () => {
29388
29387
  const { apiKey } = useSDK();
29389
29388
  const [items, setItems] = React.useState([]);
@@ -29423,7 +29422,7 @@ const InventoryTable = () => {
29423
29422
  if (item.images?.length > 0) {
29424
29423
  return item.images[0].image;
29425
29424
  }
29426
- return emptyImage;
29425
+ return "";
29427
29426
  };
29428
29427
  return {
29429
29428
  item_description: item?.name,
@@ -29452,8 +29451,6 @@ const InventoryTable = () => {
29452
29451
  }, tHeadClass: "whitespace-nowrap", tbCellClass: "text-dark font-semibold", meta: meta }));
29453
29452
  };
29454
29453
 
29455
- console.log("✅ SDK Version:", "1.0.0 -", new Date().toISOString());
29456
-
29457
29454
  exports.InventoryTable = InventoryTable;
29458
29455
  exports.SimpooProvider = SimpooProvider;
29459
29456
  //# sourceMappingURL=index.js.map