jazz-run 0.10.15 → 0.11.0

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > jazz-run@0.10.15 build /home/runner/_work/jazz/jazz/packages/jazz-run
2
+ > jazz-run@0.11.0 build /home/runner/_work/jazz/jazz/packages/jazz-run
3
3
  > rm -rf ./dist && tsc --sourceMap --outDir dist && chmod +x ./dist/index.js
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # jazz-run
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Patch Changes
6
+
7
+ - a4713df: Moving to the d.ts files for the exported type definitions
8
+ - Updated dependencies [6a96d8b]
9
+ - Updated dependencies [a35249a]
10
+ - Updated dependencies [b9d194a]
11
+ - Updated dependencies [b9d194a]
12
+ - Updated dependencies [a4713df]
13
+ - Updated dependencies [e22de9f]
14
+ - Updated dependencies [34cbdc3]
15
+ - Updated dependencies [0f67e0a]
16
+ - Updated dependencies [f039e8f]
17
+ - Updated dependencies [e22de9f]
18
+ - jazz-tools@0.11.0
19
+ - cojson@0.11.0
20
+ - cojson-storage-sqlite@0.11.0
21
+ - cojson-transport-ws@0.11.0
22
+
3
23
  ## 0.10.15
4
24
 
5
25
  ### Patch Changes
@@ -0,0 +1,13 @@
1
+ import { Account } from "jazz-tools";
2
+ export declare const createWorkerAccount: ({ name, peer: peerAddr, }: {
3
+ name: string;
4
+ peer: string;
5
+ }) => Promise<{
6
+ accountID: import("jazz-tools").ID<Account & {
7
+ isLocalNodeOwner: true;
8
+ sessionID: import("cojson").SessionID;
9
+ _raw: import("cojson").RawControlledAccount;
10
+ }>;
11
+ agentSecret: `sealerSecret_z${string}/signerSecret_z${string}`;
12
+ }>;
13
+ //# sourceMappingURL=createWorkerAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWorkerAccount.d.ts","sourceRoot":"","sources":["../src/createWorkerAccount.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAuB,MAAM,YAAY,CAAC;AAG1D,eAAO,MAAM,mBAAmB,8BAG7B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;EAyBA,CAAC"}
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export declare const startSyncServer: ({ port, inMemory, db, }: {
2
+ port: string | undefined;
3
+ inMemory: boolean;
4
+ db: string;
5
+ }) => Promise<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>>;
6
+ //# sourceMappingURL=startSyncServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startSyncServer.d.ts","sourceRoot":"","sources":["../src/startSyncServer.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe,4BAIzB;IACD,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,gHA4EA,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=createWorkerAccount.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWorkerAccount.test.d.ts","sourceRoot":"","sources":["../../src/tests/createWorkerAccount.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -3,15 +3,15 @@
3
3
  "bin": "./dist/index.js",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
- "version": "0.10.15",
6
+ "version": "0.11.0",
7
7
  "exports": {
8
8
  "./startSyncServer": {
9
9
  "import": "./dist/startSyncServer.js",
10
- "types": "./src/startSyncServer.ts"
10
+ "types": "./dist/startSyncServer.d.ts"
11
11
  },
12
12
  "./createWorkerAccount": {
13
13
  "import": "./dist/createWorkerAccount.js",
14
- "types": "./src/createWorkerAccount.ts"
14
+ "types": "./dist/createWorkerAccount.d.ts"
15
15
  }
16
16
  },
17
17
  "dependencies": {
@@ -21,11 +21,11 @@
21
21
  "@effect/printer-ansi": "^0.34.5",
22
22
  "@effect/schema": "^0.71.1",
23
23
  "@effect/typeclass": "^0.25.5",
24
- "cojson": "0.10.15",
25
- "cojson-storage-sqlite": "0.10.15",
26
- "cojson-transport-ws": "0.10.15",
24
+ "cojson": "0.11.0",
25
+ "cojson-storage-sqlite": "0.11.0",
26
+ "cojson-transport-ws": "0.11.0",
27
27
  "effect": "^3.6.5",
28
- "jazz-tools": "0.10.15",
28
+ "jazz-tools": "0.11.0",
29
29
  "ws": "^8.14.2"
30
30
  },
31
31
  "devDependencies": {
package/tsconfig.json CHANGED
@@ -9,7 +9,9 @@
9
9
  "skipLibCheck": true,
10
10
  "forceConsistentCasingInFileNames": true,
11
11
  "noUncheckedIndexedAccess": true,
12
- "esModuleInterop": true
12
+ "esModuleInterop": true,
13
+ "declaration": true,
14
+ "declarationMap": true
13
15
  },
14
16
  "include": ["./src/**/*"]
15
17
  }