@synnaxlabs/client 0.16.3 → 0.16.4
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/.turbo/turbo-build.log +10 -10
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +7 -3
- package/dist/client.js.map +1 -1
- package/examples/node/basicReadWriter.js +37 -0
- package/examples/node/package-lock.json +4961 -0
- package/examples/{package.json → node/package.json} +5 -5
- package/package.json +5 -5
- package/src/connection/checker.ts +5 -1
- package/src/framer/client.ts +6 -2
- package/.pytest_cache/README.md +0 -8
- package/examples/index.js +0 -1
package/dist/client.js
CHANGED
|
@@ -15788,7 +15788,7 @@ let gh = (an = class {
|
|
|
15788
15788
|
try {
|
|
15789
15789
|
if (await s.write(e, n), !await s.commit())
|
|
15790
15790
|
throw await s.error();
|
|
15791
|
-
}
|
|
15791
|
+
} finally {
|
|
15792
15792
|
await s.close();
|
|
15793
15793
|
}
|
|
15794
15794
|
}
|
|
@@ -15798,8 +15798,12 @@ let gh = (an = class {
|
|
|
15798
15798
|
}
|
|
15799
15799
|
async readFrame(e, t) {
|
|
15800
15800
|
const n = await this.newIterator(e, t), s = new wt();
|
|
15801
|
-
|
|
15802
|
-
|
|
15801
|
+
try {
|
|
15802
|
+
for await (const a of n)
|
|
15803
|
+
s.push(a);
|
|
15804
|
+
} finally {
|
|
15805
|
+
await n.close();
|
|
15806
|
+
}
|
|
15803
15807
|
return s;
|
|
15804
15808
|
}
|
|
15805
15809
|
};
|