diff --git a/package.json b/package.json index a67ff45..85ffc7c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lemmy-js-client", "description": "A javascript / typescript client for Lemmy", - "version": "0.10.3", + "version": "0.11.0-rc.1", "author": "Dessalines ", "license": "AGPL-3.0", "main": "./dist/index.js", diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index c42aea9..96d79b7 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -46,7 +46,7 @@ export interface SaveUserSettings { lang: string; avatar?: string; banner?: string; - preferred_username?: string; // The display name + display_name?: string; email?: string; bio?: string; matrix_user_id?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index fac4070..2bb3d9a 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -14,7 +14,7 @@ export interface LocalUserSettings { export interface PersonSafe { id: number; name: string; - preferred_username?: string; + display_name?: string; avatar?: string; banned: boolean; published: string;