From 1a3f3b16cfea3a3541c84d2a6ae85f779d3d6c72 Mon Sep 17 00:00:00 2001 From: TosinJs Date: Wed, 3 Jul 2024 21:36:44 +0100 Subject: [PATCH 1/2] Remove Unnecessary Logs --- src/connect.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/connect.ts b/src/connect.ts index 3136256..2f9ca01 100644 --- a/src/connect.ts +++ b/src/connect.ts @@ -80,8 +80,6 @@ class Connect { }; } - console.log(data); - const JSONData = JSON.stringify(data); if (this.useAlphaVersionParams) From 387daf113b726c41ae94bd8772d8b8fd9ebe9ac7 Mon Sep 17 00:00:00 2001 From: TosinJs Date: Mon, 15 Jul 2024 10:41:24 +0100 Subject: [PATCH 2/2] Fix Process Issue --- package-lock.json | 4 ++-- package.json | 4 ++-- src/lib/constants.ts | 3 --- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index b4db99d..ac445e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gandalf-network/connect", - "version": "1.0.11", + "version": "1.0.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gandalf-network/connect", - "version": "1.0.11", + "version": "1.0.12", "license": "MIT", "dependencies": { "dotenv": "^16.4.5", diff --git a/package.json b/package.json index 2aaf290..4f37e28 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gandalf-network/connect", - "version": "1.0.11", + "version": "1.0.12", "description": "", "main": "dist/index.js", "module": "dist/index.mjs", @@ -16,7 +16,7 @@ "./components": { "import": "./dist/components.mjs", "require": "./dist/components.js", - "types": "./dist/components.d.ts" + "types": "./dist/types/index.d.ts" } }, "files": [ diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 7b257f4..8dba680 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,6 +1,3 @@ -import dotenv from 'dotenv'; -dotenv.config(); - export const WATSON_URL = process.env.WATSON_URL as string; export const UNIVERSAL_APP_CLIP_BASE_URL = process.env .UNIVERSAL_APP_CLIP_BASE_URL as string;