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

smoothly-model

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smoothly-model - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

3

dist/Message.js

@@ -10,3 +10,2 @@ "use strict";

static send(message, content, context) {
console.log("message.send", { message, content, context });
if (Message.is(message) && context == undefined) {

@@ -18,3 +17,2 @@ context = content;

message = { destination: destination[1], content: message.content };
console.log("postMessage", message, destination[0]);
context.postMessage(message, destination[0]);

@@ -37,3 +35,2 @@ }

(context || window).addEventListener("message", (e) => {
console.log("message.listen callback", origin, { message: e.data, origin: e.origin });
const message = e.data;

@@ -40,0 +37,0 @@ if (Message.is(message) && (origin == "*" || e.origin == origin) && (destination == "" || message.destination == destination))

@@ -14,3 +14,2 @@ export interface Message<T> {

static send(message: string | Message<any>, content?: any | Window, context?: Window): void {
console.log("message.send", { message, content, context })
if (Message.is(message) && context == undefined) {

@@ -22,3 +21,2 @@ context = content as Window

message = { destination: destination[1], content: message.content }
console.log("postMessage", message, destination[0])
context.postMessage(message, destination[0])

@@ -40,3 +38,2 @@ } else if (typeof(context) != "string") {

(context || window).addEventListener("message", (e: MessageEvent) => {
console.log("message.listen callback", origin, { message: e.data, origin: e.origin })
const message = e.data

@@ -43,0 +40,0 @@ if (Message.is(message) && (origin == "*" || e.origin == origin) && (destination == "" || message.destination == destination))

2

package.json
{
"name": "smoothly-model",
"version": "0.0.9",
"version": "0.0.10",
"description": "Data models for Smoothly.",

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

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