@astrojs/db
Advanced tools
Comparing version 0.1.23 to 0.2.0
@@ -160,2 +160,5 @@ import { createClient } from "@libsql/client"; | ||
}); | ||
if (result.status >= 400) { | ||
throw new Error(await result.text()); | ||
} | ||
return await result.json(); | ||
@@ -162,0 +165,0 @@ } |
{ | ||
"name": "@astrojs/db", | ||
"version": "0.1.23", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -67,4 +67,4 @@ "license": "MIT", | ||
"vite": "^4.4.11", | ||
"astro-scripts": "0.0.14", | ||
"astro": "4.2.4" | ||
"astro": "4.2.4", | ||
"astro-scripts": "0.0.14" | ||
}, | ||
@@ -71,0 +71,0 @@ "scripts": { |
309816
8355