@blockprotocol/graph
Advanced tools
Comparing version 0.0.11-canary.2 to 0.0.11-canary.3
import { ServiceHandler } from "@blockprotocol/core"; | ||
import { GraphServiceJson } from "./index.js"; | ||
import GraphServiceJson from "./graph-service.json"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Creates a handler for the graph service for the block. |
import { ServiceHandler } from "@blockprotocol/core"; | ||
import { GraphServiceJson } from "./index.js"; | ||
import GraphServiceJson from "./graph-service.json"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Creates a handler for the graph service for the embedder. |
@@ -1,8 +0,3 @@ | ||
import GraphServiceJson from "./graph-service.json"; | ||
export { BlockElementBase } from "./custom-element.js"; | ||
export { GraphBlockHandler } from "./graph-block-handler.js"; | ||
export { GraphEmbedderHandler } from "./graph-embedder-handler.js"; | ||
export { GraphServiceJson }; | ||
export type { BlockComponent } from "./react.js"; | ||
export { useGraphBlockService, useGraphEmbedderService } from "./react.js"; | ||
export * from "./types.js"; |
@@ -1,8 +0,4 @@ | ||
import GraphServiceJson from "./graph-service.json" assert { type: "json" }; | ||
export { BlockElementBase } from "./custom-element.js"; | ||
export { GraphBlockHandler } from "./graph-block-handler.js"; | ||
export { GraphEmbedderHandler } from "./graph-embedder-handler.js"; | ||
export { GraphServiceJson }; | ||
export { useGraphBlockService, useGraphEmbedderService } from "./react.js"; | ||
export * from "./types.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@blockprotocol/graph", | ||
"version": "0.0.11-canary.2", | ||
"version": "0.0.11-canary.3", | ||
"description": "Implementation of the Block Protocol Graph service specification for blocks and embedding applications", | ||
@@ -25,5 +25,25 @@ "keywords": [ | ||
"type": "module", | ||
"exports": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./react": "./dist/react.js", | ||
"./custom-element": "./dist/custom-element.js", | ||
"./service-json": "./dist/graph-service.json" | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
".": [ | ||
"./dist/index.d.ts" | ||
], | ||
"react": [ | ||
"./dist/react.d.ts" | ||
], | ||
"custom-element": [ | ||
"./dist/custom-element.d.ts" | ||
], | ||
"service-json": [ | ||
"./dist/graph-service.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -45,3 +65,3 @@ "dist" | ||
"rimraf": "^3.0.2", | ||
"typescript": "4.7.2" | ||
"typescript": "4.7.4" | ||
}, | ||
@@ -48,0 +68,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77797
24
1572