@hot-updater/sentry-plugin 1.0.0-rc.3 → 1.0.0-rc.30

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 CHANGED
@@ -62,7 +62,7 @@ const withSentry = (buildFn, config) => (args) => {
62
62
  const bundleMapFile = ensureFilePath(files, result.buildPath, ".bundle.map");
63
63
  const hbcMapFile = ensureFilePath(files, result.buildPath, ".hbc.map");
64
64
  const bundleFile = ensureFilePath(files, result.buildPath, ".bundle");
65
- if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build: bare({ sourcemap: true })");
65
+ if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build adapter. e.g build: bare({ sourcemap: true })");
66
66
  const sourcemapFile = injectDebugIdToHbcMap(bundleFile, bundleMapFile, hbcMapFile);
67
67
  await sentry.execute([
68
68
  "sourcemaps",
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { BasePluginArgs, BuildPlugin } from "@hot-updater/plugin-core";
1
+ import { BuildAdapter, BuildAdapterArgs } from "@hot-updater/plugin-core";
2
2
  import { SentryCliOptions } from "@sentry/cli";
3
3
  //#region src/withSentry.d.ts
4
- declare const withSentry: (buildFn: (args: BasePluginArgs) => BuildPlugin, config: SentryCliOptions) => (args: BasePluginArgs) => BuildPlugin;
4
+ declare const withSentry: (buildFn: (args: BuildAdapterArgs) => BuildAdapter, config: SentryCliOptions) => (args: BuildAdapterArgs) => BuildAdapter;
5
5
  //#endregion
6
6
  export { withSentry };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SentryCliOptions } from "@sentry/cli";
2
- import { BasePluginArgs, BuildPlugin } from "@hot-updater/plugin-core";
2
+ import { BuildAdapter, BuildAdapterArgs } from "@hot-updater/plugin-core";
3
3
  //#region src/withSentry.d.ts
4
- declare const withSentry: (buildFn: (args: BasePluginArgs) => BuildPlugin, config: SentryCliOptions) => (args: BasePluginArgs) => BuildPlugin;
4
+ declare const withSentry: (buildFn: (args: BuildAdapterArgs) => BuildAdapter, config: SentryCliOptions) => (args: BuildAdapterArgs) => BuildAdapter;
5
5
  //#endregion
6
6
  export { withSentry };
package/dist/index.mjs CHANGED
@@ -36,7 +36,7 @@ const withSentry = (buildFn, config) => (args) => {
36
36
  const bundleMapFile = ensureFilePath(files, result.buildPath, ".bundle.map");
37
37
  const hbcMapFile = ensureFilePath(files, result.buildPath, ".hbc.map");
38
38
  const bundleFile = ensureFilePath(files, result.buildPath, ".bundle");
39
- if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build plugin. e.g build: bare({ sourcemap: true })");
39
+ if (!bundleMapFile || !bundleFile) throw new Error("Source map not found. Please enable sourcemap in your build adapter. e.g build: bare({ sourcemap: true })");
40
40
  const sourcemapFile = injectDebugIdToHbcMap(bundleFile, bundleMapFile, hbcMapFile);
41
41
  await sentry.execute([
42
42
  "sourcemaps",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/sentry-plugin",
3
- "version": "1.0.0-rc.3",
3
+ "version": "1.0.0-rc.30",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -43,9 +43,9 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@sentry/cli": "2.46.0",
46
- "@hot-updater/cli-tools": "1.0.0-rc.3",
47
- "@hot-updater/core": "1.0.0-rc.0",
48
- "@hot-updater/plugin-core": "1.0.0-rc.3"
46
+ "@hot-updater/cli-tools": "1.0.0-rc.30",
47
+ "@hot-updater/plugin-core": "1.0.0-rc.28",
48
+ "@hot-updater/protocol": "1.0.0-rc.28"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^20"