@metamask-previews/error-reporting-service 3.0.1-preview-a462582 → 3.0.1-preview-93f8bb3d0
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/error-reporting-service-method-action-types.cjs +1 -1
- package/dist/error-reporting-service-method-action-types.cjs.map +1 -1
- package/dist/error-reporting-service-method-action-types.d.cts +1 -1
- package/dist/error-reporting-service-method-action-types.d.mts +1 -1
- package/dist/error-reporting-service-method-action-types.mjs +1 -1
- package/dist/error-reporting-service-method-action-types.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file is auto generated by
|
|
3
|
+
* This file is auto generated by `scripts/generate-method-action-types.ts`.
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-reporting-service-method-action-types.cjs","sourceRoot":"","sources":["../src/error-reporting-service-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by
|
|
1
|
+
{"version":3,"file":"error-reporting-service-method-action-types.cjs","sourceRoot":"","sources":["../src/error-reporting-service-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by `scripts/generate-method-action-types.ts`.\n * Do not edit manually.\n */\n\nimport type { ErrorReportingService } from './error-reporting-service';\n\n/**\n * Reports the given error to an external location.\n *\n * @param error - The error to report.\n * @deprecated This function is deprecated and will be removed in a future\n * release. Please use `Messenger.captureException` directly instead.\n */\nexport type ErrorReportingServiceCaptureExceptionAction = {\n type: `ErrorReportingService:captureException`;\n handler: ErrorReportingService['captureException'];\n};\n\n/**\n * Union of all ErrorReportingService action types.\n */\nexport type ErrorReportingServiceMethodActions =\n ErrorReportingServiceCaptureExceptionAction;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is auto generated by
|
|
2
|
+
* This file is auto generated by `scripts/generate-method-action-types.ts`.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { ErrorReportingService } from "./error-reporting-service.cjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is auto generated by
|
|
2
|
+
* This file is auto generated by `scripts/generate-method-action-types.ts`.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { ErrorReportingService } from "./error-reporting-service.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-reporting-service-method-action-types.mjs","sourceRoot":"","sources":["../src/error-reporting-service-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by
|
|
1
|
+
{"version":3,"file":"error-reporting-service-method-action-types.mjs","sourceRoot":"","sources":["../src/error-reporting-service-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by `scripts/generate-method-action-types.ts`.\n * Do not edit manually.\n */\n\nimport type { ErrorReportingService } from './error-reporting-service';\n\n/**\n * Reports the given error to an external location.\n *\n * @param error - The error to report.\n * @deprecated This function is deprecated and will be removed in a future\n * release. Please use `Messenger.captureException` directly instead.\n */\nexport type ErrorReportingServiceCaptureExceptionAction = {\n type: `ErrorReportingService:captureException`;\n handler: ErrorReportingService['captureException'];\n};\n\n/**\n * Union of all ErrorReportingService action types.\n */\nexport type ErrorReportingServiceMethodActions =\n ErrorReportingServiceCaptureExceptionAction;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/error-reporting-service",
|
|
3
|
-
"version": "3.0.1-preview-
|
|
3
|
+
"version": "3.0.1-preview-93f8bb3d0",
|
|
4
4
|
"description": "Logs errors to an error reporting service such as Sentry",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"build:docs": "typedoc",
|
|
41
41
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/error-reporting-service",
|
|
42
42
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/error-reporting-service",
|
|
43
|
-
"generate-method-action-types": "tsx ../../
|
|
43
|
+
"generate-method-action-types": "tsx ../../scripts/generate-method-action-types.ts",
|
|
44
44
|
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
45
45
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
46
46
|
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
|