We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e76f323 commit ebf5477Copy full SHA for ebf5477
README.md
@@ -154,7 +154,7 @@ async function main() {
154
const rpc = createRPC<IframeSchema, ParentSchema>({
155
// wait for a connection with the parent window and
156
// pass the transport to our RPC
157
- transport: await createIframeParentTransport({ id: "my-rpc" }),
+ transport: await createIframeParentTransport({ transportId: "my-rpc" }),
158
// provide the request handler
159
requestHandler,
160
});
@@ -198,7 +198,7 @@ async function main() {
198
199
transport: await createIframeTransport(
200
document.getElementById("my-iframe"),
201
- { id: "my-rpc" },
+ { transportId: "my-rpc" },
202
),
203
204
0 commit comments