@superinterface/react 5.3.1-beta.5 → 5.4.0

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/index.cjs CHANGED
@@ -37048,15 +37048,9 @@ var import_react3 = require("react");
37048
37048
  var import_lodash2 = __toESM(require("lodash"), 1);
37049
37049
  // src/lib/misc/merge/customizer.ts
37050
37050
  var import_lodash = __toESM(require("lodash"), 1);
37051
- var customizer = function(objectValue, srcValue, key2) {
37052
- if (import_lodash.default.isArray(objectValue)) {
37053
- return srcValue;
37054
- }
37055
- if (srcValue && (typeof srcValue === "undefined" ? "undefined" : _type_of(srcValue)) === "object" && "current" in srcValue && typeof key2 === "string" && key2.toLowerCase().includes("ref")) {
37056
- console.log("[customizer] Preserving ref identity for key:", key2, "srcValue:", srcValue);
37057
- return srcValue;
37058
- }
37059
- return void 0;
37051
+ var customizer = function(objectValue, srcValue) {
37052
+ if (!import_lodash.default.isArray(objectValue)) return;
37053
+ return srcValue;
37060
37054
  };
37061
37055
  // src/lib/misc/merge/index.ts
37062
37056
  var merge = function merge2(obj) {
@@ -37095,7 +37089,9 @@ var set = function(_ref) {
37095
37089
  var assistantId = _ref.assistantId, threadId = _ref.threadId;
37096
37090
  return import_js_cookie2.default.set(key({
37097
37091
  assistantId: assistantId
37098
- }), threadId);
37092
+ }), threadId, {
37093
+ expires: 365
37094
+ });
37099
37095
  };
37100
37096
  // src/lib/threadIdStorage/cookieOptions/remove.ts
37101
37097
  var import_js_cookie3 = __toESM(require("js-cookie"), 1);