@diory/client-js 0.4.2-rc2 → 0.4.2-rc4

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.
@@ -46,7 +46,7 @@ class DioryClient {
46
46
  const { client, path } = resolveConnection(address);
47
47
  const dataClient = findDataClient(this.dataClients, client);
48
48
  if (dataClient) {
49
- const diographObject = await (0, folder_generator_1.generateDiograph)(path, '/', dataClient);
49
+ const diographObject = await (0, folder_generator_1.generateDiograph)(path, '/', dataClient, { saveDiograph: true });
50
50
  if (diographObject)
51
51
  this.addDiograph(address, diographObject);
52
52
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@diory/client-js",
3
- "version": "0.4.2-rc2",
3
+ "version": "0.4.2-rc4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Olli-Pekka Pohjola <op@diory.me>, Jouni Alanen <jouni@diory.me>",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
9
  "@diograph/diograph": "^0.4.3",
10
- "@diograph/folder-generator": "0.4.3-rc1",
10
+ "@diograph/folder-generator": "0.4.3-rc2",
11
11
  "path-browserify": "^1.0.1",
12
12
  "uuid": "8.3.2"
13
13
  },
@@ -62,7 +62,7 @@ export class DioryClient implements IDioryClient {
62
62
  const { client, path } = resolveConnection(address)
63
63
  const dataClient = findDataClient(this.dataClients, client)
64
64
  if (dataClient) {
65
- const diographObject = await generateDiograph(path, '/', dataClient)
65
+ const diographObject = await generateDiograph(path, '/', dataClient, { saveDiograph: true })
66
66
  if (diographObject) this.addDiograph(address, diographObject)
67
67
  }
68
68