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

@staroverlay/dom

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@staroverlay/dom - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json

@@ -5,3 +5,3 @@ {

"description": "DOM API client for build StarOverlay widgets.",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",

@@ -8,0 +8,0 @@ "main": "lib/index.js",

import { Template, TemplateVersion, Widget } from '@staroverlay/sdk';
import { Socket } from 'socket.io-client';
import type { Socket } from 'socket.io-client';

@@ -4,0 +4,0 @@ import { injectContent, renderIf } from './utils/dom-utils';

import { Template, TemplateVersion, Widget } from '@staroverlay/sdk';
import io from 'socket.io-client';
import { io } from 'socket.io-client';

@@ -17,3 +17,3 @@ import StarOverlay from './client';

export function injectLibDOM({
function injectLibDOM({
backendURL,

@@ -27,2 +27,4 @@ workerURL,

transports: ['websocket'],
autoConnect: true,
reconnection: true,
});

@@ -106,2 +108,4 @@

window.injectLibDOM = injectLibDOM;
declare global {

@@ -111,3 +115,4 @@ interface Window {

env: Environment;
injectLibDOM: typeof injectLibDOM;
}
}

Sorry, the diff of this file is too big to display

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