File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ struct toJs_impl<session::DecodedPro> {
7171
7272 obj[" proStatus" ] =
7373 toJs (env,
74- decoded_pro.status == ProStatus::InvalidProBackendSig ? " InvalidProBackendSig "
75- : decoded_pro.status == ProStatus::InvalidUserSig ? " InvalidUserSig "
76- : " Valid " );
74+ decoded_pro.status == ProStatus::Valid ? " ValidOrExpired "
75+ : decoded_pro.status == ProStatus::Expired ? " ValidOrExpired "
76+ : " Invalid " );
7777 obj[" proProof" ] = toJs (env, decoded_pro.proof );
7878 obj[" proFeaturesBitset" ] = proFeaturesToJsBitset (env, decoded_pro.features );
7979
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ declare module 'libsession_util_nodejs' {
1010 proBackendPubkeyHex : string ;
1111 } ;
1212
13- type ProStatus = 'InvalidProBackendSig ' | 'InvalidUserSig' | 'Valid ';
13+ type ProStatus = 'ValidOrExpired ' | 'Invalid ' ;
1414 type WithProFeaturesBitset = { proFeaturesBitset : bigint } ;
1515 type WithGenIndexHash = { genIndexHashB64 : string } ;
1616
You can’t perform that action at this time.
0 commit comments