Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

channel-rpc

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

channel-rpc - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

dist/index.js

@@ -21,2 +21,6 @@ const MessageTypes = {

function generateUUID() {
if (typeof crypto !== "undefined" &&
typeof crypto?.randomUUID === "function") {
return crypto.randomUUID();
}
return new Array(4)

@@ -23,0 +27,0 @@ .fill(0)

2

package.json
{
"name": "channel-rpc",
"version": "0.2.2",
"version": "0.2.3",
"description": "JSON-RPC over postMessage",

@@ -5,0 +5,0 @@ "author": "kouhin",

@@ -62,2 +62,8 @@ interface JsonRpcRequest {

function generateUUID(): string {
if (
typeof crypto !== "undefined" &&
typeof crypto?.randomUUID === "function"
) {
return crypto.randomUUID();
}
return new Array(4)

@@ -64,0 +70,0 @@ .fill(0)

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