Skip to content

Commit

Permalink
chore: update @mobile-wallet-protocol/client to 0.1.1 (#5151)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges authored Oct 24, 2024
1 parent 47b1bbb commit 06c0cf3
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 70 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-seals-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/react-native-adapter": patch
---

update to latest @mobile-wallet-protocol/client
5 changes: 1 addition & 4 deletions packages/react-native-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
},
"./package.json": "./package.json"
},
"files": [
"dist/*",
"src/*"
],
"files": ["dist/*", "src/*"],
"dependencies": {
"@aws-sdk/client-kms": "3.678.0",
"@aws-sdk/client-lambda": "3.678.0",
Expand Down
74 changes: 19 additions & 55 deletions packages/thirdweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,60 +127,24 @@
},
"typesVersions": {
"*": {
"adapters/*": [
"./dist/types/exports/adapters/*.d.ts"
],
"auth": [
"./dist/types/exports/auth.d.ts"
],
"chains": [
"./dist/types/exports/chains.d.ts"
],
"contract": [
"./dist/types/exports/contract.d.ts"
],
"deploys": [
"./dist/types/exports/deploys.d.ts"
],
"event": [
"./dist/types/exports/event.d.ts"
],
"extensions/*": [
"./dist/types/exports/extensions/*.d.ts"
],
"pay": [
"./dist/types/exports/pay.d.ts"
],
"react": [
"./dist/types/exports/react.d.ts"
],
"react-native": [
"./dist/types/exports/react-native.d.ts"
],
"rpc": [
"./dist/types/exports/rpc.d.ts"
],
"storage": [
"./dist/types/exports/storage.d.ts"
],
"transaction": [
"./dist/types/exports/transaction.d.ts"
],
"utils": [
"./dist/types/exports/utils.d.ts"
],
"wallets": [
"./dist/types/exports/wallets.d.ts"
],
"wallets/*": [
"./dist/types/exports/wallets/*.d.ts"
],
"modules": [
"./dist/types/exports/modules.d.ts"
],
"social": [
"./dist/types/exports/social.d.ts"
]
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
"auth": ["./dist/types/exports/auth.d.ts"],
"chains": ["./dist/types/exports/chains.d.ts"],
"contract": ["./dist/types/exports/contract.d.ts"],
"deploys": ["./dist/types/exports/deploys.d.ts"],
"event": ["./dist/types/exports/event.d.ts"],
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
"pay": ["./dist/types/exports/pay.d.ts"],
"react": ["./dist/types/exports/react.d.ts"],
"react-native": ["./dist/types/exports/react-native.d.ts"],
"rpc": ["./dist/types/exports/rpc.d.ts"],
"storage": ["./dist/types/exports/storage.d.ts"],
"transaction": ["./dist/types/exports/transaction.d.ts"],
"utils": ["./dist/types/exports/utils.d.ts"],
"wallets": ["./dist/types/exports/wallets.d.ts"],
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
"modules": ["./dist/types/exports/modules.d.ts"],
"social": ["./dist/types/exports/social.d.ts"]
}
},
"browser": {
Expand Down Expand Up @@ -224,7 +188,7 @@
"@aws-sdk/client-lambda": "^3",
"@aws-sdk/credential-providers": "^3",
"@coinbase/wallet-mobile-sdk": "^1",
"@mobile-wallet-protocol/client": "0.0.3",
"@mobile-wallet-protocol/client": "0.1.1",
"@react-native-async-storage/async-storage": "^1 || ^2",
"ethers": "^5 || ^6",
"expo-linking": "^6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export const WalletImage = (props: {
try {
const externalWalletImage = await getWalletInfo(activeEOAId, true);
if (externalWalletImage) {
return resolveScheme({ client, uri: externalWalletImage });
return externalWalletImage.startsWith("ipfs://")
? resolveScheme({ client, uri: externalWalletImage })
: externalWalletImage;
}
} catch {}

Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06c0cf3

Please sign in to comment.