Skip to content

Commit

Permalink
fix: unexpected end of json
Browse files Browse the repository at this point in the history
  • Loading branch information
gllm-dev committed Mar 27, 2024
1 parent 6633ca3 commit 0efc34b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfort/shield-js",
"version": "0.0.11",
"version": "0.1.0",
"description": "",
"author": "Openfort",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions src/core/ShieldSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ export class ShieldSDK {
console.error(`unexpected response: ${response.status}: ${errorResponse}`);
throw new Error(`unexpected response: ${response.status}: ${errorResponse}`);
}

return await response.json();
} catch (error) {
console.error(`unexpected error: ${error}`);
throw error;
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const VERSION = "0.0.11";
export const VERSION = "0.1.0";
export const PACKAGE = "@openfort/shield-js";

0 comments on commit 0efc34b

Please sign in to comment.