@sentry/gatsby 10.53.0 → 10.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/sdk.js +2 -5
- package/build/cjs/sdk.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/sdk.js +2 -5
- package/build/esm/sdk.js.map +1 -1
- package/package.json +3 -3
package/build/cjs/sdk.js
CHANGED
|
@@ -3,13 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3
3
|
const core = require('@sentry/core');
|
|
4
4
|
const react = require('@sentry/react');
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* Inits the Sentry Gatsby SDK.
|
|
8
|
-
*/
|
|
9
6
|
function init(options) {
|
|
10
|
-
core.applySdkMetadata(options,
|
|
7
|
+
core.applySdkMetadata(options, "gatsby");
|
|
11
8
|
return react.init({
|
|
12
|
-
...options
|
|
9
|
+
...options
|
|
13
10
|
});
|
|
14
11
|
}
|
|
15
12
|
|
package/build/cjs/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sources":["../../src/sdk.ts"],"sourcesContent":["import type { Client } from '@sentry/core';\nimport { applySdkMetadata } from '@sentry/core';\nimport { init as reactInit } from '@sentry/react';\nimport type { GatsbyOptions } from './utils/types';\n\n/**\n * Inits the Sentry Gatsby SDK.\n */\nexport function init(options: GatsbyOptions): Client | undefined {\n applySdkMetadata(options, 'gatsby');\n return reactInit({\n ...options,\n });\n}\n"],"names":["applySdkMetadata","reactInit"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"sdk.js","sources":["../../src/sdk.ts"],"sourcesContent":["import type { Client } from '@sentry/core';\nimport { applySdkMetadata } from '@sentry/core';\nimport { init as reactInit } from '@sentry/react';\nimport type { GatsbyOptions } from './utils/types';\n\n/**\n * Inits the Sentry Gatsby SDK.\n */\nexport function init(options: GatsbyOptions): Client | undefined {\n applySdkMetadata(options, 'gatsby');\n return reactInit({\n ...options,\n });\n}\n"],"names":["applySdkMetadata","reactInit"],"mappings":";;;;;AAQO,SAAS,KAAK,OAAA,EAA4C;AAC/D,EAAAA,qBAAA,CAAiB,SAAS,QAAQ,CAAA;AAClC,EAAA,OAAOC,UAAA,CAAU;AAAA,IACf,GAAG;AAAA,GACJ,CAAA;AACH;;;;"}
|
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.54.0","sideEffects":false}
|
package/build/esm/sdk.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { applySdkMetadata } from '@sentry/core';
|
|
2
2
|
import { init as init$1 } from '@sentry/react';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Inits the Sentry Gatsby SDK.
|
|
6
|
-
*/
|
|
7
4
|
function init(options) {
|
|
8
|
-
applySdkMetadata(options,
|
|
5
|
+
applySdkMetadata(options, "gatsby");
|
|
9
6
|
return init$1({
|
|
10
|
-
...options
|
|
7
|
+
...options
|
|
11
8
|
});
|
|
12
9
|
}
|
|
13
10
|
|
package/build/esm/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sources":["../../src/sdk.ts"],"sourcesContent":["import type { Client } from '@sentry/core';\nimport { applySdkMetadata } from '@sentry/core';\nimport { init as reactInit } from '@sentry/react';\nimport type { GatsbyOptions } from './utils/types';\n\n/**\n * Inits the Sentry Gatsby SDK.\n */\nexport function init(options: GatsbyOptions): Client | undefined {\n applySdkMetadata(options, 'gatsby');\n return reactInit({\n ...options,\n });\n}\n"],"names":["reactInit"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"sdk.js","sources":["../../src/sdk.ts"],"sourcesContent":["import type { Client } from '@sentry/core';\nimport { applySdkMetadata } from '@sentry/core';\nimport { init as reactInit } from '@sentry/react';\nimport type { GatsbyOptions } from './utils/types';\n\n/**\n * Inits the Sentry Gatsby SDK.\n */\nexport function init(options: GatsbyOptions): Client | undefined {\n applySdkMetadata(options, 'gatsby');\n return reactInit({\n ...options,\n });\n}\n"],"names":["reactInit"],"mappings":";;;AAQO,SAAS,KAAK,OAAA,EAA4C;AAC/D,EAAA,gBAAA,CAAiB,SAAS,QAAQ,CAAA;AAClC,EAAA,OAAOA,MAAA,CAAU;AAAA,IACf,GAAG;AAAA,GACJ,CAAA;AACH;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/gatsby",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.54.0",
|
|
4
4
|
"description": "Official Sentry SDK for Gatsby.js",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@sentry/core": "10.
|
|
49
|
-
"@sentry/react": "10.
|
|
48
|
+
"@sentry/core": "10.54.0",
|
|
49
|
+
"@sentry/react": "10.54.0",
|
|
50
50
|
"@sentry/webpack-plugin": "^5.3.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|