@mastra/rag 2.6.5 → 2.6.6

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.
@@ -3,7 +3,7 @@ name: mastra-rag
3
3
  description: Documentation for @mastra/rag. Use when working with @mastra/rag APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/rag"
6
- version: "2.6.5"
6
+ version: "2.6.6"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.6.5",
2
+ "version": "2.6.6",
3
3
  "package": "@mastra/rag",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -246,7 +246,7 @@ var BaseNode = class {
246
246
  __publicField(this, "relationships");
247
247
  __privateAdd(this, _hash, __runInitializers(_init, 8, this, "")), __runInitializers(_init, 11, this);
248
248
  const { id_, metadata, relationships } = init || {};
249
- this.id_ = id_ ?? (0, node_crypto.randomUUID)();
249
+ this.id_ = id_ ?? globalThis.crypto.randomUUID();
250
250
  this.metadata = metadata ?? {};
251
251
  this.relationships = relationships ?? {};
252
252
  }