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 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 'qapture';
822
+ const typeImport = isTypeScript ? `import type { QaConfig } from 'qapture2';
823
823
 
824
824
  ` : `// @ts-check
825
- /** @type {import('qapture').QaConfig} */
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 'qapture';
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-L6VS36GE.js.map
4014
- //# sourceMappingURL=chunk-L6VS36GE.js.map
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-PBXQDL7C.cjs.map
4022
- //# sourceMappingURL=chunk-PBXQDL7C.cjs.map
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 chunkPBXQDL7C_cjs = require('./chunk-PBXQDL7C.cjs');
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 chunkPBXQDL7C_cjs.Qapture; }
9
+ get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
10
10
  });
11
11
  Object.defineProperty(exports, "Qapture", {
12
12
  enumerable: true,
13
- get: function () { return chunkPBXQDL7C_cjs.Qapture; }
13
+ get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
14
14
  });
15
15
  Object.defineProperty(exports, "initQaStudio", {
16
16
  enumerable: true,
17
- get: function () { return chunkPBXQDL7C_cjs.initQaStudio; }
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 'qapture/next'; // adds 'use client' banner
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 'qapture';
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 'qapture/next'; // adds 'use client' banner
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 'qapture';
172
+ * import { Qapture } from 'qapture2';
173
173
  * <Qapture config={qaConfig} />
174
174
  */
175
175
  declare function Qapture({ config }: {
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-L6VS36GE.js';
1
+ export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-BE3H3FKR.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/next.cjs CHANGED
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkPBXQDL7C_cjs = require('./chunk-PBXQDL7C.cjs');
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 chunkPBXQDL7C_cjs.Qapture; }
10
+ get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
11
11
  });
12
12
  Object.defineProperty(exports, "Qapture", {
13
13
  enumerable: true,
14
- get: function () { return chunkPBXQDL7C_cjs.Qapture; }
14
+ get: function () { return chunkPC6LNG5Y_cjs.Qapture; }
15
15
  });
16
16
  Object.defineProperty(exports, "initQaStudio", {
17
17
  enumerable: true,
18
- get: function () { return chunkPBXQDL7C_cjs.initQaStudio; }
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
@@ -1,4 +1,4 @@
1
1
  "use client";
2
- export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-L6VS36GE.js';
2
+ export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-BE3H3FKR.js';
3
3
  //# sourceMappingURL=next.js.map
4
4
  //# sourceMappingURL=next.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkPBXQDL7C_cjs = require('./chunk-PBXQDL7C.cjs');
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 chunkPBXQDL7C_cjs.initQaStudio; }
36
+ get: function () { return chunkPC6LNG5Y_cjs.initQaStudio; }
37
37
  });
38
38
  //# sourceMappingURL=standalone.cjs.map
39
39
  //# sourceMappingURL=standalone.cjs.map
@@ -1,4 +1,4 @@
1
- export { initQaStudio } from './chunk-L6VS36GE.js';
1
+ export { initQaStudio } from './chunk-BE3H3FKR.js';
2
2
 
3
3
  // src/standalone.ts
4
4
  if (typeof window !== "undefined" && typeof customElements !== "undefined" && !customElements.get("qapture-widget")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qapture2",
3
- "version": "0.2.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",