Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
468 B
Plaintext
22 lines
468 B
Plaintext
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
const browser = require('@sentry/browser');
|
|
const core = require('@sentry/core');
|
|
const React = require('react');
|
|
|
|
/**
|
|
* Inits the React SDK
|
|
*/
|
|
function init(options) {
|
|
const opts = {
|
|
...options,
|
|
};
|
|
|
|
core.applySdkMetadata(opts, 'react');
|
|
browser.setContext('react', { version: React.version });
|
|
return browser.init(opts);
|
|
}
|
|
|
|
exports.init = init;
|
|
//# sourceMappingURL=sdk.js.map
|