From 8245020160b49ec7e926f18c5d583680a3f374b5 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Wed, 27 Sep 2023 13:28:30 +0700 Subject: [PATCH] feat: release v1.2.0 --- README.md | 2 +- demos/html/index.html | 2 +- demos/html/minimal.html | 2 +- demos/react/package.json | 2 +- demos/react/yarn.lock | 34 ++++++++++++++++++++-------------- package.json | 2 +- react/package.json | 4 ++-- react/yarn.lock | 24 +++++++++++++++--------- 8 files changed, 42 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 07cd23a..ab1416d 100644 --- a/README.md +++ b/README.md @@ -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 - + ``` ## 🤙 Usage diff --git a/demos/html/index.html b/demos/html/index.html index 8fb3dca..51eddeb 100644 --- a/demos/html/index.html +++ b/demos/html/index.html @@ -4,7 +4,7 @@ Bitcoin Connect - + diff --git a/demos/html/minimal.html b/demos/html/minimal.html index c49d474..c64113f 100644 --- a/demos/html/minimal.html +++ b/demos/html/minimal.html @@ -4,7 +4,7 @@ Bitcoin Connect - + diff --git a/demos/react/package.json b/demos/react/package.json index d6c4fe8..de4278e 100644 --- a/demos/react/package.json +++ b/demos/react/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@getalby/bitcoin-connect-react": "^1.0.1", + "@getalby/bitcoin-connect-react": "^1.2.0", "@getalby/lightning-tools": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/demos/react/yarn.lock b/demos/react/yarn.lock index d97d121..e1397ab 100644 --- a/demos/react/yarn.lock +++ b/demos/react/yarn.lock @@ -149,19 +149,19 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.46.0.tgz#3f7802972e8b6fe3f88ed1aabc74ec596c456db6" integrity sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA== -"@getalby/bitcoin-connect-react@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-1.0.1.tgz#f45f0f6f3e6a971b630df8e748a9fc12c1e47988" - integrity sha512-XNl1/ts62fvzCxKnMcETlCif861CP2kc2+w74GTGHpZDLIqSJmWO9WtGAzEi5C0s14//gGEzeuJc7Uvks2fsNw== +"@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== dependencies: - "@getalby/bitcoin-connect" "^1.0.0" + "@getalby/bitcoin-connect" "^1.2.0" -"@getalby/bitcoin-connect@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-1.0.0.tgz#295471a408854cc8186225739d0637df19fca2d6" - integrity sha512-O40SvuQpf8cD5MblYwO8DcyC2P5ynMGhRksRB/wyhd4qemQQaiaFczfxwOOlvmUcEJKSdGJ8bYY1HaTOU54O5A== +"@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== dependencies: - "@getalby/sdk" "^2.2.3" + "@getalby/sdk" "^2.4.0" lit "^2.2.4" zustand "^4.4.1" @@ -173,12 +173,13 @@ crypto-js "^4.1.1" light-bolt11-decoder "^3.0.0" -"@getalby/sdk@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.2.3.tgz#fda6de0bc241b59e7ed813204067c4d14b794668" - integrity sha512-8NvzGtpyne8EmRlCcg/sF3kUZWeHRXqZwS1HNuP1ytNNfmKFUZpo3GOauwzEpFFmaD+Fht5bjT3Y/XLk0QtFSw== +"@getalby/sdk@^2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.4.0.tgz#fd3a6b24585e3dc32462da97c4b13a70294c7dee" + integrity sha512-aIGNwLRF9coj6koxfq7P4GtFZbFjQbnIheix39x9176PwFw4dXOdGXHPXnqioJTmeq80y+vX1yd+u/f03YGoeg== dependencies: crypto-js "^4.1.1" + events "^3.3.0" nostr-tools "1.13.1" "@humanwhocodes/config-array@^0.11.10": @@ -751,6 +752,11 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" diff --git a/package.json b/package.json index f57a833..4876a4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getalby/bitcoin-connect", - "version": "1.1.2", + "version": "1.2.0", "description": "Web components to connect to a lightning wallet and power a website with WebLN", "type": "module", "source": "src/index.ts", diff --git a/react/package.json b/react/package.json index ddc68f2..7ab6e69 100644 --- a/react/package.json +++ b/react/package.json @@ -1,6 +1,6 @@ { "name": "@getalby/bitcoin-connect-react", - "version": "1.1.0", + "version": "1.2.0", "type": "module", "source": "src/index.ts", "main": "./dist/index.cjs", @@ -21,7 +21,7 @@ "build": "microbundle --globals react=React --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react" }, "dependencies": { - "@getalby/bitcoin-connect": "^1.1.0" + "@getalby/bitcoin-connect": "^1.2.0" }, "devDependencies": { "@types/react": "^18.2.21", diff --git a/react/yarn.lock b/react/yarn.lock index 15df0b7..174fedc 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -1018,21 +1018,22 @@ "@babel/helper-validator-identifier" "^7.22.5" to-fast-properties "^2.0.0" -"@getalby/bitcoin-connect@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-1.1.0.tgz#324c54c48db42ee7f6579e571cbe4ba13f0fb982" - integrity sha512-u/60L9hzJz1dRoGVCjJsMxK4dzKGzVMcpe+XmiKuj8wIW3VpKpPsIFHgEblbl0aCXn0XY+V2HCMCe5v8YXAkVg== +"@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== dependencies: - "@getalby/sdk" "^2.2.3" + "@getalby/sdk" "^2.4.0" lit "^2.2.4" zustand "^4.4.1" -"@getalby/sdk@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.2.3.tgz#fda6de0bc241b59e7ed813204067c4d14b794668" - integrity sha512-8NvzGtpyne8EmRlCcg/sF3kUZWeHRXqZwS1HNuP1ytNNfmKFUZpo3GOauwzEpFFmaD+Fht5bjT3Y/XLk0QtFSw== +"@getalby/sdk@^2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.4.0.tgz#fd3a6b24585e3dc32462da97c4b13a70294c7dee" + integrity sha512-aIGNwLRF9coj6koxfq7P4GtFZbFjQbnIheix39x9176PwFw4dXOdGXHPXnqioJTmeq80y+vX1yd+u/f03YGoeg== dependencies: crypto-js "^4.1.1" + events "^3.3.0" nostr-tools "1.13.1" "@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": @@ -1880,6 +1881,11 @@ eventemitter3@^4.0.4: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + figures@^1.0.1: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"