@any-touch/compute
Advanced tools
Comparing version 0.6.0-beta.2 to 0.6.0-beta.7
{ | ||
"name": "@any-touch/compute", | ||
"version": "0.6.0-beta.2", | ||
"version": "0.6.0-beta.7", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"description": "any-touch内部依赖的包, 进行手势数据计算.", | ||
@@ -10,3 +12,3 @@ "publishConfig": { | ||
"license": "ISC", | ||
"gitHead": "1fbc166a952c787afd7716f08978e824eecaa123" | ||
"gitHead": "8d7b05667880d9e5ac91b7bc4e457624e35cb994" | ||
} |
@@ -0,0 +0,0 @@ import { Vector } from '@any-touch/shared/types'; |
@@ -0,0 +0,0 @@ import radianToAngle from '@any-touch/vector/radianToAngle'; |
import { Input, directionString } from '@any-touch/shared/types'; | ||
import { CLIENT_X, CLIENT_Y, INPUT_MOVE, INPUT_START } from '@any-touch/shared/const'; | ||
import { NONE } from '@any-touch/vector/DIRECION'; | ||
import { CLIENT_X, CLIENT_Y, INPUT_MOVE, INPUT_START } from '@any-touch/shared'; | ||
import { NONE } from '@any-touch/shared'; | ||
import getVLength from '@any-touch/vector/getVLength'; | ||
@@ -6,0 +6,0 @@ import getDirection from '@any-touch/vector/getDirection'; |
import { Input } from '@any-touch/shared/types'; | ||
import { INPUT_START } from '@any-touch/shared/const'; | ||
import { INPUT_START } from '@any-touch/shared'; | ||
export default class ComputeMaxLength { | ||
@@ -4,0 +4,0 @@ maxPointLength = 0; |
@@ -0,0 +0,0 @@ import { Vector } from '@any-touch/shared/types'; |
@@ -6,3 +6,3 @@ // 返回最近一个时间段的计算结果 | ||
import { Input, PureInput, directionString } from '@any-touch/shared/types'; | ||
import {INPUT_MOVE,COMPUTE_INTERVAL } from '@any-touch/shared/const'; | ||
import {INPUT_MOVE,COMPUTE_INTERVAL } from '@any-touch/shared'; | ||
import getDirection from '@any-touch/vector/getDirection'; | ||
@@ -9,0 +9,0 @@ export default class ComputeVAndDir { |
import { PureInput, Vector } from '@any-touch/shared/types'; | ||
import { CLIENT_X, CLIENT_Y } from '@any-touch/shared/const'; | ||
import { CLIENT_X, CLIENT_Y } from '@any-touch/shared'; | ||
export default function computeVector(input: PureInput): Vector { | ||
@@ -4,0 +4,0 @@ return { |
@@ -0,0 +0,0 @@ import { Vector, Input } from '@any-touch/shared/types'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23285
22
517
1