steamutils 1.3.80 → 1.3.82
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.
- package/.idea/codeStyles/Project.xml +57 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/steamutils.iml +1 -1
- package/.idea/vcs.xml +1 -1
- package/free_packages.json +10048 -10048
- package/index.js +6 -2
- package/package.json +1 -1
- package/.idea/deployment.xml +0 -21
- package/.idea/jsLibraryMappings.xml +0 -6
package/index.js
CHANGED
@@ -1140,7 +1140,11 @@ export default class SteamUser {
|
|
1140
1140
|
if (value === undefined || value === null) {
|
1141
1141
|
value = "";
|
1142
1142
|
}
|
1143
|
-
|
1143
|
+
try {
|
1144
|
+
form.append(name, value);
|
1145
|
+
} catch (e) {
|
1146
|
+
form.append(name, value.toString());
|
1147
|
+
}
|
1144
1148
|
}
|
1145
1149
|
}
|
1146
1150
|
}
|
@@ -1197,7 +1201,7 @@ export default class SteamUser {
|
|
1197
1201
|
cookie.setCookies(_response?.headers["set-cookie"]);
|
1198
1202
|
onCookieChange.forEach(function (cb) {
|
1199
1203
|
if (typeof cb === "function") {
|
1200
|
-
cb(cookie
|
1204
|
+
cb({ cookie, url: _response?.request?.res?.responseUrl });
|
1201
1205
|
}
|
1202
1206
|
});
|
1203
1207
|
}
|
package/package.json
CHANGED
package/.idea/deployment.xml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
|
4
|
-
<serverData>
|
5
|
-
<paths name="steamsupport">
|
6
|
-
<serverdata>
|
7
|
-
<mappings>
|
8
|
-
<mapping local="$PROJECT_DIR$" web="/" />
|
9
|
-
</mappings>
|
10
|
-
</serverdata>
|
11
|
-
</paths>
|
12
|
-
<paths name="steamsupportui">
|
13
|
-
<serverdata>
|
14
|
-
<mappings>
|
15
|
-
<mapping local="$PROJECT_DIR$" web="/" />
|
16
|
-
</mappings>
|
17
|
-
</serverdata>
|
18
|
-
</paths>
|
19
|
-
</serverData>
|
20
|
-
</component>
|
21
|
-
</project>
|