@blockprotocol/graph
Advanced tools
Comparing version 0.0.17-canary.4 to 0.0.17
{ | ||
"name": "@blockprotocol/graph", | ||
"version": "0.0.17-canary.4", | ||
"version": "0.0.17", | ||
"description": "Implementation of the Block Protocol Graph service specification for blocks and embedding applications", | ||
@@ -57,6 +57,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@blockprotocol/core": "0.0.12", | ||
"lit": "^2.2.5" | ||
}, | ||
"devDependencies": { | ||
"@blockprotocol/core": "0.0.12-canary.3", | ||
"@local/tsconfig": "0.0.0-private", | ||
@@ -67,4 +67,3 @@ "rimraf": "^3.0.2", | ||
"peerDependencies": { | ||
"react": "^18.0.0", | ||
"@blockprotocol/core": "0.0.12-canary.3" | ||
"react": "^18.0.0" | ||
}, | ||
@@ -71,0 +70,0 @@ "engines": { |
@@ -16,3 +16,3 @@ ## Block Protocol – Graph service | ||
To create a GraphBlockHandler, pass the constructor an element in your block, along with any callbacks you wish to register to handle incoming messages. | ||
To create a `GraphBlockHandler`, pass the constructor an element in your block, along with any callbacks you wish to register to handle incoming messages. | ||
@@ -34,4 +34,8 @@ ### React example | ||
To create a GraphEmbedderHandler, pass the constructor: | ||
You should construct one `GraphEmbedderHandler` per block. | ||
It is not currently possible to wrap multiple blocks with a single handler. | ||
To create a `GraphEmbedderHandler`, pass the constructor: | ||
1. An `element` wrapping your block | ||
@@ -38,0 +42,0 @@ 1. `callbacks` to respond to messages from the block |
134398
3
25
85
+ Added@blockprotocol/core@0.0.12
+ Added@blockprotocol/core@0.0.12(transitive)
- Removed@blockprotocol/core@0.0.12-canary.3(transitive)