qapture2 0.2.2 → 0.2.3
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/bin/init.cjs +3 -3
- package/dist/{chunk-L6VS36GE.js → chunk-BE3H3FKR.js} +2 -2
- package/dist/{chunk-PBXQDL7C.cjs → chunk-PC6LNG5Y.cjs} +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/next.cjs +4 -4
- package/dist/next.js +1 -1
- package/dist/standalone.cjs +2 -2
- package/dist/standalone.js +1 -1
- package/package.json +1 -1
package/dist/bin/init.cjs
CHANGED
|
@@ -819,10 +819,10 @@ function genConfigText(opts) {
|
|
|
819
819
|
const hintsComment = frameworkHints.length > 0 ? ` *
|
|
820
820
|
* Auto-detected stack:
|
|
821
821
|
${frameworkHints.map((h) => ` * \u2022 ${h}`).join("\n")}` : "";
|
|
822
|
-
const typeImport = isTypeScript ? `import type { QaConfig } from '
|
|
822
|
+
const typeImport = isTypeScript ? `import type { QaConfig } from 'qapture2';
|
|
823
823
|
|
|
824
824
|
` : `// @ts-check
|
|
825
|
-
/** @type {import('
|
|
825
|
+
/** @type {import('qapture2').QaConfig} */
|
|
826
826
|
`;
|
|
827
827
|
const typeAnnotation = isTypeScript ? ": QaConfig" : "";
|
|
828
828
|
const exportStatement = `export default config;
|
|
@@ -1073,7 +1073,7 @@ ${DIVIDER}
|
|
|
1073
1073
|
Mount the widget near your app root:
|
|
1074
1074
|
${DIVIDER}
|
|
1075
1075
|
|
|
1076
|
-
import { Qapture } from '
|
|
1076
|
+
import { Qapture } from 'qapture2';
|
|
1077
1077
|
import config from './${configFile.replace(/\.[jt]s$/, "")}';
|
|
1078
1078
|
|
|
1079
1079
|
// Render once near your app root:
|
|
@@ -4010,5 +4010,5 @@ function Qapture({ config }) {
|
|
|
4010
4010
|
}
|
|
4011
4011
|
|
|
4012
4012
|
export { Qapture, initQaStudio };
|
|
4013
|
-
//# sourceMappingURL=chunk-
|
|
4014
|
-
//# sourceMappingURL=chunk-
|
|
4013
|
+
//# sourceMappingURL=chunk-BE3H3FKR.js.map
|
|
4014
|
+
//# sourceMappingURL=chunk-BE3H3FKR.js.map
|
|
@@ -4018,5 +4018,5 @@ function Qapture({ config }) {
|
|
|
4018
4018
|
|
|
4019
4019
|
exports.Qapture = Qapture;
|
|
4020
4020
|
exports.initQaStudio = initQaStudio;
|
|
4021
|
-
//# sourceMappingURL=chunk-
|
|
4022
|
-
//# sourceMappingURL=chunk-
|
|
4021
|
+
//# sourceMappingURL=chunk-PC6LNG5Y.cjs.map
|
|
4022
|
+
//# sourceMappingURL=chunk-PC6LNG5Y.cjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPC6LNG5Y_cjs = require('./chunk-PC6LNG5Y.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "QaStudio", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "Qapture", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "initQaStudio", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPC6LNG5Y_cjs.initQaStudio; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -165,11 +165,11 @@ declare function initQaStudio(config?: QaConfig): {
|
|
|
165
165
|
* (destroy + remount if needed).
|
|
166
166
|
*
|
|
167
167
|
* Usage (Next.js App Router):
|
|
168
|
-
* import { Qapture } from '
|
|
168
|
+
* import { Qapture } from 'qapture2/next'; // adds 'use client' banner
|
|
169
169
|
* <Qapture config={qaConfig} />
|
|
170
170
|
*
|
|
171
171
|
* Usage (any React app):
|
|
172
|
-
* import { Qapture } from '
|
|
172
|
+
* import { Qapture } from 'qapture2';
|
|
173
173
|
* <Qapture config={qaConfig} />
|
|
174
174
|
*/
|
|
175
175
|
declare function Qapture({ config }: {
|
package/dist/index.d.ts
CHANGED
|
@@ -165,11 +165,11 @@ declare function initQaStudio(config?: QaConfig): {
|
|
|
165
165
|
* (destroy + remount if needed).
|
|
166
166
|
*
|
|
167
167
|
* Usage (Next.js App Router):
|
|
168
|
-
* import { Qapture } from '
|
|
168
|
+
* import { Qapture } from 'qapture2/next'; // adds 'use client' banner
|
|
169
169
|
* <Qapture config={qaConfig} />
|
|
170
170
|
*
|
|
171
171
|
* Usage (any React app):
|
|
172
|
-
* import { Qapture } from '
|
|
172
|
+
* import { Qapture } from 'qapture2';
|
|
173
173
|
* <Qapture config={qaConfig} />
|
|
174
174
|
*/
|
|
175
175
|
declare function Qapture({ config }: {
|
package/dist/index.js
CHANGED
package/dist/next.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkPC6LNG5Y_cjs = require('./chunk-PC6LNG5Y.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "QaStudio", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Qapture", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "initQaStudio", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkPC6LNG5Y_cjs.initQaStudio; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=next.cjs.map
|
|
21
21
|
//# sourceMappingURL=next.cjs.map
|
package/dist/next.js
CHANGED
package/dist/standalone.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPC6LNG5Y_cjs = require('./chunk-PC6LNG5Y.cjs');
|
|
4
4
|
|
|
5
5
|
// src/standalone.ts
|
|
6
6
|
if (typeof window !== "undefined" && typeof customElements !== "undefined" && !customElements.get("qapture-widget")) {
|
|
@@ -33,7 +33,7 @@ if (typeof window !== "undefined" && typeof customElements !== "undefined" && !c
|
|
|
33
33
|
|
|
34
34
|
Object.defineProperty(exports, "initQaStudio", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkPC6LNG5Y_cjs.initQaStudio; }
|
|
37
37
|
});
|
|
38
38
|
//# sourceMappingURL=standalone.cjs.map
|
|
39
39
|
//# sourceMappingURL=standalone.cjs.map
|
package/dist/standalone.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qapture2",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Drop-in, AI-aware in-browser QA capture widget. A tester annotates the live app (element/region + auto-screenshot + note), tracks a graded testing journey, and exports a ZIP your own coding agent reads. Ships zero AI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|