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

@xiaobai-world/api

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xiaobai-world/api - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

13

index.ts

@@ -7,3 +7,3 @@ declare global {

import { IContextMenuItem } from './src/types'
import { IContextMenuItem, IWindow } from './src/types'

@@ -36,3 +36,3 @@ /*

*/
export function mount(render: (selector: string) => void): Promise<void> {
export function mount(render: (selector: string, data: IWindow) => void): Promise<void> {
if (!window.xiaobaiApi) {

@@ -56,3 +56,3 @@ return Promise.reject()

if (node && node.getAttribute('name') === appPackage.name) {
render(id)
render(id, data.appInfo)
}

@@ -63,8 +63,1 @@ }

}
/**
* return path of the current app
*/
export function getAppPath() {
}
{
"name": "@xiaobai-world/api",
"version": "0.0.23",
"version": "0.0.24",
"description": "xiaobai world api",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -6,2 +6,3 @@ export interface IXiaobaiWorldMessageData {

title: string,
appInfo: IWindow
}

@@ -8,0 +9,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