Skip to content

Commit

Permalink
chore: release version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Oct 2, 2023
1 parent 4063384 commit 80e24cc
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This project includes web components for connecting to Lightning wallets and ena
You can use Bitcoin Connect without any build tools:

```html
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@1.2.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@2.0.0/dist/index.browser.js"></script>
```

## 🤙 Usage
Expand Down
8 changes: 1 addition & 7 deletions demos/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@
<head>
<meta charset="utf-8" />
<title>Bitcoin Connect</title>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@1.2.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@2.0.0/dist/index.browser.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div style="display: flex; flex-direction: column; gap: 1rem">
<code> &lt;bc-button /&gt; </code>
<bc-button></bc-button>
<code> &lt;bc-button disabled /&gt; </code>
<bc-button disabled></bc-button>
<code> &lt;bc-button icon-only/&gt; </code>
<bc-button icon-only></bc-button>
<code> &lt;bc-connector-list/&gt; </code>
<bc-connector-list></bc-connector-list>
</div>
<script>
window.addEventListener('bc:connected', async () => {
Expand Down
2 changes: 1 addition & 1 deletion demos/html/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>Bitcoin Connect</title>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@1.2.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@2.0.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
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": "^1.2.0",
"@getalby/bitcoin-connect-react": "^2.0.0",
"@getalby/lightning-tools": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
18 changes: 9 additions & 9 deletions demos/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -149,17 +149,17 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.46.0.tgz#3f7802972e8b6fe3f88ed1aabc74ec596c456db6"
integrity sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==

"@getalby/bitcoin-connect-react@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-1.2.0.tgz#dbbfe516a40ceca5ee8af9966439f0a275e44af1"
integrity sha512-V/iC96GG14PrOsyd/92ZCCyKFJsaxJ7xvnnmzDHxzf2oyrEJcUO8nd7WMfnzQDjSrfv0QWD3qN+9VvDxwEodOw==
"@getalby/bitcoin-connect-react@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-2.0.0.tgz#f99f78754b1627619b511760274efb40f9723c92"
integrity sha512-PlpXDk/p3y+2zyWRlgkKc+t5XN6wbJr9xZSWYayYFs+i988lrE1BqcydGAoYI6SotoaYpt3FDyOKgGfB4dyzsw==
dependencies:
"@getalby/bitcoin-connect" "^1.2.0"
"@getalby/bitcoin-connect" "^2.0.0"

"@getalby/bitcoin-connect@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-1.2.0.tgz#d626495a94b5e568bff7c661339bb2b69cd5e8cb"
integrity sha512-hIkslzG/SMKFV2NPh9IR/8TyiLsDPWlmtdH6t3MER5+37R/evnLfe3odglBNYb5EVnIPsMprOHR8IqBFyvM1ag==
"@getalby/bitcoin-connect@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-2.0.0.tgz#9ae7f139a616a65a55008d8b8d808ebd6fc316c6"
integrity sha512-cLtEHenPiF8n/gbC8jG81D8lgPgRhSsNM3TeIBHbMQComyciuB2/Yth6sh4CNUefAbAN5Br97guaNGur4umBZg==
dependencies:
"@getalby/sdk" "^2.4.0"
lit "^2.2.4"
Expand Down
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": "1.2.0",
"version": "2.0.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": "1.2.0",
"version": "2.0.0",
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.cjs",
Expand All @@ -21,7 +21,7 @@
"build": "microbundle --globals react=React --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react"
},
"dependencies": {
"@getalby/bitcoin-connect": "^1.2.0"
"@getalby/bitcoin-connect": "^2.0.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@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-1.2.0.tgz#d626495a94b5e568bff7c661339bb2b69cd5e8cb"
integrity sha512-hIkslzG/SMKFV2NPh9IR/8TyiLsDPWlmtdH6t3MER5+37R/evnLfe3odglBNYb5EVnIPsMprOHR8IqBFyvM1ag==
"@getalby/bitcoin-connect@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-2.0.0.tgz#9ae7f139a616a65a55008d8b8d808ebd6fc316c6"
integrity sha512-cLtEHenPiF8n/gbC8jG81D8lgPgRhSsNM3TeIBHbMQComyciuB2/Yth6sh4CNUefAbAN5Br97guaNGur4umBZg==
dependencies:
"@getalby/sdk" "^2.4.0"
lit "^2.2.4"
Expand Down

0 comments on commit 80e24cc

Please sign in to comment.