Skip to content

Commit 7a7daf1

Browse files
committed
Add 'afk' and 'team' fields to MasterSrv_Info_DDRace schema
1 parent 6cdefb3 commit 7a7daf1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ddnet",
3-
"version": "0.10.31",
3+
"version": "0.10.4",
44
"description": "A typescript npm package for interacting with data from ddnet.org",
55
"main": "dist/DDNet.js",
66
"exports": {

src/Master.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export const _Schema_MasterSrv_Info_DDRace = z.object({
7777
color: z.number().optional()
7878
})
7979
})
80-
])
80+
]),
81+
afk: z.boolean(),
82+
team: z.number()
8183
})
8284
)
8385
});

0 commit comments

Comments
 (0)