From f1dffff556febfa549dd7456bfec844de740cbd6 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 1 Apr 2021 13:50:34 -0400 Subject: [PATCH] v0.11.0-rc.1 --- package.json | 2 +- src/interfaces/api/person.ts | 2 +- src/interfaces/source.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0198ece..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.0-rc.13", + "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;