Socket
Socket
Sign inDemoInstall

@any-touch/pinch

Package Overview
Dependencies
5
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2

22

dist/index.d.ts

@@ -0,2 +1,6 @@

import type { PluginContext } from '@any-touch/shared';
import Core from '@any-touch/core';
/**
* 默认选项
*/
declare const DEFAULT_OPTIONS: {

@@ -8,2 +12,14 @@ name: string;

/**
* 实例
*/
declare type PinchContext = PluginContext & typeof DEFAULT_OPTIONS;
/**
* 扩展插件映射
*/
declare module '@any-touch/core' {
interface PluginContextMap {
pinch: PinchContext;
}
}
/**
* "啮合"识别器

@@ -14,7 +30,3 @@ * @param at AnyTouch实例

*/
export default function (at: Core, options?: Partial<typeof DEFAULT_OPTIONS>): import("@any-touch/shared").PluginContext<{
name: string;
threshold: number;
pointLength: number;
}>;
export default function (at: Core, options?: Partial<typeof DEFAULT_OPTIONS>): PinchContext;
export {};
{
"name": "@any-touch/pinch",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "any-touch的识别器, 用来识别捏合手势.",

@@ -14,3 +14,3 @@ "main": "./dist/index",

"dependencies": {
"@any-touch/compute": "^2.0.0-alpha.1",
"@any-touch/compute": "^2.0.0-alpha.2",
"@any-touch/recognizer": "^1.0.14"

@@ -22,3 +22,3 @@ },

"sideEffects": false,
"gitHead": "a5497dd4d042aeb09ea9c6d0414ed36fbe9c7105"
"gitHead": "3b0b63213d1efdc735641c253a75b723f9e8e28f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc