@cloudnux/local-cloud-provider 0.1.0 → 0.2.0

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/dist/index.mjs CHANGED
@@ -55591,11 +55591,16 @@ function createLocalFunctionsService() {
55591
55591
 
55592
55592
  // src/router/index.ts
55593
55593
  var import_fastify = __toESM(require_fastify());
55594
+ var import_fastify_raw_body2 = __toESM(require_plugin2());
55594
55595
  function createRouter(options = {}) {
55595
55596
  const fastify = (0, import_fastify.default)({
55596
55597
  maxParamLength: 1e3,
55597
55598
  logger: options.logger
55598
55599
  });
55600
+ fastify.register(import_fastify_raw_body2.default, {
55601
+ field: "rawBody",
55602
+ encoding: "utf8"
55603
+ });
55599
55604
  return fastify;
55600
55605
  }
55601
55606