@immediately-run/sandpack-client 2.21.0 → 2.21.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandpack-client",
|
|
3
|
-
"version": "2.21.
|
|
4
|
-
"srcHash": "
|
|
5
|
-
"builtAt": "2026-
|
|
3
|
+
"version": "2.21.1",
|
|
4
|
+
"srcHash": "89d50cca03a74c4165b1fc5bdb8b0056beb6c7922b7938dc996456632b144338",
|
|
5
|
+
"builtAt": "2026-08-16T19:29:38.984Z"
|
|
6
6
|
}
|
|
@@ -530,7 +530,7 @@ function getExtension(filepath) {
|
|
|
530
530
|
|
|
531
531
|
var _a;
|
|
532
532
|
var SUFFIX_PLACEHOLDER = "-{{suffix}}";
|
|
533
|
-
var BUNDLER_URL = "https://".concat((_a = "2.21.
|
|
533
|
+
var BUNDLER_URL = "https://".concat((_a = "2.21.1") === null || _a === void 0 ? void 0 : _a.replace(/\./g, "-")).concat(SUFFIX_PLACEHOLDER, "-sandpack.codesandbox.io/");
|
|
534
534
|
var SandpackRuntime = /** @class */ (function (_super) {
|
|
535
535
|
utils.__extends(SandpackRuntime, _super);
|
|
536
536
|
function SandpackRuntime(selector, sandboxSetup, options) {
|
|
@@ -528,7 +528,7 @@ function getExtension(filepath) {
|
|
|
528
528
|
|
|
529
529
|
var _a;
|
|
530
530
|
var SUFFIX_PLACEHOLDER = "-{{suffix}}";
|
|
531
|
-
var BUNDLER_URL = "https://".concat((_a = "2.21.
|
|
531
|
+
var BUNDLER_URL = "https://".concat((_a = "2.21.1") === null || _a === void 0 ? void 0 : _a.replace(/\./g, "-")).concat(SUFFIX_PLACEHOLDER, "-sandpack.codesandbox.io/");
|
|
532
532
|
var SandpackRuntime = /** @class */ (function (_super) {
|
|
533
533
|
__extends(SandpackRuntime, _super);
|
|
534
534
|
function SandpackRuntime(selector, sandboxSetup, options) {
|
|
@@ -28,6 +28,11 @@ export type SandpackRuntimeMessage = BaseSandpackMessage & ({
|
|
|
28
28
|
url: string;
|
|
29
29
|
back: boolean;
|
|
30
30
|
forward: boolean;
|
|
31
|
+
/** R3-268: the tri-state viewed-document declaration — ABSENT means
|
|
32
|
+
* "derive from the URL's `files/` suffix convention", `null` means
|
|
33
|
+
* "this view shows no file" (clears the explorer highlight), a string
|
|
34
|
+
* is a working-tree repo-relative path the destination renders. */
|
|
35
|
+
viewedDocument?: string | null;
|
|
31
36
|
} | {
|
|
32
37
|
type: "resize";
|
|
33
38
|
height: number;
|