File tree Expand file tree Collapse file tree
rust/crates/truapi/src/v01 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2486,7 +2486,7 @@ export const versions: ExplorerVersion[] = [
24862486 name : "HostGetUserIdResponse" ,
24872487 category : "struct" ,
24882488 definition :
2489- "interface HostGetUserIdResponse { primaryUsername: string; publicKey: HexString }" ,
2489+ "interface HostGetUserIdResponse { primaryUsername: string }" ,
24902490 description : "The user's primary DotNS account identity." ,
24912491 source : "v1" ,
24922492 fields : [
@@ -2495,11 +2495,6 @@ export const versions: ExplorerVersion[] = [
24952495 type : "string" ,
24962496 description : "The user's primary DotNS username." ,
24972497 } ,
2498- {
2499- name : "publicKey" ,
2500- type : "HexString" ,
2501- description : "The user's primary public key." ,
2502- } ,
25032498 ] ,
25042499 } ,
25052500 {
Original file line number Diff line number Diff line change @@ -3673,16 +3673,11 @@ export const HostGetUserIdError: S.Codec<HostGetUserIdError> = S.lazy(
36733673export interface HostGetUserIdResponse {
36743674 /** The user's primary DotNS username. */
36753675 primaryUsername : string ;
3676- /** The user's primary public key. */
3677- publicKey : HexString ;
36783676}
36793677
36803678export const HostGetUserIdResponse : S . Codec < HostGetUserIdResponse > = S . lazy (
36813679 ( ) : S . Codec < HostGetUserIdResponse > =>
3682- S . Struct ( {
3683- primaryUsername : S . str ,
3684- publicKey : S . Hex ( ) ,
3685- } ) as S . Codec < HostGetUserIdResponse > ,
3680+ S . Struct ( { primaryUsername : S . str } ) as S . Codec < HostGetUserIdResponse > ,
36863681) ;
36873682
36883683/**
Original file line number Diff line number Diff line change @@ -142,8 +142,6 @@ pub struct HostAccountGetResponse {
142142pub struct HostGetUserIdResponse {
143143 /// The user's primary DotNS username.
144144 pub primary_username : String ,
145- /// The user's primary public key.
146- pub public_key : Vec < u8 > ,
147145}
148146
149147/// Error from [`crate::api::AccountManagement::host_get_user_id`].
You can’t perform that action at this time.
0 commit comments