@distilled.cloud/turso 1.0.0-rc.18 → 1.0.0-rc.19

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.
@@ -1,2 +1,2 @@
1
- import{api$D as e,api$call as t,api$error as n,api$named as ee,api$newError as r,api$op as i,category$withAuthError as a,category$withBadRequestError as o,category$withConflictError as s,category$withParseError as c,category$withServerError as l,config$String as te,config$all as ne,retry$capped as re,retry$jittered as ie,retry$makeDefault as ae,retry$throttlingFactory as u,retry$throttlingOptions as d,retry$transientFactory as f,retry$transientOptions as p,schema_lite_typed$String as m,schema_lite_typed$TaggedError as h,schema_lite_typed$Unknown as g,schema_lite_typed$optional as _,trait$Body as v,trait$FormDataFile as y,trait$Header as b,trait$Http as x,trait$HttpBody as S,trait$KeyDictionary as C,trait$Label as w,trait$Query as T,trait$ResponseCode as E,trait$UnionCases as D,trait$applyErrorMatchers as O,trait$bodySymbol as k,trait$errorMatchersSymbol as A,trait$formDataFileSymbol as j,trait$getErrorMatchers as M,trait$headerSymbol as N,trait$httpBodySymbol as P,trait$httpSymbol as F,trait$keyDictionarySymbol as I,trait$labelSymbol as L,trait$querySymbol as R,trait$responseCodeSymbol as z,trait$unionCasesSymbol as B}from"@distilled.cloud/core/_bundle/base";import{errors$API_ERRORS as V,errors$BadGateway as H,errors$BadRequest as U,errors$ConfigError as W,errors$Conflict as G,errors$DEFAULT_ERRORS as K,errors$Forbidden as q,errors$GatewayTimeout as J,errors$HTTP_STATUS_MAP as oe,errors$InternalServerError as se,errors$Locked as ce,errors$NotFound as le,errors$ServiceUnavailable as ue,errors$TooManyRequests as de,errors$Unauthorized as fe,errors$UnprocessableEntity as pe,protocol_rest$RawResponse as me,protocol_rest$RawResponseRoot as he,protocol_rest$SensitiveValue as ge,protocol_rest$makeRestProtocol as _e,protocol_rest$rawResponseRootSymbol as ve,protocol_rest$rawResponseSymbol as ye,protocol_rest$sensitiveValueSymbol as be,schema_lite$Array as xe,schema_lite$Boolean as Se,schema_lite$NullOr as Ce,schema_lite$Number as we,schema_lite$Record as Te,schema_lite$String as Ee,schema_lite$Struct as De,schema_lite$TaggedError as Oe,schema_lite$Unknown as ke,schema_lite$at as Ae,schema_lite$optional as je,schema_lite$suspend as Me}from"@distilled.cloud/core/_bundle/rest";import*as Y from"effect/Context";import*as X from"effect/Effect";import*as Z from"effect/Layer";import*as Q from"effect/Redacted";const $=`https://api.turso.tech`;var Credentials=class extends (/*@__PURE__*/ Y.Service()(`TursoCredentials`)){};const Ne=/*@__PURE__*/ ne({apiKey:/*@__PURE__*/ te(`TURSO_API_KEY`)});const Pe=/*@__PURE__*/ Z.succeed(Credentials,/*@__PURE__*/ Ne.pipe(/*@__PURE__*/ X.mapError(()=>new W({message:`TURSO_API_KEY environment variable is required`})),/*@__PURE__*/ X.map(({apiKey:e})=>({apiKey:Q.make(e),apiBaseUrl:$}))));var UnknownTursoError=class extends (/*@__PURE__*/ h()(`UnknownTursoError`,{code:/*@__PURE__*/ _(m),message:/*@__PURE__*/ _(m),body:g}).pipe(l)){};var TursoParseError=class extends (/*@__PURE__*/ h()(`TursoParseError`,{body:g,cause:g}).pipe(c)){};const Fe=/*@__PURE__*/ _e({credentials:/*@__PURE__*/ X.flatMap(Credentials,e=>e),baseUrl:e=>e.apiBaseUrl,headers:e=>({Authorization:`Bearer ${Q.value(e.apiKey)}`}),unknownError:({code:e,message:t,body:n})=>new UnknownTursoError({code:typeof e===`string`?e:e!==void 0?String(e):void 0,message:t,body:n}),parseError:({body:e,cause:t})=>new TursoParseError({body:e,cause:t})});var Retry=class extends (/*@__PURE__*/ Y.Service()(`TursoRetry`)){};const policy=e=>X.provide(Z.succeed(Retry,e));const Ie=/*@__PURE__*/ X.provide(/*@__PURE__*/ Z.succeed(Retry,{while:()=>false}));const Le=/*@__PURE__*/ policy(u);const Re=/*@__PURE__*/ policy(f);export{xe as Rb,Se as Sb,Ce as Zb,we as _b,e as a,Te as ac,t as c,Ee as cc,Credentials as credentials$Credentials,Pe as credentials$CredentialsFromEnv,$ as credentials$DEFAULT_API_BASE_URL,De as dc,n as e,V as errors$API_ERRORS,H as errors$BadGateway,U as errors$BadRequest,W as errors$ConfigError,G as errors$Conflict,K as errors$DEFAULT_ERRORS,q as errors$Forbidden,J as errors$GatewayTimeout,oe as errors$HTTP_STATUS_MAP,se as errors$InternalServerError,ce as errors$Locked,le as errors$NotFound,ue as errors$ServiceUnavailable,de as errors$TooManyRequests,TursoParseError as errors$TursoParseError,fe as errors$Unauthorized,UnknownTursoError as errors$UnknownTursoError,pe as errors$UnprocessableEntity,Oe as fc,ke as ic,ee as j,r as k,Ae as kc,i as l,je as pc,Fe as protocol$TursoProtocol,Me as qc,Retry as retry$Retry,re as retry$capped,ie as retry$jittered,ae as retry$makeDefault,Ie as retry$none,policy as retry$policy,Le as retry$throttling,u as retry$throttlingFactory,d as retry$throttlingOptions,Re as retry$transient,f as retry$transientFactory,p as retry$transientOptions,v as traits$Body,y as traits$FormDataFile,b as traits$Header,x as traits$Http,S as traits$HttpBody,C as traits$KeyDictionary,w as traits$Label,T as traits$Query,me as traits$RawResponse,he as traits$RawResponseRoot,E as traits$ResponseCode,ge as traits$SensitiveValue,D as traits$UnionCases,O as traits$applyErrorMatchers,k as traits$bodySymbol,A as traits$errorMatchersSymbol,j as traits$formDataFileSymbol,M as traits$getErrorMatchers,N as traits$headerSymbol,P as traits$httpBodySymbol,F as traits$httpSymbol,I as traits$keyDictionarySymbol,L as traits$labelSymbol,R as traits$querySymbol,ve as traits$rawResponseRootSymbol,ye as traits$rawResponseSymbol,z as traits$responseCodeSymbol,be as traits$sensitiveValueSymbol,B as traits$unionCasesSymbol,a as va,o as wa,s as za};
1
+ import{api$D as e,api$call as t,api$error as n,api$named as ee,api$newError as r,api$op as i,category$withAuthError as a,category$withBadRequestError as o,category$withConflictError as s,category$withParseError as c,category$withServerError as l,config$String as te,config$all as ne,retry$capped as re,retry$jittered as ie,retry$makeDefault as ae,retry$throttlingFactory as u,retry$throttlingOptions as d,retry$transientFactory as f,retry$transientOptions as p,schema_lite_typed$String as m,schema_lite_typed$TaggedError as h,schema_lite_typed$Unknown as g,schema_lite_typed$optional as _,trait$Body as v,trait$FormDataFile as y,trait$Header as b,trait$Http as x,trait$HttpBody as S,trait$KeyDictionary as C,trait$Label as w,trait$Query as T,trait$ResponseCode as E,trait$UnionCases as D,trait$applyErrorMatchers as O,trait$bodySymbol as k,trait$errorMatchersSymbol as A,trait$formDataFileSymbol as j,trait$getErrorMatchers as M,trait$headerSymbol as N,trait$httpBodySymbol as P,trait$httpSymbol as F,trait$keyDictionarySymbol as I,trait$labelSymbol as L,trait$querySymbol as R,trait$responseCodeSymbol as z,trait$unionCasesSymbol as B}from"@distilled.cloud/core/_bundle/base";import{errors$API_ERRORS as V,errors$BadGateway as H,errors$BadRequest as U,errors$ConfigError as W,errors$Conflict as G,errors$DEFAULT_ERRORS as K,errors$Forbidden as q,errors$GatewayTimeout as J,errors$HTTP_STATUS_MAP as oe,errors$InternalServerError as se,errors$Locked as ce,errors$NotFound as le,errors$ServiceUnavailable as ue,errors$TooManyRequests as de,errors$Unauthorized as fe,errors$UnprocessableEntity as pe,protocol_rest$RawResponse as me,protocol_rest$RawResponseRoot as he,protocol_rest$SensitiveValue as ge,protocol_rest$makeRestProtocol as _e,protocol_rest$rawResponseRootSymbol as ve,protocol_rest$rawResponseSymbol as ye,protocol_rest$sensitiveValueSymbol as be,schema_lite$Array as xe,schema_lite$Boolean as Se,schema_lite$NullOr as Ce,schema_lite$Number as we,schema_lite$Record as Te,schema_lite$String as Ee,schema_lite$Struct as De,schema_lite$TaggedError as Oe,schema_lite$Unknown as ke,schema_lite$at as Ae,schema_lite$optional as je,schema_lite$suspend as Me}from"@distilled.cloud/core/_bundle/rest";import*as Y from"effect/Context";import*as X from"effect/Effect";import*as Z from"effect/Layer";import*as Q from"effect/Redacted";const $=`https://api.turso.tech`;var Credentials=class extends (/*@__PURE__*/ Y.Service()(`TursoCredentials`)){};const Ne=/*@__PURE__*/ ne({apiKey:/*@__PURE__*/ te(`TURSO_API_KEY`)});const Pe=/*@__PURE__*/ Z.succeed(Credentials,/*@__PURE__*/ Ne.pipe(/*@__PURE__*/ X.mapError(()=>new W({message:`TURSO_API_KEY environment variable is required`})),/*@__PURE__*/ X.map(({apiKey:e})=>({apiKey:Q.make(e),apiBaseUrl:$}))));var UnknownTursoError=class extends (/*@__PURE__*/ h()(`UnknownTursoError`,{code:/*@__PURE__*/ _(m),message:/*@__PURE__*/ _(m),body:g}).pipe(l)){};var TursoParseError=class extends (/*@__PURE__*/ h()(`TursoParseError`,{body:g,cause:g}).pipe(c)){};const Fe=/*@__PURE__*/ _e({credentials:/*@__PURE__*/ X.flatMap(Credentials,e=>e),baseUrl:e=>e.apiBaseUrl,headers:e=>({Authorization:`Bearer ${Q.value(e.apiKey)}`}),unknownError:({code:e,message:t,body:n})=>new UnknownTursoError({code:typeof e===`string`?e:e!==void 0?String(e):void 0,message:t,body:n}),parseError:({body:e,cause:t})=>new TursoParseError({body:e,cause:t})});var Retry=class extends (/*@__PURE__*/ Y.Service()(`TursoRetry`)){};const policy=e=>X.provide(Z.succeed(Retry,e));const Ie=/*@__PURE__*/ X.provide(/*@__PURE__*/ Z.succeed(Retry,{while:()=>false}));const Le=/*@__PURE__*/ policy(u);const Re=/*@__PURE__*/ policy(f);export{s as Ba,xe as Ub,Se as Vb,e as a,Ce as bc,t as c,we as cc,Credentials as credentials$Credentials,Pe as credentials$CredentialsFromEnv,$ as credentials$DEFAULT_API_BASE_URL,Te as dc,n as e,V as errors$API_ERRORS,H as errors$BadGateway,U as errors$BadRequest,W as errors$ConfigError,G as errors$Conflict,K as errors$DEFAULT_ERRORS,q as errors$Forbidden,J as errors$GatewayTimeout,oe as errors$HTTP_STATUS_MAP,se as errors$InternalServerError,ce as errors$Locked,le as errors$NotFound,ue as errors$ServiceUnavailable,de as errors$TooManyRequests,TursoParseError as errors$TursoParseError,fe as errors$Unauthorized,UnknownTursoError as errors$UnknownTursoError,pe as errors$UnprocessableEntity,Ee as fc,De as gc,Oe as ic,ee as k,r as l,ke as lc,i as m,Ae as nc,Fe as protocol$TursoProtocol,Retry as retry$Retry,re as retry$capped,ie as retry$jittered,ae as retry$makeDefault,Ie as retry$none,policy as retry$policy,Le as retry$throttling,u as retry$throttlingFactory,d as retry$throttlingOptions,Re as retry$transient,f as retry$transientFactory,p as retry$transientOptions,je as sc,Me as tc,v as traits$Body,y as traits$FormDataFile,b as traits$Header,x as traits$Http,S as traits$HttpBody,C as traits$KeyDictionary,w as traits$Label,T as traits$Query,me as traits$RawResponse,he as traits$RawResponseRoot,E as traits$ResponseCode,ge as traits$SensitiveValue,D as traits$UnionCases,O as traits$applyErrorMatchers,k as traits$bodySymbol,A as traits$errorMatchersSymbol,j as traits$formDataFileSymbol,M as traits$getErrorMatchers,N as traits$headerSymbol,P as traits$httpBodySymbol,F as traits$httpSymbol,I as traits$keyDictionarySymbol,L as traits$labelSymbol,R as traits$querySymbol,ve as traits$rawResponseRootSymbol,ye as traits$rawResponseSymbol,z as traits$responseCodeSymbol,be as traits$sensitiveValueSymbol,B as traits$unionCasesSymbol,a as xa,o as ya};
2
2
  //# sourceMappingURL=sdk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","names":["Schema.String","Schema.Unknown","Category.withServerError","Category.withParseError","D","call","error","named","newError","op","withAuthError","withBadRequestError","withConflictError","withParseError","withServerError","String$3","all$1","capped","jittered","makeDefault","throttlingFactory","throttlingOptions","transientFactory","transientOptions","String$2","TaggedError$1","Unknown$1","optional$1","Body","FormDataFile","Header","Http","HttpBody","KeyDictionary","Label","Query","ResponseCode","UnionCases","applyErrorMatchers","bodySymbol","errorMatchersSymbol","formDataFileSymbol","getErrorMatchers","headerSymbol","httpBodySymbol","httpSymbol","keyDictionarySymbol","labelSymbol","querySymbol","responseCodeSymbol","unionCasesSymbol","API_ERRORS","BadGateway","BadRequest","ConfigError","Conflict","DEFAULT_ERRORS","Forbidden","GatewayTimeout","HTTP_STATUS_MAP","InternalServerError","Locked","NotFound","ServiceUnavailable","TooManyRequests","Unauthorized","UnprocessableEntity","RawResponse","RawResponseRoot","SensitiveValue","makeRestProtocol","rawResponseRootSymbol","rawResponseSymbol","sensitiveValueSymbol","Array","Boolean","NullOr","Number","Record","String$1","Struct","TaggedError","Unknown","at","optional","suspend","Context","Effect","Layer","Redacted","DEFAULT_API_BASE_URL","envConfig","CredentialsFromEnv","apiKey","TursoProtocol","resolve","creds","code","optionsOrFactory","none","throttling","transient"],"sources":["../../src/credentials.ts","../../src/errors.ts","../../src/protocol.ts","../../src/retry.ts"],"mappings":"+xEAeA,MAAa0F,EAAuB,yBAOpC,IAAa,YAAb,eACwB,gBAAQ,QAAyD,CAAC,CACtF,kBACF,EAAA,AAAE,CAAC,EAEL,MAAMC,GAA0B,iBAAiB,CAC/C,OAAsB,iBAAoB,eAAe,CAC3D,CAAC,EAED,MAAaC,GAAmC,gBAAM,QACpD,YACc,iBAAU,KACR,gBAAO,aAEjB,IAAItC,EAAY,CACd,QAAS,gDACX,CAAC,CACL,EACc,gBAAO,KAAK,CAAE,aAAc,CACxC,OAAQmC,EAAS,KAAKI,CAAM,EAC5B,WAAYH,CACd,EAAE,CACJ,CACF,ECFA,IAAa,kBAAb,eACwB,gBAAsC,CAAC,CAAC,oBAAqB,CACjF,KAAoB,gBAAgB1F,CAAa,EACjD,QAAuB,gBAAgBA,CAAa,EACpD,KAAMC,CACR,CAAC,CAAC,CAAC,KAAKC,CAAwB,EAAA,AAAE,CAAC,EAMrC,IAAa,gBAAb,eACwB,gBAAoC,CAAC,CAAC,kBAAmB,CAC7E,KAAMD,EACN,MAAOA,CACT,CAAC,CAAC,CAAC,KAAKE,CAAuB,EAAA,AAAE,CAAC,EChBpC,MAAa2F,GAAyD,iBAAyB,CAI7F,YAA2B,gBAAO,QAAQ,YAAc,GAAYC,CAAO,EAC3E,QAAU,GAAUC,EAAM,WAC1B,QAAU,IAAW,CACnB,cAAe,UAAUP,EAAS,MAAMO,EAAM,MAAM,GACtD,GAGA,cAAe,CAAE,OAAM,UAAS,UAC9B,IAAI,kBAAkB,CACpB,KAAM,OAAOC,IAAS,SAAWA,EAAOA,IAAS,IAAA,GAAY,OAAOA,CAAI,EAAI,IAAA,GAC5E,UACA,MACF,CAAC,EACH,YAAa,CAAE,OAAM,WAAY,IAAI,gBAAgB,CAAE,OAAM,OAAM,CAAC,CACtE,CAAC,ECzBD,IAAa,MAAb,eAAyC,gBAAQ,QAAuB,CAAC,CAAC,YAAY,EAAA,AAAE,CAAC,EAGzF,MAAa,OAAU,GACrBV,EAAO,QAAQC,EAAM,QAAQ,MAAOU,CAAgB,CAAC,EAGvD,MAAaC,GAAqB,gBAAO,QACzB,gBAAM,QAAQ,MAAO,CAAE,UAAa,KAAM,CAAC,CAC3D,EAGA,MAAaC,GAA2B,qBAAOhF,CAAiB,EAGhE,MAAaiF,GAA0B,qBAAO/E,CAAgB"}
