File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ export type DsnProtocol = 'http' | 'https';
5
5
export interface DsnComponents {
6
6
/** Protocol used to connect to Sentry. */
7
7
protocol : DsnProtocol ;
8
- /** Public authorization key (deprecated, renamed to publicKey). */
9
- user ?: string ;
10
8
/** Public authorization key. */
11
9
publicKey ?: string ;
12
10
/** Private authorization key (deprecated, optional). */
Original file line number Diff line number Diff line change @@ -55,13 +55,7 @@ function dsnFromString(str: string): DsnComponents {
55
55
}
56
56
57
57
function dsnFromComponents ( components : DsnComponents ) : DsnComponents {
58
- // TODO this is for backwards compatibility, and can be removed in a future version
59
- if ( 'user' in components && ! ( 'publicKey' in components ) ) {
60
- components . publicKey = components . user ;
61
- }
62
-
63
58
return {
64
- user : components . publicKey || '' ,
65
59
protocol : components . protocol ,
66
60
publicKey : components . publicKey || '' ,
67
61
pass : components . pass || '' ,
You can’t perform that action at this time.
0 commit comments