mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
🔧 chore: update vrchat sdk nightly
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
|||||||
"lucide-react": "^1.21.0",
|
"lucide-react": "^1.21.0",
|
||||||
"react-i18next": "^17.0.8",
|
"react-i18next": "^17.0.8",
|
||||||
"sharp": "^0.35.2",
|
"sharp": "^0.35.2",
|
||||||
"vrchat": "^2.1.0",
|
"vrchat": "2.21.8-nightly.16",
|
||||||
"ws": "^8.18.0",
|
"ws": "^8.18.0",
|
||||||
"zustand": "^5.0.14"
|
"zustand": "^5.0.14"
|
||||||
},
|
},
|
||||||
|
|||||||
Generated
+5
-5
@@ -30,8 +30,8 @@ importers:
|
|||||||
specifier: ^0.35.2
|
specifier: ^0.35.2
|
||||||
version: 0.35.2
|
version: 0.35.2
|
||||||
vrchat:
|
vrchat:
|
||||||
specifier: ^2.1.0
|
specifier: 2.21.8-nightly.16
|
||||||
version: 2.21.7
|
version: 2.21.8-nightly.16
|
||||||
ws:
|
ws:
|
||||||
specifier: ^8.18.0
|
specifier: ^8.18.0
|
||||||
version: 8.21.0
|
version: 8.21.0
|
||||||
@@ -2871,8 +2871,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
|
resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
vrchat@2.21.7:
|
vrchat@2.21.8-nightly.16:
|
||||||
resolution: {integrity: sha512-ErfMhTnHR1uG4H7bUWxe2Vl6XnOdBxC7gqNL+yQufvFgIU0uTWzKf4D5sV8ibFlH8KKkB6AFUOmeKg7F6VnLMg==}
|
resolution: {integrity: sha512-KhJIDBFEdFomp/56h/ZLrDcRdPCsUuRe/vLroE7d2fEhEYmccX6bPmCkX3X0bgBXL7Sy+OQWqH9APUTwqsT/gw==}
|
||||||
|
|
||||||
wcwidth@1.0.1:
|
wcwidth@1.0.1:
|
||||||
resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==}
|
resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==}
|
||||||
@@ -5768,7 +5768,7 @@ snapshots:
|
|||||||
|
|
||||||
void-elements@3.1.0: {}
|
void-elements@3.1.0: {}
|
||||||
|
|
||||||
vrchat@2.21.7:
|
vrchat@2.21.8-nightly.16:
|
||||||
dependencies:
|
dependencies:
|
||||||
cacheable: 1.10.4
|
cacheable: 1.10.4
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
|
|||||||
@@ -46,12 +46,8 @@ function toSettings(u: CurrentUser): AccountSettings {
|
|||||||
isAdult: u.isAdult,
|
isAdult: u.isAdult,
|
||||||
contentFilters: filters,
|
contentFilters: filters,
|
||||||
contentFiltersLocked: u.hideContentFilterSettings ?? false,
|
contentFiltersLocked: u.hideContentFilterSettings ?? false,
|
||||||
sharedConnectionsHidden: Boolean(
|
sharedConnectionsHidden: Boolean(u.hasSharedConnectionsOptOut),
|
||||||
(u as { hasSharedConnectionsOptOut?: boolean }).hasSharedConnectionsOptOut,
|
discordFriendsHidden: Boolean(u.hasDiscordFriendsOptOut),
|
||||||
),
|
|
||||||
discordFriendsHidden: Boolean(
|
|
||||||
(u as { hasDiscordFriendsOptOut?: boolean }).hasDiscordFriendsOptOut,
|
|
||||||
),
|
|
||||||
discord: { linked: Boolean(u.discordId), label: u.discordDetails?.global_name },
|
discord: { linked: Boolean(u.discordId), label: u.discordDetails?.global_name },
|
||||||
google: { linked: Boolean(u.googleId) },
|
google: { linked: Boolean(u.googleId) },
|
||||||
accountDeletionDate: toIso(u.accountDeletionDate) ?? null,
|
accountDeletionDate: toIso(u.accountDeletionDate) ?? null,
|
||||||
@@ -134,11 +130,11 @@ export function setPrivacy(p: {
|
|||||||
sharedConnectionsHidden?: boolean;
|
sharedConnectionsHidden?: boolean;
|
||||||
discordFriendsHidden?: boolean;
|
discordFriendsHidden?: boolean;
|
||||||
}): Promise<AccountSettings> {
|
}): Promise<AccountSettings> {
|
||||||
const body: Record<string, boolean> = {};
|
const body: UpdateBody = {};
|
||||||
if (p.sharedConnectionsHidden !== undefined)
|
if (p.sharedConnectionsHidden !== undefined)
|
||||||
body.hasSharedConnectionsOptOut = p.sharedConnectionsHidden;
|
body.hasSharedConnectionsOptOut = p.sharedConnectionsHidden;
|
||||||
if (p.discordFriendsHidden !== undefined) body.hasDiscordFriendsOptOut = p.discordFriendsHidden;
|
if (p.discordFriendsHidden !== undefined) body.hasDiscordFriendsOptOut = p.discordFriendsHidden;
|
||||||
return patch(body as UpdateBody);
|
return patch(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function setPresence(status: UserStatus, statusDescription: string): Promise<void> {
|
export async function setPresence(status: UserStatus, statusDescription: string): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user