Compare commits

..
Author SHA1 Message Date
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
507d0e5bf4 Version Packages (#3346)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17 16:19:35 +12:00
Joaquim VergesandGitHub 79e6a047d6 fix: inApp native wallet creation (#3345) 2024-06-17 16:02:30 +12:00
17 changed files with 75 additions and 13 deletions
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/auth
## 4.1.95
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.37
## 4.1.94
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "4.1.94",
"version": "4.1.95",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
+9
View File
@@ -1,5 +1,14 @@
# thirdweb
## 0.14.10
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
- @thirdweb-dev/wallets@2.5.37
- @thirdweb-dev/auth@4.1.95
## 0.14.9
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/cli",
"main": "dist/cli/index.js",
"version": "0.14.9",
"version": "0.14.10",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @thirdweb-dev/react-core
## 4.9.2
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
- @thirdweb-dev/wallets@2.5.37
- @thirdweb-dev/auth@4.1.95
## 4.9.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-core",
"version": "4.9.1",
"version": "4.9.2",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @thirdweb-dev/react
## 4.9.2
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
- @thirdweb-dev/react-core@4.9.2
- @thirdweb-dev/wallets@2.5.37
## 4.9.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react",
"version": "4.9.1",
"version": "4.9.2",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/sdk
## 4.0.97
### Patch Changes
- Updated dependencies [[`79e6a04`](https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4)]:
- thirdweb@5.29.4
## 4.0.96
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/sdk",
"version": "4.0.96",
"version": "4.0.97",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
"license": "Apache-2.0",
@@ -1,5 +1,14 @@
# @thirdweb-dev/unity-js-bridge
## 0.6.46
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
- @thirdweb-dev/wallets@2.5.37
- @thirdweb-dev/auth@4.1.95
## 0.6.45
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/unity-js-bridge",
"version": "0.6.45",
"version": "0.6.46",
"main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0",
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/wallets
## 2.5.37
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
## 2.5.36
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wallets",
"version": "2.5.36",
"version": "2.5.37",
"main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js",
"browser": {
+6
View File
@@ -1,5 +1,11 @@
# thirdweb
## 5.29.4
### Patch Changes
- [#3345](https://github.com/thirdweb-dev/js/pull/3345) [`79e6a04`](https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Fix react native inAppWallet creation
## 5.29.3
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "thirdweb",
"version": "5.29.3",
"version": "5.29.4",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -8,6 +8,7 @@ import type { WCSupportedWalletIds } from "../__generated__/wallet-ids.js";
import { coinbaseWalletSDK } from "../coinbase/coinbase-wallet.js";
import { getCoinbaseMobileProvider } from "../coinbase/coinbaseMobileSDK.js";
import { COINBASE } from "../constants.js";
import { inAppWallet } from "../in-app/native/in-app.js";
import type { Account, Wallet } from "../interfaces/wallet.js";
import { smartWallet } from "../smart/smart-wallet.js";
import type { WCConnectOptions } from "../wallet-connect/types.js";
@@ -54,11 +55,9 @@ export function createWallet<const ID extends WalletId>(
*/
case "embedded":
case "inApp": {
// TODO pass RN connector
throw new Error("TODO");
// return inAppWallet(
// creationOptions as CreateWalletArgs<"inApp">[1],
// ) as Wallet<ID>;
return inAppWallet(
creationOptions as CreateWalletArgs<"inApp">[1],
) as Wallet<ID>;
}
/**