Compare commits

..
Author SHA1 Message Date
Jonas Danielsandgithub-actions[bot] 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 Verges 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 # @thirdweb-dev/auth
## 4.1.95
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.37
## 4.1.94 ## 4.1.94
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/auth", "name": "@thirdweb-dev/auth",
"version": "4.1.94", "version": "4.1.95",
"main": "dist/thirdweb-dev-auth.cjs.js", "main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js", "module": "dist/thirdweb-dev-auth.esm.js",
"browser": { "browser": {
+9
View File
@@ -1,5 +1,14 @@
# thirdweb # 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 ## 0.14.9
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@thirdweb-dev/cli", "name": "@thirdweb-dev/cli",
"main": "dist/cli/index.js", "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", "repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
"author": "thirdweb eng <[email protected]>", "author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0", "license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @thirdweb-dev/react-core # @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 ## 4.9.1
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/react-core", "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", "repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
"author": "thirdweb eng <[email protected]>", "author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0", "license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @thirdweb-dev/react # @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 ## 4.9.1
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/react", "name": "@thirdweb-dev/react",
"version": "4.9.1", "version": "4.9.2",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react", "repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
"author": "thirdweb eng <[email protected]>", "author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0", "license": "Apache-2.0",
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/sdk # @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 ## 4.0.96
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/sdk", "name": "@thirdweb-dev/sdk",
"version": "4.0.96", "version": "4.0.97",
"description": "The main thirdweb SDK.", "description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk", "repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
"license": "Apache-2.0", "license": "Apache-2.0",
@@ -1,5 +1,14 @@
# @thirdweb-dev/unity-js-bridge # @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 ## 0.6.45
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/unity-js-bridge", "name": "@thirdweb-dev/unity-js-bridge",
"version": "0.6.45", "version": "0.6.46",
"main": "dist/thirdweb-unity-bridge.js", "main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0", "license": "Apache-2.0",
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/wallets # @thirdweb-dev/wallets
## 2.5.37
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/sdk@4.0.97
## 2.5.36 ## 2.5.36
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@thirdweb-dev/wallets", "name": "@thirdweb-dev/wallets",
"version": "2.5.36", "version": "2.5.37",
"main": "dist/thirdweb-dev-wallets.cjs.js", "main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js", "module": "dist/thirdweb-dev-wallets.esm.js",
"browser": { "browser": {
+6
View File
@@ -1,5 +1,11 @@
# thirdweb # 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 ## 5.29.3
### Patch Changes ### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "thirdweb", "name": "thirdweb",
"version": "5.29.3", "version": "5.29.4",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main" "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 { coinbaseWalletSDK } from "../coinbase/coinbase-wallet.js";
import { getCoinbaseMobileProvider } from "../coinbase/coinbaseMobileSDK.js"; import { getCoinbaseMobileProvider } from "../coinbase/coinbaseMobileSDK.js";
import { COINBASE } from "../constants.js"; import { COINBASE } from "../constants.js";
import { inAppWallet } from "../in-app/native/in-app.js";
import type { Account, Wallet } from "../interfaces/wallet.js"; import type { Account, Wallet } from "../interfaces/wallet.js";
import { smartWallet } from "../smart/smart-wallet.js"; import { smartWallet } from "../smart/smart-wallet.js";
import type { WCConnectOptions } from "../wallet-connect/types.js"; import type { WCConnectOptions } from "../wallet-connect/types.js";
@@ -54,11 +55,9 @@ export function createWallet<const ID extends WalletId>(
*/ */
case "embedded": case "embedded":
case "inApp": { case "inApp": {
// TODO pass RN connector return inAppWallet(
throw new Error("TODO"); creationOptions as CreateWalletArgs<"inApp">[1],
// return inAppWallet( ) as Wallet<ID>;
// creationOptions as CreateWalletArgs<"inApp">[1],
// ) as Wallet<ID>;
} }
/** /**