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
07.07.2022 14:50:32
-28,800
9f71320f0c7da1856adf827fdceb7b229c437747
chore(home): use translations
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.tsx", "new_path": "src/app/components/TransactionsTable/index.tsx", "diff": "@@ -54,7 +54,7 @@ export default function TransactionsTable({ transactions }: Props) {\n</div>\n{tx.badges && (\n<div className=\"ml-6 space...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(home): use translations #389
244,498
07.07.2022 17:58:25
-28,800
8f16c292d3b43a482a6cf07f9eac64a03916e6d4
feat(connector): lnd add boostagram
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -172,6 +172,21 @@ const utils = {\n});\n});\n},\n+ getBoostagramFromInvoice: (\n+ custom_records:\n+ | {\n+ \"696969\": string;\n+ \"7629169\": string;\n+ \"5482373484\": string;\n+ }...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(connector): lnd add boostagram #389
244,498
12.07.2022 18:06:23
-28,800
050a071be102590fa098b66a248fbc85c8852ad0
feat(home): sort invoices in connector if needed
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -116,8 +116,7 @@ function Home() {\n...invoice,\ntitle: invoice.memo,\ndate: dayjs(invoice.settleDate).fromNow(),\n- }))\n- .reverse();\n+ }));\nfor await (const invoice...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(home): sort invoices in connector if needed #389
244,498
13.07.2022 14:13:26
-28,800
cd0fd852ed1e328c841f18ff17468bbe2d173930
feat(transactionsList): add sender_name for boostagrams
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.test.tsx", "new_path": "src/app/components/TransactionsTable/index.test.tsx", "diff": "@@ -80,7 +80,7 @@ const invoicesWithBoostagram: Props = {\nts: undefined,\nmessage: \"Du bist so 1 geiles podcast\",\nsender_id: \...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(transactionsList): add sender_name for boostagrams #389
244,498
13.07.2022 14:21:59
-28,800
85f8c3f55c36fcedd2ddae07b5739bddb91767e3
feat(home): only load invoices once
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -32,9 +32,9 @@ function Home() {\nconst [isBlocked, setIsBlocked] = useState<boolean>(false);\nconst [currentUrl, setCurrentUrl] = useState<URL | null>(null);\nconst [pa...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(home): only load invoices once #389
244,498
13.07.2022 14:32:45
-28,800
44821e90078ac40c1facf7840da0992a7ac07e9c
refactor(home): transaction-list tab-creation
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -358,10 +358,10 @@ function Home() {\n<Tab.Group onChange={onTabChangeHandler}>\n<Tab.List className=\"mb-2\">\n- {Object.keys({\n- [t(\"transaction_list.tabs.outgoing\"...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(home): transaction-list tab-creation #389
244,498
13.07.2022 15:02:23
-28,800
bdb20485138fe338d40d05e2ef3a6f276ea5a1c7
refactor(ln): refactor invoice boostagram-info creation
[ { "change_type": "MODIFY", "old_path": "src/app/screens/connectors/NewWallet/index.tsx", "new_path": "src/app/screens/connectors/NewWallet/index.tsx", "diff": "@@ -13,7 +13,6 @@ import utils from \"~/common/lib/utils\";\nconst walletCreateUrl =\nprocess.env.WALLET_CREATE_URL || \"https://app.regtest...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(ln): refactor invoice boostagram-info creation #389
244,498
14.07.2022 16:34:13
-28,800
fcdd6a489246b42ebd6bf349e1a1320f465163fa
refactor: split invoice into connector and app invoice-type
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -2,8 +2,8 @@ import PubSub from \"pubsub-js\";\nimport { toast } from \"react-toastify\";\nimport browser, { Runtime } from \"webextension-polyfill\";\nimport { ABORT_PROMPT_ERROR } f...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: split invoice into connector and app invoice-type #389
244,498
14.07.2022 16:36:30
-28,800
e7b6cb3daa5690e0a63d972d60b9da75b776dc35
chore: reword unsupported connector method error
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/connectors/citadel.ts", "new_path": "src/extension/background-script/connectors/citadel.ts", "diff": "@@ -52,7 +52,10 @@ class CitadelConnector implements Connector {\n// not yet implemenetd\ngetInvoices() {\n- return new Error(...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: reword unsupported connector method error #389
244,498
15.07.2022 16:47:53
-28,800
11ae3b2652195eaa57bbcce93af87d24cff8e3a4
refactor: rename function to be more declarative
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -173,7 +173,7 @@ const utils = {\n});\n});\n},\n- getBoostagramFromInvoice: (\n+ getBoostagramFromInvoiceCustomRecords: (\ncustom_records: Invoice[\"custom_records\"] | undefined\n) =...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: rename function to be more declarative #389
244,498
18.07.2022 12:31:22
-28,800
f5089be0052e8d0fc6ce3925773ca902c427a948
feat: sort boostagram infos & i18n
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.tsx", "new_path": "src/app/components/TransactionsTable/index.tsx", "diff": "@@ -4,6 +4,7 @@ import {\nCaretDownIcon,\n} from \"@bitcoin-design/bitcoin-icons-react/filled\";\nimport { Disclosure } from \"@headlessui/r...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: sort boostagram infos & i18n #389
244,498
18.07.2022 13:39:46
-28,800
4a3c98128b1d65acb15896030de9da92265d7c29
fix: i18n
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.test.tsx", "new_path": "src/app/components/TransactionsTable/index.test.tsx", "diff": "-import { render, screen } from \"@testing-library/react\";\n+import { render, screen } from \"@testing-library/React\";\nimport u...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: i18n #389
244,498
19.07.2022 11:07:03
-28,800
e7bea6e2353a06782b5ce323d69bd0cc9805c139
fix: module import
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.test.tsx", "new_path": "src/app/components/TransactionsTable/index.test.tsx", "diff": "-import { render, screen } from \"@testing-library/React\";\n+import { render, screen } from \"@testing-library/react\";\nimport u...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: module import #389
244,498
21.07.2022 13:09:59
-28,800
6adc9fd3b381b028d884c80ef8a97a2fabcbf937
feat(transactionsList): avoid tx jumps if not title is set
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.tsx", "new_path": "src/app/components/TransactionsTable/index.tsx", "diff": "@@ -48,7 +48,12 @@ export default function TransactionsTable({ transactions }: Props) {\n{tx.type && renderIcon(tx.type)}\n</div>\n<div clas...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(transactionsList): avoid tx jumps if not title is set #389
244,498
21.07.2022 13:18:14
-28,800
56416ff9d76db10f767a2a2cacd0846d6ef28358
refactor(home): rename state-variable to be more precise
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -32,7 +32,7 @@ function Home() {\nconst [isBlocked, setIsBlocked] = useState<boolean>(false);\nconst [currentUrl, setCurrentUrl] = useState<URL | null>(null);\nconst [pa...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(home): rename state-variable to be more precise #389
244,498
21.07.2022 13:40:38
-28,800
6ce489cfe025292111826cf7bc7a33d551f0aa27
refactor(actions): add options to invoices
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -111,11 +111,9 @@ function Home() {\nif (incomingTransactions) return incomingTransactions;\nsetLoadingInvoices(true);\n- const result = await api.getInvoices();\n+ cons...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(actions): add options to invoices #389
244,498
21.07.2022 14:59:07
-28,800
3acc267f9a2bc0ad5cb79d7178f88bfd51481ea8
refactor(connectors): lnd - use reversed option for invoice call
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/connectors/lnd.ts", "new_path": "src/extension/background-script/connectors/lnd.ts", "diff": "@@ -270,10 +270,10 @@ class Lnd implements Connector {\n}[];\nlast_index_offset: string;\nfirst_index_offset: string;\n- }>(\"GET\", \...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(connectors): lnd - use reversed option for invoice call #389
244,498
21.07.2022 15:07:17
-28,800
c739d344ffcd0f83d18d2126c35c03db301e994e
chore(types): adjust totalFees
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.test.tsx", "new_path": "src/app/components/TransactionsTable/index.test.tsx", "diff": "@@ -24,7 +24,7 @@ const transactions: Props = {\ntitle: \"Alby\",\ntotalAmount: \"1234000\",\ntotalAmountFiat: \"$241.02\",\n- tot...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(types): adjust totalFees #389
244,498
22.07.2022 16:13:55
-28,800
5e8acc664fb8bc1eadf6a8ae021b87ed43c3cdc1
feat(transactionsTable): keep space if tx does not have a title
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.tsx", "new_path": "src/app/components/TransactionsTable/index.tsx", "diff": "@@ -49,12 +49,10 @@ export default function TransactionsTable({ transactions }: Props) {\n</div>\n<div className=\"overflow-hidden mr-3\">\n...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(transactionsTable): keep space if tx does not have a title #389
244,498
22.07.2022 16:19:00
-28,800
adc4e5f517fb062431c823e4759f0afda8e8b0a5
refactor(connectors): lnd - reverse result of last page
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/connectors/lnd.ts", "new_path": "src/extension/background-script/connectors/lnd.ts", "diff": "@@ -272,8 +272,8 @@ class Lnd implements Connector {\nfirst_index_offset: string;\n}>(\"GET\", \"/v1/invoices\", { reversed: true });\...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(connectors): lnd - reverse result of last page #389
244,498
22.07.2022 16:36:37
-28,800
43dec044c0932c203e80366e5ba6f82df99d36aa
chore: text change to indicate it is only alby invoices Apply suggestions from code review
[ { "change_type": "MODIFY", "old_path": "src/i18n/locales/en/translation.json", "new_path": "src/i18n/locales/en/translation.json", "diff": "},\n\"default_view\": {\n\"recent_transactions\": \"Recent Transactions\",\n- \"no_transactions\": \"No transactions yet.\",\n+ \"no_transactions\": \"No transa...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: text change to indicate it is only alby invoices Apply suggestions from code review Co-authored-by: Michael Bumann <hello@michaelbumann.com>
244,498
22.07.2022 16:43:38
-28,800
a633afdcf80229da092be1ec919a55dff18ce498
feat(transactionsTable): remove active focus on tabs
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -367,7 +367,7 @@ function Home() {\nclassName={({ selected }) =>\nclassNames(\n\"w-1/2 rounded-lg py-2.5 font-bold transition duration-150\",\n- \"focus:outline-none foc...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(transactionsTable): remove active focus on tabs #389
244,498
26.07.2022 12:50:37
-28,800
9160c8e953b255015e8b1707c2ff2f57bded76af
chore(transactionsTable): correct types after rebase
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -255,8 +255,7 @@ function Home() {\ntypeof totalAmount === \"string\"\n? parseInt(totalAmount)\n: totalAmount,\n- totalFees:\n- typeof totalFees === \"number\" ? `${tota...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(transactionsTable): correct types after rebase #389
244,498
26.07.2022 10:34:49
-28,800
b2bdc0ea5c452989ec05db54b1bea80ab19dad75
test: use puppeter user-data-dir option
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -28,6 +28,7 @@ coverage\ntest-results/\nplaywright-report/\ntrace.zip\n+puppeteer-user-data-dir/\n# storybook\nstorybook-static/\n" }, { "change_type": "MODIFY", "old_path": "tests/e2e/helpers/load...
TypeScript
MIT License
getalby/lightning-browser-extension
test: use puppeter user-data-dir option
244,498
27.07.2022 10:10:03
-28,800
2e29007e97883c94038d6ea9e77f5337960d4069
test: use testnet macaroon; skip outdated connectors for now
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -78,7 +78,7 @@ const createAlbyWallet = async ({ page, $document, user }) => {\n};\ntest.describe(\"Create or connect wallets\", () => {\n- test(\"successfully creates...
TypeScript
MIT License
getalby/lightning-browser-extension
test: use testnet macaroon; skip outdated connectors for now
244,461
29.05.2022 23:49:55
-7,200
8f848b3aef9743a2eb226c6ed13dccd154e9bb15
fix: correct lnurl-auth key generation We did not use the correct LNURL-auth linking key which caused Alby to generate incompatible lnurl-auth logins. This change fixes this but also allows users to enable the old method to still be able to login to their accounts.
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Settings.tsx", "new_path": "src/app/screens/Settings.tsx", "diff": "@@ -37,6 +37,7 @@ function Settings() {\nconst [settings, setSettings] = useState<SettingsStorage>({\nwebsiteEnhancements: false,\nlegacyLnurlAuth: false,\n+ legacyLnurlAuthKey...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: correct lnurl-auth key generation We did not use the correct LNURL-auth linking key which caused Alby to generate incompatible lnurl-auth logins. This change fixes this but also allows users to enable the old method to still be able to login to their accounts.
244,461
18.07.2022 10:24:04
-7,200
81204e629e94383887f5d174b462fb532382c629
chore: better settings
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Settings.tsx", "new_path": "src/app/screens/Settings.tsx", "diff": "@@ -333,6 +333,62 @@ function Settings() {\n</form>\n</Modal>\n</div>\n+\n+ <h2 className=\"mt-12 text-2xl font-bold dark:text-white\">LNURL-Auth</h2>\n+\n+ <p className=\"mb-6...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: better settings
244,461
19.07.2022 20:14:45
-7,200
af2c19ef9a9efefc44b84df3d206686747405538
feat: add migrations and script to conditionally set the lnurl-auth legacy options when the extension gets updated we check if there is an allowance that uses lnurlAuth. If so we enable the legacy lnurl-auth option.
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/index.ts", "new_path": "src/extension/background-script/index.ts", "diff": "@@ -5,10 +5,12 @@ import { ExtensionIcon, setIcon } from \"./actions/setup/setIcon\";\nimport connectors from \"./connectors\";\nimport db from \"./db\"...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add migrations and script to conditionally set the lnurl-auth legacy options when the extension gets updated we check if there is an allowance that uses lnurlAuth. If so we enable the legacy lnurl-auth option.
244,461
19.07.2022 20:15:29
-7,200
44613da196bf734f23af40ad25317cf532bcd36e
fix: saveToStorage returns a promise awit until it is resolved and the state is saved to storage
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/actions/settings/set.ts", "new_path": "src/extension/background-script/actions/settings/set.ts", "diff": "@@ -15,7 +15,7 @@ const set = async (message: Message) => {\n});\n// make sure we immediately persist the new settings\n- ...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: saveToStorage returns a promise awit until it is resolved and the state is saved to storage
244,461
20.07.2022 15:19:03
-7,200
5b891dbc3f9f44b65dc687219dd2fa2bedc4d105
chore: add migrations specs
[ { "change_type": "ADD", "old_path": null, "new_path": "src/extension/background-script/migrations/__tests__/legacylnurlauth.test.ts", "diff": "+import db from \"~/extension/background-script/db\";\n+import state from \"~/extension/background-script/state\";\n+import type { Allowance } from \"~/types...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: add migrations specs
244,461
20.07.2022 15:44:03
-7,200
0dada0ad4244c93389bc8052ede966365538d24d
test: proper migration tests
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/migrations/__tests__/legacylnurlauth.test.ts", "new_path": "src/extension/background-script/migrations/__tests__/legacylnurlauth.test.ts", "diff": "@@ -8,6 +8,7 @@ describe(\"With lnurlAuth enabled allowance\", () => {\nafterEac...
TypeScript
MIT License
getalby/lightning-browser-extension
test: proper migration tests
244,498
22.07.2022 14:33:38
-28,800
32247afff22be60e8a66e2de8d7b5795c75c6c09
chore(migrations): add type
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/migrations/index.ts", "new_path": "src/extension/background-script/migrations/index.ts", "diff": "@@ -3,7 +3,9 @@ import type { Allowance } from \"~/types\";\nimport db from \"../db\";\nimport state from \"../state\";\n-const sh...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(migrations): add type #956
244,461
26.07.2022 10:42:29
-7,200
15054429dce91a0514770ec85612f38574a56b3c
chore: cleanup and DRY test
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/migrations/__tests__/legacylnurlauth.test.ts", "new_path": "src/extension/background-script/migrations/__tests__/legacylnurlauth.test.ts", "diff": "@@ -4,13 +4,13 @@ import type { Allowance } from \"~/types\";\nimport migrate fr...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: cleanup and DRY test
244,498
27.07.2022 12:41:29
-28,800
025ae58bf97c1fdb870123353d161e40f08a7e00
chore(settings): types
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Settings.tsx", "new_path": "src/app/screens/Settings.tsx", "diff": "@@ -10,7 +10,7 @@ import Toggle from \"@components/form/Toggle\";\nimport { Html5Qrcode } from \"html5-qrcode\";\nimport type { FormEvent } from \"react\";\nimport { useState, ...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(settings): types
244,498
27.07.2022 14:44:23
-28,800
2593772942d8943fe7574ddcabe8b4fad779c7e9
test(connector): unskip getalby account
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -78,7 +78,7 @@ const createAlbyWallet = async ({ page, $document, user }) => {\n};\ntest.describe(\"Create or connect wallets\", () => {\n- test.skip(\"successfully cr...
TypeScript
MIT License
getalby/lightning-browser-extension
test(connector): unskip getalby account
244,498
27.07.2022 14:47:34
-28,800
5392f1217ff9fd98fda5b41c0710535df0608ef4
test(connector): unskip bluewallet
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -103,7 +103,7 @@ test.describe(\"Create or connect wallets\", () => {\nawait browser.close();\n});\n- test.skip(\"successfully connects to BlueWallet\", async () => {\...
TypeScript
MIT License
getalby/lightning-browser-extension
test(connector): unskip bluewallet
244,498
27.07.2022 14:51:00
-28,800
31040968255ce3e6eec787cb21462599ab007cef
test(connector): unskip all skipped
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -86,7 +86,7 @@ test.describe(\"Create or connect wallets\", () => {\nawait browser.close();\n});\n- test.skip(\"successfully connects to LNBits wallet\", async () => {...
TypeScript
MIT License
getalby/lightning-browser-extension
test(connector): unskip all skipped
244,498
27.07.2022 18:14:23
-28,800
fa277d297f47045de4c5ccc6899ee2bedcef44d9
test(connector): skip eclair for now
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -219,7 +219,8 @@ test.describe(\"Create or connect wallets\", () => {\nawait browser.close();\n});\n- test(\"successfully connects to Eclair\", async () => {\n+ // und...
TypeScript
MIT License
getalby/lightning-browser-extension
test(connector): skip eclair for now
244,461
27.07.2022 16:00:55
-7,200
cec1260f8cb485d9d89a80b9aeaea09ab618ac4a
test: update btcpay test config file
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -252,7 +252,7 @@ test.describe(\"Create or connect wallets\", () => {\nconst configField = await findByLabelText($document, \"Config data\");\nawait configField.type(\...
TypeScript
MIT License
getalby/lightning-browser-extension
test: update btcpay test config file
244,461
28.07.2022 09:54:32
-7,200
b366da1f7cded748cbc4a0aca36f2d1a29de635f
chore: remove account export in onboarding People are not aware that this is sensitive data and share screenshot and videos Export is not possible from the export function
[ { "change_type": "MODIFY", "old_path": "src/app/screens/connectors/NewWallet/index.tsx", "new_path": "src/app/screens/connectors/NewWallet/index.tsx", "diff": "@@ -6,7 +6,6 @@ import ConnectorForm from \"@components/ConnectorForm\";\nimport TextField from \"@components/form/TextField\";\nimport { us...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: remove account export in onboarding People are not aware that this is sensitive data and share screenshot and videos Export is not possible from the export function
244,498
28.07.2022 18:00:53
-28,800
e503cab583aedd2aac91d5c9ea813384caa01fbe
test(connector): skip btcpay for now
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -271,7 +271,7 @@ test.describe(\"Create or connect wallets\", () => {\nawait browser.close();\n});\n- test(\"successfully connects to BTCPay\", async () => {\n+ test.s...
TypeScript
MIT License
getalby/lightning-browser-extension
test(connector): skip btcpay for now
244,461
28.07.2022 18:46:42
-7,200
55109152eb35b3245b9e78c1d3b4759403099f32
feat(alby wallet): directly go to final success screen and save the account after creation
[ { "change_type": "MODIFY", "old_path": "src/app/screens/connectors/NewWallet/index.tsx", "new_path": "src/app/screens/connectors/NewWallet/index.tsx", "diff": "@@ -13,13 +13,14 @@ import utils from \"~/common/lib/utils\";\nconst walletCreateUrl =\nprocess.env.WALLET_CREATE_URL || \"https://app.regte...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(alby wallet): directly go to final success screen and save the account after creation
244,461
28.07.2022 18:49:55
-7,200
cb109f663bc3a5851281f9e3f235f2af5f18a9af
chore: call the lndhub uri credentials to indicate it's something private
[ { "change_type": "MODIFY", "old_path": "src/i18n/locales/en/translation.json", "new_path": "src/i18n/locales/en/translation.json", "diff": "\"waiting\": \"waiting for LndHub data...\",\n\"your_ln_address\": \"Your Lightning Address:\",\n\"tip_mobile\": \"Tip: Use this wallet with your mobile device\...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: call the lndhub uri credentials to indicate it's something private
244,461
28.07.2022 18:56:27
-7,200
79cb3abfa08cdda426f0e5ad33c3a3c4603f42f6
test: update Alby wallet test for new flow
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -47,7 +47,10 @@ const commonCreateWalletSuccessCheck = async ({ page, $document }) => {\nawait findByText($document, \"Success!\");\n};\n-const createAlbyWallet = asyn...
TypeScript
MIT License
getalby/lightning-browser-extension
test: update Alby wallet test for new flow
244,498
29.07.2022 15:55:31
-28,800
f6d55bd940e5a41257b755b55ffff4da4bff46df
chore(connector): adjust unsupported message for getInvoices
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/connectors/citadel.ts", "new_path": "src/extension/background-script/connectors/citadel.ts", "diff": "@@ -53,9 +53,11 @@ class CitadelConnector implements Connector {\n// not yet implemented\ngetInvoices() {\nconsole.error(\n- `...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(connector): adjust unsupported message for getInvoices #389
244,498
29.07.2022 17:43:11
-28,800
549b446e8acf87667d7d0be01624f2cae732e915
test(createWallet): avoid flaky success
[ { "change_type": "MODIFY", "old_path": "tests/e2e/createWallets.spec.ts", "new_path": "tests/e2e/createWallets.spec.ts", "diff": "@@ -49,7 +49,11 @@ const commonCreateWalletSuccessCheck = async ({ page, $document }) => {\nconst continueButton = await findByText($document, \"Continue\");\ncontinueBut...
TypeScript
MIT License
getalby/lightning-browser-extension
test(createWallet): avoid flaky success
244,461
29.07.2022 11:54:04
-7,200
56f4618d9547063f317ac9fa356b98523c6866b9
fix: catch boostagram parsing errors We don't know what's in the custom records anything can fail. we now just catch and ignore all errors here
[ { "change_type": "MODIFY", "old_path": "src/common/lib/utils.ts", "new_path": "src/common/lib/utils.ts", "diff": "@@ -176,11 +176,16 @@ const utils = {\ngetBoostagramFromInvoiceCustomRecords: (\ncustom_records: Invoice[\"custom_records\"] | undefined\n) => {\n+ try {\nconst hasBoostagram = custom_re...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: catch boostagram parsing errors We don't know what's in the custom records anything can fail. we now just catch and ignore all errors here
244,498
30.07.2022 14:55:08
-28,800
0182e309692248219ca17c109ba05881298533ad
test(e2e): delete user-dir before tests
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"format\": \"prettier --check '**/*.md' 'src/**/*.(js|ts|jsx|tsx)'\",\n\"format:fix\": \"prettier --loglevel silent --write '**/*.md' 'src/**/*.(js|ts|jsx|tsx)'\",\n\"test:unit\": \"jest\",\n- \"test:e2e\": ...
TypeScript
MIT License
getalby/lightning-browser-extension
test(e2e): delete user-dir before tests
244,461
01.08.2022 02:02:13
-7,200
d46af6c51ae7ad2d8bdcb438c38b6e715ed40185
feat: support keysend in lightning meta tag
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -189,11 +189,28 @@ function Home() {\ndescription: lnData[0].description,\nicon: lnData[0].icon,\n};\n+ if (lnData[0].method === \"lnurl\") {\nnavigate(\n`/lnurlPay?lnur...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: support keysend in lightning meta tag
244,498
17.06.2022 14:59:00
-28,800
c1e83570326292b31a5e6a371fe8052eaa7ef018
fix(allowance): correct budget calculation
[ { "change_type": "MODIFY", "old_path": "src/app/components/AllowanceMenu/index.test.tsx", "new_path": "src/app/components/AllowanceMenu/index.test.tsx", "diff": "@@ -30,11 +30,16 @@ const props: Props = {\nallowance: {\nid: 1,\ntotalBudget: 2000,\n+ remainingBudget: 1234,\n},\nonEdit: mock,\n};\ndes...
TypeScript
MIT License
getalby/lightning-browser-extension
fix(allowance): correct budget calculation
244,498
17.06.2022 15:14:46
-28,800
8ffd8f6e5541844997085f9e61c2ba85d1211cf8
test: align userEvent usage
[ { "change_type": "MODIFY", "old_path": "src/app/components/AccountMenu/index.test.tsx", "new_path": "src/app/components/AccountMenu/index.test.tsx", "diff": "@@ -48,6 +48,8 @@ describe(\"AccountMenu\", () => {\n});\ntest(\"displays accounts and options\", async () => {\n+ const user = userEvent.setu...
TypeScript
MIT License
getalby/lightning-browser-extension
test: align userEvent usage
244,498
18.07.2022 14:09:37
-28,800
e6fff3f1e89181fefe17e18d14d10e8dddb120d3
revert: do not recalculate remainingBudget to avoid confusion with upcoming features
[ { "change_type": "MODIFY", "old_path": "src/app/components/AllowanceMenu/AllowanceMenu.stories.tsx", "new_path": "src/app/components/AllowanceMenu/AllowanceMenu.stories.tsx", "diff": "@@ -2,9 +2,7 @@ import AllowanceMenu from \".\";\nexport const Default = () => (\n<div className=\"max-w-xs flex jus...
TypeScript
MIT License
getalby/lightning-browser-extension
revert: do not recalculate remainingBudget to avoid confusion with upcoming features
244,498
19.07.2022 11:39:46
-28,800
9011845ac19402ac79fd361f4563af6e5289b9ec
chore: refatcor type
[ { "change_type": "MODIFY", "old_path": "src/extension/background-script/actions/allowances/update.ts", "new_path": "src/extension/background-script/actions/allowances/update.ts", "diff": "import db from \"~/extension/background-script/db\";\n-import type { MessageAllowanceUpdate } from \"~/types\";\...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: refatcor type
244,503
01.08.2022 14:22:32
-7,200
3468837026ee2cf04b40f59dd701352eb0882a84
refactor: use settings context in LNURLPay
[ { "change_type": "MODIFY", "old_path": "src/app/screens/LNURLPay.tsx", "new_path": "src/app/screens/LNURLPay.tsx", "diff": "@@ -11,7 +11,6 @@ import { toast } from \"react-toastify\";\nimport { useAccount } from \"~/app/context/AccountContext\";\nimport { useSettings } from \"~/app/context/SettingsC...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: use settings context in LNURLPay
244,503
01.08.2022 16:05:53
-7,200
92bebea7ce712c8ce89b9bfbfe439b398e08a4b9
feat: add providers component
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/context/Providers.tsx", "diff": "+import { AccountProvider } from \"~/app/context/AccountContext\";\n+import { AccountsProvider } from \"~/app/context/AccountsContext\";\n+import { SettingsProvider } from \"~/app/context/SettingsContext\...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add providers component
244,503
01.08.2022 16:07:27
-7,200
4d146ae8994d5b0aa510e82f19c64e34e26dc6a3
refactor: use providers component in routes
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -14,18 +14,14 @@ import Unlock from \"@screens/Unlock\";\nimport ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport { HashRouter, Navigate, Ou...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: use providers component in routes
244,503
01.08.2022 16:07:55
-7,200
fb44ad8016bb83ea1e1d80348163674728e23657
refactor: remove unused Providers from Welcome
[ { "change_type": "MODIFY", "old_path": "src/app/router/Welcome/Welcome.tsx", "new_path": "src/app/router/Welcome/Welcome.tsx", "diff": "@@ -9,8 +9,6 @@ import ChooseConnector from \"@screens/connectors/ChooseConnector\";\nimport { useEffect, useState } from \"react\";\nimport { useTranslation } from...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: remove unused Providers from Welcome
244,503
01.08.2022 16:35:57
-7,200
3092bbbfd2b9f57c159e0da4aeb2d925c072d260
refactor: account title and balances from context
[ { "change_type": "MODIFY", "old_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx", "new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx", "diff": "@@ -4,12 +4,7 @@ import { AccountsProvider } from \"~/app/context/AccountsContext\";\nimport AcountMenu from \".\";\n-export...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: account title and balances from context
244,503
01.08.2022 16:36:22
-7,200
cfec026cdc15bebd49fb550599546d3e2a70ee53
fix: edit and update account name
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Accounts/index.tsx", "new_path": "src/app/screens/Accounts/index.tsx", "diff": "@@ -63,7 +63,8 @@ function AccountsScreen() {\nid,\n});\n- getAccounts();\n+ auth.fetchAccountInfo(); // Update active account name\n+ getAccounts(); // update all ...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: edit and update account name
244,498
02.08.2022 10:47:53
-28,800
b3bee70a5b21301744d9fdc42045099d0b3642bc
fix(home): allowance payments in tx-list
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -86,6 +86,21 @@ function Home() {\nconst loadPayments = useCallback(async () => {\ntry {\n+ if (allowance) {\n+ const payments: Transaction[] = allowance.payments.map((p...
TypeScript
MIT License
getalby/lightning-browser-extension
fix(home): allowance payments in tx-list #1226
244,498
02.08.2022 11:20:23
-28,800
7847cae35cbe02da5a4a05d04fb92deea8d14bfa
refactor(payments): switch to TS add test
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -86,30 +86,62 @@ function Home() {\nconst loadPayments = useCallback(async () => {\ntry {\n+ let tmpPayments;\n+\nif (allowance) {\n- const payments: Transaction[] = all...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor(payments): switch to TS #1226 - add test
244,503
02.08.2022 09:53:35
-7,200
c9693661ba5342942f5456eb1b38ab8befb4845f
refactor: correct types for Recipient
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/Monetization.ts", "new_path": "src/extension/content-script/batteries/Monetization.ts", "diff": "-import { Battery } from \"~/types\";\n+import { BatteryMetaTagRecipient } from \"~/types\";\nimport getOriginData from \".....
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: correct types for Recipient
244,498
02.08.2022 17:45:57
-28,800
d4e11987f49aa645b296fbc794ad31679758a2ba
chore(lnurl): bech32 parsing eerror is just an info, not a real error
[ { "change_type": "MODIFY", "old_path": "src/common/lib/lnurl.ts", "new_path": "src/common/lib/lnurl.ts", "diff": "@@ -28,7 +28,7 @@ const normalizeLnurl = (lnurlString: string) => {\nconst url = bech32Decode(lnurlString);\nreturn new URL(url);\n} catch (e) {\n- console.error(\"ignoring bech32 parsin...
TypeScript
MIT License
getalby/lightning-browser-extension
chore(lnurl): bech32 parsing eerror is just an info, not a real error
244,471
06.07.2022 13:14:48
-19,080
f82d2978987d79f23de3d43671c9e68edc2bd174
feat: add tipping for accepted answers
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/StackOverflow.ts", "new_path": "src/extension/content-script/batteries/StackOverflow.ts", "diff": "@@ -16,6 +16,10 @@ const battery = async (): Promise<void> => {\nlightningData = await handleProfilePage(userOrQuestionId)...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add tipping for accepted answers
244,471
12.07.2022 16:11:01
-19,080
795ac4ba10990f8506adcdb95578871c02d0f0d9
chore: replace fetch with axios
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/StackOverflow.ts", "new_path": "src/extension/content-script/batteries/StackOverflow.ts", "diff": "+import axios from \"axios\";\nimport { Battery } from \"~/types\";\nimport getOriginData from \"../originData\";\n@@ -35,...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: replace fetch with axios
244,471
14.07.2022 18:25:41
-19,080
22951b646f2967ceec056fbdb533af82d46108b7
chore: add helper functions for batteries
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/Monetization.ts", "new_path": "src/extension/content-script/batteries/Monetization.ts", "diff": "import { BatteryMetaTagRecipient } from \"~/types\";\nimport getOriginData from \"../originData\";\n-import setLightningData...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: add helper functions for batteries
244,461
03.08.2022 00:06:57
-7,200
6ea678b66a48f8b32884d8930556d5865eaf50d6
fix: youtube battery This query selector no longer seems to be unique and now matches two elements. To fix it we simply use the textcontent of all matching elements.
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/batteries/YouTubeVideo.ts", "new_path": "src/extension/content-script/batteries/YouTubeVideo.ts", "diff": "@@ -4,16 +4,20 @@ import setLightningData from \"../setLightningData\";\nconst urlMatcher = /^https:\\/\\/www\\.youtube.com\...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: youtube battery This query selector no longer seems to be unique and now matches two elements. To fix it we simply use the textcontent of all matching elements.
244,461
04.08.2022 00:49:57
-7,200
cf3abb9fb414f7c5629ffbdd1a7d73e2b45b4d43
chore: update build workflow We now use nightly.link to link to the build files and because of that no longer need S3 And we set the WALLET_CREATE_URL to use the production system
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -12,6 +12,8 @@ jobs:\nruns-on: ubuntu-latest\nname: build-prod\n+ env:\n+ WALLET_CREATE_URL: \"https://getalby.com/api/users\"\nsteps:\n- uses: actions/checkout@v3\n@@ -43,78 ...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: update build workflow We now use nightly.link to link to the build files and because of that no longer need S3 And we set the WALLET_CREATE_URL to use the production system
244,461
04.08.2022 00:54:41
-7,200
d5a174e8a50a54a77ffba78785f6e266744b032a
fix: build dependency
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -48,13 +48,7 @@ jobs:\ncomment-build-links:\nif: ${{ github.event_name == 'pull_request' }}\nruns-on: ubuntu-latest\n- needs:\n- [\n- build,\n- release-firefox-nightly,\n- rel...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: build dependency
244,461
04.08.2022 14:08:58
-7,200
a5351e8811366035cb7be30e9383eb5c504bd522
Add workflow to comment on PRs with links to artifacts
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/artifacts-comment.yml", "diff": "+name: Comment on pull request\n+on:\n+ workflow_run:\n+ workflows: ['Test workflow with upload']\n+ types: [completed]\n+jobs:\n+ pr_comment:\n+ if: github.event.workflow_run.event == 'pull_req...
TypeScript
MIT License
getalby/lightning-browser-extension
Add workflow to comment on PRs with links to artifacts
244,461
04.08.2022 15:31:30
-7,200
fce4f1fb322a758697203cd1f6bd903a64e3bbd2
chore: hack on workflows
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "name: Comment on pull request\non:\nworkflow_run:\n- workflows: ['Test workflow with upload']\n+ workflows: [\"Build nightlies\"]\ntypes: [completed]\njob...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: hack on workflows
244,461
04.08.2022 16:30:54
-7,200
83ed7bf6a3fbd5b3f2ba9462a7eaf58565e2e6d3
chore: workflow cleanup
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -48,27 +48,3 @@ jobs:\nwith:\nname: opera.crx\npath: dist/production/opera.crx\n-\n- comment-build-links:\n- permissions:\n- issues: write\n- pull-requests: write\n-\n- if: ${...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: workflow cleanup
244,461
04.08.2022 16:45:51
-7,200
e0d9f46692216008b8bfdf1023f3a92786eba953
chore: correct workflow format
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "@@ -5,7 +5,7 @@ on:\ntypes: [completed]\njobs:\npr_comment:\n- if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusi...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: correct workflow format
244,461
04.08.2022 16:57:25
-7,200
abc1e228965a53f415a74ab8a0944cfde2e85c91
chore: workflow hackhack
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "@@ -14,6 +14,7 @@ jobs:\n# https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml\nscript: |\nconst {owner, repo} = context....
TypeScript
MIT License
getalby/lightning-browser-extension
chore: workflow hackhack
244,461
04.08.2022 19:04:56
-7,200
bd2ae6d574a574d32c0825c46ccc258dc18c46a2
chore: update workflow to latest version
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "@@ -10,7 +10,7 @@ jobs:\nsteps:\n- uses: actions/setup-node@v2\n- run: npm install axios\n- - uses: actions/github-script@v3\n+ - uses: actions/github-scr...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: update workflow to latest version
244,461
04.08.2022 19:21:52
-7,200
6ae470ad52db50ff9676048311a5ab61a49ad467
chore: updated gh api?
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "@@ -22,8 +22,8 @@ jobs:\nconst pull_user_id = ${{github.event.sender.id}};\nconst issue_number = await (async () => {\n- const pulls = await github.pulls....
TypeScript
MIT License
getalby/lightning-browser-extension
chore: updated gh api?
244,461
04.08.2022 19:42:12
-7,200
e02c676248245119e799aa80c7750b9b1f5119c6
chore: new GH API?
[ { "change_type": "MODIFY", "old_path": ".github/workflows/artifacts-comment.yml", "new_path": ".github/workflows/artifacts-comment.yml", "diff": "@@ -23,13 +23,11 @@ jobs:\nconst issue_number = await (async () => {\nconst pulls = await github.rest.pulls.list({owner, repo});\n- for await (const {data...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: new GH API?
244,461
05.08.2022 01:31:43
-7,200
43c8809c7996a4329cfdcdfddca396e727cc5403
style: screenheader font size
[ { "change_type": "MODIFY", "old_path": "src/app/components/ScreenHeader/index.tsx", "new_path": "src/app/components/ScreenHeader/index.tsx", "diff": "@@ -4,7 +4,7 @@ type Props = {\nfunction ScreenHeader({ title }: Props) {\nreturn (\n- <div className=\"text-center text-xl font-semibold dark:text-wh...
TypeScript
MIT License
getalby/lightning-browser-extension
style: screenheader font size
244,461
07.08.2022 00:19:10
-7,200
4fa6a1cd9b460ca77755106fe2952cf6f4d7c0fa
fix: remove decodeURI from boostagram message the message is a random string provided by the user
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.tsx", "new_path": "src/app/components/TransactionsTable/index.tsx", "diff": "@@ -127,9 +127,7 @@ export default function TransactionsTable({ transactions }: Props) {\n{tComponents(\n\"transactionsTable.boostagram.mess...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: remove decodeURI from boostagram message the message is a random string provided by the user
244,498
07.08.2022 11:31:50
-28,800
b83cd977f68d5c75696ec3867c13831edc5cd102
test(transactionstable): test % message
[ { "change_type": "MODIFY", "old_path": "src/app/components/TransactionsTable/index.test.tsx", "new_path": "src/app/components/TransactionsTable/index.test.tsx", "diff": "@@ -80,7 +80,7 @@ const invoicesWithBoostagram: Props = {\nepisode: undefined,\nitemID: undefined,\nts: undefined,\n- message: \"D...
TypeScript
MIT License
getalby/lightning-browser-extension
test(transactionstable): test % message
244,503
04.08.2022 13:54:10
-7,200
e5abdcedd5bddf1fd319281c1da93c37dd9d7956
fix: types for index content script
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/index.ts", "new_path": "src/extension/content-script/index.ts", "diff": "@@ -32,7 +32,7 @@ async function init() {\ninjectScript(); // injects the webln object\n// extract LN data from websites\n- browser.runtime.onMessage.addListe...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: types for index content script
244,503
04.08.2022 15:13:15
-7,200
ba2454c48fcbf055cfdf49877e2c4f927dc8b817
fix: reference TS file for webpack
[ { "change_type": "MODIFY", "old_path": "webpack.config.js", "new_path": "webpack.config.js", "diff": "@@ -55,7 +55,7 @@ var options = {\nentry: {\nmanifest: \"./src/manifest.json\",\nbackground: \"./src/extension/background-script/index.ts\",\n- contentScript: \"./src/extension/content-script/index....
TypeScript
MIT License
getalby/lightning-browser-extension
fix: reference TS file for webpack
244,503
04.08.2022 15:17:31
-7,200
882de37c0f186a97f90ac70acbd0cc0113399c75
feat: types for WebLN calls
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/index.ts", "new_path": "src/extension/content-script/index.ts", "diff": "import browser from \"webextension-polyfill\";\n+import type { MessageWebLNWithOrigin } from \"~/types\";\nimport extractLightningData from \"./batteries\";\n...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: types for WebLN calls
244,503
04.08.2022 15:18:18
-7,200
b8c4ca5da491fbb4e2f43cca069c6a8614e07458
refactor: create Nav state from Params
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -14,36 +14,38 @@ import { ToastContainer } from \"react-toastify\";\nimport Providers from \"~/app/context/Providers\";\nimport RequireAuth from \"~/app/router/Requi...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: create Nav state from Params
244,503
04.08.2022 15:36:35
-7,200
e95acc98d6195e75d862951288c34237b13dc7de
refactor: better type for NavState
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -14,7 +14,7 @@ import { ToastContainer } from \"react-toastify\";\nimport Providers from \"~/app/context/Providers\";\nimport RequireAuth from \"~/app/router/Require...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: better type for NavState
244,503
08.08.2022 18:39:24
-7,200
843e9ba7c232d84c8378b616eff876e25635dfcd
feat: pass navState to Navigate
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -60,7 +60,13 @@ function Prompt() {\n>\n<Route\nindex\n- element={<Navigate to={`/${navigationState.action}`} replace />}\n+ element={\n+ <Navigate\n+ to={`/${naviga...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: pass navState to Navigate
244,503
04.08.2022 15:37:35
-7,200
51393460b69f4a1e7e4cd071408a6f77cdadaa55
feat: add hook useNavigationState
[ { "change_type": "ADD", "old_path": null, "new_path": "src/app/hooks/useNavigationState.ts", "diff": "+import { useLocation } from \"react-router-dom\";\n+import type { NavigationState } from \"~/types\";\n+\n+export const useNavigationState = (): NavigationState => {\n+ const location = useLocation...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add hook useNavigationState
244,503
08.08.2022 18:42:19
-7,200
47cfe66316ff0b633c473ffc6a1dff35bcda8c2f
refactor: rename -> ConfirmKeysend
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "import AccountMenu from \"@components/AccountMenu\";\n-import Keysend from \"@screens/ConfirmKeysend\";\n+import ConfirmKeysend from \"@screens/ConfirmKeysend\";\nimpor...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: rename -> ConfirmKeysend
244,503
08.08.2022 19:41:00
-7,200
c7eb878ca3d6415067963144e3ea0627732ca480
refactor: add route as CONST
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -17,6 +17,7 @@ import { ToastContainer } from \"react-toastify\";\nimport Providers from \"~/app/context/Providers\";\nimport RequireAuth from \"~/app/router/Req...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: add route as CONST
244,503
08.08.2022 19:41:45
-7,200
513158ad9b7834bd15e0046c31db8505db9d4af9
refactor: more type for NavState
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -126,11 +126,12 @@ function Prompt() {\nelement={\n<MakeInvoice\namountEditable={\n- navigationState.args.amountEditable as boolean\n+ navigationState.args?.amountEd...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: more type for NavState
244,503
08.08.2022 20:06:58
-7,200
5fdf725eff0d43201e9c17f15f820a40b481456c
feat: add isPrompt to NavState
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -42,6 +42,7 @@ const createStateFromParams = (params: URLSearchParams): NavigationState => ({\norigin: getParamValues(params, \"origin\"),\nargs: getParamValues(para...
TypeScript
MIT License
getalby/lightning-browser-extension
feat: add isPrompt to NavState
244,503
08.08.2022 21:54:28
-7,200
a3842c4dccee91deb8bb9504fac2579aa726ed3f
refactor: check for missing details
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -17,7 +17,6 @@ import { PATHS } from \"~/app/router/routes\";\nimport type {\nNavigationState,\nLNURLAuthServiceResponse,\n- LNURLPayServiceResponse,\nLNURLWithdrawS...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: check for missing details
244,503
08.08.2022 23:08:17
-7,200
127965602cf3fadd5e318a5c2aaeb28996dc33dc
refactor: better types for action
[ { "change_type": "MODIFY", "old_path": "src/app/router/routes.ts", "new_path": "src/app/router/routes.ts", "diff": "-// PATHs names react-router is matched to\n+// PATHs names react-router is matched to in path={}\nexport const PATHS = {\nlnurlPay: \"lnurlPay\",\n-};\n+} as const;\n// URLs which sho...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: better types for action
244,498
09.08.2022 11:46:23
-28,800
964c4ca6129222aa21fffc90e56b71636e65551d
chore: type WebLN message event
[ { "change_type": "MODIFY", "old_path": "src/extension/content-script/index.ts", "new_path": "src/extension/content-script/index.ts", "diff": "import browser from \"webextension-polyfill\";\n-import type { MessageWebLNWithOrigin } from \"~/types\";\n+import type { MessageWebLNWithOrigin, WebLNEventDa...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: type WebLN message event #1216
244,498
10.08.2022 10:52:20
-28,800
cd116fc649c3368a4785fe78f0ad93132f3064e2
feat(home): lnurlpay - pass lnurlDetails to navState
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -23,6 +23,7 @@ import { useSettings } from \"~/app/context/SettingsContext\";\nimport { URLS } from \"~/app/router/routes\";\nimport { classNames } from \"~/app/utils/in...
TypeScript
MIT License
getalby/lightning-browser-extension
feat(home): lnurlpay - pass lnurlDetails to navState #1216
244,498
10.08.2022 11:46:04
-28,800
e99d8ac486ffa441aede0d2eaef07f87a3ab3f66
chore: remove comments/typos
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -257,7 +257,7 @@ function Home() {\nconst lnurl = lnData[0].address;\nconst lnurlDetails = await lnurlLib.getDetails(lnurl); // throws if invalid.\nconst lnurlDetailsStr...
TypeScript
MIT License
getalby/lightning-browser-extension
chore: remove comments/typos #1216
244,503
10.08.2022 20:45:26
-7,200
b275f12d9b160b96c381f2c72aaf887991915808
revert: CONST collection of Paths
[ { "change_type": "MODIFY", "old_path": "src/app/router/Options/Options.tsx", "new_path": "src/app/router/Options/Options.tsx", "diff": "@@ -17,7 +17,6 @@ import { ToastContainer } from \"react-toastify\";\nimport Providers from \"~/app/context/Providers\";\nimport RequireAuth from \"~/app/router/Req...
TypeScript
MIT License
getalby/lightning-browser-extension
revert: CONST collection of Paths
244,503
10.08.2022 20:46:05
-7,200
d1a57589c5b61715729964642c08800950f8b11d
revert: no types for WebLN message
[ { "change_type": "MODIFY", "old_path": "src/types.ts", "new_path": "src/types.ts", "diff": "@@ -6,7 +6,6 @@ import {\nSendPaymentResponse,\nWebLNNode,\n} from \"~/extension/background-script/connectors/connector.interface\";\n-import { weblnCalls } from \"~/extension/content-script\";\nexport type C...
TypeScript
MIT License
getalby/lightning-browser-extension
revert: no types for WebLN message
244,503
10.08.2022 20:57:02
-7,200
70dcf341a20fc52acb49375d9c631c61988cb72e
fix: correct URL path
[ { "change_type": "MODIFY", "old_path": "src/app/screens/Home/index.tsx", "new_path": "src/app/screens/Home/index.tsx", "diff": "@@ -263,7 +263,7 @@ function Home() {\norigin: originData,\n},\n});\n- navigate(\"lnurlPay\", {\n+ navigate(\"/lnurlPay\", {\n} else if (lnData[0].method === \"keysend\") {...
TypeScript
MIT License
getalby/lightning-browser-extension
fix: correct URL path
244,503
10.08.2022 20:57:40
-7,200
b66a71156c44f2e027a03c07b957ae650fd2e09a
refactor: no need to stringify for Prompt
[ { "change_type": "MODIFY", "old_path": "src/app/router/Prompt/Prompt.tsx", "new_path": "src/app/router/Prompt/Prompt.tsx", "diff": "@@ -64,13 +64,9 @@ function Prompt() {\n<Navigate\nto={`/${navigationState.action}`}\nreplace\n- state={{\n- lnurlDetailsStringified: JSON.stringify(\n- navigationState...
TypeScript
MIT License
getalby/lightning-browser-extension
refactor: no need to stringify for Prompt