@go-avro/avro-js 0.0.57 → 0.0.58
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.
|
@@ -17,10 +17,6 @@ export const AvroQueryClientProvider = ({ baseUrl, authManager, queryClient, con
|
|
|
17
17
|
return () => {
|
|
18
18
|
try {
|
|
19
19
|
client.teardownSocketInvalidation();
|
|
20
|
-
// Socket is NOT disconnected here. Its lifecycle is managed by the
|
|
21
|
-
// AvroQueryClient constructor and token refresh callbacks.
|
|
22
|
-
// Disconnecting here breaks React StrictMode — the constructor's
|
|
23
|
-
// async connect flow has already completed, so the socket stays dead.
|
|
24
20
|
}
|
|
25
21
|
catch (e) {
|
|
26
22
|
// ignore
|
package/dist/types/client.d.ts
CHANGED
|
@@ -2,4 +2,12 @@ export type RetryStrategy = 'fixed' | 'exponential' | ((attempt: number) => numb
|
|
|
2
2
|
export interface CancelToken {
|
|
3
3
|
isCancelled(): boolean;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export declare const ClientId: {
|
|
6
|
+
readonly PROD_WEB: "prod-web";
|
|
7
|
+
readonly PROD_APP: "prod-app";
|
|
8
|
+
readonly BETA_WEB: "beta-web";
|
|
9
|
+
readonly BETA_APP: "beta-app";
|
|
10
|
+
readonly DEV_WEB: "dev-web";
|
|
11
|
+
readonly DEV_APP: "dev-app";
|
|
12
|
+
};
|
|
13
|
+
export type ClientId = (typeof ClientId)[keyof typeof ClientId];
|
package/dist/types/client.js
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.0.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.0.58";
|
package/dist/version.js
CHANGED