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

@todesktop/client-selected-text

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@todesktop/client-selected-text - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

dist/generated/plugin.d.ts

@@ -24,3 +24,3 @@ /**

interface Window {
td: {
todesktop: {
selectedText: {

@@ -27,0 +27,0 @@ getSelectedText: GetSelectedText;

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

*/
const getSelectedText = () => window.td.selectedText.getSelectedText();
const getSelectedText = () => window.todesktop.selectedText.getSelectedText();
exports.getSelectedText = getSelectedText;

@@ -17,3 +17,3 @@ /**

*/
const registerShortcut = (...args) => window.td.selectedText.registerShortcut(...args);
const registerShortcut = (...args) => window.todesktop.selectedText.registerShortcut(...args);
exports.registerShortcut = registerShortcut;

@@ -24,3 +24,3 @@ /**

*/
const unregisterShortcut = (...args) => window.td.selectedText.unregisterShortcut(...args);
const unregisterShortcut = (...args) => window.todesktop.selectedText.unregisterShortcut(...args);
exports.unregisterShortcut = unregisterShortcut;
{
"name": "@todesktop/client-selected-text",
"version": "0.4.0",
"version": "0.5.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -24,3 +24,3 @@ /**

interface Window {
td: {
todesktop: {
selectedText: {

@@ -27,0 +27,0 @@ getSelectedText: GetSelectedText;

@@ -12,3 +12,3 @@ import type {

export const getSelectedText: typeof _getSelectedText = () =>
window.td.selectedText.getSelectedText();
window.todesktop.selectedText.getSelectedText();

@@ -22,3 +22,3 @@ /**

export const registerShortcut: typeof _registerShortcut = (...args) =>
window.td.selectedText.registerShortcut(...args);
window.todesktop.selectedText.registerShortcut(...args);

@@ -30,2 +30,2 @@ /**

export const unregisterShortcut: typeof _unregisterShortcut = (...args) =>
window.td.selectedText.unregisterShortcut(...args);
window.todesktop.selectedText.unregisterShortcut(...args);
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