jazz-run 0.8.6 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -2
- package/.turbo/turbo-build.log +0 -8
- package/.turbo/turbo-lint.log +0 -4
- package/.turbo/turbo-test.log +0 -13
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -12,7 +12,7 @@ const jazzTools = Command.make("jazz-tools");
|
|
12
12
|
const name = Options.text("name").pipe(Options.withAlias("n"));
|
13
13
|
const peer = Options.text("peer")
|
14
14
|
.pipe(Options.withAlias("p"))
|
15
|
-
.pipe(Options.withDefault("wss://
|
15
|
+
.pipe(Options.withDefault("wss://cloud.jazz.tools"));
|
16
16
|
const accountCreate = Command.make("create", { name, peer }, ({ name, peer: peerAddr }) => {
|
17
17
|
return Effect.gen(function* () {
|
18
18
|
const crypto = yield* Effect.promise(() => WasmCrypto.create());
|
@@ -32,7 +32,7 @@ const accountCreate = Command.make("create", { name, peer }, ({ name, peer: peer
|
|
32
32
|
yield* Effect.promise(() => account._raw.core.node.syncManager.syncCoValue(account._raw.core));
|
33
33
|
yield* Effect.promise(() => account._raw.core.node.syncManager.syncCoValue(account.profile._raw.core));
|
34
34
|
// TODO: remove this once we have a better way to wait for the sync
|
35
|
-
yield* Effect.sleep(
|
35
|
+
yield* Effect.sleep(2000);
|
36
36
|
const peer2 = createWebSocketPeer({
|
37
37
|
id: "upstream2",
|
38
38
|
websocket: new WebSocket(peerAddr),
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,uCAAuC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MA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,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;AAE9E,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,QAAQ;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CACxC,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACjC,WAAW,CAAC,OAAO,CACtB,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"bin": "./dist/index.js",
|
4
4
|
"type": "module",
|
5
5
|
"license": "MIT",
|
6
|
-
"version": "0.8.
|
6
|
+
"version": "0.8.10",
|
7
7
|
"dependencies": {
|
8
8
|
"@effect/cli": "^0.41.2",
|
9
9
|
"@effect/platform-node": "^0.57.2",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"@effect/typeclass": "^0.25.5",
|
14
14
|
"cojson": "0.8.5",
|
15
15
|
"cojson-storage-sqlite": "0.8.5",
|
16
|
-
"cojson-transport-ws": "0.8.
|
16
|
+
"cojson-transport-ws": "0.8.7",
|
17
17
|
"effect": "^3.6.5",
|
18
18
|
"jazz-tools": "0.8.5",
|
19
19
|
"ws": "^8.14.2"
|
package/src/index.ts
CHANGED
@@ -19,7 +19,7 @@ const jazzTools = Command.make("jazz-tools");
|
|
19
19
|
const name = Options.text("name").pipe(Options.withAlias("n"));
|
20
20
|
const peer = Options.text("peer")
|
21
21
|
.pipe(Options.withAlias("p"))
|
22
|
-
.pipe(Options.withDefault("wss://
|
22
|
+
.pipe(Options.withDefault("wss://cloud.jazz.tools"));
|
23
23
|
const accountCreate = Command.make(
|
24
24
|
"create",
|
25
25
|
{ name, peer },
|
@@ -56,7 +56,7 @@ const accountCreate = Command.make(
|
|
56
56
|
);
|
57
57
|
|
58
58
|
// TODO: remove this once we have a better way to wait for the sync
|
59
|
-
yield* Effect.sleep(
|
59
|
+
yield* Effect.sleep(2000);
|
60
60
|
|
61
61
|
const peer2 = createWebSocketPeer({
|
62
62
|
id: "upstream2",
|
package/.turbo/turbo-build.log
DELETED
package/.turbo/turbo-lint.log
DELETED
package/.turbo/turbo-test.log
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
> jazz-run@0.7.0-alpha.37 test /Users/anselm/jazz/jazz/packages/jazz-run
|
3
|
-
> vitest
|
4
|
-
|
5
|
-
|
6
|
-
DEV v0.34.6 /Users/anselm/jazz/jazz/packages/jazz-run
|
7
|
-
|
8
|
-
include: **/*.{test,spec}.?(c|m)[jt]s?(x)
|
9
|
-
exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*
|
10
|
-
watch exclude: **/node_modules/**, **/dist/**
|
11
|
-
|
12
|
-
No test files found, exiting with code 1
|
13
|
-
ELIFECYCLE Test failed. See above for more details.
|