@diory/client-js 0.4.4-rc8 → 0.4.4-rc9

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.
@@ -49,7 +49,7 @@ class DioryClient {
49
49
  // TODO save based on client properties
50
50
  const diographObject = await (0, folder_generator_1.generateDiograph)(root, path, dataClient, options);
51
51
  if (diographObject)
52
- this.addDiograph(address, diographObject);
52
+ this.addDiograph((0, path_browserify_1.join)(address, path), diographObject);
53
53
  }
54
54
  return this;
55
55
  };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@diory/client-js",
3
- "version": "0.4.4-rc8",
3
+ "version": "0.4.4-rc9",
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.4-rc4",
10
+ "@diograph/folder-generator": "0.4.4-rc5",
11
11
  "path-browserify": "^1.0.1",
12
12
  "uuid": "8.3.2"
13
13
  },
@@ -68,7 +68,7 @@ export class DioryClient implements IDioryClient {
68
68
  if (dataClient) {
69
69
  // TODO save based on client properties
70
70
  const diographObject = await generateDiograph(root, path, dataClient, options)
71
- if (diographObject) this.addDiograph(address, diographObject)
71
+ if (diographObject) this.addDiograph(join(address, path), diographObject)
72
72
  }
73
73
 
74
74
  return this