@truenas/api-client 6.0.2 → 7.0.0
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/{chunk-PQIVBXN3.cjs → chunk-QJRF5DK4.cjs} +6 -11
- package/dist/chunk-QJRF5DK4.cjs.map +1 -0
- package/dist/{chunk-7QVRLQIZ.js → chunk-SAJ5HZHK.js} +7 -12
- package/dist/chunk-SAJ5HZHK.js.map +1 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/testing/index.cjs +10 -10
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +2 -2
- package/dist/testing/index.js.map +1 -1
- package/dist/{truenas-auth-mechanism.enum-DikfjVxa.d.cts → truenas-auth-mechanism.enum-CHo_zr2p.d.cts} +1479 -1267
- package/dist/{truenas-auth-mechanism.enum-DikfjVxa.d.ts → truenas-auth-mechanism.enum-CHo_zr2p.d.ts} +1479 -1267
- package/package.json +1 -1
- package/dist/chunk-7QVRLQIZ.js.map +0 -1
- package/dist/chunk-PQIVBXN3.cjs.map +0 -1
|
@@ -3123,16 +3123,11 @@ var TrueNasConnection = class {
|
|
|
3123
3123
|
rxjs.catchError(() => rxjs.EMPTY)
|
|
3124
3124
|
))
|
|
3125
3125
|
);
|
|
3126
|
-
|
|
3127
|
-
rxjs.interval(twentySeconds),
|
|
3128
|
-
this.ws$
|
|
3129
|
-
]).pipe(
|
|
3126
|
+
this.ws$.pipe(
|
|
3127
|
+
rxjs.switchMap((ws) => ws ? rxjs.interval(twentySeconds).pipe(rxjs.map(() => ws)) : rxjs.EMPTY),
|
|
3130
3128
|
rxjs.takeUntil(this.closeConnection)
|
|
3131
|
-
).subscribe((
|
|
3132
|
-
|
|
3133
|
-
const pingMessage = createJsonRpcMessage("core.ping");
|
|
3134
|
-
ws.next(pingMessage);
|
|
3135
|
-
}
|
|
3129
|
+
).subscribe((ws) => {
|
|
3130
|
+
ws.next(createJsonRpcMessage("core.ping"));
|
|
3136
3131
|
});
|
|
3137
3132
|
this.opened$.subscribe((val) => this.opened.next(val));
|
|
3138
3133
|
this.closed$.subscribe(() => this.closed.next());
|
|
@@ -4247,5 +4242,5 @@ exports.v25_10_4_exports = v25_10_4_exports;
|
|
|
4247
4242
|
exports.v25_10_5_exports = v25_10_5_exports;
|
|
4248
4243
|
exports.v26_0_0_exports = v26_0_0_exports;
|
|
4249
4244
|
exports.v27_0_0_exports = v27_0_0_exports;
|
|
4250
|
-
//# sourceMappingURL=chunk-
|
|
4251
|
-
//# sourceMappingURL=chunk-
|
|
4245
|
+
//# sourceMappingURL=chunk-QJRF5DK4.cjs.map
|
|
4246
|
+
//# sourceMappingURL=chunk-QJRF5DK4.cjs.map
|