Skip to content

Commit

Permalink
Merge pull request #189 from getAlby/chore/3.2.0
Browse files Browse the repository at this point in the history
chore: 3.2.0
  • Loading branch information
rolznz authored Jan 9, 2024
2 parents 66aae43 + 7280163 commit 23f9915
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ You can use Bitcoin Connect without any build tools:

```html
<script type="module">
import {launchModal} from 'https://esm.sh/@getalby/bitcoin-connect@3.1.0'; // jsdelivr.net, skypack.dev also work
import {launchModal} from 'https://esm.sh/@getalby/bitcoin-connect@3.2.0'; // jsdelivr.net, skypack.dev also work
// use Bitcoin connect API normally...
launchModal();
// or if you just want access to the web components:
import 'https://esm.sh/@getalby/bitcoin-connect@3.1.0';
import 'https://esm.sh/@getalby/bitcoin-connect@3.2.0';
</script>

<!-- Bitcoin Connect components are now available -->
Expand Down
2 changes: 1 addition & 1 deletion demos/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8" />
<title>Bitcoin Connect</title>
<script type="module">
import {onConnected} from 'https://esm.sh/@getalby/bitcoin-connect@3.1.0';
import {onConnected} from 'https://esm.sh/@getalby/bitcoin-connect@3.2.0';
onConnected((provider) => {
console.log('Connected with provider', provider);
});
Expand Down
2 changes: 1 addition & 1 deletion demos/nextjs-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "^3.1.0",
"@getalby/bitcoin-connect-react": "^3.2.0",
"next": "14.0.4",
"react": "^18",
"react-dom": "^18"
Expand Down
32 changes: 16 additions & 16 deletions demos/nextjs-legacy/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,33 +51,33 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6"
integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==

"@getalby/bitcoin-connect-react@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.1.0.tgz#4582e61564627c5e6117b28f7c311665212364c8"
integrity sha512-HCptUeoL/I/vDDDadrDu+IxF7zBDDirC7CnkoTxkKoJ7WPB+mWLCvhvRuLL2V9c8GLIAQ33xdbCj55p6c/vhGw==
"@getalby/bitcoin-connect-react@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.2.0.tgz#0c1416abf6057755a56972a9cb5df5b4d816b672"
integrity sha512-8O4BPbpBeXlGAKF1kW4CXTleCupzBW87NUYc64OfXpXPQZXbTQLLXPXNZU+dsvtbYpbEXG3jIJgjcfAVOHuZew==
dependencies:
"@getalby/bitcoin-connect" "^3.1.0"
"@getalby/bitcoin-connect" "^3.2.0"

"@getalby/bitcoin-connect@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.1.0.tgz#7546bf200943a665cc8d28dc6cbc3ed9828ff178"
integrity sha512-AH/iK1HbKeW0Jl29leQZa9wclGLAPEaCVLgohjfZ2W42mrCxmOXFnXbaYYQyMwhLdXgrt2M6u7yyDY1zWH43pw==
"@getalby/bitcoin-connect@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.2.0.tgz#9fe12fb847224410ea0389182470de778fa13f35"
integrity sha512-0lxqOCJ4JVPZOBYvTUaLVXz5bbXYKoFGXA4+A99VAmywn9pQJkaZ7Q4k2TQcFi+U2r5l1xjX9bnjiMUDpM+NJg==
dependencies:
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.0.0"
"@getalby/sdk" "^3.2.3"
"@lightninglabs/lnc-web" "^0.2.8-alpha"
qrcode-generator "^1.4.4"
zustand "^4.4.1"
zustand "^4.4.7"

"@getalby/lightning-tools@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.0.0.tgz#eefe1fc1ecf28582d6c922c9e22dc28bf3af27c6"
integrity sha512-j3x90CGclpyZTHJRVWvA95jQniu5A+xqvmJNPSkXyzYCdJiFG5oZFWNwC0N+q7Oa8cTvp7wB7FdDqxH+Le0/Nw==

"@getalby/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.0.0.tgz#3d87b3d388dd14355b8b49f2fd3cd7ab63533b32"
integrity sha512-v4CaQf8HYIvN7Ccp+NU09pROrgugwyOkaouMRrat0DJnbRLpkV8zssPeKEqI29k53USnLn5P3SaHFngM4Se/1A==
"@getalby/sdk@^3.2.3":
version "3.2.3"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.2.3.tgz#3031d64e935feea879b969da0a17ee05800fba1d"
integrity sha512-8eIqg1vEH2CdkNoHsIlL5q2bKLvLR+XiSWK2RQnTAB+Z0CNlVW2jRM8JxxeubHnKBDTiBrBMkPqBIAhQqc8now==
dependencies:
events "^3.3.0"
nostr-tools "^1.17.0"
Expand Down Expand Up @@ -2638,7 +2638,7 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zustand@^4.4.1:
zustand@^4.4.7:
version "4.4.7"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c"
integrity sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==
Expand Down
2 changes: 1 addition & 1 deletion demos/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "^3.1.0",
"@getalby/bitcoin-connect-react": "^3.2.0",
"next": "14.0.4",
"react": "^18",
"react-dom": "^18"
Expand Down
32 changes: 16 additions & 16 deletions demos/nextjs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,33 +51,33 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6"
integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==

"@getalby/bitcoin-connect-react@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.1.0.tgz#4582e61564627c5e6117b28f7c311665212364c8"
integrity sha512-HCptUeoL/I/vDDDadrDu+IxF7zBDDirC7CnkoTxkKoJ7WPB+mWLCvhvRuLL2V9c8GLIAQ33xdbCj55p6c/vhGw==
"@getalby/bitcoin-connect-react@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.2.0.tgz#0c1416abf6057755a56972a9cb5df5b4d816b672"
integrity sha512-8O4BPbpBeXlGAKF1kW4CXTleCupzBW87NUYc64OfXpXPQZXbTQLLXPXNZU+dsvtbYpbEXG3jIJgjcfAVOHuZew==
dependencies:
"@getalby/bitcoin-connect" "^3.1.0"
"@getalby/bitcoin-connect" "^3.2.0"

"@getalby/bitcoin-connect@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.1.0.tgz#7546bf200943a665cc8d28dc6cbc3ed9828ff178"
integrity sha512-AH/iK1HbKeW0Jl29leQZa9wclGLAPEaCVLgohjfZ2W42mrCxmOXFnXbaYYQyMwhLdXgrt2M6u7yyDY1zWH43pw==
"@getalby/bitcoin-connect@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.2.0.tgz#9fe12fb847224410ea0389182470de778fa13f35"
integrity sha512-0lxqOCJ4JVPZOBYvTUaLVXz5bbXYKoFGXA4+A99VAmywn9pQJkaZ7Q4k2TQcFi+U2r5l1xjX9bnjiMUDpM+NJg==
dependencies:
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.0.0"
"@getalby/sdk" "^3.2.3"
"@lightninglabs/lnc-web" "^0.2.8-alpha"
qrcode-generator "^1.4.4"
zustand "^4.4.1"
zustand "^4.4.7"

"@getalby/lightning-tools@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.0.0.tgz#eefe1fc1ecf28582d6c922c9e22dc28bf3af27c6"
integrity sha512-j3x90CGclpyZTHJRVWvA95jQniu5A+xqvmJNPSkXyzYCdJiFG5oZFWNwC0N+q7Oa8cTvp7wB7FdDqxH+Le0/Nw==

"@getalby/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.0.0.tgz#3d87b3d388dd14355b8b49f2fd3cd7ab63533b32"
integrity sha512-v4CaQf8HYIvN7Ccp+NU09pROrgugwyOkaouMRrat0DJnbRLpkV8zssPeKEqI29k53USnLn5P3SaHFngM4Se/1A==
"@getalby/sdk@^3.2.3":
version "3.2.3"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.2.3.tgz#3031d64e935feea879b969da0a17ee05800fba1d"
integrity sha512-8eIqg1vEH2CdkNoHsIlL5q2bKLvLR+XiSWK2RQnTAB+Z0CNlVW2jRM8JxxeubHnKBDTiBrBMkPqBIAhQqc8now==
dependencies:
events "^3.3.0"
nostr-tools "^1.17.0"
Expand Down Expand Up @@ -2638,7 +2638,7 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zustand@^4.4.1:
zustand@^4.4.7:
version "4.4.7"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c"
integrity sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==
Expand Down
2 changes: 1 addition & 1 deletion demos/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "^3.1.0",
"@getalby/bitcoin-connect-react": "^3.2.0",
"@getalby/lightning-tools": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
38 changes: 19 additions & 19 deletions demos/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -149,33 +149,33 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.46.0.tgz#3f7802972e8b6fe3f88ed1aabc74ec596c456db6"
integrity sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==

"@getalby/bitcoin-connect-react@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.1.0.tgz#4582e61564627c5e6117b28f7c311665212364c8"
integrity sha512-HCptUeoL/I/vDDDadrDu+IxF7zBDDirC7CnkoTxkKoJ7WPB+mWLCvhvRuLL2V9c8GLIAQ33xdbCj55p6c/vhGw==
"@getalby/bitcoin-connect-react@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.2.0.tgz#0c1416abf6057755a56972a9cb5df5b4d816b672"
integrity sha512-8O4BPbpBeXlGAKF1kW4CXTleCupzBW87NUYc64OfXpXPQZXbTQLLXPXNZU+dsvtbYpbEXG3jIJgjcfAVOHuZew==
dependencies:
"@getalby/bitcoin-connect" "^3.1.0"
"@getalby/bitcoin-connect" "^3.2.0"

"@getalby/bitcoin-connect@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.1.0.tgz#7546bf200943a665cc8d28dc6cbc3ed9828ff178"
integrity sha512-AH/iK1HbKeW0Jl29leQZa9wclGLAPEaCVLgohjfZ2W42mrCxmOXFnXbaYYQyMwhLdXgrt2M6u7yyDY1zWH43pw==
"@getalby/bitcoin-connect@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.2.0.tgz#9fe12fb847224410ea0389182470de778fa13f35"
integrity sha512-0lxqOCJ4JVPZOBYvTUaLVXz5bbXYKoFGXA4+A99VAmywn9pQJkaZ7Q4k2TQcFi+U2r5l1xjX9bnjiMUDpM+NJg==
dependencies:
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.0.0"
"@getalby/sdk" "^3.2.3"
"@lightninglabs/lnc-web" "^0.2.8-alpha"
qrcode-generator "^1.4.4"
zustand "^4.4.1"
zustand "^4.4.7"

"@getalby/lightning-tools@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.0.0.tgz#eefe1fc1ecf28582d6c922c9e22dc28bf3af27c6"
integrity sha512-j3x90CGclpyZTHJRVWvA95jQniu5A+xqvmJNPSkXyzYCdJiFG5oZFWNwC0N+q7Oa8cTvp7wB7FdDqxH+Le0/Nw==

"@getalby/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.0.0.tgz#3d87b3d388dd14355b8b49f2fd3cd7ab63533b32"
integrity sha512-v4CaQf8HYIvN7Ccp+NU09pROrgugwyOkaouMRrat0DJnbRLpkV8zssPeKEqI29k53USnLn5P3SaHFngM4Se/1A==
"@getalby/sdk@^3.2.3":
version "3.2.3"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.2.3.tgz#3031d64e935feea879b969da0a17ee05800fba1d"
integrity sha512-8eIqg1vEH2CdkNoHsIlL5q2bKLvLR+XiSWK2RQnTAB+Z0CNlVW2jRM8JxxeubHnKBDTiBrBMkPqBIAhQqc8now==
dependencies:
events "^3.3.0"
nostr-tools "^1.17.0"
Expand Down Expand Up @@ -1346,9 +1346,9 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zustand@^4.4.1:
version "4.4.4"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.4.tgz#cc06202219972bd61cef1fd10105e6384ae1d5cf"
integrity sha512-5UTUIAiHMNf5+mFp7/AnzJXS7+XxktULFN0+D1sCiZWyX7ZG+AQpqs2qpYrynRij4QvoDdCD+U+bmg/cG3Ucxw==
zustand@^4.4.7:
version "4.4.7"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c"
integrity sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==
dependencies:
use-sync-external-store "1.2.0"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getalby/bitcoin-connect",
"version": "3.2.0-beta.1",
"version": "3.2.0",
"description": "Web components to connect to a lightning wallet and power a website with WebLN",
"type": "module",
"source": "src/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getalby/bitcoin-connect-react",
"version": "3.2.0-beta.1",
"version": "3.2.0",
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.cjs",
Expand All @@ -26,7 +26,7 @@
"build": "microbundle --globals react=React --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react"
},
"dependencies": {
"@getalby/bitcoin-connect": "^3.2.0-beta.1"
"@getalby/bitcoin-connect": "^3.2.0"
},
"devDependencies": {
"@types/react": "^18.2.21",
Expand Down
8 changes: 4 additions & 4 deletions react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1018,10 +1018,10 @@
"@babel/helper-validator-identifier" "^7.22.5"
to-fast-properties "^2.0.0"

"@getalby/bitcoin-connect@^3.2.0-beta.1":
version "3.2.0-beta.1"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.2.0-beta.1.tgz#95a25b89747602b4bdeacc4025e7219e4c31dd54"
integrity sha512-54I6YYbaBh5kEugJKObemVy8NSrg5QBtysuLIBGlsvKRNCqOQwotSX3CjtVXWR+IHF/AvPgcGO4HuUvzf8mj1w==
"@getalby/bitcoin-connect@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.2.0.tgz#9fe12fb847224410ea0389182470de778fa13f35"
integrity sha512-0lxqOCJ4JVPZOBYvTUaLVXz5bbXYKoFGXA4+A99VAmywn9pQJkaZ7Q4k2TQcFi+U2r5l1xjX9bnjiMUDpM+NJg==
dependencies:
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.2.3"
Expand Down

0 comments on commit 23f9915

Please sign in to comment.