(options: BrowserOptions)
| 53 | * Inits the Angular SDK |
| 54 | */ |
| 55 | export function init(options: BrowserOptions): Client | undefined { |
| 56 | const opts = { |
| 57 | defaultIntegrations: getDefaultIntegrations(), |
| 58 | ...options, |
| 59 | }; |
| 60 | |
| 61 | applySdkMetadata(opts, 'angular'); |
| 62 | |
| 63 | checkAndSetAngularVersion(); |
| 64 | return browserInit(opts); |
| 65 | } |
| 66 | |
| 67 | function checkAndSetAngularVersion(): void { |
| 68 | const ANGULAR_MINIMUM_VERSION = 14; |
no test coverage detected