diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
index 9d2d2ad46..763332ceb 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
@@ -543,7 +543,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
// Reset everything by reloading the page :D, can be improved
const urlParams = new URLSearchParams(window.location.search);
window.location.assign(window.location.toString().replace(`?cash_request_id=${urlParams.get('cash_request_id')}`, ``));
- }, 3000);
+ }, 10000);
}
}
});
@@ -643,7 +643,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
// Reset everything by reloading the page :D, can be improved
const urlParams = new URLSearchParams(window.location.search);
window.location.assign(window.location.toString().replace(`?cash_request_id=${urlParams.get('cash_request_id')}`, ``));
- }, 3000);
+ }, 10000);
}
}
});
@@ -738,7 +738,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
// Reset everything by reloading the page :D, can be improved
const urlParams = new URLSearchParams(window.location.search);
window.location.assign(window.location.toString().replace(`?cash_request_id=${urlParams.get('cash_request_id')}`, ``));
- }, 3000);
+ }, 10000);
}
}
});
From e77dd114f457ad9ab4c78882ab712ab585c1d69f Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 30 Dec 2024 02:15:20 +0000
Subject: [PATCH 02/11] Bump echarts from 5.5.0 to 5.6.0 in /frontend
Bumps [echarts](https://github.com/apache/echarts) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/apache/echarts/releases)
- [Commits](https://github.com/apache/echarts/compare/5.5.0...5.6.0)
---
updated-dependencies:
- dependency-name: echarts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
frontend/package-lock.json | 30 +++++++++++++++---------------
frontend/package.json | 2 +-
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index c59a85671..932979e2b 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -33,7 +33,7 @@
"browserify": "^17.0.0",
"clipboard": "^2.0.11",
"domino": "^2.1.6",
- "echarts": "~5.5.0",
+ "echarts": "~5.6.0",
"esbuild": "^0.24.0",
"ngx-echarts": "~17.2.0",
"ngx-infinite-scroll": "^17.0.0",
@@ -8724,12 +8724,12 @@
}
},
"node_modules/echarts": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.5.0.tgz",
- "integrity": "sha512-rNYnNCzqDAPCr4m/fqyUFv7fD9qIsd50S6GDFgO1DxZhncCsNsG7IfUlAlvZe5oSEQxtsjnHiUuppzccry93Xw==",
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",
+ "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
"dependencies": {
"tslib": "2.3.0",
- "zrender": "5.5.0"
+ "zrender": "5.6.1"
}
},
"node_modules/echarts/node_modules/tslib": {
@@ -18366,9 +18366,9 @@
}
},
"node_modules/zrender": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.5.0.tgz",
- "integrity": "sha512-O3MilSi/9mwoovx77m6ROZM7sXShR/O/JIanvzTwjN3FORfLSr81PsUGd7jlaYOeds9d8tw82oP44+3YucVo+w==",
+ "version": "5.6.1",
+ "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",
+ "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
"dependencies": {
"tslib": "2.3.0"
}
@@ -24485,12 +24485,12 @@
}
},
"echarts": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.5.0.tgz",
- "integrity": "sha512-rNYnNCzqDAPCr4m/fqyUFv7fD9qIsd50S6GDFgO1DxZhncCsNsG7IfUlAlvZe5oSEQxtsjnHiUuppzccry93Xw==",
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",
+ "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
"requires": {
"tslib": "2.3.0",
- "zrender": "5.5.0"
+ "zrender": "5.6.1"
},
"dependencies": {
"tslib": {
@@ -31485,9 +31485,9 @@
}
},
"zrender": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.5.0.tgz",
- "integrity": "sha512-O3MilSi/9mwoovx77m6ROZM7sXShR/O/JIanvzTwjN3FORfLSr81PsUGd7jlaYOeds9d8tw82oP44+3YucVo+w==",
+ "version": "5.6.1",
+ "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",
+ "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
"requires": {
"tslib": "2.3.0"
},
diff --git a/frontend/package.json b/frontend/package.json
index 2910b8869..b50085a54 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -86,7 +86,7 @@
"browserify": "^17.0.0",
"clipboard": "^2.0.11",
"domino": "^2.1.6",
- "echarts": "~5.5.0",
+ "echarts": "~5.6.0",
"ngx-echarts": "~17.2.0",
"ngx-infinite-scroll": "^17.0.0",
"qrcode": "1.5.1",
From 5aeaa6825989139f18703ed027673f967591e8f5 Mon Sep 17 00:00:00 2001
From: wiz
Date: Mon, 20 Jan 2025 17:56:38 +0900
Subject: [PATCH 03/11] ops: Enable stratum in FOSS prod frontend config
---
production/mempool-frontend-config.mainnet.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/production/mempool-frontend-config.mainnet.json b/production/mempool-frontend-config.mainnet.json
index 79acaecc5..e0cdbf030 100644
--- a/production/mempool-frontend-config.mainnet.json
+++ b/production/mempool-frontend-config.mainnet.json
@@ -4,8 +4,7 @@
"TESTNET4_ENABLED": true,
"LIQUID_ENABLED": false,
"LIQUID_TESTNET_ENABLED": false,
- "BISQ_ENABLED": true,
- "BISQ_SEPARATE_BACKEND": true,
+ "STRATUM_ENABLED": true,
"SIGNET_ENABLED": true,
"MEMPOOL_WEBSITE_URL": "https://mempool.space",
"LIQUID_WEBSITE_URL": "https://liquid.network",
From b454fa09d2d8288e2d96ea4f88aae683b71197ac Mon Sep 17 00:00:00 2001
From: softsimon
Date: Tue, 21 Jan 2025 13:49:12 +0700
Subject: [PATCH 04/11] Remove babel backend dep
---
backend/jest.config.ts | 2 +-
backend/package-lock.json | 3 ---
backend/package.json | 3 ---
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/backend/jest.config.ts b/backend/jest.config.ts
index 14f932f98..43246c518 100644
--- a/backend/jest.config.ts
+++ b/backend/jest.config.ts
@@ -7,7 +7,7 @@ const config: Config.InitialOptions = {
automock: false,
collectCoverage: true,
collectCoverageFrom: ["./src/**/**.ts"],
- coverageProvider: "babel",
+ coverageProvider: "v8",
coverageThreshold: {
global: {
lines: 1
diff --git a/backend/package-lock.json b/backend/package-lock.json
index e0d28bfc9..08ebf0619 100644
--- a/backend/package-lock.json
+++ b/backend/package-lock.json
@@ -10,7 +10,6 @@
"hasInstallScript": true,
"license": "GNU Affero General Public License v3.0",
"dependencies": {
- "@babel/core": "^7.25.2",
"@mempool/electrum-client": "1.1.9",
"@types/node": "^18.15.3",
"axios": "1.7.2",
@@ -26,8 +25,6 @@
"ws": "~8.18.0"
},
"devDependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/core": "^7.25.2",
"@types/compression": "^1.7.2",
"@types/crypto-js": "^4.1.1",
"@types/express": "^4.17.17",
diff --git a/backend/package.json b/backend/package.json
index 9ac3f9199..b1145cb13 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -39,7 +39,6 @@
"prettier": "./node_modules/.bin/prettier --write \"src/**/*.{js,ts}\""
},
"dependencies": {
- "@babel/core": "^7.25.2",
"@mempool/electrum-client": "1.1.9",
"@types/node": "^18.15.3",
"axios": "1.7.2",
@@ -55,8 +54,6 @@
"ws": "~8.18.0"
},
"devDependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/core": "^7.25.2",
"@types/compression": "^1.7.2",
"@types/crypto-js": "^4.1.1",
"@types/express": "^4.17.17",
From b42431f14a7bd6730ce89bd03933e50d5dc08852 Mon Sep 17 00:00:00 2001
From: nymkappa <1612910616@pm.me>
Date: Tue, 21 Jan 2025 17:39:50 +0900
Subject: [PATCH 05/11] [auth] add login/signup with github support
---
.../components/faucet/faucet.component.html | 10 +++-----
.../github-login.component.html | 6 +++++
.../github-login.component.ts | 25 +++++++++++++++++++
frontend/src/app/shared/shared.module.ts | 3 +++
4 files changed, 38 insertions(+), 6 deletions(-)
create mode 100644 frontend/src/app/components/github-login.component/github-login.component.html
create mode 100644 frontend/src/app/components/github-login.component/github-login.component.ts
diff --git a/frontend/src/app/components/faucet/faucet.component.html b/frontend/src/app/components/faucet/faucet.component.html
index 3165ae9a7..19d76d9dd 100644
--- a/frontend/src/app/components/faucet/faucet.component.html
+++ b/frontend/src/app/components/faucet/faucet.component.html
@@ -21,10 +21,8 @@
To use the faucet, please
-
login
-
or
-
+
}
@else if (user && user.status === 'pending' && !user.email && user.snsId) {
@@ -36,18 +34,18 @@
To use the faucet, please
-
+
- Your Twitter account does not allow you to access the faucet
+ Your account does not allow you to access the faucet
}
diff --git a/frontend/src/app/components/github-login.component/github-login.component.html b/frontend/src/app/components/github-login.component/github-login.component.html
new file mode 100644
index 000000000..de9c743b5
--- /dev/null
+++ b/frontend/src/app/components/github-login.component/github-login.component.html
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/frontend/src/app/components/github-login.component/github-login.component.ts b/frontend/src/app/components/github-login.component/github-login.component.ts
new file mode 100644
index 000000000..52f2584b9
--- /dev/null
+++ b/frontend/src/app/components/github-login.component/github-login.component.ts
@@ -0,0 +1,25 @@
+import { Component, EventEmitter, Input, Output } from '@angular/core';
+@Component({
+ selector: 'app-github-login',
+ templateUrl: './github-login.component.html',
+})
+export class GithubLogin {
+ @Input() width: string | null = null;
+ @Input() customClass: string | null = null;
+ @Input() buttonString: string= 'unset';
+ @Input() redirectTo: string | null = null;
+ @Output() clicked = new EventEmitter