steamutils 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/SteamClient.js +2 -2
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -115,7 +115,7 @@ function SteamClient({
115
115
  clearTimeout(t)
116
116
  }
117
117
  delete gcCallback[name][id]
118
- cb(arg)
118
+ cb(...arg)
119
119
  }
120
120
 
121
121
  if (timeout) {
@@ -127,7 +127,7 @@ function SteamClient({
127
127
  function callGCCallback(name, ...arg) {
128
128
  if (gcCallback[name]) {
129
129
  for (let id in gcCallback[name]) {
130
- gcCallback[name][id](arg)
130
+ gcCallback[name][id](...arg)
131
131
  }
132
132
  }
133
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",