steamutils 1.1.58 → 1.1.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/SteamClient.js +2 -0
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -102,6 +102,7 @@ function SteamClient({
102
102
  error: [],
103
103
  playersProfile: [],
104
104
  partyInvite: [],
105
+ friendRelationship: [],
105
106
  }
106
107
 
107
108
  const gcCallback = {}
@@ -884,6 +885,7 @@ function SteamClient({
884
885
  });
885
886
 
886
887
  steamClient.on('friendRelationship', async function (sid, relationship, previousRelationship) {
888
+ callEvent(events.friendRelationship, {steamId: sid, relationship, previousRelationship})
887
889
  switch (relationship) {
888
890
  case EFriendRelationship.None: {
889
891
  //we got unfriended.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",