MCPcopy Create free account
hub / github.com/dailydotdev/apps / snapshot

Function snapshot

packages/world-cli/src/dev.js:152–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 for (const res of clients) send(res, event);
151 };
152 const snapshot = () => ({
153 protocol: PROTOCOL_VERSION,
154 user,
155 version,
156 entries: [...builders.values()].flatMap(({ good }) =>
157 good ? [good] : []
158 ),
159 reports: [...builders.values()].map(({ status }) => status),
160 removals: [...removedTargets.values()],
161 });
162 const readyFrame = () => ({
163 type: "ready",
164 protocol: PROTOCOL_VERSION,

Callers 2

readyFrameFunction · 0.85
startDevFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected