steamutils 1.1.2 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +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
|
}
|