diff --git a/package-lock.json b/package-lock.json index 7a38f6f..26a853b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@openfort/shield-js", - "version": "0.0.11", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@openfort/shield-js", - "version": "0.0.11", + "version": "0.1.0", "license": "MIT", "devDependencies": { "typescript": "^5.4.3" diff --git a/package.json b/package.json index f537aa7..055d97c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openfort/shield-js", - "version": "0.0.11", + "version": "0.1.0", "description": "", "author": "Openfort", "repository": { diff --git a/src/core/ShieldSDK.ts b/src/core/ShieldSDK.ts index f4fa319..f4da824 100644 --- a/src/core/ShieldSDK.ts +++ b/src/core/ShieldSDK.ts @@ -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; diff --git a/src/version.ts b/src/version.ts index aab3a72..8894d00 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ -export const VERSION = "0.0.11"; +export const VERSION = "0.1.0"; export const PACKAGE = "@openfort/shield-js";