@diory/client-js 0.2.0 → 0.2.1-rc1
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.
|
@@ -4,7 +4,6 @@ exports.DioryClient = void 0;
|
|
|
4
4
|
const diosphere_js_1 = require("@diory/diosphere-js");
|
|
5
5
|
const diograph_1 = require("@diograph/diograph");
|
|
6
6
|
const getConnectionClients_1 = require("../utils/getConnectionClients");
|
|
7
|
-
const debounce_1 = require("../utils/debounce");
|
|
8
7
|
const getDefaultDiosphere_1 = require("./getDefaultDiosphere");
|
|
9
8
|
const getDefaultDiograph_1 = require("./getDefaultDiograph");
|
|
10
9
|
class DioryClient {
|
|
@@ -129,8 +128,8 @@ class DioryClient {
|
|
|
129
128
|
this.dataClients = dataClients;
|
|
130
129
|
this.diosphere = new diosphere_js_1.Diosphere();
|
|
131
130
|
this.diograph = new diograph_1.Diograph();
|
|
132
|
-
this.diosphere.saveDiosphere =
|
|
133
|
-
this.diograph.saveDiograph =
|
|
131
|
+
this.diosphere.saveDiosphere = this.saveDiosphere;
|
|
132
|
+
this.diograph.saveDiograph = this.saveDiograph;
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
135
|
exports.DioryClient = DioryClient;
|
package/package.json
CHANGED
|
@@ -29,8 +29,8 @@ class DioryClient implements IDioryClient {
|
|
|
29
29
|
this.diosphere = new Diosphere()
|
|
30
30
|
this.diograph = new Diograph()
|
|
31
31
|
|
|
32
|
-
this.diosphere.saveDiosphere =
|
|
33
|
-
this.diograph.saveDiograph =
|
|
32
|
+
this.diosphere.saveDiosphere = this.saveDiosphere
|
|
33
|
+
this.diograph.saveDiograph = this.saveDiograph
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
focusDiory = (dioryObject: IDioryObject): IDiory => {
|