We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554933b commit 4ffbacaCopy full SHA for 4ffbaca
packages/zenblog/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "zenblog",
3
- "version": "0.7.6",
+ "version": "1.0.0",
4
"description": "The typescript client for zenblog",
5
"main": "dist/index.js",
6
"types": "dist/index.d.ts",
packages/zenblog/src/index.ts
@@ -63,8 +63,8 @@ export function createZenblogClient({
63
_debug,
64
}: CreateClientOpts) {
65
if (typeof window !== "undefined") {
66
- throwError(
67
- "Zenblog is not supported in the browser. Make sure you don't leak your access token."
+ console.warn(
+ "Looks like you're trying to use Zenblog in the browser. This is not advised. We recommend using server-side rendering frameworks to fetch data."
68
);
69
}
70
0 commit comments