@allanfsouza/aether-sdk 2.4.1 → 2.4.2
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.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
- package/src/index.ts +16 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,5 +38,6 @@ export declare class PlataformaClient {
|
|
|
38
38
|
getToken(): string | null;
|
|
39
39
|
}
|
|
40
40
|
export { AetherError } from "./errors.js";
|
|
41
|
+
export type { LoginResponse, Session } from "./auth.js";
|
|
41
42
|
export type { ListOptions } from "./database.js";
|
|
42
43
|
export type { PushPlatform, PushEnvironment, PushDevice, RegisterDeviceParams, SendPushResponse, PushStatus, PushLogEntry, ListPushLogsOptions, PushStats, } from "./push.js";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allanfsouza/aether-sdk",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "SDK do Cliente para a Plataforma Aether",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"@types/ws": "^8.5.10",
|
|
33
33
|
"typescript": "^5.3.0"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -75,10 +75,25 @@ export class PlataformaClient {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Re-exports convenientes para quem consome o SDK
|
|
78
|
+
|
|
79
|
+
// ===== ERRORS =====
|
|
78
80
|
export { AetherError } from "./errors.js";
|
|
81
|
+
|
|
82
|
+
// ===== AUTH =====
|
|
83
|
+
export type { LoginResponse, Session } from "./auth.js";
|
|
84
|
+
|
|
85
|
+
// ===== DATABASE =====
|
|
79
86
|
export type { ListOptions } from "./database.js";
|
|
80
87
|
|
|
81
|
-
//
|
|
88
|
+
// ===== STORAGE =====
|
|
89
|
+
// Nota: storage.ts não declara tipos específicos além dos retornos inline
|
|
90
|
+
// Se necessário, tipos podem ser adicionados em storage.ts e re-exportados aqui
|
|
91
|
+
|
|
92
|
+
// ===== FUNCTIONS =====
|
|
93
|
+
// Nota: functions.ts usa genéricos inline
|
|
94
|
+
// Se necessário, tipos podem ser adicionados em functions.ts e re-exportados aqui
|
|
95
|
+
|
|
96
|
+
// ===== PUSH =====
|
|
82
97
|
export type {
|
|
83
98
|
PushPlatform,
|
|
84
99
|
PushEnvironment,
|