New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blockprotocol/core

Package Overview
Dependencies
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockprotocol/core - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

dist/cjs/index.d.ts

@@ -5,2 +5,2 @@ export { CoreBlockHandler } from "./core-block-handler";

export { ServiceHandler } from "./service-handler";
export type { BlockMetadata, BlockMetadataRepository, BlockVariant, JsonArray, JsonObject, JsonValue, MessageCallback, MessageData, MessageError, UnknownRecord, } from "./types";
export type { BlockMetadata, BlockMetadataRepository, BlockVariant, JsonArray, JsonObject, JsonValue, MessageCallback, MessageData, MessageError, ServiceDefinition, ServiceMessageDefinition, UnknownRecord, } from "./types";

@@ -144,2 +144,17 @@ import { CoreHandler } from "./core-handler";

}>;
export declare type ServiceMessageDefinition = {
messageName: string;
description: string;
source: "embedder" | "block";
data: Record<string, unknown>;
sentOnInitialization?: boolean;
errorCodes?: string[];
respondedToBy?: string | null;
};
export declare type ServiceDefinition = {
name: string;
version: string;
coreVersion: string;
messages: ServiceMessageDefinition[];
};
export {};

@@ -5,2 +5,2 @@ export { CoreBlockHandler } from "./core-block-handler";

export { ServiceHandler } from "./service-handler";
export type { BlockMetadata, BlockMetadataRepository, BlockVariant, JsonArray, JsonObject, JsonValue, MessageCallback, MessageData, MessageError, UnknownRecord, } from "./types";
export type { BlockMetadata, BlockMetadataRepository, BlockVariant, JsonArray, JsonObject, JsonValue, MessageCallback, MessageData, MessageError, ServiceDefinition, ServiceMessageDefinition, UnknownRecord, } from "./types";

@@ -144,2 +144,17 @@ import { CoreHandler } from "./core-handler";

}>;
export declare type ServiceMessageDefinition = {
messageName: string;
description: string;
source: "embedder" | "block";
data: Record<string, unknown>;
sentOnInitialization?: boolean;
errorCodes?: string[];
respondedToBy?: string | null;
};
export declare type ServiceDefinition = {
name: string;
version: string;
coreVersion: string;
messages: ServiceMessageDefinition[];
};
export {};
{
"name": "@blockprotocol/core",
"version": "0.0.6",
"version": "0.0.7",
"description": "Implementation of the Block Protocol Core specification for blocks and embedding applications",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc