Skip to content

Commit 28e8f2d

Browse files
authored
expose keys-dev as a preference (#1442)
* expose keys-dev as a preference * remove validation
1 parent 126b46d commit 28e8f2d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

examples/testapp/src/context/CBWSDKReactContextProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const SELECTED_SCW_URL_KEY = 'scw_url';
1919
export const scwUrls = [
2020
'https://keys.coinbase.com/connect',
2121
'https://keys-beta.coinbase.com/connect',
22+
'https://keys-dev.coinbase.com/connect',
2223
'http://localhost:3005/connect',
2324
] as const;
2425
export type ScwUrlType = (typeof scwUrls)[number];

packages/wallet-sdk/src/core/provider/interface.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ export type Attribution =
5454

5555
export type Preference = {
5656
/**
57-
* @deprecated internal use only.
57+
* The URL for the keys popup.
58+
* By default, `https://keys.coinbase.com/connect` is used for production. Use `https://keys-dev.coinbase.com/connect` for development environments.
59+
* @type {string}
5860
*/
5961
keysUrl?: string;
6062
/**

0 commit comments

Comments
 (0)