@effect-app/infra 0.133.0-next.51 → 0.133.0-next.52

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 0.133.0-next.52
4
+
5
+ ### Patch Changes
6
+
7
+ - 19dc3b1: ext
8
+ - Updated dependencies [19dc3b1]
9
+ - @effect-app/prelude@0.107.0-next.43
10
+ - @effect-app/schema@0.150.0-next.28
11
+ - @effect-app/infra-adapters@0.85.0-next.43
12
+
3
13
  ## 0.133.0-next.51
4
14
 
5
15
  ### Patch Changes
package/_cjs/api/http.cjs CHANGED
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "HttpRouteContext", {
16
16
  return _Router.RouteContext;
17
17
  }
18
18
  });
19
+ exports.HttpServer = void 0;
19
20
  Object.defineProperty(exports, "HttpServerRequest", {
20
21
  enumerable: true,
21
22
  get: function () {
@@ -28,6 +29,8 @@ exports.HttpHeaders = _HttpHeaders;
28
29
  var _Router = require("@effect/platform/Http/Router");
29
30
  var _ServerError = require("@effect/platform/Http/ServerError");
30
31
  var _ServerRequest = require("@effect/platform/Http/ServerRequest");
32
+ var _HttpServer = _interopRequireWildcard(require("@effect/platform/Http/Server"));
33
+ exports.HttpServer = _HttpServer;
31
34
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
32
35
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
33
36
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"http.cjs","names":["_Router","require","_ServerError","_ServerRequest","_getRequireWildcardCache","e","WeakMap","r","t","_interopRequireWildcard","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","unifyRoute","self"],"sources":["../../_src/api/http.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAAwF,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAI,wBAAAJ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAM,OAAA,EAAAN,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAI,GAAA,CAAAP,CAAA,UAAAG,CAAA,CAAAK,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAf,CAAA,oBAAAe,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAlB,CAAA,EAAAe,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAd,CAAA,EAAAe,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAf,CAAA,CAAAe,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAN,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAiB,GAAA,CAAApB,CAAA,EAAAS,CAAA,GAAAA,CAAA;AAIxF;;;AAGM,SAAUY,UAAUA,CACxBC,IAAO;EAKP,OAAOA,IAAI;AACb"}
1
+ {"version":3,"file":"http.cjs","names":["_Router","require","_ServerError","_ServerRequest","_HttpServer","_interopRequireWildcard","exports","HttpServer","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","unifyRoute","self"],"sources":["../../_src/api/http.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAAwF,IAAAG,WAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAAAK,OAAA,CAAAC,UAAA,GAAAH,WAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAKxF;;;AAGM,SAAUY,UAAUA,CACxBC,IAAO;EAKP,OAAOA,IAAI;AACb"}
package/_src/api/http.ts CHANGED
@@ -11,6 +11,7 @@ export { RequestError as HttpRequestError } from "@effect/platform/Http/ServerEr
11
11
  export { ServerRequest as HttpServerRequest } from "@effect/platform/Http/ServerRequest"
12
12
  export type { ServerResponse as HttpServerResponse } from "@effect/platform/Http/ServerResponse"
13
13
  export type { HttpRoute, HttpRouter }
14
+ export * as HttpServer from "@effect/platform/Http/Server"
14
15
 
15
16
  /**
16
17
  * @tsplus unify effect/platform/Http/Router/Route
@@ -8,6 +8,7 @@ export { RequestError as HttpRequestError } from "@effect/platform/Http/ServerEr
8
8
  export { ServerRequest as HttpServerRequest } from "@effect/platform/Http/ServerRequest";
9
9
  export type { ServerResponse as HttpServerResponse } from "@effect/platform/Http/ServerResponse";
10
10
  export type { HttpRoute, HttpRouter };
11
+ export * as HttpServer from "@effect/platform/Http/Server";
11
12
  /**
12
13
  * @tsplus unify effect/platform/Http/Router/Route
13
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../_src/api/http.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE5F,YAAY,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACxD,YAAY,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,YAAY,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACpF,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/E,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACpF,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AACxF,YAAY,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AAChG,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AAErC;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,EACtD,IAAI,EAAE,CAAC,GACN,SAAS,CACV,CAAC,SAAS,SAAS,CAAC,MAAM,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,EAC/C,CAAC,SAAS,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,CAChD,CAEA"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../_src/api/http.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE5F,YAAY,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACxD,YAAY,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,YAAY,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACpF,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/E,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACpF,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AACxF,YAAY,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AAChG,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AACrC,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA;AAE1D;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,EACtD,IAAI,EAAE,CAAC,GACN,SAAS,CACV,CAAC,SAAS,SAAS,CAAC,MAAM,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,EAC/C,CAAC,SAAS,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,CAChD,CAEA"}
package/dist/api/http.js CHANGED
@@ -2,10 +2,11 @@ export * as HttpHeaders from "@effect/platform/Http/Headers";
2
2
  export { RouteContext as HttpRouteContext } from "@effect/platform/Http/Router";
3
3
  export { RequestError as HttpRequestError } from "@effect/platform/Http/ServerError";
4
4
  export { ServerRequest as HttpServerRequest } from "@effect/platform/Http/ServerRequest";
5
+ export * as HttpServer from "@effect/platform/Http/Server";
5
6
  /**
6
7
  * @tsplus unify effect/platform/Http/Router/Route
7
8
  */
8
9
  export function unifyRoute(self) {
9
10
  return self;
10
11
  }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL19zcmMvYXBpL2h0dHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUEsT0FBTyxLQUFLLFdBQVcsTUFBTSwrQkFBK0IsQ0FBQTtBQUU1RCxPQUFPLEVBQUUsWUFBWSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sOEJBQThCLENBQUE7QUFDL0UsT0FBTyxFQUFFLFlBQVksSUFBSSxnQkFBZ0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFBO0FBQ3BGLE9BQU8sRUFBRSxhQUFhLElBQUksaUJBQWlCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQTtBQUl4Rjs7R0FFRztBQUNILE1BQU0sVUFBVSxVQUFVLENBQ3hCLElBQU87SUFLUCxPQUFPLElBQUksQ0FBQTtBQUNiLENBQUMifQ==
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL19zcmMvYXBpL2h0dHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUEsT0FBTyxLQUFLLFdBQVcsTUFBTSwrQkFBK0IsQ0FBQTtBQUU1RCxPQUFPLEVBQUUsWUFBWSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sOEJBQThCLENBQUE7QUFDL0UsT0FBTyxFQUFFLFlBQVksSUFBSSxnQkFBZ0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFBO0FBQ3BGLE9BQU8sRUFBRSxhQUFhLElBQUksaUJBQWlCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQTtBQUd4RixPQUFPLEtBQUssVUFBVSxNQUFNLDhCQUE4QixDQUFBO0FBRTFEOztHQUVHO0FBQ0gsTUFBTSxVQUFVLFVBQVUsQ0FDeEIsSUFBTztJQUtQLE9BQU8sSUFBSSxDQUFBO0FBQ2IsQ0FBQyJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/infra",
3
- "version": "0.133.0-next.51",
3
+ "version": "0.133.0-next.52",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -22,9 +22,9 @@
22
22
  "pure-rand": "6.0.4",
23
23
  "redlock": "^4.2.0",
24
24
  "@effect-app/core": "0.97.0-next.7",
25
- "@effect-app/infra-adapters": "0.85.0-next.42",
26
- "@effect-app/schema": "0.150.0-next.27",
27
- "@effect-app/prelude": "0.107.0-next.42"
25
+ "@effect-app/infra-adapters": "0.85.0-next.43",
26
+ "@effect-app/schema": "0.150.0-next.28",
27
+ "@effect-app/prelude": "0.107.0-next.43"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/cli": "^7.23.4",