@navservice/core 1.108.0 → 1.110.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.
@@ -298,6 +298,7 @@ const _token = new class {
298
298
  plano_status: payload?.plano_status
299
299
  };
300
300
  c.set("usuario_auth", setar_token);
301
+ c.set("token", token);
301
302
  return await next();
302
303
  } catch (error) {
303
304
  return _set_response.c.INVALID_TOKEN({
@@ -7,7 +7,7 @@ declare namespace t {
7
7
  }
8
8
  namespace Geral {
9
9
  export import Response = TypeControllerResponse;
10
- type BaseUrl = "PUBLIC_BASE_URL_BACKEND_ASSINATURA" | "PUBLIC_BASE_URL_BACKEND_USUARIO" | "PUBLIC_BASE_URL_BACKEND_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC" | "PUBLIC_BASE_URL_BACKEND_PAGES" | "PUBLIC_BASE_URL_BACKEND_BUILD_CLOUDFLARE_PAGES";
10
+ type BaseUrl = "PUBLIC_BASE_URL_SERVICE_ASSINATURA" | "PUBLIC_BASE_URL_SERVICE_USUARIO" | "PUBLIC_BASE_URL_SERVICE_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC" | "PUBLIC_BASE_URL_SERVICE_PAGES" | "PUBLIC_BASE_URL_SERVICE_PAGES_BUILDER" | "PUBLIC_BASE_URL_SERVICE_BUILD_CLOUDFLARE_PAGES";
11
11
  }
12
12
  type Env = {
13
13
  Bindings: {
@@ -17,6 +17,7 @@ declare namespace t {
17
17
  };
18
18
  Variables: {
19
19
  usuario_auth: TypeControllerUsuario.TokenPayload;
20
+ token: string;
20
21
  };
21
22
  };
22
23
  type Context = HonoContext<Env>;
@@ -365,6 +365,7 @@ const _token = new class _token {
365
365
  plano_status: payload?.plano_status
366
366
  };
367
367
  c.set("usuario_auth", setar_token);
368
+ c.set("token", token);
368
369
  return await next();
369
370
  } catch (error) {
370
371
  return _set_response.c.INVALID_TOKEN({
@@ -7,7 +7,7 @@ declare namespace t {
7
7
  }
8
8
  namespace Geral {
9
9
  export import Response = TypeControllerResponse;
10
- type BaseUrl = "PUBLIC_BASE_URL_BACKEND_ASSINATURA" | "PUBLIC_BASE_URL_BACKEND_USUARIO" | "PUBLIC_BASE_URL_BACKEND_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC" | "PUBLIC_BASE_URL_BACKEND_PAGES" | "PUBLIC_BASE_URL_BACKEND_BUILD_CLOUDFLARE_PAGES";
10
+ type BaseUrl = "PUBLIC_BASE_URL_SERVICE_ASSINATURA" | "PUBLIC_BASE_URL_SERVICE_USUARIO" | "PUBLIC_BASE_URL_SERVICE_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC" | "PUBLIC_BASE_URL_SERVICE_PAGES" | "PUBLIC_BASE_URL_SERVICE_PAGES_BUILDER" | "PUBLIC_BASE_URL_SERVICE_BUILD_CLOUDFLARE_PAGES";
11
11
  }
12
12
  type Env = {
13
13
  Bindings: {
@@ -17,6 +17,7 @@ declare namespace t {
17
17
  };
18
18
  Variables: {
19
19
  usuario_auth: TypeControllerUsuario.TokenPayload;
20
+ token: string;
20
21
  };
21
22
  };
22
23
  type Context = HonoContext<Env>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navservice/core",
3
- "version": "1.108.0",
3
+ "version": "1.110.0",
4
4
  "description": "Service core de todos os micro serviços",
5
5
  "type": "module",
6
6
  "exports": {