1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"ast":null,"code":"\"use strict\";\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar __exportStar = this && this.__exportStar || function (m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.openHttp = exports.openWs = exports.WsStream = exports.WsClient = exports.HttpStream = exports.HttpClient = exports.Stream = exports.Stmt = exports.Sql = exports.parseLibsqlUrl = exports.BatchCond = exports.BatchStep = exports.Batch = exports.Client = exports.Headers = exports.Request = exports.fetch = exports.WebSocket = void 0;\nconst isomorphic_ws_1 = require(\"@libsql/isomorphic-ws\");\nconst client_js_1 = require(\"./ws/client.js\");\nconst errors_js_1 = require(\"./errors.js\");\nconst client_js_2 = require(\"./http/client.js\");\nconst client_js_3 = require(\"./ws/client.js\");\nvar isomorphic_ws_2 = require(\"@libsql/isomorphic-ws\");\nObject.defineProperty(exports, \"WebSocket\", {\n enumerable: true,\n get: function () {\n return isomorphic_ws_2.WebSocket;\n }\n});\nvar isomorphic_fetch_1 = require(\"@libsql/isomorphic-fetch\");\nObject.defineProperty(exports, \"fetch\", {\n enumerable: true,\n get: function () {\n return isomorphic_fetch_1.fetch;\n }\n});\nObject.defineProperty(exports, \"Request\", {\n enumerable: true,\n get: function () {\n return isomorphic_fetch_1.Request;\n }\n});\nObject.defineProperty(exports, \"Headers\", {\n enumerable: true,\n get: function () {\n return isomorphic_fetch_1.Headers;\n }\n});\nvar client_js_4 = require(\"./client.js\");\nObject.defineProperty(exports, \"Client\", {\n enumerable: true,\n get: function () {\n return client_js_4.Client;\n }\n});\n__exportStar(require(\"./errors.js\"), exports);\nvar batch_js_1 = require(\"./batch.js\");\nObject.defineProperty(exports, \"Batch\", {\n enumerable: true,\n get: function () {\n return batch_js_1.Batch;\n }\n});\nObject.defineProperty(exports, \"BatchStep\", {\n enumerable: true,\n get: function () {\n return batch_js_1.BatchStep;\n }\n});\nObject.defineProperty(exports, \"BatchCond\", {\n enumerable: true,\n get: function () {\n return batch_js_1.BatchCond;\n }\n});\nvar libsql_url_js_1 = require(\"./libsql_url.js\");\nObject.defineProperty(exports, \"parseLibsqlUrl\", {\n enumerable: true,\n get: function () {\n return libsql_url_js_1.parseLibsqlUrl;\n }\n});\nvar sql_js_1 = require(\"./sql.js\");\nObject.defineProperty(exports, \"Sql\", {\n enumerable: true,\n get: function () {\n return sql_js_1.Sql;\n }\n});\nvar stmt_js_1 = require(\"./stmt.js\");\nObject.defineProperty(exports, \"Stmt\", {\n enumerable: true,\n get: function () {\n return stmt_js_1.Stmt;\n }\n});\nvar stream_js_1 = require(\"./stream.js\");\nObject.defineProperty(exports, \"Stream\", {\n enumerable: true,\n get: function () {\n return stream_js_1.Stream;\n }\n});\nvar client_js_5 = require(\"./http/client.js\");\nObject.defineProperty(exports, \"HttpClient\", {\n enumerable: true,\n get: function () {\n return client_js_5.HttpClient;\n }\n});\nvar stream_js_2 = require(\"./http/stream.js\");\nObject.defineProperty(exports, \"HttpStream\", {\n enumerable: true,\n get: function () {\n return stream_js_2.HttpStream;\n }\n});\nvar client_js_6 = require(\"./ws/client.js\");\nObject.defineProperty(exports, \"WsClient\", {\n enumerable: true,\n get: function () {\n return client_js_6.WsClient;\n }\n});\nvar stream_js_3 = require(\"./ws/stream.js\");\nObject.defineProperty(exports, \"WsStream\", {\n enumerable: true,\n get: function () {\n return stream_js_3.WsStream;\n }\n});\n/** Open a Hrana client over WebSocket connected to the given `url`. */\nfunction openWs(url, jwt, protocolVersion = 2) {\n if (typeof isomorphic_ws_1.WebSocket === \"undefined\") {\n throw new errors_js_1.WebSocketUnsupportedError(\"WebSockets are not supported in this environment\");\n }\n var subprotocols = undefined;\n if (protocolVersion == 3) {\n subprotocols = Array.from(client_js_1.subprotocolsV3.keys());\n } else {\n subprotocols = Array.from(client_js_1.subprotocolsV2.keys());\n }\n const socket = new isomorphic_ws_1.WebSocket(url, subprotocols);\n return new client_js_3.WsClient(socket, jwt);\n}\nexports.openWs = openWs;\n/** Open a Hrana client over HTTP connected to the given `url`.\n *\n * If the `customFetch` argument is passed and not `undefined`, it is used in place of the `fetch` function\n * from `@libsql/isomorphic-fetch`. This function is always called with a `Request` object from\n * `@libsql/isomorphic-fetch`.\n */\nfunction openHttp(url, jwt, customFetch, protocolVersion = 2) {\n return new client_js_2.HttpClient(url instanceof URL ? url : new URL(url), jwt, customFetch, protocolVersion);\n}\nexports.openHttp = openHttp;","map":{"version":3,"names":["__createBinding","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","openHttp","openWs","WsStream","WsClient","HttpStream","HttpClient","Stream","Stmt","Sql","parseLibsqlUrl","BatchCond","BatchStep","Batch","Client","Headers","Request","fetch","WebSocket","isomorphic_ws_1","require","client_js_1","errors_js_1","client_js_2","client_js_3","isomorphic_ws_2","isomorphic_fetch_1","client_js_4","batch_js_1","libsql_url_js_1","sql_js_1","stmt_js_1","stream_js_1","client_js_5","stream_js_2","client_js_6","stream_js_3","url","jwt","protocolVersion","WebSocketUnsupportedError","subprotocols","Array","from","subprotocolsV3","keys","subprotocolsV2","socket","customFetch","URL"],"sources":["/Users/shoofle/Projects/the-forest/node_modules/@libsql/hrana-client/lib-cjs/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.openHttp = exports.openWs = exports.WsStream = exports.WsClient = exports.HttpStream = exports.HttpClient = exports.Stream = exports.Stmt = exports.Sql = exports.parseLibsqlUrl = exports.BatchCond = exports.BatchStep = exports.Batch = exports.Client = exports.Headers = exports.Request = exports.fetch = exports.WebSocket = void 0;\nconst isomorphic_ws_1 = require(\"@libsql/isomorphic-ws\");\nconst client_js_1 = require(\"./ws/client.js\");\nconst errors_js_1 = require(\"./errors.js\");\nconst client_js_2 = require(\"./http/client.js\");\nconst client_js_3 = require(\"./ws/client.js\");\nvar isomorphic_ws_2 = require(\"@libsql/isomorphic-ws\");\nObject.defineProperty(exports, \"WebSocket\", { enumerable: true, get: function () { return isomorphic_ws_2.WebSocket; } });\nvar isomorphic_fetch_1 = require(\"@libsql/isomorphic-fetch\");\nObject.defineProperty(exports, \"fetch\", { enumerable: true, get: function () { return isomorphic_fetch_1.fetch; } });\nObject.defineProperty(exports, \"Request\", { enumerable: true, get: function () { return isomorphic_fetch_1.Request; } });\nObject.defineProperty(exports, \"Headers\", { enumerable: true, get: function () { return isomorphic_fetch_1.Headers; } });\nvar client_js_4 = require(\"./client.js\");\nObject.defineProperty(exports, \"Client\", { enumerable: true, get: function () { return client_js_4.Client; } });\n__exportStar(require(\"./errors.js\"), exports);\nvar batch_js_1 = require(\"./batch.js\");\nObject.defineProperty(exports, \"Batch\", { enumerable: true, get: function () { return batch_js_1.Batch; } });\nObject.defineProperty(exports, \"BatchStep\", { enumerable: true, get: function () { return batch_js_1.BatchStep; } });\nObject.defineProperty(exports, \"BatchCond\", { enumerable: true, get: function () { return batch_js_1.BatchCond; } });\nvar libsql_url_js_1 = require(\"./libsql_url.js\");\nObject.defineProperty(exports, \"parseLibsqlUrl\", { enumerable: true, get: function () { return libsql_url_js_1.parseLibsqlUrl; } });\nvar sql_js_1 = require(\"./sql.js\");\nObject.defineProperty(exports, \"Sql\", { enumerable: true, get: function () { return sql_js_1.Sql; } });\nvar stmt_js_1 = require(\"./stmt.js\");\nObject.defineProperty(exports, \"Stmt\", { enumerable: true, get: function () { return stmt_js_1.Stmt; } });\nvar stream_js_1 = require(\"./stream.js\");\nObject.defineProperty(exports, \"Stream\", { enumerable: true, get: function () { return stream_js_1.Stream; } });\nvar client_js_5 = require(\"./http/client.js\");\nObject.defineProperty(exports, \"HttpClient\", { enumerable: true, get: function () { return client_js_5.HttpClient; } });\nvar stream_js_2 = require(\"./http/stream.js\");\nObject.defineProperty(exports, \"HttpStream\", { enumerable: true, get: function () { return stream_js_2.HttpStream; } });\nvar client_js_6 = require(\"./ws/client.js\");\nObject.defineProperty(exports, \"WsClient\", { enumerable: true, get: function () { return client_js_6.WsClient; } });\nvar stream_js_3 = require(\"./ws/stream.js\");\nObject.defineProperty(exports, \"WsStream\", { enumerable: true, get: function () { return stream_js_3.WsStream; } });\n/** Open a Hrana client over WebSocket connected to the given `url`. */\nfunction openWs(url, jwt, protocolVersion = 2) {\n if (typeof isomorphic_ws_1.WebSocket === \"undefined\") {\n throw new errors_js_1.WebSocketUnsupportedError(\"WebSockets are not supported in this environment\");\n }\n var subprotocols = undefined;\n if (protocolVersion == 3) {\n subprotocols = Array.from(client_js_1.subprotocolsV3.keys());\n }\n else {\n subprotocols = Array.from(client_js_1.subprotocolsV2.keys());\n }\n const socket = new isomorphic_ws_1.WebSocket(url, subprotocols);\n return new client_js_3.WsClient(socket, jwt);\n}\nexports.openWs = openWs;\n/** Open a Hrana client over HTTP connected to the given `url`.\n *\n * If the `customFetch` argument is passed and not `undefined`, it is used in place of the `fetch` function\n * from `@libsql/isomorphic-fetch`. This function is always called with a `Request` object from\n * `@libsql/isomorphic-fetch`.\n */\nfunction openHttp(url, jwt, customFetch, protocolVersion = 2) {\n return new client_js_2.HttpClient(url instanceof URL ? url : new URL(url), jwt, customFetch, protocolVersion);\n}\nexports.openHttp = openHttp;\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,eAAe,GAAI,IAAI,IAAI,IAAI,CAACA,eAAe,KAAMC,MAAM,CAACC,MAAM,GAAI,UAASC,CAAC,EAAEC,CAAC,EAAEC,CAAC,EAAEC,EAAE,EAAE;EAC5F,IAAIA,EAAE,KAAKC,SAAS,EAAED,EAAE,GAAGD,CAAC;EAC5B,IAAIG,IAAI,GAAGP,MAAM,CAACQ,wBAAwB,CAACL,CAAC,EAAEC,CAAC,CAAC;EAChD,IAAI,CAACG,IAAI,KAAK,KAAK,IAAIA,IAAI,GAAG,CAACJ,CAAC,CAACM,UAAU,GAAGF,IAAI,CAACG,QAAQ,IAAIH,IAAI,CAACI,YAAY,CAAC,EAAE;IACjFJ,IAAI,GAAG;MAAEK,UAAU,EAAE,IAAI;MAAEC,GAAG,EAAE,SAAAA,CAAA,EAAW;QAAE,OAAOV,CAAC,CAACC,CAAC,CAAC;MAAE;IAAE,CAAC;EAC/D;EACAJ,MAAM,CAACc,cAAc,CAACZ,CAAC,EAAEG,EAAE,EAAEE,IAAI,CAAC;AACtC,CAAC,GAAK,UAASL,CAAC,EAAEC,CAAC,EAAEC,CAAC,EAAEC,EAAE,EAAE;EACxB,IAAIA,EAAE,KAAKC,SAAS,EAAED,EAAE,GAAGD,CAAC;EAC5BF,CAAC,CAACG,EAAE,CAAC,GAAGF,CAAC,CAACC,CAAC,CAAC;AAChB,CAAE,CAAC;AACH,IAAIW,YAAY,GAAI,IAAI,IAAI,IAAI,CAACA,YAAY,IAAK,UAASZ,CAAC,EAAEa,OAAO,EAAE;EACnE,KAAK,IAAIC,CAAC,IAAId,CAAC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