author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
244,495 | 07.10.2021 13:32:49 | -7,200 | 88e69eb4a5483e443dd843f3889de28eb15278d6 | further design improvements | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -14,7 +14,7 @@ export default function Navbar({ title, subtitle, children, right }: Props) {\n<div className=\"px-4 py-2 flex justify-between items-center bo... | TypeScript | MIT License | getalby/lightning-browser-extension | further design improvements |
244,495 | 07.10.2021 13:57:32 | -7,200 | 41370f6178876d30b326b1517a549b85b5f983f8 | improved navbar design | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -12,18 +12,20 @@ type Props = {\nexport default function Navbar({ title, subtitle, children, right }: Props) {\nreturn (\n<div className=\"px-4 py-2 flex jus... | TypeScript | MIT License | getalby/lightning-browser-extension | improved navbar design |
244,495 | 07.10.2021 14:13:17 | -7,200 | 8e7b459d8288410e299294f8f7cb47b6afffc43c | add a bg color | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -11,7 +11,7 @@ type Props = {\nexport default function Navbar({ title, subtitle, children, right }: Props) {\nreturn (\n- <div className=\"px-4 py-2 flex jus... | TypeScript | MIT License | getalby/lightning-browser-extension | add a bg color |
244,495 | 07.10.2021 14:19:09 | -7,200 | 2871734a0ac017b2ec762b0ae0bbb35def990024 | remove border-b | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublishersTable/index.jsx",
"new_path": "src/app/components/PublishersTable/index.jsx",
"diff": "@@ -9,7 +9,7 @@ const DEFAULT_IMAGE =\nexport default function PublishersTable({ publishers, navigateToPublisher }) {\nreturn (\n- <div classNam... | TypeScript | MIT License | getalby/lightning-browser-extension | remove border-b |
244,495 | 07.10.2021 14:27:14 | -7,200 | df1a34fe08d2b37f7b6a9b1aeff9e675b854b1bb | add background to options | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublishersTable/index.jsx",
"new_path": "src/app/components/PublishersTable/index.jsx",
"diff": "@@ -11,7 +11,7 @@ export default function PublishersTable({ publishers, navigateToPublisher }) {\nreturn (\n<div className=\"shadow overflow-hid... | TypeScript | MIT License | getalby/lightning-browser-extension | add background to options |
244,495 | 07.10.2021 14:32:15 | -7,200 | fccccd7924e3320d0599ab590bba2225affb91f5 | add a small transition to the chev | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/TransactionsTable/index.tsx",
"new_path": "src/app/components/TransactionsTable/index.tsx",
"diff": "@@ -80,11 +80,11 @@ export default function TransactionsTable({ transactions }: Props) {\n</p>\n<p className=\"text-xs text-gray-400\">{tx.d... | TypeScript | MIT License | getalby/lightning-browser-extension | add a small transition to the chev |
244,495 | 08.10.2021 15:32:21 | -7,200 | ab479005cab89f1ec87f7e7f918e8f18fcaa7c7d | link directly to publisher | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -151,7 +151,7 @@ class Home extends React.Component {\n<a\ntarget=\"_blank\"\ntitle={payment.name}\n- href={`options.html#/publishers`}\n+ href={`options.html#/publisher... | TypeScript | MIT License | getalby/lightning-browser-extension | link directly to publisher |
244,495 | 11.10.2021 17:45:36 | -7,200 | f8a8b20e8725ee3415eb8666cfc9a7940e9e2764 | refactor: return the same response signature | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -28,10 +28,11 @@ class ConfirmPayment extends React.Component {\ntry {\nthis.setState({ loading: true });\n- await utils.call(\"sendPayment\", {\n+ c... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: return the same response signature |
244,495 | 11.10.2021 17:55:49 | -7,200 | dab8ce492abc370434e277453e32ca00b2df4cc0 | fix: missing back button | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnbits/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.jsx",
"diff": "@@ -89,8 +89,16 @@ export default function ConnectLnbits() {\n</div>\n</div>\n</div>\n- <div className=\"mt-8\">\n- <Button label=\"Next\"... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: missing back button |
244,495 | 11.10.2021 20:23:28 | -7,200 | cd63efb9a0d0636df3e3b8de5c7ed1be0c08b827 | feat: redirect if not onboarded | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -21,6 +21,17 @@ function Options() {\n});\n}\nuseEffect(() => {\n+ utils\n+ .call(\"status\")\n+ .then((response) => {\n+ if (!response.configured) {\n+ utils.op... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: redirect if not onboarded |
244,495 | 12.10.2021 10:00:49 | -7,200 | 0c1a3678082da95c1bcb948eb45d1f49b83c9d8a | feat: show metadata | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/Input/index.jsx",
"new_path": "src/app/components/Form/Input/index.jsx",
"diff": "@@ -19,7 +19,7 @@ export default function Input({\ntype={type}\nname={name}\nid={id}\n- className=\"shadow-sm focus:ring-orange-bitcoin h-14 focus:border-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show metadata |
244,495 | 12.10.2021 10:06:20 | -7,200 | 153ff91bc6b2219e2ed3cef39ae2ce4a3b17a154 | refactor: dl rendering | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -151,20 +151,16 @@ function LNURLPay({ details, origin }: Props) {\n<PublisherCard title={origin.name} image={origin.icon} />\n<div className=\"p-6\">\n<dl className=\"shado... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: dl rendering |
244,495 | 12.10.2021 10:56:10 | -7,200 | d77e21349fdbc323883b9e25563c16a3d387490a | refactor: base64 display | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -139,7 +139,7 @@ function LNURLPay({ details, origin }: Props) {\n} else if (type === \"text/long-desc\") {\nreturn [\"Full Description\", <p>{content}</p>];\n} else if ([\"... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: base64 display |
244,495 | 12.10.2021 12:44:13 | -7,200 | 45281844c433afde44d61ca4f6668f35394a90e3 | feat: catch parsing errors | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -132,18 +132,27 @@ function LNURLPay({ details, origin }: Props) {\n}\nfunction formattedMetadata() {\n- return JSON.parse(details.metadata)\n+ try {\n+ const metadata = JSO... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: catch parsing errors |
244,495 | 12.10.2021 18:05:38 | -7,200 | 3eebc2636dfab1beb7a36af8eb883b74fd2cee50 | refactor: renaming, moving code, reorganization | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -75,7 +75,7 @@ class Prompt extends React.Component {\n</Route>\n<Route\nexact\n- path=\"/sendPayment\"\n+ path=\"/confirmPayment\"\nrender={(props) => (\n<ConfirmPa... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: renaming, moving code, reorganization |
244,495 | 12.10.2021 19:13:16 | -7,200 | 9d926968c148e53323c2bbfb254f763be087efc0 | fix: small styling fixes | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Header/index.tsx",
"new_path": "src/app/components/Header/index.tsx",
"diff": "@@ -8,7 +8,7 @@ type Props = {\nfunction Header({ title, headerLeft, headerRight }: Props) {\nreturn (\n- <div className=\"flex justify-between px-4 py-3 border-b... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: small styling fixes |
244,495 | 13.10.2021 11:07:23 | -7,200 | a532f2650b19f7345eecd9e2680623fad171acc2 | fix: add a bg color | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -10,7 +10,7 @@ function Settings() {\nreturn (\n<Container>\n<h2 className=\"mt-12 mb-6 text-2xl font-bold\">Settings</h2>\n- <div className=\"shadow sm:rounded-md sm:overfl... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add a bg color |
244,495 | 13.10.2021 11:43:42 | -7,200 | b1b55e2d18261ab83ef178cf0bd446a52c041c7c | refactor: utils call | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -23,7 +23,7 @@ function Send() {\nif (invoice) {\ntry {\nawait utils.call(\n- \"sendPayment\",\n+ \"sendPaymentOrPrompt\",\n{ paymentRequest: invoice },\n{ origin: getOriginData() }... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: utils call |
244,495 | 13.10.2021 12:15:09 | -7,200 | ab42e155774cff1098551adfc895926e10699d52 | feat: generate an invoice from form | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/Select/index.tsx",
"new_path": "src/app/components/Form/Select/index.tsx",
"diff": "@@ -3,7 +3,7 @@ import React from \"react\";\nfunction Select({ children, value, name, onChange }) {\nreturn (\n<select\n- className=\"w-full h-14 borde... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: generate an invoice from form |
244,495 | 13.10.2021 12:27:25 | -7,200 | def74d04c88033036ecd5a6e342493683f8d0b2f | feat: generate qr from invoice | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "import React, { useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport CaretLeftIcon from \"@bitcoin-design/bitcoin-icons/svg/filled/caret-left.svg\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: generate qr from invoice |
244,495 | 13.10.2021 12:38:10 | -7,200 | d32333707c6be28429663297bdc66b2ea70aac82 | feat: add to clipboard | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -44,9 +44,23 @@ function Receive() {\nfunction renderInvoice() {\nreturn (\n- <div className=\"p-8 bg-white rounded-lg shadow-sm ring-1 ring-black ring-opacity-5 flex justify-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add to clipboard |
244,495 | 13.10.2021 12:48:58 | -7,200 | b5c667075cdd12b314687bac87cc771c4e3c35dc | feat: added copy icon | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -7,6 +7,7 @@ import Loading from \"../Loading\";\ntype Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {\nfullWidth?: boolean;\nlabel: string;\n+ icon?... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added copy icon |
244,495 | 13.10.2021 12:52:46 | -7,200 | 7eaf4866124cc305b37c2efd761cfab40c4c4616 | style: extra margin | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -37,7 +37,6 @@ function Receive() {\nmemo: formData.description,\n});\nsetInvoice(response);\n- console.log(response);\n} catch (e) {\nalert(e.message);\n}\n@@ -49,7 +48,7 @@ ... | TypeScript | MIT License | getalby/lightning-browser-extension | style: extra margin |
244,495 | 13.10.2021 20:05:21 | -7,200 | 8dc1bad2a4ef70a94661aea14eb6603cea333162 | feat: routing directly to lnurlpay | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.jsx",
"new_path": "src/app/router/Popup/Popup.jsx",
"diff": "@@ -7,6 +7,7 @@ import utils from \"../../../common/lib/utils\";\nimport Home from \"../../screens/Home\";\nimport Unlock from \"../../screens/Unlock\";\nimport Send from \... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: routing directly to lnurlpay |
244,495 | 13.10.2021 20:17:18 | -7,200 | 37436635301e718bc38677f90fe52c87c2e6bef1 | fix: make cancel work | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, useEffect, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport browser from \"webextension-polyfill\";\n+import { useHistory } from \"r... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: make cancel work |
244,495 | 13.10.2021 20:20:11 | -7,200 | 3bd5f908a40d5e7ea8d126a348bacf560ef06a83 | refactor: effect dependency | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -61,10 +61,10 @@ function LNURLPay(props: Props) {\n});\n}\n- if (!details && !origin) {\n+ if (!props.details && !props.origin) {\ngetLightningData();\n}\n- }, []);\n+ }, [... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: effect dependency |
244,495 | 13.10.2021 22:49:19 | -7,200 | 7d7598181650597fa1276a70ebd54fb61a49a04f | pass data by params | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, useEffect, MouseEvent } from \"react\";\nimport axios from \"axios\";\n-import browser from \"webextension-polyfill\";\n-import { useHistory } from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | pass data by params |
244,495 | 14.10.2021 09:18:25 | -7,200 | 860b39462343e3ed2d8d9e2deba1da8c47ae3b64 | refactor: replace hash router by memory router | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.jsx",
"new_path": "src/app/router/Popup/Popup.jsx",
"diff": "import React, { useState, useEffect } from \"react\";\n-import { createHashHistory } from \"history\";\n-import { HashRouter, Switch, Route } from \"react-router-dom\";\n+i... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: replace hash router by memory router |
244,495 | 14.10.2021 09:23:25 | -7,200 | 08c58da97482db77e09708a1e268c8f923d6df88 | refactor: remove exact | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.jsx",
"new_path": "src/app/router/Popup/Popup.jsx",
"diff": "@@ -102,7 +102,7 @@ const Default = () => {\n<Route path=\"/send\">\n<Send />\n</Route>\n- <Route exact path=\"/lnurlPay\">\n+ <Route path=\"/lnurlPay\">\n<LNURLPay />\n</R... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: remove exact |
244,495 | 14.10.2021 09:29:06 | -7,200 | 1d4256b499723414300352e2ae74b903facb30c9 | feat: add a header | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n+import CaretLeftIcon from ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add a header |
244,495 | 15.10.2021 10:44:30 | -7,200 | e9fe272f204819d125d8ad195f2312219bfd0c3d | remove unused history instances | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/LinkButton/index.tsx",
"new_path": "src/app/components/LinkButton/index.tsx",
"diff": "@@ -11,7 +11,7 @@ type Props = {\nexport default function LinkButton({ to, title, description }: Props) {\nreturn (\n<Link to={to} className=\"block\">\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | remove unused history instances |
244,495 | 15.10.2021 14:28:06 | -7,200 | 44596f6858b1942def56826b6901a957ad4e5d47 | refactor: moved notification, disable button while loading | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -15,6 +15,7 @@ export default function Button({\ntype = \"button\",\nlabel,\nonClick,\n+ disabled,\nfullWidth = false,\nprimary = false,\nloading = false,\n@@ ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: moved notification, disable button while loading |
244,495 | 15.10.2021 14:45:17 | -7,200 | 55f282d1a66cf87ba55b9015c3c42f0542f69e46 | refactor: handle errors by caller | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/sendPayment.ts",
"new_path": "src/extension/background-script/actions/ln/sendPayment.ts",
"diff": "@@ -12,13 +12,9 @@ export default async function sendPayment(message) {\n});\nconst connector = state.getState().getCo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: handle errors by caller |
244,495 | 15.10.2021 15:00:19 | -7,200 | 9b78071ce3228fb1a5bad6a3212dbb76078bd571 | Update src/extension/background-script/actions/webln/sendPaymentOrPrompt.js | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/webln/sendPaymentOrPrompt.js",
"new_path": "src/extension/background-script/actions/webln/sendPaymentOrPrompt.js",
"diff": "@@ -30,6 +30,7 @@ async function sendPaymentWithAllowance(message) {\nconst response = await sen... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/background-script/actions/webln/sendPaymentOrPrompt.js
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 15.10.2021 21:58:05 | -7,200 | 0000eb444662738b260478c8c3e3902d7e20fbfd | feat: fully typed batteries | [
{
"change_type": "RENAME",
"old_path": "src/extension/content-script/batteries/GitHubRepo.js",
"new_path": "src/extension/content-script/batteries/GitHubRepo.ts",
"diff": "-import axios from \"axios\";\n+import axios, { AxiosResponse } from \"axios\";\n+import { Battery } from \"../../../types\";\nc... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: fully typed batteries |
244,495 | 15.10.2021 22:03:49 | -7,200 | 87a845c619a5fa55ba2985bd37c5632b1c6d87b5 | add correct type to global | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "import utils from \"../../../common/lib/utils\";\n+import { Battery } from \"../../../types\";\n// import GitHubRepo from \"./GitHubRepo\"... | TypeScript | MIT License | getalby/lightning-browser-extension | add correct type to global |
244,495 | 18.10.2021 13:08:06 | -7,200 | ad649a390d7361a1efb09f61f8ad7fbb3000be51 | feat: add host property | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -216,6 +216,7 @@ class Home extends React.Component {\norigin: {\nexternal: true,\nname: lnData[0].name,\n+ host: lnData[0].host,\ndescription: lnData[0].description,\ni... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add host property |
244,495 | 18.10.2021 13:23:32 | -7,200 | 41a6058d1b1a497dcc4357d7755df1d0d3c7d1bd | feat: use origindata func | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/GitHubRepo.ts",
"new_path": "src/extension/content-script/batteries/GitHubRepo.ts",
"diff": "import axios, { AxiosResponse } from \"axios\";\n+\n+import getOriginData from \"../originData\";\nimport { Battery } from \"../... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use origindata func |
244,495 | 18.10.2021 13:45:33 | -7,200 | fa00515cce33f17109df52692aba8d4af642fd1d | typed origindata | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/originData.ts",
"new_path": "src/extension/content-script/originData.ts",
"diff": "// https://github.com/BetaHuhn/metadata-scraper <3\n-const metaDataRules = {\n+import { MetaData, OriginData } from \"../../types\";\n+\n+type Metad... | TypeScript | MIT License | getalby/lightning-browser-extension | typed origindata |
244,495 | 18.10.2021 14:55:04 | -7,200 | 571726a53a06b6bd30513303361ca8b77c6e981f | feat: copy visual feedback | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -20,6 +20,7 @@ function Receive() {\nexpiration: \"\",\n});\nconst [invoice, setInvoice] = useState();\n+ const [copyLabel, setCopyLabel] = useState(\"Copy\");\nfunction handl... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: copy visual feedback |
244,495 | 19.10.2021 14:46:54 | -7,200 | 2b43959ada13b301df15281ef297fab83ba33a8b | feat: add disabled states | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/Button.stories.tsx",
"new_path": "src/app/components/Button/Button.stories.tsx",
"diff": "@@ -4,7 +4,18 @@ import Button from \".\";\nexport const Default = () => <Button label=\"Button\" />;\nexport const Primary = () => <Button labe... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add disabled states |
244,495 | 19.10.2021 14:58:03 | -7,200 | 3d53419707a854b317138289dee022dd58b526fd | style: margin bottom adjusted | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -189,7 +189,7 @@ function LNURLPay(props: Props) {\n)}\n<PublisherCard title={origin.name} image={origin.icon} />\n<div className=\"p-6\">\n- <dl className=\"shadow bg-white... | TypeScript | MIT License | getalby/lightning-browser-extension | style: margin bottom adjusted |
244,495 | 19.10.2021 18:35:36 | -7,200 | ac687235fdd32d9b33e3b04ef1944aabb169ecb2 | feat: handle form errors | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/Input/index.jsx",
"new_path": "src/app/components/Form/Input/index.jsx",
"diff": "@@ -7,6 +7,8 @@ export default function Input({\ntype = \"text\",\nrequired = false,\nonChange,\n+ onFocus,\n+ onBlur,\nvalue,\nautoFocus = false,\nautoCo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: handle form errors |
244,495 | 20.10.2021 09:59:00 | -7,200 | 32c50fb1cbce7f6c6ade2b4f405a7e2b74a27639 | feat: add home/receive to home screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -11,6 +11,7 @@ type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {\nprimary?: boolean;\nloading?: boolean;\ndisabled?: boolean;\n+ direction?: \"row... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add home/receive to home screen |
244,495 | 22.10.2021 11:01:30 | -7,200 | 7e290b1c5ad913582bf14985f247d4fe945766af | fix: eslint 8 is not compatible with eslint-plugin-flowtype | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"cross-env\": \"^7.0.3\",\n\"css-loader\": \"^6.4.0\",\n\"css-minimizer-webpack-plugin\": \"^3.1.1\",\n- \"eslint\": \"^8.0.1\",\n+ \"eslint\": \"^7.32.0\",\n\"eslint-config-prettier\": \"^8.1.0\",\n\"eslint... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: eslint 8 is not compatible with eslint-plugin-flowtype |
244,495 | 22.10.2021 11:06:37 | -7,200 | a953009d1ec3487097a9a7e6b6ec37830b2cf35d | feat: update on account switching | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/index.tsx",
"new_path": "src/app/components/AccountMenu/index.tsx",
"diff": "@@ -12,7 +12,7 @@ type Props = {\nonAccountSwitch?: () => void;\n};\n-function AccountMenu(onAccountSwitch: Props) {\n+function AccountMenu({ onAccountS... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: update on account switching |
244,495 | 22.10.2021 11:35:39 | -7,200 | 4e4bf959c3629fa84d542bb944e714144831a665 | feat: add story | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"diff": "+import React from \"react\";\n+\n+import AcountMenu from \".\";\n+\n+export const Default = () => (\n+ <div className=\"relative bg-gray-100 w-40 flex justify-between pl-3 rounde... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add story |
244,461 | 22.10.2021 23:55:56 | -7,200 | a2c2973257d4422d0ca950f41f73a32f66db7606 | Case insensitive attribute selector | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/Twitter.ts",
"new_path": "src/extension/content-script/batteries/Twitter.ts",
"diff": "@@ -22,7 +22,7 @@ function isOnProfilePage(username: string) {\nfunction isOnTweet(username: string) {\nreturn (\ndocument.querySelect... | TypeScript | MIT License | getalby/lightning-browser-extension | Case insensitive attribute selector |
244,495 | 23.10.2021 11:42:38 | -7,200 | f89c544c5139acd98235015cb171d4d20a711733 | refactor: removed redundant styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Popup/Popup.jsx",
"new_path": "src/app/router/Popup/Popup.jsx",
"diff": "@@ -13,8 +13,6 @@ import Loading from \"../../components/Loading\";\nimport Navbar from \"../../components/Navbar\";\nimport UserMenu from \"../../components/UserMenu\";\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: removed redundant styling |
244,461 | 23.10.2021 13:18:01 | -7,200 | 54b203ebe61ddd106ce8ffbf7ff3aa3c775fdfac | Fix invalid passing on of origin data | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -22,7 +22,6 @@ class Prompt extends React.Component {\nlet origin = {};\nlet args = {};\nlet invoice = {};\n- console.log(message);\nif (message.origin) {\norigin = ... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix invalid passing on of origin data |
244,461 | 23.10.2021 14:14:49 | -7,200 | 0ee7b675963260ddfe856e90401ca7116631af9d | Fix setting extension icon
This fixes the case that the enhancements overwrite the allowance icon highlighting.
The icon should be active if:
* the current page has an allowance
* some lightning data is found on the current page | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -35,17 +35,26 @@ const updateIcon = async (tabId, changeInfo, tabInfo) => {\n.equalsIgnoreCase(url.host)\n.first();\n+ // TODO: move to some config f... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix setting extension icon
This fixes the case that the enhancements overwrite the allowance icon highlighting.
The icon should be active if:
* the current page has an allowance
* some lightning data is found on the current page |
244,495 | 23.10.2021 14:45:57 | -7,200 | e33556b58e08e9c3efbce4c237f027d7cd10ad24 | feat: add disabled state | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -37,6 +37,7 @@ export default function Button({\nprimary && !disabled && \"hover:bg-orange-bitcoin-700\",\n!primary && !disabled && \"hover:bg-gray-100\",\ndis... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add disabled state |
244,495 | 23.10.2021 15:01:44 | -7,200 | 605bbb068ba92c68b6b8af170e04d91589310ecc | feat: added disabled prop to onboarding screens | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnbits/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.jsx",
"diff": "@@ -98,7 +98,12 @@ export default function ConnectLnbits() {\nreturn false;\n}}\n/>\n- <Button type=\"submit\" label=\"Continue\" primary ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added disabled prop to onboarding screens |
244,461 | 23.10.2021 15:20:18 | -7,200 | 961bb28177ab7022715d9817155df5f974c02b3c | Use correct way to open a URL in a new tab | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -74,13 +74,12 @@ function LNURLPay(props: Props) {\nif (successAction && !payment.payment_error) {\nswitch (successAction.tag) {\ncase \"url\": // TODO: For url, the wallet ... | TypeScript | MIT License | getalby/lightning-browser-extension | Use correct way to open a URL in a new tab |
244,495 | 23.10.2021 15:22:21 | -7,200 | 1912efb05a99f67d139ff4e5ce07548689dc0bb8 | style: improved disabled button styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -36,8 +36,8 @@ export default function Button({\n: `bg-white text-gray-700 border border-gray-200`,\nprimary && !disabled && \"hover:bg-orange-bitcoin-700\",\n... | TypeScript | MIT License | getalby/lightning-browser-extension | style: improved disabled button styling |
244,495 | 23.10.2021 15:37:21 | -7,200 | 747622b0deb32e2c09b538fb5acff5e653877a3a | style: smarter disabled styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -36,9 +36,9 @@ export default function Button({\n: `bg-white text-gray-700 border border-gray-200`,\nprimary && !disabled && \"hover:bg-orange-bitcoin-700\",\n... | TypeScript | MIT License | getalby/lightning-browser-extension | style: smarter disabled styling |
244,495 | 23.10.2021 15:40:37 | -7,200 | 274b5a28580db525cf29ce6f160f5bfca8eaae76 | style: apply opacity to all disabled styles | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -36,8 +36,7 @@ export default function Button({\n: `bg-white text-gray-700 border border-gray-200`,\nprimary && !disabled && \"hover:bg-orange-bitcoin-700\",\n... | TypeScript | MIT License | getalby/lightning-browser-extension | style: apply opacity to all disabled styles |
244,495 | 23.10.2021 15:58:25 | -7,200 | c40bf0adcdd5fc13c0824e3a90f28a5488642abe | feat: add loading state to send sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n-import CaretLeftIcon from ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add loading state to send sats |
244,461 | 23.10.2021 16:07:58 | -7,200 | b6cae93a5c8d8ceba310de1f936456e41cc5d6cd | Remove header from LNURLPay
we got a cancel button at the bottom and with the navigation the publisher "jumps" a bit. | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -168,24 +168,6 @@ function LNURLPay(props: Props) {\nreturn (\n<div>\n- {location.state && (\n- <Header\n- title=\"Send a payment\"\n- headerLeft={\n- <IconButton\n- onClick... | TypeScript | MIT License | getalby/lightning-browser-extension | Remove header from LNURLPay
we got a cancel button at the bottom and with the navigation the publisher "jumps" a bit. |
244,461 | 23.10.2021 16:58:36 | -7,200 | 03f0237bfb1299cc3d9b48d1baddab5a9b34a376 | Some wording/text | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublishersTable/index.jsx",
"new_path": "src/app/components/PublishersTable/index.jsx",
"diff": "@@ -52,7 +52,7 @@ export default function PublishersTable({ publishers, navigateToPublisher }) {\n{parseInt(publisher.totalBudget) > 0 && (\n<di... | TypeScript | MIT License | getalby/lightning-browser-extension | Some wording/text |
244,495 | 25.10.2021 11:14:45 | -7,200 | 78896e48365e73edc093e787870a7171f873226b | fix: errors catched too early | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -185,7 +185,6 @@ export async function lnurlPay(message, sender) {\nrequest: paymentRequest,\n});\n- try {\nconst respons... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: errors catched too early |
244,495 | 25.10.2021 14:06:40 | -7,200 | 522ed5d4764f23a5a45a412fa3a1baffb6ec2ab6 | feat: Add type declaration for invoices package | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/utils.ts",
"new_path": "src/common/lib/utils.ts",
"diff": "@@ -66,7 +66,11 @@ const utils = {\nstringToUint8Array: (str: string) => {\nreturn Uint8Array.from(str, (x) => x.charCodeAt(0));\n},\n- publishPaymentNotification: (message, paymentReque... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: Add type declaration for invoices package |
244,495 | 25.10.2021 14:33:17 | -7,200 | f6e1db3bd10f1e0ff02e66e7daa783c5974b33b6 | feat: typed db | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/webln/sendPaymentOrPrompt.ts",
"new_path": "src/extension/background-script/actions/webln/sendPaymentOrPrompt.ts",
"diff": "@@ -31,9 +31,11 @@ async function sendPaymentWithAllowance(message) {\nreturn response;\n} catch... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: typed db |
244,495 | 26.10.2021 09:28:10 | -7,200 | a693abdc39279759d7610946d4041493474f931d | feat: new types created | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@storybook/cli\": \"^6.4.0-beta.4\",\n\"@storybook/manager-webpack5\": \"^6.4.0-beta.4\",\n\"@storybook/react\": \"^6.4.0-beta.4\",\n+ \"@types/crypto-js\": \"^4.0.2\",\n\"@types/pubsub-js\": \"^1.8.3\",\n\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: new types created |
244,495 | 26.10.2021 10:03:49 | -7,200 | 8e56750e6af761ba89052785aa1030cd2df25049 | feat: LNURLDetails interface | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -3,6 +3,7 @@ import sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-hex\";\nimport { parsePaymentRequest } from \"invoices\";\n+import { LNURLDetails } from \"../..... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: LNURLDetails interface |
244,495 | 26.10.2021 15:59:51 | -7,200 | 3ee2a7193654db7d7503f963620b76315a0d57d0 | feat: more refactoring to typescript | [
{
"change_type": "RENAME",
"old_path": "src/common/lib/crypto.js",
"new_path": "src/common/lib/crypto.ts",
"diff": "import { AES, enc } from \"crypto-js\";\n-export function encryptData(data, password, salt) {\n+export function encryptData(data: any, password: string) {\nreturn AES.encrypt(JSON.stri... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: more refactoring to typescript |
244,495 | 26.10.2021 18:41:39 | -7,200 | 5550645f87db09f542516f9bcb95211eb74ebfcb | feat: add more typescript to components | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@storybook/manager-webpack5\": \"^6.4.0-beta.4\",\n\"@storybook/react\": \"^6.4.0-beta.4\",\n\"@types/crypto-js\": \"^4.0.2\",\n+ \"@types/elliptic\": \"^6.4.13\",\n\"@types/pubsub-js\": \"^1.8.3\",\n+ \"@t... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add more typescript to components |
244,461 | 26.10.2021 18:46:44 | -7,200 | da77a05da25ff22b7cfc9d888ad9956219739c69 | Workaround lnbits lndhub extension limitation
The lnbits extension that tries to expose a lndhub compatible interface is not returning the route information in the payment response.
we need the route information (total amount and fees). This adds an lnbits like hack to the lndhub connector to use the information from t... | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.js",
"new_path": "src/extension/background-script/connectors/lndhub.js",
"diff": "import axios from \"axios\";\nimport sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-hex\";\n+import { parseP... | TypeScript | MIT License | getalby/lightning-browser-extension | Workaround lnbits lndhub extension limitation
The lnbits extension that tries to expose a lndhub compatible interface is not returning the route information in the payment response.
we need the route information (total amount and fees). This adds an lnbits like hack to the lndhub connector to use the information from ... |
244,495 | 26.10.2021 19:41:26 | -7,200 | 4e23cbd0f9868021be6a0f4142816b6038c14ced | feat: more components converted to typescript | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Badge/index.tsx",
"new_path": "src/app/components/Badge/index.tsx",
"diff": "@@ -4,7 +4,7 @@ type Props = {\nlabel: string;\ncolor: string;\ntextColor: string;\n- small: boolean;\n+ small?: boolean;\n};\nexport default function Badge({ label... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: more components converted to typescript |
244,495 | 26.10.2021 19:47:06 | -7,200 | 96024fc5ed79e4f3cdcf69698dfbc5381bc34fa0 | feat: more typed components | [
{
"change_type": "RENAME",
"old_path": "src/app/components/PublishersTable/index.jsx",
"new_path": "src/app/components/PublishersTable/index.tsx",
"diff": "@@ -4,10 +4,34 @@ import { ChevronRightIcon } from \"@heroicons/react/solid\";\nimport Badge from \"../Badge\";\nimport Progressbar from \"../Pr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: more typed components |
244,495 | 27.10.2021 09:54:01 | -7,200 | 381322f449c1b88ccd6a9db41b3627fc794398f3 | feat: more type checked components | [
{
"change_type": "RENAME",
"old_path": "src/app/components/QrcodeScanner/index.jsx",
"new_path": "src/app/components/QrcodeScanner/index.tsx",
"diff": "@@ -3,16 +3,29 @@ import { QrcodeIcon } from \"@heroicons/react/outline\";\nimport Button from \"../Button\";\n+declare global {\n+ interface Window... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: more type checked components |
244,495 | 27.10.2021 11:41:47 | -7,200 | 0c9a63acc25ef3c6f112ffdb9fb2675e219b595f | feat: added more type checking | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -59,7 +59,7 @@ const lnurl = {\nasync getDetails(lnurlString: string) {\nconst url = normalizeLnurl(lnurlString);\nlet lnurlDetails = {} as LNURLDetails;\n- lnurlDetails.tag = url.sea... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added more type checking |
244,495 | 27.10.2021 12:27:44 | -7,200 | 3036dec3bd4eef5a77bfd4e74d52436c94de46a7 | feat: fixed typescript errors | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@storybook/react\": \"^6.4.0-beta.4\",\n\"@types/crypto-js\": \"^4.0.2\",\n\"@types/elliptic\": \"^6.4.13\",\n+ \"@types/memoizee\": \"^0.4.6\",\n\"@types/pubsub-js\": \"^1.8.3\",\n\"@types/react-modal\": \... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: fixed typescript errors |
244,495 | 27.10.2021 12:39:07 | -7,200 | b1ce07ba099c1d477d76a04ad05f0b52a1828f87 | refactor: reuse types | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -2,6 +2,7 @@ import React, { useState, MouseEvent } from \"react\";\nimport axios, { AxiosResponse } from \"axios\";\nimport { useHistory, useLocation } from \"react-router-... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: reuse types |
244,495 | 27.10.2021 13:50:42 | -7,200 | aba50f4f9831f18c3429e08eff5a730a8046853e | fix: input auto filling 0 on no value | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -122,8 +122,12 @@ function LNURLPay(props: Props) {\ntype=\"number\"\nmin={details.minSendable / 1000}\nmax={details.maxSendable / 1000}\n- value={valueMSat / 1000}\n- onCha... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: input auto filling 0 on no value |
244,495 | 27.10.2021 15:40:10 | -7,200 | 875800df9c192970385f84e5daba1a762057c904 | fix: add temp ts-ignore rule | [
{
"change_type": "RENAME",
"old_path": "src/extension/background-script/connectors/index.ts",
"new_path": "src/extension/background-script/connectors/index.js",
"diff": "-const Native: any = require(\"./native\");\n-const Lnd: any = require(\"./lnd\");\n-const LndHub: any = require(\"./lndhub\");\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: add temp ts-ignore rule |
244,495 | 27.10.2021 15:43:16 | -7,200 | 3da5d00c48310512522a62d644466558bca59b78 | refactor: ts-ignore placement | [
{
"change_type": "RENAME",
"old_path": "src/extension/background-script/connectors/index.js",
"new_path": "src/extension/background-script/connectors/index.ts",
"diff": "+// @ts-ignore: implicitly has 'any' type error\nimport Native from \"./native\";\n+// @ts-ignore: implicitly has 'any' type error... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: ts-ignore placement |
244,461 | 27.10.2021 17:13:53 | -7,200 | 18f42576dd65d651fa8d8c4bafc40cdb92ef593a | Fix invalid LNURLPay call parameters | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -72,10 +72,11 @@ function LNURLPay(props: Props) {\n}\n// LN WALLET pays the invoice, no additional user confirmation is required at this point\n- const payment = await util... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix invalid LNURLPay call parameters |
244,461 | 27.10.2021 17:14:42 | -7,200 | f3ded945b4b79774443204c610a40c7f54a7e6ae | Fix TypeScript errors... but I don't know what I am doing | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -65,7 +65,7 @@ const lnurl = {\nlnurlDetails.action = url.searchParams.get(\"action\") || \"\";\n} else {\nconst res = await axios.get(url.toString());\n- lnurlDetails = res.data;\n+ ... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix TypeScript errors... but I don't know what I am doing |
244,495 | 28.10.2021 08:34:10 | -7,200 | f44b89de03df2d2f0b21953f252a279931b3793f | refactor: provide type argument directly | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, MouseEvent } from \"react\";\n-import axios, { AxiosResponse } from \"axios\";\n+import axios from \"axios\";\nimport { useHistory, useLocation } from... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: provide type argument directly |
244,495 | 28.10.2021 10:05:15 | -7,200 | d65cebf907e81614771a79fb513e97992f851c9c | feat: add lnurl support | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -6,6 +6,7 @@ import CrossIcon from \"@bitcoin-design/bitcoin-icons/svg/filled/cross.svg\";\nimport utils from \"../../common/lib/utils\";\nimport getOriginData from \"../../extensio... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add lnurl support |
244,495 | 28.10.2021 10:48:24 | -7,200 | 6e2dda1b0356182eb86d3d463c00947dd8c72292 | feat: add lightning address support | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -23,7 +23,11 @@ function Send() {\nasync function handleSubmit(event: React.FormEvent<HTMLFormElement>) {\nevent.preventDefault();\ntry {\n- const lnurl = lnurlLib.findLnurl(invoice... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add lightning address support |
244,495 | 28.10.2021 11:06:26 | -7,200 | 5c716d661891005af99030d1be6e9929719cbf58 | refactor: fix typo and reuse func | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Send.tsx",
"new_path": "src/app/screens/Send.tsx",
"diff": "@@ -125,7 +125,7 @@ function Send() {\n<div className=\"mt-1 mb-4\">\n<Input\nname=\"invoice\"\n- placeholder=\"Paste invoicem, lnurl or lightning address\"\n+ placeholder=\"Paste invo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: fix typo and reuse func |
244,506 | 28.10.2021 11:07:33 | -3,600 | b62bfcaea29cb4db8b34c41639362ab0f3d6bdd2 | removed an extra setLoading | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"diff": "@@ -89,7 +89,6 @@ export default function TestConnection() {\nconst balance = parseInt(response.balance.balance);\nsetAccountInfo({ alia... | TypeScript | MIT License | getalby/lightning-browser-extension | removed an extra setLoading |
244,461 | 28.10.2021 13:36:13 | -7,200 | 243168bb13f9f34edfa9cde2de0ed5fa78a57016 | Make wallet custodial service configurable
also add some loading spinners to the button | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"new_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"diff": "@@ -6,16 +6,18 @@ import QRCode from \"react-qr-code\";\nimport utils from \"../../../../common/lib/utils\";\n-const url = \"https://lndhub.heroku... | TypeScript | MIT License | getalby/lightning-browser-extension | Make wallet custodial service configurable
also add some loading spinners to the button |
244,461 | 28.10.2021 14:17:41 | -7,200 | 647182f359febba98af2bfdcc18eaccd95e8b730 | Default value for ALBY_LNDHUB_URL | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -16,6 +16,10 @@ if (!process.env.FAUCET_URL) {\nif (!process.env.FAUCET_K) {\nprocess.env.FAUCET_K = null;\n}\n+// default value is set in the code where it is used\n+if (!process.env.ALBY_LNDHUB... | TypeScript | MIT License | getalby/lightning-browser-extension | Default value for ALBY_LNDHUB_URL |
244,495 | 28.10.2021 15:53:40 | -7,200 | d32b88ddc412ac5d301378b26c37bb1e5d613d36 | feat: add lnurlp: protocol | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -45,17 +45,23 @@ const lnurl = {\nfindLnurl(text: string) {\nlet stringToText = text.trim();\nlet match;\n+\n+ // look for a LNURL with lnurlp: prefix\n+ if ((match = stringToText.mat... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add lnurlp: protocol |
244,495 | 28.10.2021 20:04:33 | -7,200 | a22b77802c57d51a9bee5fd2cdd5582bbd1094ed | refactor: check for protocol or bech32 | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "@@ -46,10 +46,9 @@ const lnurl = {\nlet stringToText = text.trim();\nlet match;\n- // look for a LNURL with lnurlp: prefix\n- if ((match = stringToText.match(/lnurlp:(\\S+)/i))) {\n+ // ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: check for protocol or bech32 |
244,461 | 28.10.2021 23:28:08 | -7,200 | f65e1c9f6d25dd00bcc24051a18337daafeec4c8 | Alby page titles | [
{
"change_type": "MODIFY",
"old_path": "static/views/options.html",
"new_path": "static/views/options.html",
"diff": "<head>\n<meta charset=\"UTF-8\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n- <title>Options</title>\n+ <title>Alby</title>\n</head>\n<body clas... | TypeScript | MIT License | getalby/lightning-browser-extension | Alby page titles |
244,461 | 29.10.2021 12:33:16 | -7,200 | 0599c39a65b6116cdfa1fa19cd2fb5d13110deab | More loading spinners
All those do HTTP requests and can be slow | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"diff": "@@ -9,8 +9,9 @@ export default function ConnectLnbits() {\nconst history = useHistory();\nconst [formData, setFormData] = useState({\nadmi... | TypeScript | MIT License | getalby/lightning-browser-extension | More loading spinners
All those do HTTP requests and can be slow |
244,461 | 29.10.2021 18:04:02 | -7,200 | 9e73520d24a12da6f026c319b9cfc2320a55a5b5 | Add script to create deterministic builds
To publish the extension in the add-on stores we have to have deterministic builds.
This adds a script to create deterministic zip files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "create-packages.sh",
"diff": "+#!/bin/bash\n+\n+# Extract version from package.json\n+VERSION=$(node -pe \"require('./package.json').version\")\n+\n+echo \"Creating zip packages for v$VERSION\"\n+cd dist/production\n+\n+cd firefox\n+# Normalize ... | TypeScript | MIT License | getalby/lightning-browser-extension | Add script to create deterministic builds
To publish the extension in the add-on stores we have to have deterministic builds.
This adds a script to create deterministic zip files |
244,461 | 29.10.2021 18:50:06 | -7,200 | 6eba4978227d47dd50d3506238ecec962e3f9698 | Limit browser permissions until we make fully use of those features
The webrequest API was used to the experimental lsat support.
native messaging was used to interact with local node bridges | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "\"homepage_url\": \"https://getAlby.com/\",\n\"web_accessible_resources\": [\"js/inpageScript.bundle.js\"],\n\"permissions\": [\n- \"nativeMessaging\",\n\"notifications\",\n\"activeTab\",\n\"storage... | TypeScript | MIT License | getalby/lightning-browser-extension | Limit browser permissions until we make fully use of those features
The webrequest API was used to the experimental lsat support.
native messaging was used to interact with local node bridges |
244,461 | 03.11.2021 18:45:26 | -3,600 | c09d549eb85dd2845df958da21ab14a404072168 | Use default getalby.com domains | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"new_path": "src/app/screens/Onboard/NewWallet/index.tsx",
"diff": "@@ -6,7 +6,7 @@ import QRCode from \"react-qr-code\";\nimport utils from \"../../../../common/lib/utils\";\n-const url = process.env.ALBY_LNDHUB_U... | TypeScript | MIT License | getalby/lightning-browser-extension | Use default getalby.com domains |
244,461 | 04.11.2021 00:10:03 | -3,600 | a5a311c79eb56e1ec9ed2d4e5613c0f9d3e8eb98 | Better check if the current page completely loaded and a page on http | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -15,20 +15,19 @@ setInterval(() => {\n*/\nconst extractLightningDataFromPage = async (tabId, changeInfo, tabInfo) => {\n- if (changeInfo.status !== \... | TypeScript | MIT License | getalby/lightning-browser-extension | Better check if the current page completely loaded and a page on http |
244,461 | 04.11.2021 11:10:31 | -3,600 | 15ca0fc7968cb02f97877974fb7c6161f194ff07 | Env variables are set as a string
setting it to null results in "null". we use "" which is still falsy in JS. | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -11,14 +11,14 @@ const TerserPlugin = require(\"terser-webpack-plugin\");\n// init env variables otherwise the EnvironmentPlugin complains if those are not set.\nif (!process.env.FAUCET_URL) {\n-... | TypeScript | MIT License | getalby/lightning-browser-extension | Env variables are set as a string
setting it to null results in "null". we use "" which is still falsy in JS. |
244,461 | 04.11.2021 13:55:43 | -3,600 | e6603191ef86513efd0f968a983eb2d8010432fe | Cleanup old lsat experiment | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"elliptic\": \"^6.5.4\",\n\"html5-qrcode\": \"^2.1.1\",\n\"invoices\": \"^2.0.0\",\n- \"lsat-js\": \"^2.0.3\",\n\"memoizee\": \"^0.4.15\",\n\"postcss-cli\": \"^9.0.1\",\n\"pubsub-js\": \"^1.9.3\",\n"
},
... | TypeScript | MIT License | getalby/lightning-browser-extension | Cleanup old lsat experiment |
244,495 | 08.11.2021 14:46:06 | -3,600 | 34c5b151ef00a48a3c9a98d97a42456a6a5c373f | fix: callback not fired on slow connections | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/Twitter.ts",
"new_path": "src/extension/content-script/batteries/Twitter.ts",
"diff": "@@ -132,6 +132,7 @@ function battery(): Promise<[Battery] | void> {\nconst observer = new MutationObserver(twitterDOMChanged);\nobserv... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: callback not fired on slow connections |
244,495 | 10.11.2021 11:55:15 | -3,600 | 27a5db49ade464e68cf7b79596174160d5dd6b98 | feat: increase prompt height and make it responsive | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary.tsx",
"new_path": "src/app/components/PaymentSummary.tsx",
"diff": "@@ -13,7 +13,7 @@ function PaymentSummary({ amount, amountAlt, description }: Props) {\n<dt className=\"uppercase font-semibold text-gray-500 text-xs\">\nAmou... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: increase prompt height and make it responsive (#368) |
244,495 | 08.11.2021 22:52:21 | -3,600 | e76427352db1f66835ce943c9a130d760f0ce623 | feat: initial rethinking | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -34,21 +34,11 @@ class Home extends React.Component {\nloadLightningDataFromCurrentWebsite() {\n// Enhancement data is loaded asynchronously (for example because we need... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: initial rethinking |
244,495 | 09.11.2021 09:12:55 | -3,600 | 1a198022c3c59d08dc919a2e9e6f063713249f2a | feat: remove window properties | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -38,7 +38,9 @@ class Home extends React.Component {\nbrowser.tabs\n.sendMessage(tabs[0].id, { type: \"lightningData\" })\n.then((data) => {\n+ if (data) {\nthis.setState... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: remove window properties |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.