kasy-cli 1.9.2 → 1.10.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.
- package/lib/scaffold/CHANGELOG.json +9 -0
- package/lib/scaffold/features/README.md +1 -1
- package/lib/utils/i18n.js +214 -214
- package/package.json +3 -2
- package/templates/firebase/lib/core/home_widgets/home_widget_mywidget_service.dart +29 -1
- package/templates/firebase/lib/core/home_widgets/home_widget_service.dart +9 -1
- package/lib/scaffold/features/widget/lib/core/home_widgets/home_widget_background_task.dart +0 -41
- package/lib/scaffold/features/widget/lib/core/home_widgets/home_widget_mywidget_service.dart +0 -98
- package/lib/scaffold/features/widget/lib/core/home_widgets/home_widget_service.dart +0 -54
- package/lib/scaffold/features/widget/lib/features/settings/ui/components/admin/admin_home_widgets.dart +0 -32
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"1.10.0": {
|
|
3
|
+
"modules": {
|
|
4
|
+
"widget": {
|
|
5
|
+
"pt": "Widget agora funciona ponta a ponta: idioma do app (pt/en/es), saudação correta pelo horário, nome real do usuário, status PRO/Free em tempo real (com fallback do RevenueCat quando o webhook atrasa), auto-refresh quando o estado do usuário muda — sem esperar o background task de 15 min. App Group iOS corrigido em Runner.entitlements (sem isso a escrita ia pro vazio). Textos hardcoded em Swift/Kotlin removidos — o nativo só renderiza o que o Dart manda.",
|
|
6
|
+
"en": "Widget now works end-to-end: app language (pt/en/es), correct greeting for time of day, real user name, real-time PRO/Free status (with RevenueCat fallback when the webhook is delayed), auto-refresh when user state changes — no need to wait for the 15-min background task. iOS App Group fixed in Runner.entitlements (without it, writes went to nowhere). Hardcoded strings removed from Swift/Kotlin — native side only renders what Dart sends.",
|
|
7
|
+
"es": "El widget ahora funciona de punta a punta: idioma de la app (pt/en/es), saludo correcto según el horario, nombre real del usuario, estado PRO/Free en tiempo real (con fallback de RevenueCat cuando el webhook se atrasa), auto-refresh cuando el estado del usuario cambia — sin esperar la background task de 15 min. App Group iOS corregido en Runner.entitlements (sin esto las escrituras iban al vacío). Textos hardcoded en Swift/Kotlin eliminados — el código nativo solo renderiza lo que Dart envía."
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
},
|
|
2
11
|
"1.8.0": {
|
|
3
12
|
"modules": {
|
|
4
13
|
"components": {
|
|
@@ -31,7 +31,7 @@ Ao gerar um projeto, o engine copia recursivamente o conteúdo de `features/{mod
|
|
|
31
31
|
|-------------|------------------|-----------------------------------------------------|
|
|
32
32
|
| `ci` | ✅ Sim | Adiciona `.github/`, `.gitlab-ci.yml`, etc. |
|
|
33
33
|
| `web` | ✅ Sim | Adiciona pasta `web/` e configurações de plataforma |
|
|
34
|
-
| `widget` |
|
|
34
|
+
| `widget` | Não | Os arquivos do widget (iOS + Android + Dart) já vão no template base. Quando o módulo não é selecionado, `removeAndroidWidgetArtifacts` + `writeNoOpAdminHomeWidgets` em `generate.js` limpam o que sobra. |
|
|
35
35
|
| `llm_chat` | Não | Apenas `LLM_CHAT_ENDPOINT` via dart-define. A chave da API LLM fica no servidor (Firebase Secret / Supabase Secret) — nunca no app. |
|
|
36
36
|
| `sentry` | Não | Apenas dart-define (`SENTRY_DSN`) |
|
|
37
37
|
| `analytics` | Não | Apenas dart-define |
|