Skip to content

Commit 985c4b0

Browse files
committed
fix: add missing partner id for ecosystem wallet (#4886)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on fixing the issue of missing `partnerId` when creating an ecosystem wallet in the `thirdweb` package. ### Detailed summary - Updated `partnerId` in `packages/thirdweb/src/wallets/in-app/web/ecosystem.ts` to use `ecosystem.partnerId`. - Updated `partnerId` in `packages/thirdweb/src/wallets/in-app/native/ecosystem.ts` to use `createOptions?.partnerId`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 9fb5401 commit 985c4b0

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/famous-spies-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
fix missing partner id when creating ecosystem wallet

packages/thirdweb/src/wallets/in-app/native/ecosystem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function ecosystemWallet(
7676
...createOptions?.auth,
7777
options: [], // controlled by ecosystem
7878
},
79+
partnerId: createOptions?.partnerId,
7980
},
8081
connectorFactory: async (client: ThirdwebClient) => {
8182
const { InAppNativeConnector } = await import("./native-connector.js");

packages/thirdweb/src/wallets/in-app/web/ecosystem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function ecosystemWallet(
7676
...createOptions?.auth,
7777
options: [], // controlled by ecosystem
7878
},
79+
partnerId: ecosystem.partnerId,
7980
},
8081
connectorFactory: async (client: ThirdwebClient) => {
8182
const { InAppWebConnector } = await import("./lib/web-connector.js");

0 commit comments

Comments
 (0)