From 660b18a1ea44e1af408ca27949820290a16f5648 Mon Sep 17 00:00:00 2001 From: johngribbin <30157175+johngribbin@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:25:47 +0000 Subject: [PATCH 1/4] chore: Add github action for gh-pages deployment --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f89260ae --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Build and Deploy +on: + push: + branches: + - main +permissions: + contents: write +jobs: + build-and-deploy: + concurrency: ci-${{ github.ref }} + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v3 + + - name: Install and Build + run: | + yarn + yarn build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build # The folder the action should deploy. From dc945eaaf4693b76f97cebfb0fdfd5b679fdacf1 Mon Sep 17 00:00:00 2001 From: johngribbin <30157175+johngribbin@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:32:14 +0000 Subject: [PATCH 2/4] 2.5.1-0.0.1: [CHORE] - Remove Clams websocket proxy --- package.json | 2 +- src/lib/constants.ts | 1 - .../configurations/coreln/AdvancedConnection.svelte | 13 ++++--------- src/lib/wallets/index.ts | 4 ++-- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 23779828..1dffe426 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remote", - "version": "2.5.1", + "version": "2.5.1-0.0.1", "scripts": { "dev": "vite dev", "dev-https": "vite dev --mode https", diff --git a/src/lib/constants.ts b/src/lib/constants.ts index fba9d249..7cb08be6 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -14,7 +14,6 @@ export const MODE = import.meta.env.MODE export const API_HOST = 'api.clams.tech' export const API_URL = `https://${API_HOST}` -export const WS_PROXY = `wss://${API_HOST}/ws-proxy` export const ALBY_WS_PROXY = 'wss://lnproxy.getalby.com' export const SEC_IN_MS = 1000 diff --git a/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte b/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte index fa67f26f..fd80b102 100644 --- a/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte +++ b/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte @@ -1,6 +1,6 @@