@eduzz/miau-client 1.4.2 → 1.4.3-rc.10

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,4 +1,4 @@
1
1
 
2
- > @eduzz/miau-client@1.4.2 build:types /home/runner/work/eduzz-miau/eduzz-miau/packages/client
2
+ > @eduzz/miau-client@1.4.3 build:types /home/runner/work/eduzz-miau/eduzz-miau/clients/node-client
3
3
  > tsc --emitDeclarationOnly --outDir dist
4
4
 
package/dist/index.js CHANGED
@@ -11730,7 +11730,7 @@ __export(index_exports, {
11730
11730
  });
11731
11731
  module.exports = __toCommonJS(index_exports);
11732
11732
 
11733
- // ../types/src/types/Resource.ts
11733
+ // ../../packages/types/src/types/Resource.ts
11734
11734
  var ResourceProtocols = ["http"];
11735
11735
  var HttpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"];
11736
11736
 
@@ -11808,7 +11808,7 @@ function addYears(date, amount, options) {
11808
11808
  return addMonths(date, amount * 12, options);
11809
11809
  }
11810
11810
 
11811
- // ../types/src/types/Secret.ts
11811
+ // ../../packages/types/src/types/Secret.ts
11812
11812
  var expirationOptions = {
11813
11813
  "Forever": "forever",
11814
11814
  "One hour": "oneHour",
@@ -11834,7 +11834,7 @@ var expirationTimeToDate = (option) => {
11834
11834
  return conversionMap[option]() ?? void 0;
11835
11835
  };
11836
11836
 
11837
- // ../types/src/types/Environments.ts
11837
+ // ../../packages/types/src/types/Environments.ts
11838
11838
  var SecretEnvValues = ["development", "test", "production"];
11839
11839
  var SecretEnvShort = ["d", "q", "p"];
11840
11840
  var envs = {
@@ -11863,7 +11863,7 @@ var issuers = {
11863
11863
  production: "https://miau.eduzz.com"
11864
11864
  };
11865
11865
 
11866
- // ../types/src/types/User.ts
11866
+ // ../../packages/types/src/types/User.ts
11867
11867
  var UserPermissions = {
11868
11868
  admin: "Administrator",
11869
11869
  manageApplications: "Manage Applications",
@@ -11984,7 +11984,7 @@ var miauMiddleware = (miauClient, requestAugmentation, fallbackMiddleware) => {
11984
11984
  }
11985
11985
  next();
11986
11986
  } catch (err) {
11987
- if (err instanceof HttpError && err.status == 400 && fallbackMiddleware) {
11987
+ if (err instanceof HttpError && err.status === 400 && fallbackMiddleware) {
11988
11988
  return fallbackMiddleware(req, res, next);
11989
11989
  }
11990
11990
  const errorStatus = err.status || 403;
@@ -12005,7 +12005,7 @@ var miauHook = (miauClient, requestAugmentation, fallbackMiddleware) => {
12005
12005
  requestAugmentation({ req: request, app: request.miauApplication, meta: request.miauMetadata });
12006
12006
  }
12007
12007
  } catch (err) {
12008
- if (err instanceof HttpError && err.status == 400 && fallbackMiddleware) {
12008
+ if (err instanceof HttpError && err.status === 400 && fallbackMiddleware) {
12009
12009
  await fallbackMiddleware(request, reply);
12010
12010
  return;
12011
12011
  }