We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da907ad commit b4262a2Copy full SHA for b4262a2
2 files changed
src/Login.ts
@@ -109,8 +109,7 @@ const messageSchema = z.preprocess(
109
z.object({
110
type: z.literal('consumable-ended'),
111
consumable: z.string(),
112
- name: z.string(),
113
- endedAt: z.number().int()
+ name: z.string()
114
}),
115
/** Information about all currently active consumables, received when the connection opens. */
116
src/mock/util/messages.ts
@@ -28,11 +28,10 @@ export const messages = {
28
})
29
},
30
31
- consumableEnded (consumable: string, ended: string) {
+ consumableEnded (consumable: string) {
32
return JSON.stringify({
33
type: 'consumable-ended',
34
- consumable,
35
- endedAt: Date.parse(ended)
+ consumable
36
37
38
0 commit comments