@openfeed/sdk-js 1.2.0 → 1.2.1
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/.releases/CHANGELOG-1.2.1.md +15 -0
- package/CHANGELOG.md +2 -7
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/node.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## [1.2.0](https://github.com/openfeed-org/sdk-js/compare/1.1.6...1.2.0) (2024-03-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* update proto and generate ts files ([cee34a2](https://github.com/openfeed-org/sdk-js/commit/cee34a2f35a5e35ab6c28f9d65dbe71800727819))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* enhance alias change handling to prevent loss of subscriptions ([3714a15](https://github.com/openfeed-org/sdk-js/commit/3714a15f57e1da81876d2c18828823df452b524d))
|
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* update proto and generate ts files ([cee34a2](https://github.com/openfeed-org/sdk-js/commit/cee34a2f35a5e35ab6c28f9d65dbe71800727819))
|
|
5
|
+
### [1.2.1](https://github.com/openfeed-org/sdk-js/compare/1.2.0...1.2.1) (2024-03-29)
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
### Bug Fixes
|
|
14
9
|
|
|
15
|
-
*
|
|
10
|
+
* change the remaining heartbeat return ([09ecc79](https://github.com/openfeed-org/sdk-js/commit/09ecc79b34ad457a77a6c1a6d61e0494fa837542))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.2.
|
|
1
|
+
export declare const version = "1.2.1";
|
package/dist/index.js
CHANGED
|
@@ -8213,7 +8213,7 @@ class ResolutionSource {
|
|
|
8213
8213
|
return this.onError;
|
|
8214
8214
|
}
|
|
8215
8215
|
}
|
|
8216
|
-
const version = "1.2.
|
|
8216
|
+
const version = "1.2.1";
|
|
8217
8217
|
const send = (socket, message) => {
|
|
8218
8218
|
socket.send(OpenfeedGatewayRequestEncode.encode(toT(message)).finish());
|
|
8219
8219
|
};
|
|
@@ -8294,7 +8294,7 @@ class OpenFeedConnection {
|
|
|
8294
8294
|
const messages = receive(event);
|
|
8295
8295
|
for (const message of messages) {
|
|
8296
8296
|
if (message.heartBeat) {
|
|
8297
|
-
|
|
8297
|
+
continue;
|
|
8298
8298
|
}
|
|
8299
8299
|
if (((_b = (_a = message.logoutResponse) == null ? void 0 : _a.status) == null ? void 0 : _b.result) === Result.DUPLICATE_LOGIN) {
|
|
8300
8300
|
(_c = this.logger) == null ? void 0 : _c.warn("Duplicate login");
|
package/dist/node.js
CHANGED
|
@@ -11837,7 +11837,7 @@ var ResolutionSource = class {
|
|
|
11837
11837
|
};
|
|
11838
11838
|
|
|
11839
11839
|
// generated/version.ts
|
|
11840
|
-
var version = "1.2.
|
|
11840
|
+
var version = "1.2.1";
|
|
11841
11841
|
|
|
11842
11842
|
// src/connection/connection.ts
|
|
11843
11843
|
var send = (socket, message) => {
|
|
@@ -11928,7 +11928,7 @@ var OpenFeedConnection = class {
|
|
|
11928
11928
|
const messages = receive(event);
|
|
11929
11929
|
for (const message of messages) {
|
|
11930
11930
|
if (message.heartBeat) {
|
|
11931
|
-
|
|
11931
|
+
continue;
|
|
11932
11932
|
}
|
|
11933
11933
|
if (((_b = (_a = message.logoutResponse) == null ? void 0 : _a.status) == null ? void 0 : _b.result) === 115 /* DUPLICATE_LOGIN */) {
|
|
11934
11934
|
(_c = this.logger) == null ? void 0 : _c.warn("Duplicate login");
|