@mozaik-ai/core 4.2.0-beta.10 → 4.2.0-beta.11
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -462,10 +462,10 @@ var InMemoryAgentRepository = class {
|
|
|
462
462
|
this.agents = [];
|
|
463
463
|
}
|
|
464
464
|
exists(id) {
|
|
465
|
-
return Promise.resolve(this.agents.some((agent) => agent.
|
|
465
|
+
return Promise.resolve(this.agents.some((agent) => agent.id === id));
|
|
466
466
|
}
|
|
467
467
|
findById(id) {
|
|
468
|
-
return Promise.resolve(this.agents.find((agent) => agent.
|
|
468
|
+
return Promise.resolve(this.agents.find((agent) => agent.id === id));
|
|
469
469
|
}
|
|
470
470
|
findAll() {
|
|
471
471
|
return Promise.resolve(this.agents);
|