@proto-labs-inc/wire 0.2.2 → 0.2.3

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/index.d.ts CHANGED
@@ -187,6 +187,8 @@ export interface CommentAnchor {
187
187
  height: number;
188
188
  }
189
189
  export type RigToFrame = {
190
+ type: "request-frame-tools";
191
+ } | {
190
192
  type: "frame-tools-status";
191
193
  status: "loading" | "ready" | "unavailable";
192
194
  } | {
package/dist/index.js CHANGED
@@ -94,7 +94,8 @@ export function isRigToFrame(d) {
94
94
  if (["comment-target-picked", "variant-set-target-picked", "target-measured"].includes(t)) {
95
95
  return typeof message.selector === "string";
96
96
  }
97
- return ((t === "frame-tools-status" && ["loading", "ready", "unavailable"].includes(message.status)) ||
97
+ return (t === "request-frame-tools" ||
98
+ (t === "frame-tools-status" && ["loading", "ready", "unavailable"].includes(message.status)) ||
98
99
  t === "hello" ||
99
100
  t === "state-changed" ||
100
101
  t === "thumbnail-capture" ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proto-labs-inc/wire",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "The typed contract between Proto's Frame and the rig inside a prototype: bridge messages and the prototype.json schema.",
5
5
  "license": "MIT",
6
6
  "repository": {