@navservice/core 1.91.0 → 1.92.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.
@@ -9,13 +9,14 @@ declare namespace t {
9
9
  export import Response = TypeControllerResponse;
10
10
  type BaseUrl = "PUBLIC_BASE_URL_BACKEND_FINANCEIRO" | "PUBLIC_BASE_URL_BACKEND_USUARIO" | "PUBLIC_BASE_URL_BACKEND_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC";
11
11
  }
12
- interface Context extends HonoContext {
13
- env: {
14
- AMBIENTE?: "PRODUCAO" | "SANDBOX";
12
+ type Env = {
13
+ Bindings: {
15
14
  JSON_WEB_TOKEN_AUTH_USER?: string;
16
15
  };
17
- set(key: "usuario_auth", params: TypeControllerUsuario.TokenPayload): TypeControllerUsuario.TokenPayload;
18
- get(key: "usuario_auth"): TypeControllerUsuario.TokenPayload;
19
- }
16
+ Variables: {
17
+ usuario_auth: TypeControllerUsuario.TokenPayload;
18
+ };
19
+ };
20
+ type Context = HonoContext<Env>;
20
21
  }
21
22
  export default t;
@@ -9,13 +9,14 @@ declare namespace t {
9
9
  export import Response = TypeControllerResponse;
10
10
  type BaseUrl = "PUBLIC_BASE_URL_BACKEND_FINANCEIRO" | "PUBLIC_BASE_URL_BACKEND_USUARIO" | "PUBLIC_BASE_URL_BACKEND_BUCKET" | "PUBLIC_BASE_URL_CLOUDFLARE_BUCKET_PUBLIC";
11
11
  }
12
- interface Context extends HonoContext {
13
- env: {
14
- AMBIENTE?: "PRODUCAO" | "SANDBOX";
12
+ type Env = {
13
+ Bindings: {
15
14
  JSON_WEB_TOKEN_AUTH_USER?: string;
16
15
  };
17
- set(key: "usuario_auth", params: TypeControllerUsuario.TokenPayload): TypeControllerUsuario.TokenPayload;
18
- get(key: "usuario_auth"): TypeControllerUsuario.TokenPayload;
19
- }
16
+ Variables: {
17
+ usuario_auth: TypeControllerUsuario.TokenPayload;
18
+ };
19
+ };
20
+ type Context = HonoContext<Env>;
20
21
  }
21
22
  export default t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navservice/core",
3
- "version": "1.91.0",
3
+ "version": "1.92.0",
4
4
  "description": "Service core de todos os micro serviços",
5
5
  "type": "module",
6
6
  "exports": {