@knowlearning/agents 0.9.64 → 0.9.66
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/agents/deno.js +2 -2
- package/package.json +1 -1
package/agents/deno.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import fastJSONPatch from 'fast-json-patch'
|
|
2
2
|
import Agent from './generic/index.js'
|
|
3
3
|
|
|
4
4
|
const SERVE_HOST = Deno.env.get("SERVE_HOST")
|
|
@@ -10,6 +10,6 @@ export default new Agent({
|
|
|
10
10
|
WebSocket,
|
|
11
11
|
uuid: () => crypto.randomUUID(),
|
|
12
12
|
fetch,
|
|
13
|
-
applyPatch,
|
|
13
|
+
applyPatch: fastJSONPatch.applyPatch,
|
|
14
14
|
reboot: () => Deno.exit(1)
|
|
15
15
|
})
|