Skip to content

Commit

Permalink
Bumped @aptos-connect/wallet-adapter-plugin to "^2.3.2" (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostWalker562 authored Nov 7, 2024
1 parent 8ce9a84 commit f5ba2f2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-doors-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aptos-labs/wallet-adapter-core": minor
---

Bump `@aptos-connect/wallet-adapter-plugin` to 2.3.2 to support Apple logins
2 changes: 1 addition & 1 deletion packages/wallet-adapter-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"typescript": "^4.5.3"
},
"dependencies": {
"@aptos-connect/wallet-adapter-plugin": "^2.2.1",
"@aptos-connect/wallet-adapter-plugin": "^2.3.2",
"@aptos-labs/wallet-standard": "^0.2.0",
"@atomrigslab/aptos-wallet-adapter": "^0.1.20",
"@mizuwallet-sdk/aptos-wallet-adapter": "^0.3.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { AptosConnectWallet } from "@aptos-connect/wallet-adapter-plugin";
import {
AptosConnectAppleWallet,
AptosConnectGoogleWallet,
} from "@aptos-connect/wallet-adapter-plugin";
import { Network } from "@aptos-labs/ts-sdk";
import { DevTWallet, TWallet } from "@atomrigslab/aptos-wallet-adapter";
import { MizuWallet } from "@mizuwallet-sdk/aptos-wallet-adapter";
Expand All @@ -11,11 +14,16 @@ export function getSDKWallets(dappConfig?: DappConfig) {
// Need to check window is defined for AptosConnect
if (typeof window !== "undefined") {
sdkWallets.push(
new AptosConnectWallet({
new AptosConnectGoogleWallet({
network: dappConfig?.network,
dappId: dappConfig?.aptosConnectDappId,
...dappConfig?.aptosConnect,
}),
new AptosConnectAppleWallet({
network: dappConfig?.network,
dappId: dappConfig?.aptosConnectDappId,
...dappConfig?.aptosConnect,
})
);

if (
Expand Down
28 changes: 14 additions & 14 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 f5ba2f2

Please sign in to comment.