@abella-bilhalba-engenharia/api-client 0.0.24 → 0.0.25

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.cjs CHANGED
@@ -91,7 +91,9 @@ var authContract = c.router({
91
91
  }),
92
92
  responses: {
93
93
  200: import_zod2.default.object({
94
- token: import_zod2.default.jwt()
94
+ data: import_zod2.default.object({
95
+ token: import_zod2.default.jwt()
96
+ })
95
97
  }),
96
98
  401: import_zod2.default.object({
97
99
  error: {
package/dist/index.d.cts CHANGED
@@ -81,7 +81,9 @@ declare const authContract: {
81
81
  path: "/auth/login";
82
82
  responses: {
83
83
  200: z__default.ZodObject<{
84
- token: z__default.ZodJWT;
84
+ data: z__default.ZodObject<{
85
+ token: z__default.ZodJWT;
86
+ }, z__default.core.$strip>;
85
87
  }, z__default.core.$strip>;
86
88
  401: z__default.ZodObject<{
87
89
  error: {
@@ -169,7 +171,9 @@ declare const contract: {
169
171
  }, zod_v4_core.$strip>;
170
172
  }, zod_v4_core.$strip>;
171
173
  200: z.ZodObject<{
172
- token: z.ZodJWT;
174
+ data: z.ZodObject<{
175
+ token: z.ZodJWT;
176
+ }, zod_v4_core.$strip>;
173
177
  }, zod_v4_core.$strip>;
174
178
  401: z.ZodObject<{
175
179
  error: {
package/dist/index.d.ts CHANGED
@@ -81,7 +81,9 @@ declare const authContract: {
81
81
  path: "/auth/login";
82
82
  responses: {
83
83
  200: z__default.ZodObject<{
84
- token: z__default.ZodJWT;
84
+ data: z__default.ZodObject<{
85
+ token: z__default.ZodJWT;
86
+ }, z__default.core.$strip>;
85
87
  }, z__default.core.$strip>;
86
88
  401: z__default.ZodObject<{
87
89
  error: {
@@ -169,7 +171,9 @@ declare const contract: {
169
171
  }, zod_v4_core.$strip>;
170
172
  }, zod_v4_core.$strip>;
171
173
  200: z.ZodObject<{
172
- token: z.ZodJWT;
174
+ data: z.ZodObject<{
175
+ token: z.ZodJWT;
176
+ }, zod_v4_core.$strip>;
173
177
  }, zod_v4_core.$strip>;
174
178
  401: z.ZodObject<{
175
179
  error: {
package/dist/index.js CHANGED
@@ -50,7 +50,9 @@ var authContract = c.router({
50
50
  }),
51
51
  responses: {
52
52
  200: z2.object({
53
- token: z2.jwt()
53
+ data: z2.object({
54
+ token: z2.jwt()
55
+ })
54
56
  }),
55
57
  401: z2.object({
56
58
  error: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@abella-bilhalba-engenharia/api-client",
3
3
  "description": "Type-safe Client for Abella Bilhalba Engenharia API.",
4
4
  "author": "TheDevick",
5
- "version": "0.0.24",
5
+ "version": "0.0.25",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "types": "./dist/index.d.ts",