@akshar5/cohall 0.12.6 → 0.12.8

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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../apps/device/src/bounded-file.ts"],
4
+ "sourcesContent": [
5
+ "import type { FileHandle } from \"node:fs/promises\"\n\nexport const readBoundedFile = async (handle: FileHandle, limit: number): Promise<Buffer> => {\n const buffer = Buffer.allocUnsafe(limit + 1)\n let size = 0\n while (size < buffer.length) {\n const { bytesRead } = await handle.read({\n buffer,\n offset: size,\n length: buffer.length - size,\n position: null,\n })\n if (bytesRead === 0) break\n size += bytesRead\n }\n return buffer.subarray(0, size)\n}\n"
6
+ ],
7
+ "mappings": ";AAEO,IAAM,kBAAkB,OAAO,QAAoB,UAAmC;AAAA,EAC3F,MAAM,SAAS,OAAO,YAAY,QAAQ,CAAC;AAAA,EAC3C,IAAI,OAAO;AAAA,EACX,OAAO,OAAO,OAAO,QAAQ;AAAA,IAC3B,QAAQ,cAAc,MAAM,OAAO,KAAK;AAAA,MACtC;AAAA,MACA,QAAQ;AAAA,MACR,QAAQ,OAAO,SAAS;AAAA,MACxB,UAAU;AAAA,IACZ,CAAC;AAAA,IACD,IAAI,cAAc;AAAA,MAAG;AAAA,IACrB,QAAQ;AAAA,EACV;AAAA,EACA,OAAO,OAAO,SAAS,GAAG,IAAI;AAAA;",
8
+ "debugId": "97202253C6C23B3164756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,23 @@
1
+ import { createRequire } from "node:module";
2
+ var __defProp = Object.defineProperty;
3
+ var __returnValue = (v) => v;
4
+ function __exportSetter(name, newValue) {
5
+ this[name] = __returnValue.bind(null, newValue);
6
+ }
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true,
12
+ configurable: true,
13
+ set: __exportSetter.bind(all, name)
14
+ });
15
+ };
16
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
17
+
18
+ // packages/protocol/src/version.ts
19
+ var version = "0.12.8";
20
+
21
+ export { __export, __require, version };
22
+
23
+ //# debugId=624BB11C0459807D64756E2164756E21
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../packages/protocol/src/version.ts"],
4
+ "sourcesContent": [
5
+ "declare const __COHALL_VERSION__: string\nexport const version =\n typeof __COHALL_VERSION__ === \"undefined\" ? \"0.0.0-development\" : __COHALL_VERSION__\n"
6
+ ],
7
+ "mappings": ";;;;;;;;;;;;;;;;;;AACO,IAAM,UACuD;",
8
+ "debugId": "624BB11C0459807D64756E2164756E21",
9
+ "names": []
10
+ }