Comparing version 0.3.11 to 0.3.12
@@ -311,3 +311,3 @@ import { request } from "undici"; | ||
); | ||
if (statusCode !== 201) { | ||
if (statusCode !== 204) { | ||
const json = await body.json(); | ||
@@ -314,0 +314,0 @@ throw new Error(`Runik: ${JSON.stringify(json)}`); |
@@ -5,3 +5,3 @@ export interface User { | ||
verified: boolean; | ||
totp_verified: true; | ||
totp_verified: boolean; | ||
} |
{ | ||
"name": "runik", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "SDK for Runik API", | ||
@@ -5,0 +5,0 @@ "type": "module", |
19857