From a7648fa5277be520fc1d21a659b9847bf936e3ab Mon Sep 17 00:00:00 2001 From: Kevin Gao Date: Thu, 6 Jul 2023 10:23:18 -0700 Subject: [PATCH 1/2] RELEASE --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 92ed7c3..78459e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,8 +32,7 @@ jobs: minor-wording: "MINOR" env: GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} - - name: cat package.json - run: cat ./package.json + - name: Output Step env: NEW_TAG: ${{ steps.version-bump.outputs.newTag }} From b95ecc2d1a19d33c6a801f78df4308d7bc9f2b34 Mon Sep 17 00:00:00 2001 From: Kevin Gao Date: Mon, 22 Jul 2024 21:30:03 -0700 Subject: [PATCH 2/2] fixed tokenexception --- src/SDK/Token/Extractor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDK/Token/Extractor.php b/src/SDK/Token/Extractor.php index 903ec8d..9b8e355 100644 --- a/src/SDK/Token/Extractor.php +++ b/src/SDK/Token/Extractor.php @@ -101,10 +101,10 @@ public function parseToken($sessionToken) if ($isVerified) { return $jws; } else { - throw TokenException::MSG_SIGNATURE_INVALID; + throw new TokenException(TokenException::MSG_SIGNATURE_INVALID); } } catch (Exception $e) { - throw TokenException::MSG_COULD_NOT_PARSE; + throw new TokenException(TokenException::MSG_COULD_NOT_PARSE); } } }