author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
244,495 | 27.12.2021 10:44:09 | -3,600 | b56048d6888c6b35b245469f770d8cd78b356b8e | remove type import which can be inferred | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -2,7 +2,6 @@ import { useState, useEffect } from \"react\";\nimport { Html5Qrcode } from \"html5-qrcode\";\nimport api from \"../../common/lib/api\";\n-import type { Setting... | TypeScript | MIT License | getalby/lightning-browser-extension | remove type import which can be inferred |
244,461 | 27.12.2021 14:21:30 | -3,600 | b8722df87a9588511fa959aca73540be7ad37472 | Run calls in parallel again
the native connection now can handle those potential parallel calls | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/info.js",
"new_path": "src/extension/background-script/actions/accounts/info.js",
"diff": "@@ -9,14 +9,12 @@ const info = async (message, sender) => {\n// account = state.getState().getAccount();\n//}\nconnector... | TypeScript | MIT License | getalby/lightning-browser-extension | Run calls in parallel again
the native connection now can handle those potential parallel calls |
244,461 | 27.12.2021 21:38:18 | -3,600 | 2856a11c91ee292dfa18beb7b359f17b05d4f059 | Fix LND connect form | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "@@ -107,7 +107,7 @@ export default function ConnectLnd() {\n}\nreturn (\n- <div>\n+ <form onSubmit={handleSubmit}>\n<div className=\"relative mt... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix LND connect form |
244,461 | 28.12.2021 15:30:14 | -3,600 | ab6896f2414b5190fe0a43a41ad97449e0b3b77a | Encode URI component when passing origin data as query param
Otherwise characters like `#` or `?` will break up the passed string | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -238,7 +238,7 @@ function Home() {\nnavigate(\n`/lnurlPay?lnurl=${\nlnData[0].recipient\n- }&origin=${JSON.stringify(origin)}`\n+ }&origin=${encodeURIComponent(JSON.stri... | TypeScript | MIT License | getalby/lightning-browser-extension | Encode URI component when passing origin data as query param
Otherwise characters like `#` or `?` will break up the passed string |
244,461 | 28.12.2021 22:18:23 | -3,600 | 59e1dae44d834dc24991035394a060036da31550 | Load account info after unlocking
this asynchronously loads the balance and account info after unlocking the accounts | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -24,7 +24,22 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\nconst unlock = (password: string, callback: VoidFunction) => {\nreturn api... | TypeScript | MIT License | getalby/lightning-browser-extension | Load account info after unlocking
this asynchronously loads the balance and account info after unlocking the accounts |
244,461 | 29.12.2021 13:28:15 | -3,600 | 4666c073faa98c79563f354ab4921035fcf19928 | Better port handling and auto restart the app if disconnected | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/nativelnd.ts",
"new_path": "src/extension/background-script/connectors/nativelnd.ts",
"diff": "@@ -6,28 +6,41 @@ const nativeApplication = \"alby\";\nexport default class NativeLnd extends Lnd {\nrunning: boolean | nu... | TypeScript | MIT License | getalby/lightning-browser-extension | Better port handling and auto restart the app if disconnected |
244,461 | 29.12.2021 15:24:20 | -3,600 | cbf6513701f9edd31a7b2f5fd6c4c2aa91d5597e | Add init and unload functions to connectors
the init function can be used to initialize any connector requirement (e.g. start the native companion app)
the unload function can be used to shut down the connector (e.g. stop the native companion app) | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/lock.js",
"new_path": "src/extension/background-script/actions/accounts/lock.js",
"diff": "import state from \"../../state\";\n-const lock = (message, sender) => {\n- state.getState().lock();\n- return Promise.r... | TypeScript | MIT License | getalby/lightning-browser-extension | Add init and unload functions to connectors
the init function can be used to initialize any connector requirement (e.g. start the native companion app)
the unload function can be used to shut down the connector (e.g. stop the native companion app) |
244,495 | 29.12.2021 20:28:03 | -3,600 | 23717e24ddfbe6920d9ef325c96f25a67911a2d3 | reuse getAccountInfo | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -12,7 +12,7 @@ import Badge from \"../Badge\";\nimport Menu from \"../Menu\";\ntype Props = {\n- onAccountSwitch?: () => void;\n+ onAccountSwitch?: (... | TypeScript | MIT License | getalby/lightning-browser-extension | reuse getAccountInfo |
244,461 | 30.12.2021 01:16:50 | -3,600 | 7d18ab00f50d094d01caf5fb240bda9c976c9740 | Add native lndhub connector for connections to LNDHub through tor | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/index.ts",
"new_path": "src/extension/background-script/connectors/index.ts",
"diff": "import Lnd from \"./lnd\";\nimport NativeLnd from \"./nativelnd\";\nimport LndHub from \"./lndhub\";\n+import NativeLndHub from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | Add native lndhub connector for connections to LNDHub through tor |
244,461 | 30.12.2021 12:07:18 | -3,600 | d4861ef606754417b7f266466a3cf9e34ac7a943 | Optimize unloading to wait until the native companion has stopped | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/nativelnd.ts",
"new_path": "src/extension/background-script/connectors/nativelnd.ts",
"diff": "@@ -34,10 +34,16 @@ export default class NativeLnd extends Lnd {\n}\n}\n- async unload() {\n+ unload(): Promise<void> {\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | Optimize unloading to wait until the native companion has stopped |
244,461 | 30.12.2021 15:42:48 | -3,600 | e42005517808c278c2ed1e13d75f6bf38b4e9a20 | Hack lndhub for the native app | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLndHub/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLndHub/index.tsx",
"diff": "@@ -40,11 +40,11 @@ export default function ConnectLndHub() {\npassword,\nurl,\n},\n- connector: \"lndhub\",\n+ connector: \"nativelndhub\... | TypeScript | MIT License | getalby/lightning-browser-extension | Hack lndhub for the native app |
244,461 | 30.12.2021 17:52:05 | -3,600 | 431e8b16d57f612efe39f4f8440b58d033be0926 | Hack to use nativelnd connector | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "@@ -36,11 +36,11 @@ export default function ConnectLnd() {\nmacaroon,\nurl,\n},\n- connector: \"lnd\",\n+ connector: \"nativelnd\",\n};\ntry {\n... | TypeScript | MIT License | getalby/lightning-browser-extension | Hack to use nativelnd connector |
244,495 | 30.12.2021 18:13:06 | -3,600 | afb6763da9ee6a383ca8102146661f7d6661c6a3 | fix pretier errors | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/NavbarLink.tsx",
"new_path": "src/app/components/Navbar/NavbarLink.tsx",
"diff": "@@ -13,7 +13,9 @@ function NavbarLink({ children, end = false, href }: Props) {\nto={href}\nclassName={({ isActive }) =>\n\"block text-gray-500 hover:te... | TypeScript | MIT License | getalby/lightning-browser-extension | fix pretier errors |
244,461 | 01.01.2022 11:59:14 | -3,600 | ddd3c098a974048e1296257275ef3a6b998b0f7a | Restart native companion on errors | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/nativelnd.ts",
"new_path": "src/extension/background-script/connectors/nativelnd.ts",
"diff": "@@ -18,6 +18,20 @@ export default class NativeLnd extends Lnd {\nconnectNativeCompanion() {\nthis._port = browser.runtime.... | TypeScript | MIT License | getalby/lightning-browser-extension | Restart native companion on errors |
244,461 | 09.01.2022 12:23:59 | -3,600 | d78829444e2973d96a92d1b9ccdb4babe7a61275 | Fix naming conflict between component and type definition | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -3,7 +3,7 @@ import { Html5Qrcode } from \"html5-qrcode\";\nimport api from \"../../common/lib/api\";\n-import { Settings } from \"../../types\";\n+import { SettingsStorage ... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix naming conflict between component and type definition |
244,461 | 09.01.2022 21:20:09 | -3,600 | 9a9685ac6289177e00f40f6f2c9bd8b3792e4973 | Make sure to save default settings
we should save the default settings to not have to handle those specially | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/settings/get.ts",
"new_path": "src/extension/background-script/actions/settings/get.ts",
"diff": "@@ -2,7 +2,7 @@ import state from \"../../state\";\nconst DEFAULT_SETTINGS = {\nwebsiteEnhancements: true,\n- userName: ''... | TypeScript | MIT License | getalby/lightning-browser-extension | Make sure to save default settings
we should save the default settings to not have to handle those specially |
244,461 | 09.01.2022 21:20:35 | -3,600 | 036dd182a46e709af054af672eed067bae0af866 | Change settings order
The camera access is the least interesting one | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -76,6 +76,27 @@ function Settings() {\n}\n/>\n+ <Setting\n+ title=\"User Display Name\"\n+ subtitle=\"For sending along with LNURL payments when supported\"\n+ right={\n+ !l... | TypeScript | MIT License | getalby/lightning-browser-extension | Change settings order
The camera access is the least interesting one |
244,495 | 11.01.2022 10:49:07 | -3,600 | ced71688a2cbb0994b0d15f1f328169d1b4d0258 | move default settings to state init | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -2,7 +2,11 @@ import { Fragment, useState, useEffect, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport { useNavigate, useSearchParams } from \"react-router... | TypeScript | MIT License | getalby/lightning-browser-extension | move default settings to state init |
244,495 | 11.01.2022 10:50:30 | -3,600 | e4040ea2a44d2533386bb16971f20d73cd25198b | removed unnecessary length check | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -70,7 +70,7 @@ function LNURLPay(props: Props) {\nuseEffect(() => {\napi.getSettings().then((response) => {\n- if (response.userName && response.userName.length) {\n+ if (re... | TypeScript | MIT License | getalby/lightning-browser-extension | removed unnecessary length check |
244,495 | 11.01.2022 19:34:38 | -3,600 | f39cc47731fb7edc92ef8abda1924d78e147c970 | refactor: shared connector routes (DRY) | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -2,12 +2,13 @@ import { HashRouter, Navigate, Outlet, Routes, Route } from \"react-router-dom\";\nimport { AuthProvider } from \"../../context/AuthContext\";\nim... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: shared connector routes (DRY) |
244,495 | 12.01.2022 15:11:23 | -3,600 | 5f1e374f10dbf84e8128e2f3a32f252fad15755c | feat: show account is loading after switching from native | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -7,17 +7,15 @@ import {\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport utils from \"../../../common/lib/utils\";\n+import { useAuth ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show account is loading after switching from native |
244,495 | 12.01.2022 15:44:36 | -3,600 | faaa98a01462dfd5b46c98b34c6645eb9880abab | feat: show error if the companion app isn't installed | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -50,6 +50,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\nconst getAccountInfo = (accountId?: string) => {\nconst id = accountId || a... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show error if the companion app isn't installed |
244,495 | 12.01.2022 15:52:55 | -3,600 | 03b6ee06f150717fc3c9334a3b43f32369ef3ee8 | refactor: move setAccountId to unlock | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -31,6 +31,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\nconst unlock = (password: string, callback: VoidFunction) => {\nreturn api.... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move setAccountId to unlock |
244,495 | 12.01.2022 16:35:25 | -3,600 | 9adb3d07cb179150a2ef27ef4b794de7ae947563 | refactor: dry native connectors | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/connectors/nativeConnectorClassCreator.ts",
"diff": "+import browser from \"webextension-polyfill\";\n+\n+import Lnd from \"./lnd\";\n+import LndHub from \"./lndhub\";\n+\n+const nativeApplication = \"alby\";\n+\n... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: dry native connectors |
244,461 | 14.01.2022 01:01:42 | -3,600 | 8d7a8e064e31a1d5f0295b0e76a60e3a92e38443 | Do not close window as closing the window is handled in openPrompt
the openPrompt handles the response message and also closes the window.
If we close it too early the response promisses are not resolved (as the window is closed too early) | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -42,7 +42,6 @@ function ConfirmPayment(props) {\n{ origin: originRef.current }\n);\nmsg.reply(response);\n- window.close();\n} catch (e) {\nconsole.e... | TypeScript | MIT License | getalby/lightning-browser-extension | Do not close window as closing the window is handled in openPrompt
the openPrompt handles the response message and also closes the window.
If we close it too early the response promisses are not resolved (as the window is closed too early) |
244,461 | 14.01.2022 01:03:19 | -3,600 | f27403565bac9c84898ff25cda5f76797c8f8fd8 | Don't automatically close the window and simply show a success message
Closing the window too early could cause some promisses to be cancelled.
This is a problem when some screen is opened through the openPrompt function | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -131,11 +131,10 @@ function LNURLPay(props: Props) {\nalert(\n`Not implemented yet. Please submit an issue to support success action: ${successAction.tag}`\n);\n- window.clo... | TypeScript | MIT License | getalby/lightning-browser-extension | Don't automatically close the window and simply show a success message
Closing the window too early could cause some promisses to be cancelled.
This is a problem when some screen is opened through the openPrompt function |
244,461 | 14.01.2022 01:03:55 | -3,600 | bc1012bd62b0b0231dd5334425a3c1c761d2a5ac | We always return preimages in HEX
the LND REST API returns base64 encoded preimages | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -58,7 +58,7 @@ class Lnd implements Connector {\n}\nreturn {\ndata: {\n- preimage: res.data.payment_preimage,\n+ preimage: utils.ba... | TypeScript | MIT License | getalby/lightning-browser-extension | We always return preimages in HEX
the LND REST API returns base64 encoded preimages |
244,495 | 14.01.2022 16:39:08 | -3,600 | 685f9375826a4318e5d87df67a96ca5540768316 | feat: locally cache accounts | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "import { useState, useEffect, createContext, useContext } from \"react\";\n+import browser from \"webextension-polyfill\";\n+\nimport utils from \"../../common/lib/utils\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: locally cache accounts |
244,461 | 14.01.2022 22:28:19 | -3,600 | 8537e317413d1494708ae3b7bc3f02abf5151ff5 | Load lighting information als from the support file in peertube | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/Peertube.ts",
"new_path": "src/extension/content-script/batteries/Peertube.ts",
"diff": "@@ -7,11 +7,13 @@ interface PeertubeRes {\nchannel: {\ndisplayName: string;\ndescription: string;\n+ support: string | null;\navatar... | TypeScript | MIT License | getalby/lightning-browser-extension | Load lighting information als from the support file in peertube |
244,461 | 14.01.2022 22:28:41 | -3,600 | df1edb6ecaa64289036edc8fbf7a856743cb7106 | Register bitcast.online as a peertube instance | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/Peertube.ts",
"new_path": "src/extension/content-script/batteries/Peertube.ts",
"diff": "@@ -17,7 +17,7 @@ interface PeertubeRes {\n}\n// add more peertube URLs to this regex\n-const urlMatcher = /^https?:\\/\\/(bitcointv... | TypeScript | MIT License | getalby/lightning-browser-extension | Register bitcast.online as a peertube instance |
244,461 | 15.01.2022 11:02:22 | -3,600 | 803229cc9c1ee4815177235961494f530279ed14 | Extract lightning addresses from lightning links
This allows Alby to load lightning addresses from links like:
```
<a href="lightning:you@getalby.com">send sats</a>
``` | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -43,6 +43,10 @@ if (document) {\nif (paymentRequest && paymentRequest.startsWith(\"lnurl\")) {\nlnurl = paymentRequest.replace(/^lnurl[pwc]:/i, \"\"); // rep... | TypeScript | MIT License | getalby/lightning-browser-extension | Extract lightning addresses from lightning links
This allows Alby to load lightning addresses from links like:
```
<a href="lightning:you@getalby.com">send sats</a>
``` |
244,495 | 15.01.2022 11:29:13 | -3,600 | 1c8417845e3eb2850ced9a9201f59575d223c01d | fix: logo text barely visible in dark mode | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/AlbyLogo/index.tsx",
"diff": "+const AlbyLogo = () => {\n+ return (\n+ <svg viewBox=\"0 0 1094 525\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n+ <ellipse\n+ opacity=\"0.1\"\n+ cx=\"162.28\"\n+ cy=\"480.52\"\n+ rx=\"... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: logo text barely visible in dark mode |
244,495 | 15.01.2022 11:34:54 | -3,600 | bb84c708b245b00c8eae8ec199c6332387228d30 | delete unused svg | [
{
"change_type": "DELETE",
"old_path": "static/assets/icons/Alby-logo-figure-full.svg",
"new_path": null,
"diff": "-<svg width=\"1094\" height=\"525\" viewBox=\"0 0 1094 525\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n-<ellipse opacity=\"0.1\" cx=\"162.28\" cy=\"480.52\" rx=\"79.0085\" ry... | TypeScript | MIT License | getalby/lightning-browser-extension | delete unused svg |
244,495 | 15.01.2022 17:02:20 | -3,600 | a9f2d55e0feb41a580a8cb72e81c0a2b6c337329 | refactor: move into swr variation | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "import { useState, useEffect, createContext, useContext } from \"react\";\n-import browser from \"webextension-polyfill\";\nimport utils from \"../../common/lib/utils\";\... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move into swr variation |
244,461 | 17.01.2022 12:38:44 | -3,600 | e4f6e22248467a3ca24074ee088b88e8f8e01d54 | Make sure LND's payment response is in hex | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -59,7 +59,7 @@ class Lnd implements Connector {\nreturn {\ndata: {\npreimage: utils.base64ToHex(res.data.payment_preimage),\n- paym... | TypeScript | MIT License | getalby/lightning-browser-extension | Make sure LND's payment response is in hex |
244,495 | 17.01.2022 14:46:55 | -3,600 | 32985f1464a82fe2e9a3ad008ee683f044b37452 | resolve to first available account info | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/api.ts",
"new_path": "src/common/lib/api.ts",
"diff": "@@ -33,29 +33,35 @@ export const getAccountInfo = () => utils.call<AccountInfoRes>(\"accountInfo\");\n*/\nexport const swrGetAccountInfo = async (\nid: string,\n- callback: (account: Account... | TypeScript | MIT License | getalby/lightning-browser-extension | resolve to first available account info |
244,461 | 18.01.2022 19:58:40 | -3,600 | 9042b4da43e594f73e6c076bbcaa2c484f872cdb | Choose connector type depending on the onion address | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "@@ -26,6 +26,14 @@ export default function ConnectLnd() {\n});\n}\n+ function getConnectorType() {\n+ if (formData.url.match(/\\.onion/i)) {\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | Choose connector type depending on the onion address |
244,461 | 19.01.2022 10:38:28 | -3,600 | 2732776c1454ec36f1c3b38e01985e8871016ecd | Shorter extension description due to character limits | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "\"48\": \"assets/icons/alby_icon_yellow_48x48.png\",\n\"128\": \"assets/icons/alby_icon_yellow_128x128.png\"\n},\n- \"description\": \"The Bitcoin Lightning wallet for direct payments across the glo... | TypeScript | MIT License | getalby/lightning-browser-extension | Shorter extension description due to character limits |
244,495 | 20.01.2022 15:09:15 | -3,600 | f0d3878c05146eaabd9a8306425067fde8e656c6 | fix: incorrect defaults after migration | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/setup/reset.js",
"new_path": "src/extension/background-script/actions/setup/reset.js",
"diff": "-import state from \"../../state\";\n+import state, { DEFAULT_SETTINGS } from \"../../state\";\nconst reset = async (message... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: incorrect defaults after migration |
244,495 | 20.01.2022 15:23:03 | -3,600 | 64ba725e5e120e6cfb9ea90b18e16b660043f96e | refactor: merge default settings with stored settings | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/state.ts",
"new_path": "src/extension/background-script/state.ts",
"diff": "@@ -93,16 +93,11 @@ const state = createState<State>((set, get) => ({\n/**\n* MIGRATION CODE\n- * This check is currently needed for existing users that... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: merge default settings with stored settings |
244,495 | 20.01.2022 15:24:51 | -3,600 | 87d06d12335f7aad6fe5867fd091feeb7c068f3f | don't mutate original object | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/state.ts",
"new_path": "src/extension/background-script/state.ts",
"diff": "@@ -97,7 +97,7 @@ const state = createState<State>((set, get) => ({\n* in their stored settings object.\n* TODO: delete this migration code in the futur... | TypeScript | MIT License | getalby/lightning-browser-extension | don't mutate original object |
244,473 | 20.01.2022 10:31:31 | 25,200 | bf09fbbee40cfb00bb7ed5456500166106133f1f | Adding userEmail value to types and state | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/state.ts",
"new_path": "src/extension/background-script/state.ts",
"diff": "@@ -27,6 +27,7 @@ interface State {\nexport const DEFAULT_SETTINGS = {\nwebsiteEnhancements: true,\nuserName: \"\",\n+ userEmail: \"\",\n};\n// these ke... | TypeScript | MIT License | getalby/lightning-browser-extension | Adding userEmail value to types and state |
244,473 | 20.01.2022 10:33:03 | 25,200 | df26f638a14c231cedba0d7b2e1b22f481b7829e | Adding in email form on frontend and payerdata parsing function | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -43,6 +43,7 @@ function LNURLPay(props: Props) {\n);\nconst [comment, setComment] = useState<string | undefined>();\nconst [userName, setUserName] = useState<string | undefi... | TypeScript | MIT License | getalby/lightning-browser-extension | Adding in email form on frontend and payerdata parsing function |
244,473 | 20.01.2022 10:42:56 | 25,200 | 3162632b48e66c1eda169619d34b859627554e1a | Removing extra 'or' operator | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -81,9 +81,7 @@ const lnurl = {\namount,\n}: {\npaymentInfo: LNURLPaymentInfo;\n- payerdata:\n- | undefined\n- | {\n+ payerdata: undefined | {\nname?: string;\nemail?: string;\n};\n"
... | TypeScript | MIT License | getalby/lightning-browser-extension | Removing extra 'or' operator |
244,495 | 20.01.2022 19:43:57 | -3,600 | 4c5105dcaf760e50d80c20c0eb73eecb33ba705e | smarter object merging | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"elliptic\": \"^6.5.4\",\n\"html5-qrcode\": \"^2.1.6\",\n\"invoices\": \"^2.0.2\",\n+ \"lodash\": \"^4.17.21\",\n\"memoizee\": \"^0.4.15\",\n\"postcss-cli\": \"^9.1.0\",\n\"pubsub-js\": \"^1.9.4\",\n\"react-... | TypeScript | MIT License | getalby/lightning-browser-extension | smarter object merging |
244,495 | 24.01.2022 13:36:04 | -3,600 | 2040768accc4eee1f8ec9765a9458be4967980f7 | refactor: optionally ask for native messaging permission | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "import { useState, useRef } from \"react\";\nimport { SendIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\n+import browser from \"we... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: optionally ask for native messaging permission |
244,495 | 24.01.2022 13:56:58 | -3,600 | bdd31469786793302ca169c69a97c8a4ea89195a | feat: show success message | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -28,6 +28,7 @@ function ConfirmPayment(props) {\nconst [budget, setBudget] = useState((invoiceRef.current?.tokens || 0) * 10);\nconst [rememberMe, se... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show success message |
244,461 | 20.01.2022 23:29:14 | -3,600 | 237204a6e77999c1c0d54dc668c98e3d5aaee1bf | Enable tipping on YouTube channels
This loads the lightning data from the channel's about text | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "@@ -3,12 +3,19 @@ import api from \"../../../common/lib/api\";\nimport Monetization from \"./Monetization\";\nimport Twitter from \"./Twit... | TypeScript | MIT License | getalby/lightning-browser-extension | Enable tipping on YouTube channels
This loads the lightning data from the channel's about text |
244,495 | 24.01.2022 18:38:00 | -3,600 | cfcef4b74be3b9f200ba433284222e52a0046e3d | fix: payment summery border | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary.tsx",
"new_path": "src/app/components/PaymentSummary.tsx",
"diff": "@@ -6,7 +6,7 @@ type Props = {\nfunction PaymentSummary({ amount, amountAlt, description }: Props) {\nreturn (\n- <div className=\"p-4 bg-white border-t borde... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: payment summery border |
244,495 | 24.01.2022 19:01:45 | -3,600 | d70ca97233796f30a328216ca7cd223c03cb1259 | feat: prevent crash and show error to user | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "import { useState, useRef } from \"react\";\nimport { Transition } from \"@headlessui/react\";\nimport { useSearchParams, useNavigate } from \"react-rou... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: prevent crash and show error to user |
244,495 | 24.01.2022 21:25:08 | -3,600 | 18afb92313f99618e8b1543beb19c8eb4eb1535f | also throw on invalid lnurl | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -31,14 +31,11 @@ function Send() {\n}\nif (lnurl) {\n+ await lnurlLib.getDetails(lnurl); // throws if invalid/network error.\nnavigate(`/lnurlPay?lnurl=${lnurl}`);\n} else {\n- try ... | TypeScript | MIT License | getalby/lightning-browser-extension | also throw on invalid lnurl |
244,495 | 24.01.2022 21:32:37 | -3,600 | d0e07af0723efcd00c0e286b8a34371e70c0ce35 | custom msg for lnurl error | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -31,8 +31,14 @@ function Send() {\n}\nif (lnurl) {\n+ try {\nawait lnurlLib.getDetails(lnurl); // throws if invalid/network error.\nnavigate(`/lnurlPay?lnurl=${lnurl}`);\n+ } catch ... | TypeScript | MIT License | getalby/lightning-browser-extension | custom msg for lnurl error |
244,495 | 24.01.2022 21:36:44 | -3,600 | f4c44f9fb9770ccbe168dec67ba0c29ab6512974 | throw from getdetails method | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -31,14 +31,8 @@ function Send() {\n}\nif (lnurl) {\n- try {\n- await lnurlLib.getDetails(lnurl); // throws if invalid/network error.\n+ await lnurlLib.getDetails(lnurl); // throws i... | TypeScript | MIT License | getalby/lightning-browser-extension | throw from getdetails method |
244,495 | 25.01.2022 09:22:50 | -3,600 | 587831e02ccdd95fb30255c2a8ce0fef21a4eb1a | fix: add missing connector methods | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/eclair.ts",
"new_path": "src/extension/background-script/connectors/eclair.ts",
"diff": "@@ -27,6 +27,14 @@ class Eclair implements Connector {\nthis.config = config;\n}\n+ init() {\n+ return Promise.resolve();\n+ }\n... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add missing connector methods |
244,495 | 24.01.2022 09:36:08 | -3,600 | ea2c73639c1dda1c7175f68a343bd193e7752ceb | feat: fetch account info after payment | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -30,7 +30,7 @@ function AccountMenu() {\nawait utils.call(\"selectAccount\", {\nid: accountId,\n});\n- auth.getAccountInfo(accountId);\n+ auth.fetchA... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: fetch account info after payment |
244,495 | 25.01.2022 10:34:16 | -3,600 | a72c3a32eb7dd637698b27d046655ec36706b175 | check if permission was granted | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "@@ -53,7 +53,15 @@ export default function ConnectLnd() {\n// TODO: for native connectors we currently skip the validation because it is too slo... | TypeScript | MIT License | getalby/lightning-browser-extension | check if permission was granted |
244,495 | 27.01.2022 09:11:33 | -3,600 | dad287519d0da18a2a28273977cf97cd5ae66ae1 | show identifier when available | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -117,7 +117,12 @@ function LNURLPay(props: Props) {\nconst payment = await utils.call(\n\"lnurlPay\",\n{ paymentRequest },\n- { origin }\n+ {\n+ origin: {\n+ ...origin,\n+ n... | TypeScript | MIT License | getalby/lightning-browser-extension | show identifier when available |
244,461 | 27.01.2022 14:46:27 | -3,600 | 634a76b887a6b852a1c95ebd632a28ac6d8c1126 | Add wait message to test connction screen
With Tor it can take a bit until the account is ready to use. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"diff": "@@ -215,7 +215,15 @@ export default function TestConnection() {\n</div>\n)}\n- {loading && <Loading />}\n+ {loading && (\n+ <div>\n+ <Lo... | TypeScript | MIT License | getalby/lightning-browser-extension | Add wait message to test connction screen
With Tor it can take a bit until the account is ready to use. |
244,461 | 30.01.2022 23:00:18 | -3,600 | 37dc834410ef2835b8455ed760594b708e696551 | Add prompt for signing messages | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -7,6 +7,7 @@ import RequireAuth from \"../RequireAuth\";\nimport Unlock from \"../../screens/Unlock\";\nimport Enable from \"../../screens/Enable\";\nimport MakeInvo... | TypeScript | MIT License | getalby/lightning-browser-extension | Add prompt for signing messages |
244,461 | 31.01.2022 18:57:06 | -3,600 | d6b2f239386a2061ffa4ea0712e614a34464beed | Support for lnd v0.14 new error format | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -205,9 +205,16 @@ class Lnd implements Connector {\nbody,\n});\nif (!res.ok) {\n+ // TODO: this needs refactoring! we also should s... | TypeScript | MIT License | getalby/lightning-browser-extension | Support for lnd v0.14 new error format |
244,461 | 31.01.2022 23:36:28 | -3,600 | fcf263ee10fe69057d785b4b11d9aa81ad0f32c4 | Add a loading spinner to the LNURL pay screen
sometime the LNURL details are loaded too slow | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -14,6 +14,7 @@ import lnurl from \"../../common/lib/lnurl\";\nimport getOriginData from \"../../extension/content-script/originData\";\nimport { useAuth } from \"../context/... | TypeScript | MIT License | getalby/lightning-browser-extension | Add a loading spinner to the LNURL pay screen
sometime the LNURL details are loaded too slow |
244,498 | 27.01.2022 13:38:06 | -28,800 | 57400d2d61136618978668aab9a2e60b01a85cd6 | chore: add code-quality github action | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/codequality.yml",
"diff": "+name: Code quality - lint, typecheck, tests\n+\n+on:\n+ push:\n+ branches:\n+ - master\n+ pull_request:\n+ types: [opened, synchronize]\n+\n+jobs:\n+ codequality:\n+ runs-on: ubuntu-latest\n+\n+ step... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add code-quality github action #226 |
244,495 | 03.02.2022 17:52:37 | -3,600 | ca6c72e47e7e1cae5f916ae76e0ec5e8e3f0c79e | feat: fixed header | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.jsx",
"new_path": "src/app/router/Popup/Popup.jsx",
"diff": "@@ -13,11 +13,12 @@ import { AuthProvider } from \"../../context/AuthContext\";\nimport RequireAuth from \"../RequireAuth\";\nimport Navbar from \"../../components/Navbar\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: fixed header |
244,495 | 04.02.2022 17:47:54 | -3,600 | 169e70d20afd82faad9ba9d0ac7068e547a1d3e7 | Proposal: improved lnurlpay screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublisherCard/index.tsx",
"new_path": "src/app/components/PublisherCard/index.tsx",
"diff": "@@ -6,23 +6,31 @@ const DEFAULT_IMAGE =\nexport type Props = {\ntitle: string;\n+ description?: string;\nimage: string;\nurl?: string;\nchildren?: R... | TypeScript | MIT License | getalby/lightning-browser-extension | Proposal: improved lnurlpay screen (#581) |
244,461 | 04.02.2022 17:56:33 | -3,600 | 16b9ce2bc11d071c6c71d00571cac19c409b98a1 | Remove LNURL image
So far this image has not been very useful and was mainly using a lot of space | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -270,11 +270,6 @@ function LNURLPay(props: Props) {\nreturn [\"Description\", content];\n} else if (type === \"text/long-desc\") {\nreturn [\"Full Description\", <p key={typ... | TypeScript | MIT License | getalby/lightning-browser-extension | Remove LNURL image
So far this image has not been very useful and was mainly using a lot of space |
244,495 | 06.02.2022 12:08:12 | -3,600 | c0a3d805e8e717553b998c0ed99ad8df5e1507b5 | revert to vibrant colors | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublisherCard/index.tsx",
"new_path": "src/app/components/PublisherCard/index.tsx",
"diff": "@@ -24,8 +24,8 @@ export default function PublisherCard({\n<div\nclassName=\"p-4 bg-gray-300\"\nstyle={{\n- backgroundColor: data.muted,\n- backgrou... | TypeScript | MIT License | getalby/lightning-browser-extension | revert to vibrant colors |
244,461 | 06.02.2022 21:57:02 | -3,600 | 5e96cb87f0491271dc6395b3eac2fb235adaa77d | Use new Alby hosted wallets | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"new_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"diff": "@@ -6,13 +6,16 @@ import QRCode from \"react-qr-code\";\nimport utils from \"../../../../common/lib/utils\";\n-const url = process.env.ALBY_LNDHUB... | TypeScript | MIT License | getalby/lightning-browser-extension | Use new Alby hosted wallets |
244,495 | 07.02.2022 13:33:22 | -3,600 | 2b98353058785990a2b90a9a897af7d35427482f | feat: associate labels with its inputs | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectEclair/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectEclair/index.tsx",
"diff": "@@ -80,6 +80,7 @@ export default function ConnectLnbits() {\n<div className=\"mt-1\">\n<Input\nname=\"password\"\n+ id=\"password\"\ntype=... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: associate labels with its inputs |
244,495 | 07.02.2022 19:34:01 | -3,600 | 643a3ff659b61a3e9c343567bd5ce5c556a6a341 | feat: textfield component | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -7,7 +7,7 @@ import utils from \"../../../common/lib/utils\";\nimport Button from \"../Button\";\nimport Menu from \"../Menu\";\n-import Currency... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: textfield component |
244,495 | 09.02.2022 10:07:02 | -3,600 | d0cd1e51708502b9579dd6a80d72928babcaac74 | feat: add empty screen design | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -104,8 +104,10 @@ function Home() {\n/>\n</div>\n</div>\n-\n- {allowance.payments && (\n+ <h2 className=\"mb-2 text-lg text-gray-900 font-semibold dark:text-white\">\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add empty screen design |
244,495 | 09.02.2022 11:56:30 | -3,600 | 1842f328273cc23bbd74caf9585932377e9c7e8b | remove unnecessary double accountinfo calls | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -5,7 +5,7 @@ import api from \"../../common/lib/api\";\nimport type { AccountInfo } from \"../../types\";\ninterface AuthContextType {\n- account: AccountInfo | null;\... | TypeScript | MIT License | getalby/lightning-browser-extension | remove unnecessary double accountinfo calls |
244,495 | 09.02.2022 12:07:14 | -3,600 | d4c5fea3f6a67c674851f8d5ee3104aa5a5a85ed | make msg website specific | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -142,7 +142,7 @@ function Home() {\n/>\n) : (\n<p className=\"text-gray-500 dark:text-gray-400\">\n- No transactions yet.\n+ No transactions on <strong>{allowance.name}<... | TypeScript | MIT License | getalby/lightning-browser-extension | make msg website specific |
244,495 | 25.01.2022 09:10:48 | -3,600 | e2f9cfde3efed06c2535115770731065741665d3 | convert to number in the appropriate places | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -20,10 +20,10 @@ type Props = {\nfunction AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nconst [modalIsOpen, setIsOpen] = useState(fals... | TypeScript | MIT License | getalby/lightning-browser-extension | convert to number in the appropriate places |
244,495 | 03.02.2022 11:55:22 | -3,600 | 87323df6305b21ce2fd48b2e01e15df0096206f9 | refactor: coerce to number, verify minsendable | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -41,7 +41,7 @@ function LNURLPay(props: Props) {\ngetOriginData()\n);\nconst [valueSat, setValueSat] = useState(\n- (details?.minSendable && (details?.minSendable / 1000).to... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: coerce to number, verify minsendable |
244,498 | 19.02.2022 17:09:06 | -28,800 | 6c886c45c3a2e9e13df2488566451b04c9d164ff | Chore/584 testing library jest setup | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "__mocks__/node-vibrant.ts",
"diff": "+const Swatch = (hex) => ({\n+ getHex: () => hex,\n+});\n+\n+const palette = {\n+ DarkMuted: Swatch(\"#2a324b\"),\n+ DarkVibrant: Swatch(\"#0e7a4b\"),\n+ LightMuted: Swatch(\"#9cceb7\"),\n+ LightVibrant: Swat... | TypeScript | MIT License | getalby/lightning-browser-extension | Chore/584 testing library jest setup |
244,495 | 19.02.2022 11:29:59 | -3,600 | 5570888c99c7d593651a6694a43aecca236b1169 | add integration test and fix usage of uint8array in jsdom | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"test:coverage\": \"jest --coverage --collectCoverageFrom='src/**/*.(js|ts|jsx|tsx)'\",\n\"storybook\": \"start-storybook -p 6006\",\n\"build-storybook\": \"build-storybook\",\n- \"prepare\": \"husky install... | TypeScript | MIT License | getalby/lightning-browser-extension | add integration test and fix usage of uint8array in jsdom |
244,495 | 19.02.2022 12:20:14 | -3,600 | 137866227761e104366b9b524316d68a5a17d0a9 | refactor: use findby for shorter code | [
{
"change_type": "MODIFY",
"old_path": "jest.config.ts",
"new_path": "jest.config.ts",
"diff": "@@ -7,11 +7,7 @@ module.exports = {\n\"^.+.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$\":\n\"jest-transform-stub\",\n},\n- setupFiles: [\n- \"jest-webextension-mock\"\n- ],\n+ setupFiles: [\"jest-we... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: use findby for shorter code |
244,486 | 20.02.2022 11:07:17 | -19,080 | a1f9e1cc28111137e8d4043d538fc68c407b5022 | fix: fix broken link in README
1. fixed broken link
2. checked all other links - other links working fine | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -175,7 +175,7 @@ Yes. Thanks to generous donors, Alby is able to offer several bounties. You can\n### Thanks\n-Based on the web extension starter kit: [/abhijithvijayan/web-extension-starter](https://github.com/... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: fix broken link in README
1. fixed broken link
2. checked all other links - other links working fine
signed-off-by: Pavan Joshi <pavanj914@gmail.com> |
244,495 | 21.02.2022 09:06:49 | -3,600 | c52aca20fae906629403819d38e515ea23986928 | refactor: replace patch by extending jsdom | [
{
"change_type": "MODIFY",
"old_path": "jest.config.ts",
"new_path": "jest.config.ts",
"diff": "@@ -8,6 +8,6 @@ module.exports = {\n\"jest-transform-stub\",\n},\nsetupFiles: [\"jest-webextension-mock\"],\n- testEnvironment: \"jsdom\",\n+ testEnvironment: \"./jest.custom-test-environment.ts\",\nsetup... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: replace patch by extending jsdom |
244,495 | 21.02.2022 12:22:21 | -3,600 | b20467e3cd323e3b1802af01ede6f21daa1d43af | fix: invoices breaking webpack | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dexie\": \"^3.2.0\",\n\"elliptic\": \"^6.5.4\",\n\"html5-qrcode\": \"^2.1.6\",\n- \"invoices\": \"^2.0.4\",\n+ \"invoices\": \"2.0.3\",\n\"lodash\": \"^4.17.21\",\n\"memoizee\": \"^0.4.15\",\n\"postcss-cli\... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: invoices breaking webpack |
244,495 | 21.02.2022 13:56:51 | -3,600 | 828fbe4bb5fb586ad80c871d385df40d96e8e0f3 | refactor: screens to typescript | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -7,7 +7,7 @@ import type { AccountInfo } from \"../../types\";\ninterface AuthContextType {\naccount: { id: string } | AccountInfo | null;\nloading: boolean;\n- unlock... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: screens to typescript |
244,495 | 09.02.2022 14:31:36 | -3,600 | 4a8d6336acdbdd2a0848426d404cf79a71f7404b | feat: delete accounts functionality | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -2,6 +2,7 @@ import { useState, useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { WalletIcon } from \"@bitcoin... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: delete accounts functionality |
244,495 | 22.02.2022 19:03:02 | -3,600 | 769ec22a42b8949f0d5ababa31e3e7736893895b | feat: improve accounts ux | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts.tsx",
"new_path": "src/app/screens/Accounts.tsx",
"diff": "import { useState, useEffect } from \"react\";\n-import { WalletIcon } from \"@bitcoin-design/bitcoin-icons-react/outline\";\n+import { useNavigate } from \"react-router-dom\";... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improve accounts ux |
244,498 | 29.01.2022 14:30:53 | -28,800 | 85bdaa2a66d94e942b61f85bfff3fe225dee8bc0 | chore: add nvm and nodeenv support
update node version minimum to 14 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -20,8 +20,8 @@ jobs:\n- uses: actions/checkout@v2\n- uses: actions/setup-node@v2\nwith:\n- node-version: '14'\n- cache: 'yarn'\n+ node-version: \"14\"\n+ cache: \"yarn\"\n- ru... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add nvm and nodeenv support
update node version minimum to 14 |
244,473 | 23.02.2022 16:54:53 | 25,200 | 0fd092c75843a43bcd844975c4c2978bb769ee77 | Simplifying variable checks on getPayerData | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -86,17 +86,15 @@ function LNURLPay(props: Props) {\nconst getPayerData = (details: LNURLPayServiceResponse) => {\nif (\n- userName &&\n- userEmail &&\n- userName.length &&\n... | TypeScript | MIT License | getalby/lightning-browser-extension | Simplifying variable checks on getPayerData |
244,486 | 24.02.2022 19:41:33 | -19,080 | a2c3ab9159f1d2bcca7c42a05c1c1a5c8e49ce2c | feat: use templates while creating features and issues
feat(github_issue_templates): add issue templates and security policy | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/ISSUE_TEMPLATE/config.yml",
"diff": "+blank_issues_enabled: true\n+contact_links:\n+ - name: Have any issues to discuss regarding Alby?\n+ url: https://bitcoindesign.slack.com/archives/C02591ADXM2\n+ about: Join us on Slack and meet memb... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use templates while creating features and issues (#611)
feat(github_issue_templates): add issue templates and security policy
signed-off-by: Pavan Joshi <pavanj914@gmail.com>
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,486 | 28.02.2022 09:48:25 | -19,080 | 22c0741228e0b2cf3aed5cb58874afbff987a61a | feat(template): add pull request template | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/pull_request_template.md",
"diff": "+#### Link this PR to an issue\n+Fixes #ISSUE-NUMBER (eg. Fixes #147)\n+\n+#### Type of change\n+\n+- [ ] Bug fix (non-breaking change which fixes an issue)\n+- [ ] New feature (non-breaking change whi... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(template): add pull request template
signed-off-by: pavan joshi <pavanj914@gmail.com> |
244,495 | 28.02.2022 10:57:44 | -3,600 | 9ff9668655f88e5cb962c82b9e62d36e72a266e8 | refactor: accessible inputs | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/MakeInvoice.tsx",
"new_path": "src/app/screens/MakeInvoice.tsx",
"diff": "import React, { useState } from \"react\";\nimport Button from \"../components/Button\";\n-import Input from \"../components/Form/Input\";\n-import PaymentSummary from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: accessible inputs |
244,486 | 21.02.2022 11:23:55 | -19,080 | f34920258ed944365a1c9a1d8ae40ab0c2ae8923 | feat(commitlint): add commitlint linter to follow conventional commit specifications
add commitlint linter
setup precommit hooks using husky
update readme | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".husky/commit-msg",
"diff": "+#!/bin/sh\n+. \"$(dirname \"$0\")/_/husky.sh\"\n+\n+yarn commitlint --edit\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "commitlint.config.js",
"diff": "+module.exports = {\n+ exte... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(commitlint): add commitlint linter to follow conventional commit specifications
add commitlint linter
setup precommit hooks using husky
update readme
signed-off-by: Pavan Joshi <pavanj914@gmail.com> |
244,486 | 02.03.2022 16:20:21 | -19,080 | e97c54f8978094f9caf5450cbbfba5ac007eb3cb | docs: update readme
add installation section
add link for conventional commits specification without version | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -31,20 +31,27 @@ We have a channel on the [bitcoin.design](https://bitcoin.design/) Slack communi\nWe also do a weekly call on Monday at 14:00 UTC - ([15:00 CET/CAT - 10:00 EDT](https://www.worldtimebuddy.com/?q... | TypeScript | MIT License | getalby/lightning-browser-extension | docs: update readme
add installation section
add link for conventional commits specification without version
signed-off-by: pavan joshi <pavanj914@gmail.com> |
244,495 | 23.02.2022 15:47:13 | -3,600 | b5afe32886cb7471dc63939a62d74134097c92a0 | refactor: accounts context | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "-import { useState, useEffect } from \"react\";\n+import { useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { Wall... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: accounts context |
244,498 | 25.02.2022 19:34:27 | -28,800 | 0d919f540b99b08737554785c81ac5dcf0292b1c | fix(accountAdd): use uuid ad account-id
switch add.js to TS
add types | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts.tsx",
"new_path": "src/app/screens/Accounts.tsx",
"diff": "-import { useState, useEffect } from \"react\";\n-import { useNavigate } from \"react-router-dom\";\nimport {\nEllipsisIcon,\nPlusIcon,\nWalletIcon,\n} from \"@bitcoin-design/b... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(accountAdd): use uuid ad account-id #635
- switch add.js to TS
- add types |
244,461 | 04.03.2022 18:52:09 | -3,600 | 08b8541f0feae38b93bfd6a638b120c2b1f629e9 | fix(accountAdd): typescript for account add action
This uses a new type for the message.
We probably have to refactor the `config` property of the account. This is currently either the encrypted string or the actual account config object. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/add.ts",
"new_path": "src/extension/background-script/actions/accounts/add.ts",
"diff": "import type { Runtime } from \"webextension-polyfill\";\nimport { encryptData } from \"../../../../common/lib/crypto\";\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(accountAdd): typescript for account add action
This uses a new type for the message.
We probably have to refactor the `config` property of the account. This is currently either the encrypted string or the actual account config object. |
244,461 | 05.03.2022 14:23:13 | -3,600 | 45ca97a3e80dad98ae27f0fba06b45fc14509086 | chore: cleanup unused imports
those resulted from a merge conflict | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts.tsx",
"new_path": "src/app/screens/Accounts.tsx",
"diff": "@@ -3,11 +3,9 @@ import {\nPlusIcon,\nWalletIcon,\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\n-import { useEffect, useState } from \"react\";\nimport { useNavigate... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: cleanup unused imports
those resulted from a merge conflict |
244,461 | 05.03.2022 14:46:25 | -3,600 | 527e77133719a8448852e332ed59e04e96d7a4a0 | chore: always require native messaging permission
On chrome based browsers we can not request permissions on they fly.
Requesting the native messaging permission requires a restart
This would kick the user out of the onboarding process.
To work around this we now always require the native messaging permission. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.tsx",
"diff": "import { SendIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { useRef, useState } from \"react\";\nimport { useNavigate } fr... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: always require native messaging permission
On chrome based browsers we can not request permissions on they fly.
Requesting the native messaging permission requires a restart
This would kick the user out of the onboarding process.
To work around this we now always require the native messaging permission. |
244,461 | 05.03.2022 17:41:34 | -3,600 | 5b0fce6ff1057c083e89daf66640602d5ea33032 | feat: add companion download link for nodes behind Tor
For now we simple show a note to install the companion app when the user
enters an .onion address. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/CompanionDownloadInfo.tsx",
"diff": "+import { ReceiveIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\n+\n+function CompanionDownloadInfo() {\n+ function getOS() {\n+ if (navigator.appVersion.indexOf(\"Win\") != -1... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add companion download link for nodes behind Tor
For now we simple show a note to install the companion app when the user
enters an .onion address. |
244,461 | 06.03.2022 15:50:00 | -3,600 | 8121b8c1376f959e053a43f92ff7f4f3b79ca06b | chore: use UUID npm package
the native method is not yet widely adopted and for example does not yet
work on Safari | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"react-router-dom\": \"^6.2.1\",\n\"sha.js\": \"^2.4.11\",\n\"stream\": \"^0.0.2\",\n+ \"uuid\": \"^8.3.2\",\n\"webextension-polyfill\": \"^0.8.0\",\n\"webpack-dev-server\": \"^4.7.4\",\n\"webpack-sources\":... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: use UUID npm package
the native method is not yet widely adopted and for example does not yet
work on Safari |
244,501 | 06.03.2022 20:33:53 | -10,800 | 0fb59a234bceff73ebe8c0b47bd5a4d24b2480a9 | chore: Micro-improving the UX | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -232,16 +232,6 @@ function Receive() {\n}\n/>\n</div>\n- <a\n- className=\"underline text-sm text-gray-500 dark:text-gray-400\"\n- href=\"#\"\n- onClick={(e) => {\n- e.prevent... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: Micro-improving the UX (#657) |
244,498 | 01.03.2022 17:14:59 | -28,800 | 72484671eea05e97a4e29726232a46a5720d27c8 | feat(accounts): add basic rename action | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts.tsx",
"new_path": "src/app/screens/Accounts.tsx",
"diff": "import {\nEllipsisIcon,\nPlusIcon,\n- WalletIcon,\n+ WalletIcon\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\n+import { CrossIcon } from \"@bitcoin-design/bitcoin-ic... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(accounts): add basic rename action #647 |
244,498 | 06.03.2022 15:59:01 | -28,800 | 2292c1103c99518082818f328c94b6612d3957e6 | feat(accounts): cleanup rename action and add types | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts.tsx",
"new_path": "src/app/screens/Accounts.tsx",
"diff": "@@ -34,10 +34,7 @@ function AccountsScreen() {\nawait utils.call(\"editAccount\", {\nname: newAccountName,\nid: accountId,\n- // id: parseInt(allowance.id),\n- // totalBudget: ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(accounts): cleanup rename action and add types #647 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.