Skip to content

Commit

Permalink
fix: expose memberSetSupplement to js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Feb 6, 2025
1 parent f683851 commit 8f61c8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"main": "index.js",
"name": "libsession_util_nodejs",
"description": "Wrappers for the Session Util Library",
"version": "0.4.14",
"version": "0.4.15",
"license": "GPL-3.0",
"author": {
"name": "Oxen Project",
Expand Down
1 change: 1 addition & 0 deletions types/groups/groupmembers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ declare module 'libsession_util_nodejs' {
memberSetPromotionAccepted: (pubkeyHex: PubkeyType) => void;

memberSetProfilePicture: (pubkeyHex: PubkeyType, profilePicture: ProfilePicture) => void;
memberSetSupplement: (pubkeyHex: PubkeyType) => void;
membersMarkPendingRemoval: (members: Array<PubkeyType>, withMessages: boolean) => void;

// eraser
Expand Down
2 changes: 2 additions & 0 deletions types/groups/metagroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ declare module 'libsession_util_nodejs' {
public memberEraseAndRekey: MetaGroupWrapper['memberEraseAndRekey'];
public membersMarkPendingRemoval: MetaGroupWrapper['membersMarkPendingRemoval'];
public memberSetProfilePicture: MetaGroupWrapper['memberSetProfilePicture'];
public memberSetSupplement: MetaGroupWrapper['memberSetSupplement'];

// keys
public keysNeedsRekey: MetaGroupWrapper['keysNeedsRekey'];
Expand Down Expand Up @@ -153,6 +154,7 @@ declare module 'libsession_util_nodejs' {
| MakeActionCall<MetaGroupWrapper, 'memberEraseAndRekey'>
| MakeActionCall<MetaGroupWrapper, 'membersMarkPendingRemoval'>
| MakeActionCall<MetaGroupWrapper, 'memberSetProfilePicture'>
| MakeActionCall<MetaGroupWrapper, 'memberSetSupplement'>

// keys actions
| MakeActionCall<MetaGroupWrapper, 'keysNeedsRekey'>
Expand Down

0 comments on commit 8f61c8b

Please sign in to comment.