@hot-updater/sentry-plugin 0.16.2 → 0.16.4
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/dist/index.cjs +6 -4
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -71,7 +71,7 @@ const withSentry = (buildFn, config)=>(args)=>{
|
|
|
71
71
|
const bundleMapFile = ensureFilePath(files, result.buildPath, ".bundle.map");
|
|
72
72
|
const hbcMapFile = ensureFilePath(files, result.buildPath, ".hbc.map");
|
|
73
73
|
const bundleFile = ensureFilePath(files, result.buildPath, ".bundle");
|
|
74
|
-
if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build:
|
|
74
|
+
if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build: bare({ sourcemap: true })");
|
|
75
75
|
const sourcemapFile = injectDebugIdToHbcMap(bundleMapFile, hbcMapFile);
|
|
76
76
|
await sentry.execute([
|
|
77
77
|
"sourcemaps",
|
|
@@ -86,8 +86,10 @@ const withSentry = (buildFn, config)=>(args)=>{
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
91
|
-
|
|
89
|
+
exports.withSentry = __webpack_exports__.withSentry;
|
|
90
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
91
|
+
"withSentry"
|
|
92
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
93
|
+
Object.defineProperty(exports, '__esModule', {
|
|
92
94
|
value: true
|
|
93
95
|
});
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const withSentry = (buildFn, config)=>(args)=>{
|
|
|
31
31
|
const bundleMapFile = ensureFilePath(files, result.buildPath, ".bundle.map");
|
|
32
32
|
const hbcMapFile = ensureFilePath(files, result.buildPath, ".hbc.map");
|
|
33
33
|
const bundleFile = ensureFilePath(files, result.buildPath, ".bundle");
|
|
34
|
-
if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build:
|
|
34
|
+
if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build: bare({ sourcemap: true })");
|
|
35
35
|
const sourcemapFile = injectDebugIdToHbcMap(bundleMapFile, hbcMapFile);
|
|
36
36
|
await sentry.execute([
|
|
37
37
|
"sourcemaps",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/sentry-plugin",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@hot-updater/core": "0.16.
|
|
42
|
-
"@hot-updater/plugin-core": "0.16.
|
|
41
|
+
"@hot-updater/core": "0.16.4",
|
|
42
|
+
"@hot-updater/plugin-core": "0.16.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@sentry/cli": "^2.43.0",
|