steamworks.js-timmy 0.1.17 → 0.1.18

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Gabriel Francisco Dos Santos
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Gabriel Francisco Dos Santos
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # steamworks.js-timmy
2
-
3
- package with added features and newer steam API
4
-
5
- yum
6
-
7
- specifically tailored for [NEODITRONIX](https://store.steampowered.com/app/3782120/NEODITRONIX/), please play it!!!!
1
+ # steamworks.js-timmy
2
+
3
+ package with added features and newer steam API
4
+
5
+ yum
6
+
7
+ specifically tailored for [NEODITRONIX](https://store.steampowered.com/app/3782120/NEODITRONIX/), please play it!!!!
package/callbacks.d.ts CHANGED
@@ -1,56 +1,56 @@
1
- import client = require('./client')
2
-
3
- export const enum ChatMemberStateChange {
4
- /** This user has joined or is joining the lobby. */
5
- Entered,
6
- /** This user has left or is leaving the lobby. */
7
- Left,
8
- /** User disconnected without leaving the lobby first. */
9
- Disconnected,
10
- /** The user has been kicked. */
11
- Kicked,
12
- /** The user has been kicked and banned. */
13
- Banned,
14
- }
15
-
16
- export interface CallbackReturns {
17
- [client.callback.SteamCallback.PersonaStateChange]: {
18
- steam_id: bigint
19
- flags: { bits: number }
20
- }
21
- [client.callback.SteamCallback.SteamServersConnected]: {}
22
- [client.callback.SteamCallback.SteamServersDisconnected]: {
23
- reason: number
24
- }
25
- [client.callback.SteamCallback.SteamServerConnectFailure]: {
26
- reason: number
27
- still_retrying: boolean
28
- }
29
- [client.callback.SteamCallback.LobbyDataUpdate]: {
30
- lobby: bigint
31
- member: bigint
32
- success: boolean
33
- }
34
- [client.callback.SteamCallback.LobbyChatUpdate]: {
35
- lobby: bigint
36
- user_changed: bigint
37
- making_change: bigint
38
- member_state_change: ChatMemberStateChange
39
- }
40
- [client.callback.SteamCallback.P2PSessionRequest]: {
41
- remote: bigint
42
- }
43
- [client.callback.SteamCallback.P2PSessionConnectFail]: {
44
- remote: bigint
45
- error: number
46
- }
47
- [client.callback.SteamCallback.GameLobbyJoinRequested]: {
48
- lobby_steam_id: bigint
49
- friend_steam_id: bigint
50
- }
51
- [client.callback.SteamCallback.MicroTxnAuthorizationResponse]: {
52
- app_id: number
53
- order_id: number | bigint
54
- authorized: boolean
55
- }
56
- }
1
+ import client = require('./client')
2
+
3
+ export const enum ChatMemberStateChange {
4
+ /** This user has joined or is joining the lobby. */
5
+ Entered,
6
+ /** This user has left or is leaving the lobby. */
7
+ Left,
8
+ /** User disconnected without leaving the lobby first. */
9
+ Disconnected,
10
+ /** The user has been kicked. */
11
+ Kicked,
12
+ /** The user has been kicked and banned. */
13
+ Banned,
14
+ }
15
+
16
+ export interface CallbackReturns {
17
+ [client.callback.SteamCallback.PersonaStateChange]: {
18
+ steam_id: bigint
19
+ flags: { bits: number }
20
+ }
21
+ [client.callback.SteamCallback.SteamServersConnected]: {}
22
+ [client.callback.SteamCallback.SteamServersDisconnected]: {
23
+ reason: number
24
+ }
25
+ [client.callback.SteamCallback.SteamServerConnectFailure]: {
26
+ reason: number
27
+ still_retrying: boolean
28
+ }
29
+ [client.callback.SteamCallback.LobbyDataUpdate]: {
30
+ lobby: bigint
31
+ member: bigint
32
+ success: boolean
33
+ }
34
+ [client.callback.SteamCallback.LobbyChatUpdate]: {
35
+ lobby: bigint
36
+ user_changed: bigint
37
+ making_change: bigint
38
+ member_state_change: ChatMemberStateChange
39
+ }
40
+ [client.callback.SteamCallback.P2PSessionRequest]: {
41
+ remote: bigint
42
+ }
43
+ [client.callback.SteamCallback.P2PSessionConnectFail]: {
44
+ remote: bigint
45
+ error: number
46
+ }
47
+ [client.callback.SteamCallback.GameLobbyJoinRequested]: {
48
+ lobby_steam_id: bigint
49
+ friend_steam_id: bigint
50
+ }
51
+ [client.callback.SteamCallback.MicroTxnAuthorizationResponse]: {
52
+ app_id: number
53
+ order_id: number | bigint
54
+ authorized: boolean
55
+ }
56
+ }