deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
@@ -0,0 +1,17 @@
/**
* This file is a copy of the resolver from the `codesandbox-api` package.
* We wanted to avoid to reference codesandbox-api because of the code that runs on load in the package.
* The plan is to take some time and refactor codesandbox-api into what it was supposed to be in the first place,
* an abstraction over the actions that can be dispatched between the bundler and the iframe.
*/
import type { IFrameProtocol } from "./iframe-protocol";
import type { ProtocolRequestMessage } from "../../types";
export default class Protocol {
private type;
private handleMessage;
private protocol;
private _disposeMessageListener;
constructor(type: string, handleMessage: (message: ProtocolRequestMessage) => any, protocol: IFrameProtocol);
getTypeId(): string;
dispose(): void;
}