@insitue/sdk 0.4.1 → 0.4.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/dist/capture-only.js
CHANGED
|
@@ -535,7 +535,7 @@ function toLoc(workspaceCwdRelative) {
|
|
|
535
535
|
function fromAttribute(el) {
|
|
536
536
|
let cur = el;
|
|
537
537
|
for (let i3 = 0; cur && i3 < 8; i3++, cur = cur.parentElement) {
|
|
538
|
-
const raw = cur.getAttribute("data-insitue-source");
|
|
538
|
+
const raw = cur.getAttribute("data-insitue-source") ?? cur.getAttribute("data-insitu-source");
|
|
539
539
|
if (raw) {
|
|
540
540
|
const m3 = /^(.*):(\d+):(\d+)$/.exec(raw);
|
|
541
541
|
if (m3) return { file: m3[1], line: Number(m3[2]), column: Number(m3[3]) };
|
|
@@ -2920,8 +2920,8 @@ function CaptureApp(props) {
|
|
|
2920
2920
|
k("span", {}, isDev ? "InSitue Dev \xB7 pick + describe \u2192 CLI" : ""),
|
|
2921
2921
|
k(
|
|
2922
2922
|
"span",
|
|
2923
|
-
{ title: `@insitue/sdk@${"0.4.
|
|
2924
|
-
`InSitue \xB7 v${"0.4.
|
|
2923
|
+
{ title: `@insitue/sdk@${"0.4.2"}` },
|
|
2924
|
+
`InSitue \xB7 v${"0.4.2"}`
|
|
2925
2925
|
)
|
|
2926
2926
|
]
|
|
2927
2927
|
)
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountCaptureOnly
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FP74MO33.js";
|
|
4
4
|
|
|
5
5
|
// src/InSitue.tsx
|
|
6
6
|
import { useEffect } from "react";
|
|
@@ -54,7 +54,7 @@ function InSitue({ port }) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// src/index.ts
|
|
57
|
-
var SDK_VERSION = "0.4.
|
|
57
|
+
var SDK_VERSION = "0.4.2";
|
|
58
58
|
export {
|
|
59
59
|
InSitue,
|
|
60
60
|
InSitueCapture,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insitue/sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "InSitue capture SDK — drop one snippet into your deployed app; your users point at a bug, InSitue opens a verified pull request.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"tsup": "^8.3.5",
|
|
52
52
|
"typescript": "^5.6.3",
|
|
53
53
|
"vitest": "^3.2.4",
|
|
54
|
-
"@insitue/capture-core": "0.3.
|
|
54
|
+
"@insitue/capture-core": "0.3.1"
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|