From dccb6bd8d86835337fb99b6f933db71796e22519 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Mon, 28 Aug 2023 14:37:09 +0700 Subject: [PATCH] chore: finish project rename --- demos/react/package.json | 2 +- demos/react/yarn.lock | 18 +++++++++--------- package.json | 2 +- react/package.json | 4 ++-- react/yarn.lock | 8 ++++---- src/components/bc-connector-list.ts | 4 +--- src/components/connectors/index.ts | 2 +- website/package.json | 2 +- website/yarn.lock | 8 ++++---- 9 files changed, 24 insertions(+), 26 deletions(-) diff --git a/demos/react/package.json b/demos/react/package.json index 31d4b86..2df3a9e 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.0", + "@getalby/bitcoin-connect-react": "^1.0.1", "alby-tools": "^3.2.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/demos/react/yarn.lock b/demos/react/yarn.lock index 0ad4c69..1a1b214 100644 --- a/demos/react/yarn.lock +++ b/demos/react/yarn.lock @@ -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.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-1.0.0.tgz#c8124cc0d92c04a53d0b6e599dec7daf142c7cf0" - integrity sha512-64CYGkzy+7fazJbb7A+Y3tNTyUDH9yvVHlTfCL9g1gO1EMuASLIdSG6snToGZpbtkY+6sSOmD7scz0bSIUKtAw== +"@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== dependencies: - "@getalby/lightning-wallet-connect" "^1.0.14" + "@getalby/bitcoin-connect" "^1.0.0" -"@getalby/lightning-wallet-connect@^1.0.14": - version "1.0.14" - resolved "https://registry.yarnpkg.com/@getalby/lightning-wallet-connect/-/lightning-wallet-connect-1.0.14.tgz#9e9641a596bb478126a63acf55aca306465070af" - integrity sha512-9Xlk7L0qsZOSc6yXWn86QWbfVRV36dXIP+LWgIae4YA545WRlUwHe5z3dtOY+jEPkXBcF/70Kr4au9tk9jpcvQ== +"@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== dependencies: "@getalby/sdk" "^2.2.3" lit "^2.2.4" diff --git a/package.json b/package.json index 22da3b4..3c50813 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getalby/bitcoin-connect", - "version": "1.0.14", + "version": "1.0.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 1ab465e..b5cac3a 100644 --- a/react/package.json +++ b/react/package.json @@ -1,6 +1,6 @@ { "name": "@getalby/bitcoin-connect-react", - "version": "1.0.0", + "version": "1.0.1", "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.0.14" + "@getalby/bitcoin-connect": "^1.0.0" }, "devDependencies": { "@types/react": "^18.2.21", diff --git a/react/yarn.lock b/react/yarn.lock index 44d780b..3baba55 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -1018,10 +1018,10 @@ "@babel/helper-validator-identifier" "^7.22.5" to-fast-properties "^2.0.0" -"@getalby/lightning-wallet-connect@^1.0.14": - version "1.0.14" - resolved "https://registry.yarnpkg.com/@getalby/lightning-wallet-connect/-/lightning-wallet-connect-1.0.14.tgz#9e9641a596bb478126a63acf55aca306465070af" - integrity sha512-9Xlk7L0qsZOSc6yXWn86QWbfVRV36dXIP+LWgIae4YA545WRlUwHe5z3dtOY+jEPkXBcF/70Kr4au9tk9jpcvQ== +"@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== dependencies: "@getalby/sdk" "^2.2.3" lit "^2.2.4" diff --git a/src/components/bc-connector-list.ts b/src/components/bc-connector-list.ts index 64349f5..840be35 100644 --- a/src/components/bc-connector-list.ts +++ b/src/components/bc-connector-list.ts @@ -2,9 +2,7 @@ import {html} from 'lit'; import {withTwind} from './twind/withTwind.js'; import {BitcoinConnectElement} from './BitcoinConnectElement.js'; import {customElement} from 'lit/decorators.js'; -import './connectors/bc-extension-connector.js'; -import './connectors/bc-alby-nwc-connector.js'; -import './connectors/bc-nwc-connector.js'; +import './connectors/index.js'; /** * A list of available connectors diff --git a/src/components/connectors/index.ts b/src/components/connectors/index.ts index ced7ca6..26f92d5 100644 --- a/src/components/connectors/index.ts +++ b/src/components/connectors/index.ts @@ -1,3 +1,3 @@ export * from './bc-extension-connector'; export * from './bc-alby-nwc-connector'; -export * from './bc-nwc-connector'; +export * from './bc-generic-nwc-connector'; diff --git a/website/package.json b/website/package.json index b081b59..a9053bf 100644 --- a/website/package.json +++ b/website/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@getalby/bitcoin-connect": "^1.0.13", + "@getalby/bitcoin-connect": "^1.0.0", "@heroicons/react": "^2.0.18", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/website/yarn.lock b/website/yarn.lock index 0cd2c6c..fe58fee 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -154,10 +154,10 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.47.0.tgz#5478fdf443ff8158f9de171c704ae45308696c7d" integrity sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og== -"@getalby/lightning-wallet-connect@^1.0.13": - version "1.0.13" - resolved "https://registry.yarnpkg.com/@getalby/lightning-wallet-connect/-/lightning-wallet-connect-1.0.13.tgz#28f59232b8dc6c624ecc311857fa4704ed1c723a" - integrity sha512-RsPma/v2t+QyK5QX652AJGBYttfLbYN5J3rmzIq37Nek0WvUbQyi1lsfTpkELQrXzaoRWO80PgsnjLb6+/W10g== +"@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== dependencies: "@getalby/sdk" "^2.2.3" lit "^2.2.4"