Skip to content

Commit

Permalink
Luke/2.6.1 release (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
lugehorsam committed Mar 21, 2023
1 parent 7d557b6 commit ce6f785
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
### [2.6.1]

### Added

- You can now pass a `onheartbeattimeout` to the socket which will be called directly when a heartbeat timeout occurs. It will also still call `ondisconnect` once the socket is closed (which can take a few seconds for some browsers).

### Fixed
- Fixed a NodeJS compatibility issue by no longer depending on `XMLHttpRequest`.

### [2.6.0]

Expand Down
4 changes: 2 additions & 2 deletions packages/nakama-js-test/client-group.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ describe('Group Tests', () => {
const client2 = new nakamajs.Client();
const session2 = await client2.authenticateCustom(customid2);
await client2.joinGroup(session2, group.id!);
await client1.promoteGroupUsers(session1, group.id!, [session2.user_id]);
await client1.addGroupUsers(session1, group.id!, [session2.user_id]);
return await client1.listUserGroups(session1, session1.user_id);
}, customid1, customid2, group_name);

Expand Down Expand Up @@ -424,7 +424,7 @@ describe('Group Tests', () => {
const client2 = new nakamajs.Client();
const session2 = await client2.authenticateCustom(customid2)
await client2.joinGroup(session2, group.id!)
await client1.promoteGroupUsers(session1, group.id!, [session2.user_id]);
await client1.addGroupUsers(session1, group.id!, [session2.user_id]);
return await client1.listGroupUsers(session1, group.id!);
}, customid1, customid2, group_name);

Expand Down
2 changes: 1 addition & 1 deletion packages/nakama-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroiclabs/nakama-js",
"version": "2.6.0",
"version": "2.6.1",
"scripts": {
"build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
},
Expand Down

0 comments on commit ce6f785

Please sign in to comment.