@sentry/feedback 11.0.0-alpha.0 → 11.0.0-alpha.2
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/npm/cjs/index.js +51 -41
- package/build/npm/cjs/index.js.map +1 -1
- package/build/npm/esm/index.js +52 -42
- package/build/npm/esm/index.js.map +1 -1
- package/build/npm/esm/package.json +1 -1
- package/build/npm/types/modal/components/Dialog.css.d.ts.map +1 -1
- package/build/npm/types/modal/components/Form.d.ts.map +1 -1
- package/build/npm/types/screenshot/components/ScreenshotEditor.d.ts.map +1 -1
- package/build/npm/types/screenshot/components/Toolbar.d.ts +1 -1
- package/build/npm/types/screenshot/components/Toolbar.d.ts.map +1 -1
- package/build/npm/types/util/createFeedbackError.d.ts +0 -1
- package/build/npm/types/util/createFeedbackError.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"11.0.0-alpha.
|
|
1
|
+
{"type":"module","version":"11.0.0-alpha.2","sideEffects":false}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.css.d.ts","sourceRoot":"","sources":["../../../../../src/modal/components/Dialog.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dialog.css.d.ts","sourceRoot":"","sources":["../../../../../src/modal/components/Dialog.css.ts"],"names":[],"mappings":"AAuSA;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAoBxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/modal/components/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,YAAY,EACb,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/modal/components/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,YAAY,EACb,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAuB,KAAK,EAAE,MAAM,QAAQ,CAAC;AAOzD,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,uBAAuB,EAAE,WAAW,GAAG,UAAU,CAAC;IACpF,OAAO,EAAE,uBAAuB,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,CAAC,6BAA6B,CAAC,aAAa,CAAC,CAAC,GAAG,SAAS,CAAC;CACvF;AAUD,wBAAgB,IAAI,CAAC,EACnB,OAAO,EACP,YAAY,EACZ,WAAW,EAEX,WAAW,EACX,QAAQ,EACR,eAAe,EACf,aAAa,EACb,SAAS,EACT,QAAQ,EACR,eAAe,GAChB,EAAE,KAAK,GAAG,KAAK,CAwLf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenshotEditor.d.ts","sourceRoot":"","sources":["../../../../../src/screenshot/components/ScreenshotEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,CAAC,IAAI,KAAK,
|
|
1
|
+
{"version":3,"file":"ScreenshotEditor.d.ts","sourceRoot":"","sources":["../../../../../src/screenshot/components/ScreenshotEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,CAAC,IAAI,KAAK,EAA4B,MAAM,QAAQ,CAAC;AAElF,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAO3C,UAAU,aAAa;IACrB,CAAC,EAAE,OAAO,KAAK,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,iBAAiB,CAAC;IAEhC;;;OAGG;IACH,MAAM,EAAE,UAAU,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC,CAAC;IAE7D;;;;OAIG;IACH,OAAO,EAAE,uBAAuB,CAAC;CAClC;AAED,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACjC;AA8ED,wBAAgB,uBAAuB,CAAC,EACtC,CAAC,EACD,KAAK,EACL,YAAY,EACZ,MAAM,EACN,OAAO,GACR,EAAE,aAAa,GAAG,aAAa,CAAC,KAAK,CAAC,CAwPtC"}
|
|
@@ -6,7 +6,7 @@ interface FactoryParams {
|
|
|
6
6
|
}
|
|
7
7
|
export default function ToolbarFactory({ h, }: FactoryParams): ({ action, setAction, options, }: {
|
|
8
8
|
action: 'highlight' | 'hide' | '';
|
|
9
|
-
setAction: Hooks.StateUpdater<'highlight' | 'hide' | ''
|
|
9
|
+
setAction: Hooks.Dispatch<Hooks.StateUpdater<'highlight' | 'hide' | ''>>;
|
|
10
10
|
options: FeedbackInternalOptions;
|
|
11
11
|
}) => VNode;
|
|
12
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/screenshot/components/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,CAAC,IAAI,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,UAAU,aAAa;IACrB,CAAC,EAAE,OAAO,KAAK,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,CAAC,GACF,EAAE,aAAa,qCAKX;IACD,MAAM,EAAE,WAAW,GAAG,MAAM,GAAG,EAAE,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,GAAG,MAAM,GAAG,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/screenshot/components/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,CAAC,IAAI,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,UAAU,aAAa;IACrB,CAAC,EAAE,OAAO,KAAK,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,CAAC,GACF,EAAE,aAAa,qCAKX;IACD,MAAM,EAAE,WAAW,GAAG,MAAM,GAAG,EAAE,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,WAAW,GAAG,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC;IACzE,OAAO,EAAE,uBAAuB,CAAC;CAClC,KAAG,KAAK,CA0BV"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { FeedbackErrorCode, FeedbackErrorMessages } from '@sentry/core';
|
|
2
|
-
export declare function resolveFeedbackErrorMessage(code: FeedbackErrorCode, messages?: FeedbackErrorMessages): string;
|
|
3
2
|
export declare function createFeedbackError(code: FeedbackErrorCode, messages?: FeedbackErrorMessages): Error;
|
|
4
3
|
//# sourceMappingURL=createFeedbackError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFeedbackError.d.ts","sourceRoot":"","sources":["../../../../src/util/createFeedbackError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createFeedbackError.d.ts","sourceRoot":"","sources":["../../../../src/util/createFeedbackError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAqB7E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,QAAQ,CAAC,EAAE,qBAAqB,GAAG,KAAK,CAEpG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/feedback",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.2",
|
|
4
4
|
"description": "Sentry SDK integration for user feedback",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/feedback",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@sentry/core": "11.0.0-alpha.
|
|
36
|
+
"@sentry/core": "11.0.0-alpha.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"preact": "^10.
|
|
39
|
+
"preact": "^10.29.8"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "run-p build:transpile build:types build:bundle",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"clean": "rimraf build sentry-feedback-*.tgz",
|
|
54
54
|
"lint:fix": "oxlint . --fix --type-aware",
|
|
55
55
|
"lint": "oxlint . --type-aware",
|
|
56
|
+
"lint:types": "oxlint src --type-aware --type-check",
|
|
56
57
|
"lint:es-compatibility": "es-check es2020 ./build/{bundles,npm/cjs}/*.js && es-check es2020 ./build/npm/esm/*.js --module",
|
|
57
58
|
"test": "vitest run",
|
|
58
59
|
"test:watch": "vitest --watch",
|