Skip to content

Commit c12476d

Browse files
committed
Merge branch 'main' into stable
2 parents e7d5de1 + 33a946b commit c12476d

File tree

24 files changed

+232
-96
lines changed

24 files changed

+232
-96
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [1.64.0](https://github.com/ForkbombEu/wallet/compare/v1.63.2...v1.64.0) (2025-02-24)
2+
3+
4+
### Features
5+
6+
* refresh auth ([#589](https://github.com/ForkbombEu/wallet/issues/589)) ([4735c25](https://github.com/ForkbombEu/wallet/commit/4735c2581ce29ba3849f86843f76c4d99a3af9c5))
7+
8+
## [1.63.2](https://github.com/ForkbombEu/wallet/compare/v1.63.1...v1.63.2) (2025-02-21)
9+
10+
11+
### Bug Fixes
12+
13+
* in home sometimes the credentials services have not images ([#593](https://github.com/ForkbombEu/wallet/issues/593)) ([ed55b1e](https://github.com/ForkbombEu/wallet/commit/ed55b1e6b98c92f3392158800e8866d264ec46bc))
14+
115
## [1.63.1](https://github.com/ForkbombEu/wallet/compare/v1.63.0...v1.63.1) (2025-02-18)
216

317

messages/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"Privacy_policy": "Privacy policy",
9999
"Log_Out": "Log Out",
100100
"Settings": "Settings",
101-
"NOTIFICATIONS_SETTINGS": "Notification settings",
101+
"NOTIFICATIONS_SETTINGS": "Notifications settings",
102102
"Insert_a_valid_JSON_here": "Insert a valid JSON here",
103103
"Go_to_home": "Go to Home",
104104
"Choose_your_password": "Choose your password",

messages/es.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@
9191
"language": "Idioma",
9292
"Account_Settings": "Configuración de la cuenta",
9393
"Security_and_authentication": "Seguridad y autenticación",
94-
"Notifications_settings": "Configuración de notificaciones",
94+
"Notifications_settings": "Notificaciones",
9595
"Languages": "Idiomas",
9696
"Support": "Soporte",
9797
"Privacy_policy": "Política de privacidad",
9898
"Log_Out": "Finalizar la sesión",
9999
"Settings": "Ajustes",
100-
"NOTIFICATIONS_SETTINGS": "Configuración de notificaciones",
100+
"NOTIFICATIONS_SETTINGS": "Notificaciones",
101101
"Insert_a_valid_JSON_here": "Inserte un JSON válido aquí",
102102
"Go_to_home": "Ir a Inicio",
103103
"Choose_your_password": "Elige tu contraseña",

messages/fr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@
9292
"language": "Langue",
9393
"Account_Settings": "Paramètres du compte",
9494
"Security_and_authentication": "Sécurité et authentification",
95-
"Notifications_settings": "Paramètres des notifications",
95+
"Notifications_settings": "Notifications",
9696
"Languages": "Langues",
9797
"Support": "Soutien",
9898
"Privacy_policy": "Politique de confidentialité",
9999
"Log_Out": "Se déconnecter",
100100
"Settings": "Paramètres",
101-
"NOTIFICATIONS_SETTINGS": "Paramètres de notification",
101+
"NOTIFICATIONS_SETTINGS": "Notifications",
102102
"Insert_a_valid_JSON_here": "Insérer un JSON valide ici",
103103
"Go_to_home": "Aller à l'accueil",
104104
"Choose_your_password": "Choisissez votre mot de passe",

messages/it.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@
9292
"language": "Lingua",
9393
"Account_Settings": "Impostazioni dell'account",
9494
"Security_and_authentication": "Sicurezza e autenticazione",
95-
"Notifications_settings": "Impostazioni delle notifiche",
95+
"Notifications_settings": "Notifiche",
9696
"Languages": "Lingue",
9797
"Support": "Supporto",
9898
"Privacy_policy": "Politica sulla riservatezza",
9999
"Log_Out": "Esci",
100100
"Settings": "Impostazioni",
101-
"NOTIFICATIONS_SETTINGS": "Impostazioni di notifica",
101+
"NOTIFICATIONS_SETTINGS": "Notifiche",
102102
"Insert_a_valid_JSON_here": "Inserisci qui un JSON valido",
103103
"Go_to_home": "Vai a Home",
104104
"Choose_your_password": "Scegli la tua password",

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wallet",
3-
"version": "1.63.1",
3+
"version": "1.64.0",
44
"private": true,
55
"scripts": {
66
"dev": "vite dev --host",
@@ -92,11 +92,11 @@
9292
"@inlang/paraglide-js-adapter-sveltekit": "^0.6.7",
9393
"@ionic/cli": "^7.2.0",
9494
"@ionic/core": "^7.8.6",
95-
"@slangroom/core": "^1.43.2",
96-
"@slangroom/helpers": "^1.43.2",
97-
"@slangroom/http": "^1.43.2",
98-
"@slangroom/pocketbase": "^1.43.2",
99-
"@slangroom/zencode": "^1.43.2",
95+
"@slangroom/core": "^1.44.0",
96+
"@slangroom/helpers": "^1.44.0",
97+
"@slangroom/http": "^1.44.0",
98+
"@slangroom/pocketbase": "^1.44.0",
99+
"@slangroom/zencode": "^1.44.0",
100100
"ajv": "^8.17.1",
101101
"ajv-formats": "^2.1.1",
102102
"capacitor-native-settings": "^6.0.1",

pnpm-lock.yaml

+58-53
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/preferences/logout.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ import { USER_PREFERENCES_KEY } from './user';
33
import { CREDENTIALS_PREFERENCES_KEY } from './credentials';
44
import { DID_PREFERENCES_KEY } from './did';
55
import { removePreference } from '.';
6+
import { USER_PASSWORD_KEY } from './userPassword';
67

78
export const logout = async () => {
89
await removePreference(KEYPAIR_PREFERENCES_KEY);
910
await removePreference(USER_PREFERENCES_KEY);
1011
await removePreference(CREDENTIALS_PREFERENCES_KEY);
1112
await removePreference(DID_PREFERENCES_KEY);
13+
await removePreference(USER_PASSWORD_KEY);
1214
};

src/lib/preferences/user.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type UserPreference = {
2626

2727
export async function getUser(): Promise<UserPreference | undefined> {
2828
const auth = (await getStructuredPreferences(USER_PREFERENCES_KEY)) as {
29-
model: UserPreference;
29+
record: UserPreference;
3030
} | undefined;
31-
return auth?.model;
31+
return auth?.record;
3232
}

src/lib/preferences/userPassword.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { getPreference } from ".";
2+
import { setPreference } from ".";
3+
4+
export const USER_PASSWORD_KEY = "USER_PASSWORD";
5+
6+
export const getUserPassword = async (): Promise<string | null> => {
7+
return await getPreference(USER_PASSWORD_KEY);
8+
};
9+
10+
export const setUserPassword = async (password: string) => {
11+
await setPreference(USER_PASSWORD_KEY, password);
12+
};
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Rule unknown ignore
2+
3+
Given I connect to 'pb_address' and start capacitor pb client
4+
Given I refresh token and output into 'refresh_output'
5+
Given I have a 'string dictionary' named 'refresh_output'
6+
Then print data

0 commit comments

Comments
 (0)