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
8
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.8 to 0.0.9-canary.1

2

dist/cjs/core-handler.js

@@ -103,3 +103,3 @@ "use strict";

}
const fullMessage = Object.assign(Object.assign({}, partialMessage), { requestId: requestId !== null && requestId !== void 0 ? requestId : (0, uuid_1.v4)(), respondedToBy: "respondedToBy" in args ? args.respondedToBy : undefined, service: sender.serviceName, source: this.sourceType });
const fullMessage = Object.assign(Object.assign({}, partialMessage), { requestId: requestId !== null && requestId !== void 0 ? requestId : (0, uuid_1.v4)(), respondedToBy: "respondedToBy" in args ? args.respondedToBy : undefined, service: sender.serviceName, source: this.sourceType, timestamp: new Date().toISOString() });
const event = new CustomEvent(CoreHandler.customEventName, {

@@ -106,0 +106,0 @@ bubbles: true,

@@ -56,3 +56,3 @@ import { CoreHandler } from "./core-handler";

/**
* The dependencies a block relies on but expects the embedding application to provide, e.g. { "react": "^17.0.2" }
* The dependencies a block relies on but expects the embedding application to provide, e.g. { "react": "^18.0.0" }
*/

@@ -118,2 +118,3 @@ externals?: JsonObject;

source: "block" | "embedder";
timestamp: string;
}

@@ -120,0 +121,0 @@ export declare type MessageCallback<InputData, InputErrorCode extends string | null, ReturnData extends any | null = null, ReturnErrorCode extends ReturnData extends null ? null : string | null = null> = {

@@ -100,3 +100,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
const fullMessage = Object.assign(Object.assign({}, partialMessage), { requestId: requestId !== null && requestId !== void 0 ? requestId : uuid(), respondedToBy: "respondedToBy" in args ? args.respondedToBy : undefined, service: sender.serviceName, source: this.sourceType });
const fullMessage = Object.assign(Object.assign({}, partialMessage), { requestId: requestId !== null && requestId !== void 0 ? requestId : uuid(), respondedToBy: "respondedToBy" in args ? args.respondedToBy : undefined, service: sender.serviceName, source: this.sourceType, timestamp: new Date().toISOString() });
const event = new CustomEvent(CoreHandler.customEventName, {

@@ -103,0 +103,0 @@ bubbles: true,

@@ -56,3 +56,3 @@ import { CoreHandler } from "./core-handler";

/**
* The dependencies a block relies on but expects the embedding application to provide, e.g. { "react": "^17.0.2" }
* The dependencies a block relies on but expects the embedding application to provide, e.g. { "react": "^18.0.0" }
*/

@@ -118,2 +118,3 @@ externals?: JsonObject;

source: "block" | "embedder";
timestamp: string;
}

@@ -120,0 +121,0 @@ export declare type MessageCallback<InputData, InputErrorCode extends string | null, ReturnData extends any | null = null, ReturnErrorCode extends ReturnData extends null ? null : string | null = null> = {

{
"name": "@blockprotocol/core",
"version": "0.0.8",
"version": "0.0.9-canary.1",
"description": "Implementation of the Block Protocol Core specification for blocks and embedding applications",

@@ -44,4 +44,4 @@ "keywords": [

"rimraf": "^3.0.2",
"typescript": "4.7.2"
"typescript": "4.7.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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