@okf/ootils 1.8.2 → 1.8.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.
package/dist/node.js CHANGED
@@ -910,8 +910,8 @@ var init_AIChat = __esm({
910
910
  AIChatSchema = new import_mongoose4.default.Schema(
911
911
  {
912
912
  userId: { type: import_mongoose4.default.Schema.Types.ObjectId, index: true },
913
- createdAt: Date,
914
- lastActivity: Date,
913
+ createdAt: { type: Date, index: true },
914
+ lastActivity: { type: Date, index: true },
915
915
  messages: [
916
916
  {
917
917
  id: String,
package/dist/node.mjs CHANGED
@@ -915,8 +915,8 @@ var init_AIChat = __esm({
915
915
  AIChatSchema = new mongoose4.Schema(
916
916
  {
917
917
  userId: { type: mongoose4.Schema.Types.ObjectId, index: true },
918
- createdAt: Date,
919
- lastActivity: Date,
918
+ createdAt: { type: Date, index: true },
919
+ lastActivity: { type: Date, index: true },
920
920
  messages: [
921
921
  {
922
922
  id: String,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.2",
6
+ "version": "1.8.3",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",