Skip to content

Commit

Permalink
expose keys-dev as a preference (#1442)
Browse files Browse the repository at this point in the history
* expose keys-dev as a preference

* remove validation
  • Loading branch information
spencerstock authored Nov 6, 2024
1 parent 126b46d commit 28e8f2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const SELECTED_SCW_URL_KEY = 'scw_url';
export const scwUrls = [
'https://keys.coinbase.com/connect',
'https://keys-beta.coinbase.com/connect',
'https://keys-dev.coinbase.com/connect',
'http://localhost:3005/connect',
] as const;
export type ScwUrlType = (typeof scwUrls)[number];
Expand Down
4 changes: 3 additions & 1 deletion packages/wallet-sdk/src/core/provider/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export type Attribution =

export type Preference = {
/**
* @deprecated internal use only.
* The URL for the keys popup.
* By default, `https://keys.coinbase.com/connect` is used for production. Use `https://keys-dev.coinbase.com/connect` for development environments.
* @type {string}
*/
keysUrl?: string;
/**
Expand Down

0 comments on commit 28e8f2d

Please sign in to comment.