From 4a14e60b10f3b7f37fc92b23d45a2f48787c16e2 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Fri, 19 May 2023 10:46:23 -0500 Subject: [PATCH] Version Bump, Adjusted Build ON, cleaning --- .github/workflows/build.yaml | 6 +++++- src/lib/authentication.ts | 1 - static/manifest.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e26ad2f..522d5ea 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,7 +2,11 @@ name: Build and Upload Chrome Extension run-name: ${{ github.actor }} is Building and Uploading a new Anchor Version 🚀 -on: [push, workflow_dispatch] +on: + push: + branches: + - main + workflow_dispatch: jobs: Build-And-Push: diff --git a/src/lib/authentication.ts b/src/lib/authentication.ts index a3eb0ca..855d367 100644 --- a/src/lib/authentication.ts +++ b/src/lib/authentication.ts @@ -80,7 +80,6 @@ export async function checkSession() { } catch (error) { const tenant = get(idnSession).tenant; if (tenant) { - tabUrl = new URL(tenant); const sessionResp = await fetch(tenant + '/ui/session').catch((err: Error) => console.debug(err) ); diff --git a/static/manifest.json b/static/manifest.json index bf69c3d..b7420a8 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Anchor", "description": "Chrome extension built to aid in working with IdentityNow", - "version": "0.0.2", + "version": "0.0.3", "manifest_version": 3, "icons": { "12": "images/anchor_12.png",