1
+ {"version":3,"file":"sdk.js","names":["Schema.String","Schema.Unknown","Category.withServerError","Category.withParseError","D","call","error","named","newError","op","withAuthError","withBadRequestError","withConflictError","withParseError","withServerError","String$3","all$1","capped","jittered","makeDefault","throttlingFactory","throttlingOptions","transientFactory","transientOptions","String$2","TaggedError$1","Unknown$1","optional$1","Body","FormDataFile","Header","Http","HttpBody","KeyDictionary","Label","Query","ResponseCode","UnionCases","applyErrorMatchers","bodySymbol","errorMatchersSymbol","formDataFileSymbol","getErrorMatchers","headerSymbol","httpBodySymbol","httpSymbol","keyDictionarySymbol","labelSymbol","querySymbol","responseCodeSymbol","unionCasesSymbol","API_ERRORS","BadGateway","BadRequest","ConfigError","Conflict","DEFAULT_ERRORS","Forbidden","GatewayTimeout","HTTP_STATUS_MAP","InternalServerError","Locked","NotFound","ServiceUnavailable","TooManyRequests","Unauthorized","UnprocessableEntity","RawResponse","RawResponseRoot","SensitiveValue","makeRestProtocol","rawResponseRootSymbol","rawResponseSymbol","sensitiveValueSymbol","Array","Boolean","NullOr","Number","Record","String$1","Struct","TaggedError","Unknown","at","optional","suspend","Context","Effect","Layer","Redacted","DEFAULT_API_BASE_URL","envConfig","CredentialsFromEnv","apiKey","TursoProtocol","resolve","creds","code","optionsOrFactory","none","throttling","transient"],"sources":["../../src/credentials.ts","../../src/errors.ts","../../src/protocol.ts","../../src/retry.ts"],"mappings":"+xEAeA,MAAa0F,EAAuB,yBAOpC,IAAa,YAAb,eACwB,gBAAQ,QAAyD,CAAC,CACtF,kBACF,EAAA,AAAE,CAAC,EAEL,MAAMC,GAA0B,iBAAiB,CAC/C,OAAsB,iBAAoB,eAAe,CAC3D,CAAC,EAED,MAAaC,GAAmC,gBAAM,QACpD,YACc,iBAAU,KACR,gBAAO,aAEjB,IAAItC,EAAY,CACd,QAAS,gDACX,CAAC,CACL,EACc,gBAAO,KAAK,CAAE,aAAc,CACxC,OAAQmC,EAAS,KAAKI,CAAM,EAC5B,WAAYH,CACd,EAAE,CACJ,CACF,ECFA,IAAa,kBAAb,eACwB,gBAAsC,CAAC,CAAC,oBAAqB,CACjF,KAAoB,gBAAgB1F,CAAa,EACjD,QAAuB,gBAAgBA,CAAa,EACpD,KAAMC,CACR,CAAC,CAAC,CAAC,KAAKC,CAAwB,EAAA,AAAE,CAAC,EAMrC,IAAa,gBAAb,eACwB,gBAAoC,CAAC,CAAC,kBAAmB,CAC7E,KAAMD,EACN,MAAOA,CACT,CAAC,CAAC,CAAC,KAAKE,CAAuB,EAAA,AAAE,CAAC,ECdpC,MAAa2F,GAAyD,iBAAyB,CAI7F,YAA2B,gBAAO,QAAQ,YAAc,GAAYC,CAAO,EAC3E,QAAU,GAAUC,EAAM,WAC1B,QAAU,IAAW,CACnB,cAAe,UAAUP,EAAS,MAAMO,EAAM,MAAM,GACtD,GAGA,cAAe,CAAE,OAAM,UAAS,UAC9B,IAAI,kBAAkB,CACpB,KAAM,OAAOC,IAAS,SAAWA,EAAOA,IAAS,IAAA,GAAY,OAAOA,CAAI,EAAI,IAAA,GAC5E,UACA,MACF,CAAC,EACH,YAAa,CAAE,OAAM,WAAY,IAAI,gBAAgB,CAAE,OAAM,OAAM,CAAC,CACtE,CAAC,EC3BD,IAAa,MAAb,eAAyC,gBAAQ,QAAuB,CAAC,CAAC,YAAY,EAAA,AAAE,CAAC,EAGzF,MAAa,OAAU,GACrBV,EAAO,QAAQC,EAAM,QAAQ,MAAOU,CAAgB,CAAC,EAGvD,MAAaC,GAAqB,gBAAO,QACzB,gBAAM,QAAQ,MAAO,CAAE,UAAa,KAAM,CAAC,CAC3D,EAGA,MAAaC,GAA2B,qBAAOhF,CAAiB,EAGhE,MAAaiF,GAA0B,qBAAO/E,CAAgB"}
package/lib/protocol.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import type * as API from "@distilled.cloud/core/api";
2
2
  import type { ConfigError, InvalidInput } from "@distilled.cloud/core/errors";
