steamcommunity 3.46.1 → 3.47.1

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 (51) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +22 -22
  3. package/classes/CConfirmation.js +37 -37
  4. package/classes/CEconItem.js +120 -120
  5. package/classes/CMarketItem.js +189 -189
  6. package/classes/CMarketSearchResult.js +89 -89
  7. package/classes/CSteamGroup.js +155 -155
  8. package/classes/CSteamUser.js +225 -217
  9. package/components/chat.js +283 -283
  10. package/components/confirmations.js +428 -428
  11. package/components/groups.js +798 -732
  12. package/components/help.js +64 -64
  13. package/components/helpers.js +128 -108
  14. package/components/http.js +150 -150
  15. package/components/inventoryhistory.js +173 -173
  16. package/components/login.js +110 -0
  17. package/components/market.js +387 -387
  18. package/components/profile.js +475 -475
  19. package/components/twofactor.js +152 -152
  20. package/components/users.js +831 -767
  21. package/components/webapi.js +118 -118
  22. package/examples/README.md +35 -35
  23. package/examples/accept_all_confirmations.js +173 -173
  24. package/examples/disable_twofactor.js +135 -135
  25. package/examples/edit-group-announcement.js +118 -118
  26. package/examples/enable_twofactor.js +182 -182
  27. package/index.js +13 -151
  28. package/package.json +11 -6
  29. package/resources/EChatState.js +14 -14
  30. package/resources/EConfirmationType.js +12 -12
  31. package/resources/EFriendRelationship.js +23 -23
  32. package/resources/EPersonaState.js +23 -23
  33. package/resources/EPersonaStateFlag.js +32 -32
  34. package/resources/EResult.js +254 -254
  35. package/.editorconfig +0 -13
  36. package/.github/FUNDING.yml +0 -2
  37. package/.idea/.name +0 -1
  38. package/.idea/codeStyleSettings.xml +0 -13
  39. package/.idea/codeStyles/Project.xml +0 -15
  40. package/.idea/codeStyles/codeStyleConfig.xml +0 -6
  41. package/.idea/copyright/profiles_settings.xml +0 -3
  42. package/.idea/encodings.xml +0 -6
  43. package/.idea/inspectionProfiles/Project_Default.xml +0 -11
  44. package/.idea/jsLibraryMappings.xml +0 -6
  45. package/.idea/misc.xml +0 -6
  46. package/.idea/modules.xml +0 -9
  47. package/.idea/node-steamcommunity.iml +0 -8
  48. package/.idea/steamcommunity.iml +0 -10
  49. package/.idea/vcs.xml +0 -7
  50. package/.idea/watcherTasks.xml +0 -4
  51. package/CONTRIBUTING.md +0 -36
