@rebasepro/client 0.25.0 → 0.25.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/dist/index.es.js +99 -36
- package/dist/index.es.js.map +1 -1
- package/dist/websocket.d.ts +8 -0
- package/package.json +4 -4
package/dist/websocket.d.ts
CHANGED
|
@@ -173,6 +173,14 @@ export declare class RebaseWebSocketClient {
|
|
|
173
173
|
private removeNetworkListeners;
|
|
174
174
|
private onlineListener;
|
|
175
175
|
private visibilityListener;
|
|
176
|
+
/** The session this socket's server refused, and why. Cleared when a socket opens. */
|
|
177
|
+
private refusedSession;
|
|
178
|
+
/**
|
|
179
|
+
* Whether `error` is the server refusing the session `token` signs in as —
|
|
180
|
+
* revoked, its account gone or disabled, a token that does not verify. Said
|
|
181
|
+
* once per socket and token, as a warning that names the code.
|
|
182
|
+
*/
|
|
183
|
+
private noteSessionRefused;
|
|
176
184
|
/**
|
|
177
185
|
* Authenticate the WebSocket connection
|
|
178
186
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/client",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "HTTP SDK client for the Rebase custom backend",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rebase",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@rebasepro/
|
|
45
|
-
"@rebasepro/utils": "0.25.
|
|
46
|
-
"@rebasepro/
|
|
44
|
+
"@rebasepro/types": "0.25.1",
|
|
45
|
+
"@rebasepro/utils": "0.25.1",
|
|
46
|
+
"@rebasepro/common": "0.25.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@jest/globals": "^30.4.1",
|