3
+ import type { SdkError } from "@distilled.cloud/core/sdk-error";
3
4
  import type * as HttpClient from "effect/http/HttpClient";
4
5
  import type * as HttpClientError from "effect/http/HttpClientError";
5
6
  import type * as Layer from "effect/Layer";
@@ -11,7 +12,7 @@ import { type DefaultErrors } from "./errors.ts";
11
12
  * TursoOpContext>` explicitly so the compiler never infers these back out of
12
13
  * the schema generics.
13
14
  */
14
- export type TursoOpError = DefaultErrors | ConfigError | HttpClientError.HttpClientError | InvalidInput;
15
+ export type TursoOpError = DefaultErrors | ConfigError | HttpClientError.HttpClientError | InvalidInput | SdkError;
15
16
  /** Context (requirements) shared by every generated Turso operation. */
16
17
  export type TursoOpContext = Credentials | HttpClient.HttpClient;
17
18
  export declare const TursoProtocol: Layer.Layer<API.Protocol>;
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAmB9E,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,KAAK,eAAe,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAqB,KAAK,aAAa,EAAmB,MAAM,aAAa,CAAC;AAErF;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GACpB,aAAa,GACb,WAAW,GACX,eAAe,CAAC,eAAe,GAC/B,YAAY,CAAC;AAEjB,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAkBlD,CAAC"}
1
+ {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAkBhE,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,KAAK,eAAe,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAqB,KAAK,aAAa,EAAmB,MAAM,aAAa,CAAC;AAErF;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GACpB,aAAa,GACb,WAAW,GACX,eAAe,CAAC,eAAe,GAC/B,YAAY,GACZ,QAAQ,CAAC;AAEb,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAkBlD,CAAC"}