@mtkruto/node 0.0.72 → 0.0.73
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.
- package/esm/client/client.js +1 -0
- package/package.json +1 -1
- package/script/client/client.js +1 -0
package/esm/client/client.js
CHANGED
|
@@ -60,6 +60,7 @@ export class Client extends ClientAbstract {
|
|
|
60
60
|
await plain.disconnect();
|
|
61
61
|
this.state.salt = salt;
|
|
62
62
|
this.session.authKey = authKey;
|
|
63
|
+
await this.session.save();
|
|
63
64
|
}
|
|
64
65
|
if (this.session.dc != null) {
|
|
65
66
|
const { connection, transport, dcId } = this.transportProvider({ dc: this.session.dc, cdn: false });
|
package/package.json
CHANGED
package/script/client/client.js
CHANGED
|
@@ -86,6 +86,7 @@ class Client extends client_abstract_js_1.ClientAbstract {
|
|
|
86
86
|
await plain.disconnect();
|
|
87
87
|
this.state.salt = salt;
|
|
88
88
|
this.session.authKey = authKey;
|
|
89
|
+
await this.session.save();
|
|
89
90
|
}
|
|
90
91
|
if (this.session.dc != null) {
|
|
91
92
|
const { connection, transport, dcId } = this.transportProvider({ dc: this.session.dc, cdn: false });
|