Skip to content

Commit bbcbd59

Browse files
committed
Docs remove legacy enc key arg (#6220)
Closes TOOL-3348 <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on simplifying the instantiation of the `InAppWalletOptions` by removing the `encryptionKey` parameter from its constructor calls. ### Detailed summary - Removed `encryptionKey: "myencryptionkey"` from the first instance of `InAppWalletOptions`. - Removed `-encryptionKey: "myencryptionkey"` from the second instance of `InAppWalletOptions`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 92266b7 commit bbcbd59

File tree

1 file changed

+2
-3
lines changed
  • apps/portal/src/app/unity/v5/wallets/in-app-wallet

1 file changed

+2
-3
lines changed

apps/portal/src/app/unity/v5/wallets/in-app-wallet/page.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var inAppWalletOptions = new InAppWalletOptions(
107107
### Login with Custom Auth - OIDC Compatible
108108

109109
```csharp
110-
var inAppWalletOptions = new InAppWalletOptions(authprovider: AuthProvider.JWT, jwtOrPayload: "myjwt", encryptionKey: "myencryptionkey");
110+
var inAppWalletOptions = new InAppWalletOptions(authprovider: AuthProvider.JWT, jwtOrPayload: "myjwt");
111111
var options = new WalletOptions(
112112
provider: WalletProvider.InAppWallet,
113113
chainId: 1,
@@ -121,8 +121,7 @@ var wallet = await ThirdwebManager.Instance.ConnectWallet(options);
121121
```csharp
122122
var inAppWalletOptions = new InAppWalletOptions(
123123
authprovider: AuthProvider.AuthEndpoint,
124-
jwtOrPayload: "mypayload",
125-
encryptionKey: "myencryptionkey"
124+
jwtOrPayload: "mypayload"
126125
);
127126
var options = new WalletOptions(
128127
provider: WalletProvider.InAppWallet,

0 commit comments

Comments
 (0)