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,498 | 06.03.2022 16:41:38 | -28,800 | 27e073c33300bec9c43a1cbdd0d68d6aa8f737f7 | feat(accounts): optimize UX | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -87,6 +87,7 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\n<TextField\nid=\"budget\"\nlabel=\"Budget\"\n+ autoFocus\nplaceh... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(accounts): optimize UX #647 |
244,498 | 06.03.2022 17:00:25 | -28,800 | 59c0496ba934aa91a56799f1142a093f0d6b64ce | test(accounts): very basic render | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/screens/Accounts/index.test.tsx",
"diff": "+import { render, screen } from \"@testing-library/react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import Accounts from \"./index\";\n+import { AccountsProvider } from \"../../co... | TypeScript | MIT License | getalby/lightning-browser-extension | test(accounts): very basic render #647 |
244,495 | 18.01.2022 12:45:32 | -3,600 | 051b62dfda7ebff8c8acedd05933c52d54e7598b | feat: add lnurl-withdraw support | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -18,7 +18,7 @@ The extension can connect to different node implementations and supports custodi\n- [x] [LNURL-pay](https://xn--57h.bigsun.xyz/lnurl-pay-flow.txt) support\n- [x] [LNURL-auth](https://xn--57h.bigsu... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add lnurl-withdraw support |
244,495 | 19.01.2022 10:20:20 | -3,600 | 5d6146b504bccd227d8a9b7724dcba30783c15bd | prefill amount with max withdrawable | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLWithdraw.tsx",
"new_path": "src/app/screens/LNURLWithdraw.tsx",
"diff": "@@ -22,7 +22,7 @@ function LNURLWithdraw(props: Props) {\nconst [origin] = useState(props.origin || getOriginData());\nconst { minWithdrawable, maxWithdrawable } = pr... | TypeScript | MIT License | getalby/lightning-browser-extension | prefill amount with max withdrawable |
244,495 | 23.01.2022 19:46:45 | -3,600 | 1c083a931977df6e07cd86f7c0372e378c810021 | refactor: convert msats to sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLWithdraw.tsx",
"new_path": "src/app/screens/LNURLWithdraw.tsx",
"diff": "@@ -31,7 +31,7 @@ function LNURLWithdraw(props: Props) {\ntry {\nsetLoadingConfirm(true);\nconst invoice = await api.makeInvoice({\n- amount: valueMSat || 0,\n+ amoun... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: convert msats to sats |
244,495 | 15.02.2022 09:09:31 | -3,600 | aff9d4f6665758cb63d3cf454c947d6b6aa100dd | handle inputs as sats and add error handling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLWithdraw.tsx",
"new_path": "src/app/screens/LNURLWithdraw.tsx",
"diff": "import { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\n-import { LNURLWithdrawServiceResponse } from \"../../types\";\n+import type { LNURLWit... | TypeScript | MIT License | getalby/lightning-browser-extension | handle inputs as sats and add error handling |
244,495 | 15.02.2022 12:14:32 | -3,600 | 9bbbe41a1786f065444f4694ab9f5de80d386af3 | fix eclair ts errors | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/eclair.ts",
"new_path": "src/extension/background-script/connectors/eclair.ts",
"diff": "@@ -132,7 +132,7 @@ class Eclair implements Connector {\nasync makeInvoice(args: MakeInvoiceArgs): Promise<MakeInvoiceResponse> ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix eclair ts errors |
244,461 | 12.03.2022 18:24:01 | -3,600 | 60742332f64ae90a026a94c60e3d87c3029d43aa | chore: text formatting | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/CompanionDownloadInfo.tsx",
"new_path": "src/app/components/CompanionDownloadInfo.tsx",
"diff": "@@ -13,7 +13,7 @@ function CompanionDownloadInfo() {\n<div className=\"mt-6\">\nYou are trying to connect to a node behind Tor. Because browsers... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: text formatting |
244,461 | 12.03.2022 18:35:32 | -3,600 | da11bfe6abe155265ce2c3272ce6af76cc72c9e0 | feat(connectUmbrel): add support for lndconnect URLs
This loads the node URL and macaroon from a lndconnect URL | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectUmbrel/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectUmbrel/index.tsx",
"diff": "-import { SendIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\n-import { useRef, useState } from \"react\";\n+import { useStat... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(connectUmbrel): add support for lndconnect URLs
This loads the node URL and macaroon from a lndconnect URL |
244,461 | 12.03.2022 18:41:57 | -3,600 | e880334311436f8ace4adddd5f8397c1807afeb8 | feat(test connection): better error handling after an account was added
This shows an error warning after 45 seconds.
If connecting takes too long it means something is stuck or does not work.
With this change the user can go back and try again. This will also
delete the already added problematic account. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/TestConnection/index.tsx",
"new_path": "src/app/screens/Options/TestConnection/index.tsx",
"diff": "@@ -28,6 +28,12 @@ export default function TestConnection() {\nasync function loadAccountInfo() {\nsetLoading(true);\n+ // show an error... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(test connection): better error handling after an account was added
This shows an error warning after 45 seconds.
If connecting takes too long it means something is stuck or does not work.
With this change the user can go back and try again. This will also
delete the already added problematic account. |
244,461 | 12.03.2022 18:44:56 | -3,600 | cff4333443f9944c09cb8634f03c529548895f2b | fix(delete account): set new currentAccountId when deleting an account
So far it seems we just deleted the account but did not set a new currentAccountId
There is similar code in the accounts screen (which we maybe can remove now?) | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/delete.ts",
"new_path": "src/extension/background-script/actions/accounts/delete.ts",
"diff": "@@ -6,7 +6,7 @@ import state from \"../../state\";\nconst deleteAccount = async (message: Message) => {\nconst accou... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(delete account): set new currentAccountId when deleting an account
So far it seems we just deleted the account but did not set a new currentAccountId
There is similar code in the accounts screen (which we maybe can remove now?) |
244,461 | 12.03.2022 18:45:58 | -3,600 | cc2e551537e57947c863099c97cc8d284664e085 | fix(api): catch promise rejections in swrGetAccountInfo | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/api.ts",
"new_path": "src/common/lib/api.ts",
"diff": "@@ -40,14 +40,15 @@ export const swrGetAccountInfo = async (\n): Promise<AccountInfo> => {\nconst accountsCache = await getAccountsCache();\n- return new Promise((resolve) => {\n+ return new... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(api): catch promise rejections in swrGetAccountInfo |
244,461 | 12.03.2022 18:46:35 | -3,600 | 84c83e6c6f41d602ba1cf16f9f6ec099ead00e50 | chore(test connection): use delete account action
The remove action does pretty much the same and probably should be deleted | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/TestConnection/index.tsx",
"new_path": "src/app/screens/Options/TestConnection/index.tsx",
"diff": "@@ -21,7 +21,7 @@ export default function TestConnection() {\nconst navigate = useNavigate();\nfunction handleEdit(event: React.MouseEve... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(test connection): use delete account action
The remove action does pretty much the same and probably should be deleted |
244,461 | 12.03.2022 18:47:22 | -3,600 | 8a98bc899ebf3521bc0ec1c1a55e509a780c2bb7 | feat(utils): add utils function to decode URL save base64 | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -53,6 +53,9 @@ const utils = {\n}\nreturn hex.join(\"\");\n},\n+ urlSafeBase64ToHex: (str: string) => {\n+ return utils.base64ToHex(str.replace(/_/g, \"/\").replace(/-/g, \"+\"));\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(utils): add utils function to decode URL save base64 |
244,486 | 14.03.2022 09:34:20 | -19,080 | 3e27263fdc3d8e9762014b1ffb26daa220fdecd3 | feat: capitalize QR code data | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -90,7 +90,7 @@ function Receive() {\nreturn (\n<div>\n<div className=\"relative p-8 bg-white rounded-lg shadow-sm ring-1 ring-black ring-opacity-5 flex justify-center items-ce... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: capitalize QR code data
signed-off-by: pavan joshi <pavanj914@gmail.com> |
244,461 | 14.03.2022 12:59:21 | -3,600 | 6cc8e0800a07265675beaae6a3caee0231f9963e | feat(connector): add myNode as connector
Giving the user the instructions how to connect to a myNode | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "@@ -5,6 +5,7 @@ import ConnectEclair from \"../screens/Onboard/ConnectEclair\";\nimport ConnectCitadel from \"../screens/Onboard/ConnectCitadel\";\nimport NewWallet... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(connector): add myNode as connector
Giving the user the instructions how to connect to a myNode |
244,469 | 14.03.2022 18:25:56 | 25,200 | c6105d527f1e61ef08e9bbe98ab210ed67173c21 | fix: added pattern and title to TextField and Input for form validation | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/Input/index.tsx",
"new_path": "src/app/components/Form/Input/index.tsx",
"diff": "@@ -4,6 +4,8 @@ export default function Input({\nplaceholder,\ntype = \"text\",\nrequired = false,\n+ pattern,\n+ title,\nonChange,\nonFocus,\nonBlur,\n@@... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: added pattern and title to TextField and Input for form validation |
244,498 | 13.03.2022 21:37:52 | -28,800 | ce6493b54c032bed8372e47fa69ca56ef69c3a9d | refactor(accounts): rename-modal handling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts/index.tsx",
"new_path": "src/app/screens/Accounts/index.tsx",
"diff": "import {\nEllipsisIcon,\nPlusIcon,\n- WalletIcon\n+ WalletIcon,\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { CrossIcon } from \"@bitcoin-design... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(accounts): rename-modal handling #647 |
244,498 | 18.03.2022 11:08:34 | -28,800 | 4372b26ee903bf3aacf532371f050a2668105851 | refactor(accounts): use consistent function-params
adjust html to be more semantic
move edit to top of menu instead of delete | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts/index.tsx",
"new_path": "src/app/screens/Accounts/index.tsx",
"diff": "@@ -10,6 +10,7 @@ import Modal from \"react-modal\";\nimport { useNavigate } from \"react-router-dom\";\nimport api from \"../../../common/lib/api\";\nimport utils ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor(accounts): use consistent function-params #647
- adjust html to be more semantic
- move edit to top of menu instead of delete |
244,461 | 18.03.2022 14:30:56 | -3,600 | f6a01c3885ffc50682b0028cbb821e6e48ce9cf0 | feat: add native connector for lnbits
This allows LnBits connections through Tor | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/connectors/nativelnbits.ts",
"diff": "+import { Method } from \"axios\";\n+\n+import LnBits from \"./lnbits\";\n+import Native from \"./Native\";\n+\n+const NativeConnector = Native(LnBits);\n+\n+type PostMessage ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add native connector for lnbits
This allows LnBits connections through Tor |
244,495 | 18.03.2022 18:14:10 | -3,600 | 3f4cb3c007e465f3f1f773972892fd2e1fb881d4 | fix: react modal should get focus after opening | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Accounts/index.tsx",
"new_path": "src/app/screens/Accounts/index.tsx",
"diff": "@@ -115,7 +115,12 @@ function AccountsScreen() {\nonClick={() => {\nsetCurrentAccountId(accountId);\nsetNewAccountName(account.name);\n+ // HACK!\n+ // @headless-ui... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: react modal should get focus after opening |
244,495 | 18.03.2022 18:25:50 | -3,600 | 6b93ee92266074012fa8e2e892981354f1fe23dc | fix: edit allowance modal doesn't receive focus | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -24,7 +24,12 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nfunction openModal() {\nsetBudget(allowance.totalBudget.toStrin... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: edit allowance modal doesn't receive focus |
244,486 | 19.03.2022 18:21:03 | -19,080 | eb688964d48c374beee8ebf3338230927af46c66 | refactor: use normal list instead of checked list in pull request template | [
{
"change_type": "MODIFY",
"old_path": ".github/pull_request_template.md",
"new_path": ".github/pull_request_template.md",
"diff": "#### Link this PR to an issue\n-Fixes #ISSUE-NUMBER (eg. Fixes #147)\n+Fixes #ISSUE-NUMBER\n-#### Type of change\n+#### Type of change (Remove other not matching type)\... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: use normal list instead of checked list in pull request template
signed-off-by: pavan joshi <pavanj914@gmail.com> |
244,498 | 20.03.2022 13:03:11 | -28,800 | e184d4398250e20b776927adc8d3de9ee939f1f9 | chore: switch outdir to avoid allowjs overwrite warning | [
{
"change_type": "MODIFY",
"old_path": "tsconfig.json",
"new_path": "tsconfig.json",
"diff": "// \"declarationMap\": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */\n// \"sourceMap\": true, /* Generates corresponding '.map' file. */\n// \"outFile\": \"./\", /* Concatenate and ... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: switch outdir to avoid allowjs overwrite warning |
244,495 | 21.03.2022 09:29:16 | -3,600 | 4861875b8f4def8f7a24804ff1e7846b215c0169 | refactor: add issue link to comment | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -24,9 +24,12 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\nfunction openModal() {\nsetBudget(allowance.totalBudget.toStrin... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: add issue link to comment |
244,495 | 14.03.2022 17:29:39 | -3,600 | 765b41565b68c0dfdd197d3d1da81e5592fd1b5e | refactor: throw instead of succeeding with an error | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/connector.interface.ts",
"new_path": "src/extension/background-script/connectors/connector.interface.ts",
"diff": "@@ -37,15 +37,13 @@ export type GetBalanceResponse =\n}\n| { error: string };\n-export type SendPaymen... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: throw instead of succeeding with an error |
244,495 | 21.03.2022 14:54:58 | -3,600 | c9cef17406a2e144de9f01a1c44ddc51d9fdbeeb | refactor: add error response type | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/api.ts",
"new_path": "src/common/lib/api.ts",
"diff": "@@ -76,7 +76,13 @@ export const getPayments = (options: { limit: number }) =>\nexport const getSettings = () => utils.call<SettingsStorage>(\"getSettings\");\nexport const getStatus = () => ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: add error response type |
244,495 | 21.03.2022 16:47:38 | -3,600 | 7ba4577293099fe389cc6c50c4c0140f54298798 | refactor: get rid of union type | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -76,7 +76,7 @@ const utils = {\npublishPaymentNotification: (\nmessage: Message,\npaymentRequestDetails: PaymentRequestDetails,\n- response: SendPaymentResponse\n+ response: SendPayme... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: get rid of union type |
244,461 | 22.03.2022 10:04:31 | -3,600 | 0a8f9f3ea2ef8ea1698b557e0a89d1b3b40c8689 | feat(native lnbits): use native connection for onion addresses | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"diff": "@@ -20,6 +20,14 @@ export default function ConnectLnbits() {\n});\n}\n+ function getConnectorType() {\n+ if (formData.url.match(/\\.onion/... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(native lnbits): use native connection for onion addresses |
244,461 | 22.03.2022 10:04:57 | -3,600 | 5f8bf4d2eb4cb24bf037bb7ec48763d8a48b8871 | feat(native lnbits): export native lnbits connector | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/index.ts",
"new_path": "src/extension/background-script/connectors/index.ts",
"diff": "@@ -3,6 +3,7 @@ import NativeLnd from \"./nativelnd\";\nimport LndHub from \"./lndhub\";\nimport NativeLndHub from \"./nativelndhu... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(native lnbits): export native lnbits connector |
244,495 | 22.03.2022 09:20:23 | -3,600 | 454aacf6436c914f71854c2dfef2e9a23816cad8 | feat: show active account in prompts and allow to switch | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -14,7 +14,11 @@ import { useAccounts } from \"../../context/AccountsContext\";\nimport Badge from \"../Badge\";\nimport Menu from \"../Menu\";\n-func... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show active account in prompts and allow to switch |
244,519 | 22.03.2022 11:17:29 | -3,600 | 175d470206594d7f4ff53d370b9b2e1ff918ff1c | fix: lndhub keysend bugs | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.ts",
"new_path": "src/extension/background-script/connectors/lndhub.ts",
"diff": "@@ -136,11 +136,6 @@ export default class LndHub implements Connector {\n};\n}\nasync keysend(args: KeysendArgs): Promise<SendPa... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lndhub keysend bugs |
244,495 | 22.03.2022 11:49:37 | -3,600 | b889c51e7272e853a0109f34a5be18446936c73b | fix: prevent switching accounts while in progress | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "-import { useEffect } from \"react\";\n+import { useState, useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { Wall... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: prevent switching accounts while in progress |
244,461 | 22.03.2022 12:09:51 | -3,600 | 6c80310929a660bbb97d55c05a4337f5c2576c01 | chore: text - fix c&p error | [
{
"change_type": "MODIFY",
"old_path": "src/extension/ln/webln/index.ts",
"new_path": "src/extension/ln/webln/index.ts",
"diff": "@@ -68,7 +68,7 @@ export default class WebLNProvider {\nkeysend(args: KeysendArgs) {\nif (!this.enabled) {\n- throw new Error(\"Provider must be enabled before calling se... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: text - fix c&p error |
244,519 | 23.03.2022 09:24:19 | -3,600 | 0e89a176a9c4290e1f4fcca425fdefbb90faeaea | fix: keysend API
These fixes should be backwards compatible. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/keysend.ts",
"new_path": "src/extension/background-script/actions/ln/keysend.ts",
"diff": "@@ -7,7 +7,10 @@ import utils from \"../../../../common/lib/utils\";\nexport default async function keysend(message: Message) ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: keysend API
These fixes should be backwards compatible. |
244,495 | 23.03.2022 10:56:19 | -3,600 | 7757a2032de77afedfe2855079a7623fc0dd2ecf | feat: confirmorcancel component | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/layout/ConfirmOrCancel/index.tsx",
"diff": "+import { MouseEventHandler } from \"react\";\n+\n+import Button from \"../../Button\";\n+\n+type Props = {\n+ disabled?: boolean;\n+ loading?: boolean;\n+ label?: string;\n+ onConfi... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: confirmorcancel component |
244,495 | 23.03.2022 12:24:55 | -3,600 | fb668611fa925958ff9b7f12748d74e9659dfdf8 | feat: success message component | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/BudgetControl/index.tsx",
"diff": "+import { ChangeEventHandler } from \"react\";\n+import { Transition } from \"@headlessui/react\";\n+\n+import Checkbox from \"../form/Checkbox\";\n+import TextField from \"../form/TextField\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: success message component |
244,495 | 23.03.2022 12:27:23 | -3,600 | 8b59c62dbd72bc59216b841c86e7aec4c533b1ff | refactor: make use of success message comp | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmSignMessage/index.tsx",
"new_path": "src/app/screens/ConfirmSignMessage/index.tsx",
"diff": "@@ -7,6 +7,7 @@ import msg from \"../../../common/lib/msg\";\nimport utils from \"../../../common/lib/utils\";\nimport getOriginData from \"../.... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: make use of success message comp |
244,495 | 23.03.2022 14:30:27 | -3,600 | a8505d1da8f6c9a16842f0f6b1ac672d12d5a8ef | refactor: move setting into components | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/Setting/index.tsx",
"diff": "+type Props = {\n+ title: string;\n+ subtitle: string;\n+ right: React.ReactNode;\n+};\n+\n+function Setting({ title, subtitle, right }: Props) {\n+ return (\n+ <div className=\"py-4 flex justify-b... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move setting into components |
244,495 | 22.03.2022 18:15:55 | -3,600 | 5eb3931e002d65d1b6c063e08339b4bb1f968b8c | fix: default screen shortly rendered before the allowance view | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.tsx",
"new_path": "src/app/screens/Home/index.tsx",
"diff": "@@ -23,21 +23,29 @@ dayjs.extend(relativeTime);\nfunction Home() {\nconst [allowance, setAllowance] = useState<Allowance | null>(null);\nconst [payments, setPayments] = use... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: default screen shortly rendered before the allowance view |
244,495 | 23.03.2022 19:27:40 | -3,600 | 6656d9894b683fd54892aadbd5d41880b7b097f6 | refactor: rename advanced | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -15,10 +15,10 @@ import Badge from \"../Badge\";\nimport Menu from \"../Menu\";\ntype Props = {\n- advanced?: boolean;\n+ showOptions?: boolean;\n};\... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: rename advanced |
244,498 | 24.03.2022 12:01:24 | -28,800 | 50d115bc5dda52aa7476c1a8eb273a1e41a0e17c | chore: add vscode extension recommendations | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -132,7 +132,8 @@ dist/\n# Editor directories and files\n.idea\n.nova\n-.vscode\n+.vscode/**/*\n+!.vscode/extensions.json\n*.suo\n*.ntvs*\n*.njsproj\n"
},
{
"change_type": "ADD",
"old_path": null,
... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: add vscode extension recommendations |
244,471 | 24.03.2022 15:11:24 | -19,080 | 1293c463f07940f7553bc852db6d2d1124b1800d | style: highlight delete button in menu | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Menu/MenuItemButton.tsx",
"new_path": "src/app/components/Menu/MenuItemButton.tsx",
"diff": "@@ -4,19 +4,26 @@ import { classNames } from \"../../utils/index\";\ntype Props = {\nchildren: React.ReactNode;\n+ danger?: boolean;\ndisabled?: boo... | TypeScript | MIT License | getalby/lightning-browser-extension | style: highlight delete button in menu |
244,471 | 24.03.2022 15:18:39 | -19,080 | 01d8322e5c16aacd86692d7eb67fbfd1cd0587ab | style: use danger prop for delete | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AllowanceMenu/index.tsx",
"new_path": "src/app/components/AllowanceMenu/index.tsx",
"diff": "@@ -57,6 +57,7 @@ function AllowanceMenu({ allowance, onEdit, onDelete }: Props) {\n<Menu.List position=\"right\">\n<Menu.ItemButton onClick={openMo... | TypeScript | MIT License | getalby/lightning-browser-extension | style: use danger prop for delete |
244,495 | 24.03.2022 12:38:39 | -3,600 | 631c004682007039b23c5c3f96413ff29a97a50e | refactor: setting component | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Setting/index.tsx",
"new_path": "src/app/components/Setting/index.tsx",
"diff": "type Props = {\ntitle: string;\nsubtitle: string;\n- right: React.ReactNode;\n+ children: React.ReactNode;\n};\n-function Setting({ title, subtitle, right }: Pr... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: setting component |
244,461 | 25.03.2022 12:12:25 | -3,600 | aa6c11a7944c6b08126e288d295e73ee52db1d2d | feat: show account name in navbar
This now shows the same name in the Navbar as the account names in the dropdown.
This makes it less confusing to understand which account is selected. | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -5,7 +5,12 @@ import api from \"../../common/lib/api\";\nimport type { AccountInfo } from \"../../types\";\ninterface AuthContextType {\n- account: { id: string; alias... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show account name in navbar
This now shows the same name in the Navbar as the account names in the dropdown.
This makes it less confusing to understand which account is selected. |
244,461 | 25.03.2022 12:12:59 | -3,600 | 9d5123daaf48214b8e8084835840ca46b2e0f8b0 | chore: get currentAccountId as string as we do in other places | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/state.ts",
"new_path": "src/extension/background-script/state.ts",
"diff": "@@ -53,7 +53,7 @@ const state = createState<State>((set, get) => ({\ncurrentAccountId: null,\npassword: null,\ngetAccount: () => {\n- const currentAccou... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: get currentAccountId as string as we do in other places |
244,495 | 26.03.2022 18:22:38 | -3,600 | b3ab181e4938b5009668cd4972b3fbffbf92c414 | fix: multiple backgrounds and shadow | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Unlock/index.tsx",
"new_path": "src/app/screens/Unlock/index.tsx",
"diff": "@@ -42,7 +42,7 @@ function Unlock() {\n}\nreturn (\n- <div className=\"p-8 bg-white dark:bg-gray-800 shadow-lg\">\n+ <div className=\"p-8\">\n<div className=\"flex just... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: multiple backgrounds and shadow |
244,495 | 28.03.2022 17:23:37 | -7,200 | 7b1bfb6a7f3ec6979b215878afb88978bc25582c | refactor: return null instead of loading component | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/RequireAuth.tsx",
"new_path": "src/app/router/RequireAuth.tsx",
"diff": "import { Navigate, useLocation } from \"react-router-dom\";\nimport { useAuth } from \"../context/AuthContext\";\n-import Loading from \"../components/Loading\";\nfunction ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: return null instead of loading component |
244,495 | 28.03.2022 18:25:23 | -7,200 | 2a1a20228bde28c17d8347805b2a69eba35ed32c | feat: input focus animation | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/Input/index.tsx",
"new_path": "src/app/components/form/Input/index.tsx",
"diff": "@@ -21,7 +21,7 @@ export default function Input({\ntype={type}\nname={name}\nid={id}\n- className=\"shadow-sm focus:ring-orange-bitcoin focus:border-orang... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: input focus animation |
244,495 | 29.03.2022 09:42:38 | -7,200 | b56df16ff334cc35648891274c566c9b64c1345a | refactor: move connectors to their own folder | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.tsx",
"new_path": "src/app/router/Options/Options.tsx",
"diff": "@@ -17,7 +17,7 @@ import Receive from \"../../screens/Receive\";\nimport LNURLPay from \"../../screens/LNURLPay\";\nimport Settings from \"../../screens/Settings\";... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move connectors to their own folder |
244,495 | 29.03.2022 09:51:04 | -7,200 | 3c4a8dd37faee709c37a64c053663a5bd0021030 | refactor: re-use connector routes to automate choose connector | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "+import lnbits from \"/static/assets/icons/lnbits.png\";\n+import lndhub from \"/static/assets/icons/lndhub.png\";\n+import lnd from \"/static/assets/icons/lnd.png\... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: re-use connector routes to automate choose connector |
244,495 | 29.03.2022 10:10:14 | -7,200 | 1bd3b91b9c4d7d6f6195ab704f59b00ddbba23db | refactor: move newwallet to connectors | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/connectorRoutes.tsx",
"new_path": "src/app/router/connectorRoutes.tsx",
"diff": "@@ -16,7 +16,7 @@ import ConnectLnbits from \"../screens/connectors/ConnectLnbits\";\nimport ConnectGaloy, { galoyUrls } from \"../screens/connectors/ConnectGaloy\"... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move newwallet to connectors |
244,495 | 29.03.2022 12:13:49 | -7,200 | 1a89a64edfff085c01dcba6f9ebfa3cebd25c786 | feat: created new connector form component | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/ConnectorForm/index.tsx",
"diff": "+import { FormEventHandler } from \"react\";\n+import { useNavigate } from \"react-router-dom\";\n+\n+import Button from \"../Button\";\n+\n+type Props = {\n+ title: string;\n+ description?: ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: created new connector form component |
244,461 | 29.03.2022 23:15:51 | -7,200 | a9cfd6f637e8886cabb016e18a3e9b582470f415 | feat: new wallet account creation with lightning address
this also uses the lightning address as account name for new Alby accounts | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/TextField.tsx",
"new_path": "src/app/components/form/TextField.tsx",
"diff": "@@ -15,6 +15,8 @@ const TextField = ({\nautoFocus = false,\nautoComplete = \"off\",\ndisabled,\n+ minLength,\n+ maxLength,\nmin,\nmax,\n}: React.InputHTMLAttr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: new wallet account creation with lightning address
this also uses the lightning address as account name for new Alby accounts |
244,495 | 30.03.2022 09:16:31 | -7,200 | d5aad99e58b3609043c87a3593db0dc57bc324bf | fix: match input border color | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -31,7 +31,7 @@ export default function Button({\nfullWidth ? \"px-0 py-2\" : \"px-7 py-2\",\nprimary\n? \"bg-orange-bitcoin text-white border border-transparen... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: match input border color |
244,519 | 30.03.2022 10:08:16 | -7,200 | fa8b962e2c40883c4fac9777d3621b44c67784e3 | feat: add lnurl legacy auth setting | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -15,6 +15,7 @@ function Settings() {\nconst [loading, setLoading] = useState(true);\nconst [settings, setSettings] = useState<SettingsStorage>({\nwebsiteEnhancements: false,... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add lnurl legacy auth setting |
244,519 | 30.03.2022 10:14:48 | -7,200 | 77d7c76fa7a8457a5a475d8acd67856abda7087d | fix: don't use api inside background script | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.ts",
"new_path": "src/extension/background-script/connectors/lndhub.ts",
"diff": "@@ -2,7 +2,6 @@ import axios, { AxiosRequestConfig, Method } from \"axios\";\nimport sha256 from \"crypto-js/sha256\";\nimport H... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: don't use api inside background script |
244,519 | 30.03.2022 10:24:05 | -7,200 | ebc5e1926e6a82121601e970eb252f7348e5cf42 | refactor: signMessage doesn't need to be async | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.ts",
"new_path": "src/extension/background-script/connectors/lndhub.ts",
"diff": "@@ -202,7 +202,7 @@ export default class LndHub implements Connector {\n};\n}\n- async signMessage(args: SignMessageArgs): Promi... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: signMessage doesn't need to be async |
244,519 | 30.03.2022 10:31:55 | -7,200 | 488943c3c9db926015b58e2d3ae7dcd64b37e157 | feat: lnbits and verifymessage | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.ts",
"new_path": "src/extension/background-script/connectors/lnbits.ts",
"diff": "import sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-hex\";\nimport { parsePaymentRequest } from \"invoices... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: lnbits and verifymessage |
244,519 | 30.03.2022 10:48:29 | -7,200 | 1d4970c259a4ba73d2623850aeea46bba266be77 | fix: use uint8array for legacy msg | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "keys",
"diff": "+old: 03dc2692459a78e9489ffd615938cd50ebe1356e7a8370e12afa12d8ccf5712cb0\n+new: 0318854bc20cda65538a5e61894be3e2aad6dc659377e650f3f8659362a9e820f4\n+old again:03dc2692459a78e9489ffd615938cd50ebe1356e7a8370e12afa12d8ccf5712cb0\n"
... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: use uint8array for legacy msg |
244,519 | 30.03.2022 10:50:55 | -7,200 | 9214699abedd46ea9280451128a3f3cd8dd6ee40 | fix: wrong import in lnbits | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.ts",
"new_path": "src/extension/background-script/connectors/lnbits.ts",
"diff": "import sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-hex\";\nimport { parsePaymentRequest } from \"invoices... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: wrong import in lnbits |
244,519 | 30.03.2022 13:49:01 | -7,200 | 7b0c819131be80330783f7d7eb9a51195507bc34 | fix: lnbits: new keyHex | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.ts",
"new_path": "src/extension/background-script/connectors/lnbits.ts",
"diff": "@@ -124,15 +124,15 @@ class LnBits implements Connector {\n}\nlet message: string | Uint8Array;\nmessage = sha256(args.message).... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lnbits: new keyHex |
244,461 | 30.03.2022 20:16:11 | -7,200 | 32ab797ca89670051bd0da3167d83dbfd324db30 | fix: list calls in content-scripts | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/index.js",
"new_path": "src/extension/content-script/index.js",
"diff": "@@ -3,7 +3,16 @@ import getOriginData from \"./originData\";\nimport shouldInject from \"./shouldInject\";\nimport injectScript from \"./injectScript\";\n-//i... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: list calls in content-scripts |
244,461 | 30.03.2022 22:08:10 | -7,200 | 650acd90803dde79a6e84d789224807bd58e780c | fix: update NavBar title in prompt
to have it in sync with other NavBar usages | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -159,7 +159,11 @@ const Layout = () => {\nreturn (\n<>\n<Navbar\n- title={auth.account?.alias || \"\"}\n+ title={\n+ typeof auth.account?.name === \"string\"\n+ ? `$... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: update NavBar title in prompt
to have it in sync with other NavBar usages |
244,461 | 30.03.2022 22:10:01 | -7,200 | 925b16ca84a77a81605f695f9439aeb7e87cd827 | chore: use message.type as default
we need to rename the `type` to `action`. But so far we use `type` in the content script.
So we should use this one for security reasons here as default. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -83,7 +83,7 @@ const routeCalls = (message, sender) => {\n}\nconst debug = state.getState().settings.debug;\n- const action = message.action || messa... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: use message.type as default
we need to rename the `type` to `action`. But so far we use `type` in the content script.
So we should use this one for security reasons here as default. |
244,461 | 30.03.2022 22:13:25 | -7,200 | f492a3eebb637cddd171166eff5b2e0ee5ccb8a0 | fix: do not pass any object to the background script from webln
Explicitly define what properties we want to pass to the background script.
Data coming from webln can not be trusted so we should not simply pass on everything. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/index.js",
"new_path": "src/extension/content-script/index.js",
"diff": "@@ -3,6 +3,8 @@ import getOriginData from \"./originData\";\nimport shouldInject from \"./shouldInject\";\nimport injectScript from \"./injectScript\";\n+// W... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: do not pass any object to the background script from webln
Explicitly define what properties we want to pass to the background script.
Data coming from webln can not be trusted so we should not simply pass on everything. |
244,472 | 29.03.2022 16:24:57 | -7,200 | 840481904ab9c7d487f5ee30115fba15cde7b19c | feat(notification): icon and payment fees | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -29,7 +29,7 @@ const utils = {\nnotify: (options: { title: string; message: string }) => {\nconst notification: browser.Notifications.CreateNotificationOptions = {\ntype: \"basic\",\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(notification): icon and payment fees |
244,495 | 31.03.2022 13:26:50 | -7,200 | 20629163fa0a08a14c367f95adc72ad9719bf774 | feat: input suffix | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/form/Input/index.tsx",
"new_path": "src/app/components/form/Input/index.tsx",
"diff": "+import { useRef } from \"react\";\n+\n+import { classNames } from \"../../../utils\";\n+\n+type Props = {\n+ suffix?: string;\n+};\n+\nexport default fun... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: input suffix |
244,461 | 31.03.2022 01:49:39 | -7,200 | 48b8b1dfd92140ca9dd4180f94d2a8fe432223a0 | fix: the LNURL payerdata and commentsAllowed is optional | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -98,13 +98,13 @@ function LNURLPay(props: Props) {\nif (\nuserName?.length &&\nuserEmail?.length &&\n- details.payerData.email &&\n- details.payerData.name\n+ details.payerD... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: the LNURL payerdata and commentsAllowed is optional |
244,461 | 31.03.2022 16:42:33 | -7,200 | ad399ca25f44118b04b62755ce4f510f877b2c26 | feat: nest webln calls under the webln/ namespace | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -63,7 +63,7 @@ class Prompt extends Component<\nelement={<Navigate to={`/${this.state.type}`} replace />}\n/>\n<Route\n- path=\"enable\"\n+ path=\"webln/enable\"\nel... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: nest webln calls under the webln/ namespace |
244,461 | 31.03.2022 16:49:43 | -7,200 | 34a178f92092d1e74f366de09cc31629767177a2 | chore: ignore the `action` in the message for now we still use type | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -83,7 +83,7 @@ const routeCalls = (message, sender) => {\n}\nconst debug = state.getState().settings.debug;\n- const action = message.type || message... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: ignore the `action` in the message for now we still use type |
244,461 | 01.04.2022 01:39:43 | -7,200 | 022637bc68e3cd6e8c8a306098355fe0201679b4 | fix: signMessage call | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/router.ts",
"new_path": "src/extension/background-script/router.ts",
"diff": "@@ -14,9 +14,9 @@ const routes = {\ngetInfo: ln.getInfo,\nsendPaymentOrPrompt: webln.sendPaymentOrPrompt,\nkeysendOrPrompt: webln.keysendOrPrompt,\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: signMessage call |
244,486 | 01.04.2022 22:20:46 | -19,080 | 36c1efdafe4fb81cb8f384a6c3991e47e0a4ec3c | refactor: some minor improvements | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "-import { Fragment, useEffect, useState } from \"react\";\n+import { useEffect, useState } from \"react\";\nimport { HashRouter as Router, useRoutes, useLocation } ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: some minor improvements
signed-off-by: pavan joshi <pavanj914@gmail.com> |
244,472 | 31.03.2022 13:41:34 | -7,200 | 6733c59bb0b8975dba5680bf26c46e1c4850be1c | feat(lnurl-pay): handle fetch invoice errors | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -124,14 +124,20 @@ function LNURLPay(props: Props) {\ncomment, // https://github.com/fiatjaf/lnurl-rfc/blob/luds/12.md\npayerdata, // https://github.com/fiatjaf/lnurl-rfc/bl... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(lnurl-pay): handle fetch invoice errors |
244,472 | 01.04.2022 16:32:10 | -7,200 | 8cc83c5ab21896c2729493411e228a33ad115185 | feat(lnurl-pay): pass error reason to user | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -125,20 +125,28 @@ function LNURLPay(props: Props) {\npayerdata, // https://github.com/fiatjaf/lnurl-rfc/blob/luds/18.md\n};\n- let paymentInfo,\n- paymentRequest = null;\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(lnurl-pay): pass error reason to user |
244,472 | 01.04.2022 20:44:37 | -7,200 | b859386d9636a8cee4df87cd5d059c3df98f37de | fix(lnurl-pay): handle errors | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -3,6 +3,7 @@ import axios from \"axios\";\nimport { useNavigate, useSearchParams } from \"react-router-dom\";\nimport {\n+ LNURLPaymentInfoError,\nLNURLPaymentInfo,\nLNURLPa... | TypeScript | MIT License | getalby/lightning-browser-extension | fix(lnurl-pay): handle errors |
244,509 | 01.04.2022 21:30:18 | 0 | f05e50f66f2aa1d48e024f98b25d24fddd8a7e2e | fix: update citadel sdk for core lightning support | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@babel/runtime\": \"^7.15.4\",\n\"@bitcoin-design/bitcoin-icons-react\": \"^0.1.9\",\n\"@headlessui/react\": \"^1.5.0\",\n- \"@runcitadel/sdk\": \"^0.3.3\",\n+ \"@runcitadel/sdk\": \"^0.3.8\",\n\"@tailwindc... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: update citadel sdk for core lightning support |
244,472 | 01.04.2022 14:38:07 | -7,200 | 6bae88d8c5a60b9abb77f721c423ef5efd00e2be | feat(tipping): github profile support | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "import api from \"../../../common/lib/api\";\n// import GitHubRepo from \"./GitHubRepo\";\n+import GitHubProfile from \"./GitHubProfile\";... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(tipping): github profile support |
244,472 | 02.04.2022 13:25:10 | -7,200 | 47599f08cdc3524e8ceb360573801e87a08037ff | feat(tipping): cleanup and feedback from review | [
{
"change_type": "DELETE",
"old_path": "src/extension/content-script/batteries/GitHubRepo.ts",
"new_path": null,
"diff": "-import axios from \"axios\";\n-\n-import getOriginData from \"../originData\";\n-import { Battery } from \"../../../types\";\n-\n-const urlMatcher = /^https:\\/\\/github.com\\/(... | TypeScript | MIT License | getalby/lightning-browser-extension | feat(tipping): cleanup and feedback from review |
244,461 | 03.04.2022 17:43:13 | -7,200 | b90dae41e0f3b3864baa8aac11155be67a8e089c | chore: reuse the sendPayment call in LNURL pay | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -146,7 +146,7 @@ function LNURLPay(props: Props) {\n// LN WALLET pays the invoice, no additional user confirmation is required at this point\nconst payment = await utils.cal... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: reuse the sendPayment call in LNURL pay |
244,461 | 03.04.2022 17:56:25 | -7,200 | e137c739331c59270de357b4a39bb3453b2b7340 | refactor: split up lnurl methods in separate files
this also makes sure we return a proper response for the webln.lnurl call | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/lnurl/auth.ts",
"diff": "+import axios from \"axios\";\n+\n+import sha256 from \"crypto-js/sha256\";\n+import hmacSHA256 from \"crypto-js/hmac-sha256\";\n+import Hex from \"crypto-js/enc-hex\";\n+\n+import... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: split up lnurl methods in separate files
this also makes sure we return a proper response for the webln.lnurl call |
244,495 | 05.04.2022 12:48:16 | -7,200 | 7da6a43b19a0d3c6e5397cc0aea764cd3d861735 | fix: accountmenu taking too much height in prompts | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"diff": "@@ -6,7 +6,7 @@ import AcountMenu from \".\";\nexport const Default = () => (\n<div className=\"relative bg-gray-100 w-40 fl... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: accountmenu taking too much height in prompts |
244,495 | 05.04.2022 12:58:18 | -7,200 | adfe1f4d35f4a096dfae03a6007af86148ebf893 | refactor: make use of substring | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -162,7 +162,10 @@ const Layout = () => {\n<AccountMenu\ntitle={\ntypeof auth.account?.name === \"string\"\n- ? `${auth.account?.name} - ${auth.account?.alias}`\n+ ? ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: make use of substring |
244,461 | 05.04.2022 11:43:51 | 14,400 | 5cd9e28ed6dbe19286cfe310e345f7a86d0d3214 | feat: add prompt for webln makeInvoice calls
So far we did not prompt the user to create invoices.
With this change we now always show a prompt and ask the user for confirmation.
In the future we should add some "allowance" like system for invoices, too. | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.tsx",
"new_path": "src/app/router/Prompt/Prompt.tsx",
"diff": "@@ -105,6 +105,8 @@ class Prompt extends Component<\npath=\"makeInvoice\"\nelement={\n<MakeInvoice\n+ amountDisabled={this.state.args.amountDisabled as boolean}\n+ memo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add prompt for webln makeInvoice calls
So far we did not prompt the user to create invoices.
With this change we now always show a prompt and ask the user for confirmation.
In the future we should add some "allowance" like system for invoices, too. |
244,461 | 07.04.2022 00:41:30 | 14,400 | 20676dc857047c6d6dd785f2963a4a3a3dda37ee | feat: return the payment after a lnurl call to webln | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -6,6 +6,7 @@ import {\nLNURLPaymentInfo,\nLNURLPaymentSuccessAction,\nLNURLPayServiceResponse,\n+ Payment,\n} from \"../../types\";\nimport api from \"../../common/lib/api\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: return the payment after a lnurl call to webln |
244,498 | 09.04.2022 17:09:38 | -28,800 | bf3f67ff4b25350a9504460555848936f1087b64 | chore: update jest setup to match react 18 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@storybook/manager-webpack5\": \"^6.4.19\",\n\"@storybook/react\": \"^6.4.19\",\n\"@testing-library/jest-dom\": \"^5.16.3\",\n- \"@testing-library/react\": \"^12.1.4\",\n+ \"@testing-library/react\": \"^13.... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: update jest setup to match react 18 |
244,498 | 09.04.2022 17:10:32 | -28,800 | 38a21f48fcd6b272dcd00c902a1543da9fce7f3e | chore: typecast i18n string to match react 18 types | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -85,7 +85,7 @@ function App() {\n)}\n<div className=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\n<div className=\"text-center font-serif font-medium text-2xl pt-... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: typecast i18n string to match react 18 types |
244,498 | 11.04.2022 18:28:30 | -28,800 | 8a972f6b1827a7314b774f1d34e166998801547b | chore(deps): update i18next | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.tsx",
"new_path": "src/app/router/Welcome/Welcome.tsx",
"diff": "@@ -85,7 +85,7 @@ function App() {\n)}\n<div className=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\">\n<div className=\"text-center font-serif font-medium text-2xl pt-... | TypeScript | MIT License | getalby/lightning-browser-extension | chore(deps): update i18next |
244,472 | 12.04.2022 20:17:54 | -7,200 | 15fe0f49d47dea306a914fa0c16a7dad4a81915c | fix: more specific image selector | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/GitHub.ts",
"new_path": "src/extension/content-script/batteries/GitHub.ts",
"diff": "import getOriginData from \"../originData\";\nimport setLightningData from \"../setLightningData\";\n-const urlMatcher = /^https:\\/\\/g... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: more specific image selector |
244,508 | 16.04.2022 13:34:37 | 14,400 | 161f569e8d7aab6b4fa293e474d3681f82401b20 | feat: add JWT bypass screen for when Galoy requestAuthCode fails | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/connectors/ConnectGaloy/index.tsx",
"new_path": "src/app/screens/connectors/ConnectGaloy/index.tsx",
"diff": "@@ -43,6 +43,10 @@ export default function ConnectGaloy(props: Props) {\nconst [smsCodeRequested, setSmsCodeRequested] = useState<\nbo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add JWT bypass screen for when Galoy requestAuthCode fails |
244,484 | 20.04.2022 19:32:40 | -7,200 | 7d17db559c2a85b943d4554ff161adb815fba606 | fix: redirect from welcome.html to settings.html in case the setup was already completed | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -60,10 +60,14 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\napi\n.getStatus()\n.then((response) => {\n- if (!response.configured) {\n... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: redirect from welcome.html to settings.html in case the setup was already completed |
244,484 | 20.04.2022 20:31:51 | -7,200 | 97d797bd2db3eecb04d2400775ff4928fe654045 | refactor: revert the change to redirectPage so that user does not lose current tab | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -63,7 +63,8 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\nconst onWelcomePage =\nwindow.location.pathname.indexOf(\"welcome.html\") >... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: revert the change to redirectPage so that user does not lose current tab |
244,495 | 21.04.2022 10:18:38 | -7,200 | 1d6a4a5e4ce080a70a9e3c18c36b48d6881614a3 | chore: cross-env can handle multiple envs at once | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"yarn\": \">= 1.0.0\"\n},\n\"scripts\": {\n- \"dev:chrome\": \"cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --watch\",\n- \"dev:firefox\": \"cross-env NODE_ENV=development cross-env... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: cross-env can handle multiple envs at once |
244,461 | 23.04.2022 18:04:06 | 18,000 | 5abae33c6915aa6dcb7bf07e5d24ed4551ced91a | fix: set prompt search params only if defined
I think message.args is optional but currently we would add a `args=JSON.stringify(undefined)`
to the prompt URL.
This change only adds the param to the prompt URL if persent.
This might have been a bug introduced by changing how we create the query-string
(in https://githu... | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -93,16 +93,26 @@ const utils = {\norigin: OriginData;\ntype: string;\n}): Promise<{ data: Type }> => {\n- const urlParams = new URLSearchParams({\n- args: JSON.stringify(message.args)... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: set prompt search params only if defined
I think message.args is optional but currently we would add a `args=JSON.stringify(undefined)`
to the prompt URL.
This change only adds the param to the prompt URL if persent.
This might have been a bug introduced by changing how we create the query-string
(in https://gi... |
244,495 | 25.04.2022 10:49:54 | -7,200 | bf80bef123f54f4cbcdc552a6953f8156d4d146e | chore: reorganize deps correctly | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"i18next-browser-languagedetector\": \"^6.1.3\",\n\"invoices\": \"2.0.3\",\n\"lodash\": \"^4.17.21\",\n- \"postcss-cli\": \"^9.1.0\",\n\"pubsub-js\": \"^1.9.4\",\n\"react\": \"^18.0.0\",\n\"react-confetti\":... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: reorganize deps correctly |
244,495 | 25.04.2022 13:04:15 | -7,200 | 31164e6b667516e399ae1ecb320e9514d6cd83e7 | feat: make description optional | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -223,11 +223,7 @@ function Receive() {\nfullWidth\nprimary\nloading={loading}\n- disabled={\n- loading ||\n- formData.amount === \"\" ||\n- formData.description === \"\"\n- }\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: make description optional |
244,495 | 25.04.2022 14:20:30 | -7,200 | 2318fc1ba516da7e66fa25f80619c87a5787839a | fix: broken storybook stories | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"diff": "import { MemoryRouter } from \"react-router-dom\";\nimport { Meta } from \"@storybook/react/types-6-0\";\n+import { Accounts... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: broken storybook stories |
244,461 | 25.04.2022 15:04:01 | -7,200 | 6880baa0f2ae0cc357c6f67a93d6cc184883ed1b | Only show UTC time
timezones are hard | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -31,7 +31,7 @@ The extension can connect to different node implementations and supports custodi\nWe have a channel on the [bitcoin.design](https://bitcoin.design/) Slack community [#lightning-browser-extension](... | TypeScript | MIT License | getalby/lightning-browser-extension | Only show UTC time
timezones are hard |
244,472 | 23.04.2022 16:33:02 | -7,200 | ca76ebdc09767f9bb16ad1de6be1cf9f18c0ef44 | feat: explanatory videos for account setup | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/ConnectorForm/index.tsx",
"new_path": "src/app/components/ConnectorForm/index.tsx",
"diff": "@@ -11,6 +11,7 @@ type Props = {\nsubmitDisabled?: boolean;\nonSubmit: FormEventHandler;\nchildren: React.ReactNode;\n+ video?: string;\n};\nfunctio... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: explanatory videos for account setup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.