@@ -1,23 +1,23 @@
1
- /**
2
- * @enum EFriendRelationship
3
- */
4
- module.exports = {
5
- "None": 0,
6
- "Blocked": 1,
7
- "RequestRecipient": 2,
8
- "Friend": 3,
9
- "RequestInitiator": 4,
10
- "Ignored": 5,
11
- "IgnoredFriend": 6,
12
- "SuggestedFriend": 7, // removed "was used by the original implementation of the facebook linking feature; but now unused."
13
-
14
- // Value-to-name mapping for convenience
15
- "0": "None",
16
- "1": "Blocked",
17
- "2": "RequestRecipient",
18
- "3": "Friend",
19
- "4": "RequestInitiator",
20
- "5": "Ignored",
21
- "6": "IgnoredFriend",
22
- "7": "SuggestedFriend",
23
- };
1
+ /**
2
+ * @enum EFriendRelationship
3
+ */
4
+ module.exports = {
5
+ "None": 0,
6
+ "Blocked": 1,
7
+ "RequestRecipient": 2,
8
+ "Friend": 3,
9
+ "RequestInitiator": 4,
10
+ "Ignored": 5,
11
+ "IgnoredFriend": 6,
12
+ "SuggestedFriend": 7, // removed "was used by the original implementation of the facebook linking feature; but now unused."
13
+
14
+ // Value-to-name mapping for convenience
15
+ "0": "None",
16
+ "1": "Blocked",
17
+ "2": "RequestRecipient",
18
+ "3": "Friend",
19
+ "4": "RequestInitiator",
20
+ "5": "Ignored",
21
+ "6": "IgnoredFriend",
22
+ "7": "SuggestedFriend",
23
+ };
@@ -1,23 +1,23 @@
1
- /**
2
- * @enum EPersonaState
3
- */
4
- module.exports = {
5
- "Offline": 0,
6
- "Online": 1,
7
- "Busy": 2,
8
- "Away": 3,
9
- "Snooze": 4,
10
- "LookingToTrade": 5,
11
- "LookingToPlay": 6,
12
- "Invisible": 7,
13
-
14
- // Value-to-name mapping for convenience
15
- "0": "Offline",
16
- "1": "Online",
17
- "2": "Busy",
18
- "3": "Away",
19
- "4": "Snooze",
20
- "5": "LookingToTrade",
21
- "6": "LookingToPlay",
22
- "7": "Invisible",
23
- };
1
+ /**
2
+ * @enum EPersonaState
3
+ */
4
+ module.exports = {
5
+ "Offline": 0,
6
+ "Online": 1,
7
+ "Busy": 2,
8
+ "Away": 3,
9
+ "Snooze": 4,
10
+ "LookingToTrade": 5,
11
+ "LookingToPlay": 6,
12
+ "Invisible": 7,
13
+
14
+ // Value-to-name mapping for convenience
15
+ "0": "Offline",
16
+ "1": "Online",
17
+ "2": "Busy",
18
+ "3": "Away",
19
+ "4": "Snooze",
20
+ "5": "LookingToTrade",
21
+ "6": "LookingToPlay",
22
+ "7": "Invisible",
23
+ };
@@ -1,32 +1,32 @@
1
- /**
2
- * @enum EPersonaStateFlag
3
- */
4
- module.exports = {
5
- "HasRichPresence": 1,
6
- "InJoinableGame": 2,
7
- "Golden": 4,
8
- "RemotePlayTogether": 8,
9
- "OnlineUsingWeb": 256, // removed "renamed to ClientTypeWeb"
10
- "ClientTypeWeb": 256,
11
- "OnlineUsingMobile": 512, // removed "renamed to ClientTypeMobile"
12
- "ClientTypeMobile": 512,
13
- "OnlineUsingBigPicture": 1024, // removed "renamed to ClientTypeTenfoot"
14
- "ClientTypeTenfoot": 1024,
15
- "OnlineUsingVR": 2048, // removed "renamed to ClientTypeVR"
16
- "ClientTypeVR": 2048,
17
- "LaunchTypeGamepad": 4096,
18
- "LaunchTypeCompatTool": 8192,
19
-
20
- // Value-to-name mapping for convenience
21
- "1": "HasRichPresence",
22
- "2": "InJoinableGame",
23
- "4": "Golden",
24
- "8": "RemotePlayTogether",
25
- "256": "ClientTypeWeb",
26
- "512": "ClientTypeMobile",
27
- "1024": "ClientTypeTenfoot",
28
- "2048": "ClientTypeVR",
29
- "4096": "LaunchTypeGamepad",
30
- "8192": "LaunchTypeCompatTool",
31
- };
32
-
1
+ /**
2
+ * @enum EPersonaStateFlag
3
+ */
4
+ module.exports = {
5
+ "HasRichPresence": 1,
6
+ "InJoinableGame": 2,
7
+ "Golden": 4,
8
+ "RemotePlayTogether": 8,
9
+ "OnlineUsingWeb": 256, // removed "renamed to ClientTypeWeb"
10
+ "ClientTypeWeb": 256,
11
+ "OnlineUsingMobile": 512, // removed "renamed to ClientTypeMobile"
12
+ "ClientTypeMobile": 512,
13
+ "OnlineUsingBigPicture": 1024, // removed "renamed to ClientTypeTenfoot"
14
+ "ClientTypeTenfoot": 1024,
15
+ "OnlineUsingVR": 2048, // removed "renamed to ClientTypeVR"
16
+ "ClientTypeVR": 2048,
17
+ "LaunchTypeGamepad": 4096,
18
+ "LaunchTypeCompatTool": 8192,
19
+
20
+ // Value-to-name mapping for convenience
21
+ "1": "HasRichPresence",
22
+ "2": "InJoinableGame",
23
+ "4": "Golden",
24
+ "8": "RemotePlayTogether",
25
+ "256": "ClientTypeWeb",
26
+ "512": "ClientTypeMobile",
27
+ "1024": "ClientTypeTenfoot",
28
+ "2048": "ClientTypeVR",
29
+ "4096": "LaunchTypeGamepad",
30
+ "8192": "LaunchTypeCompatTool",
31
+ };
32
+