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

fitbit-sdk-types

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fitbit-sdk-types - npm Package Compare versions

Comparing version 3.2.5 to 3.2.6

6

package.json
{
"name": "fitbit-sdk-types",
"version": "3.2.5",
"version": "3.2.6",
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>",

@@ -36,8 +36,8 @@ "description": "Types for Fitbit SDK.",

"@types/glob": "^7.1.1",
"@types/node": "^10.12.21",
"@types/node": "^10.12.24",
"dtslint": "^0.4.2",
"prettier": "^1.16.4",
"tslint": "^5.12.1",
"typescript": "^3.3.1"
"typescript": "^3.3.3"
}
}

@@ -1,10 +0,1 @@

type ElementState =
| 'enabled'
| 'disabled'
| 'highlighted'
| 'unhighlighted'
| 'selected'
| 'unselected'
| 'expanded'
| string;
interface ElementSearchMap {

@@ -20,11 +11,32 @@ image: ImageElement;

gradientArc: GradientArcElement;
g: GroupElement;
[key: string]: Element;
}
interface ElementSearch {
getElementById(id: string): Element;
getElementById(id: string): Element | null;
getElementsByClassName(className: string): Element[];
getElementsByTagName(
tagName: keyof ElementSearchMap,
): Array<ElementSearchMap[typeof tagName]>;
getElementsByTagName(tagName: string): Element[];
getElementsByTagName<TagName extends keyof ElementSearchMap>(
tagName: TagName,
): Array<ElementSearchMap[TagName]>;
}
type AnimationTrigger =
| 'activate'
| 'click'
| 'collapse'
| 'disable'
| 'enable'
| 'expand'
| 'highlight'
| 'load'
| 'mousedown'
| 'mousemove'
| 'mouseout'
| 'mouseover'
| 'mouseup'
| 'paint'
| 'reload'
| 'select'
| 'unhighlight'
| 'unload'
| 'unselect';
interface Element extends ElementSearch, GlobalEvents {

@@ -39,3 +51,3 @@ readonly class: string;

readonly parent: Element | null;
state: ElementState;
state: string;
text: string;

@@ -45,3 +57,3 @@ readonly type: string;

enabled: boolean;
animate(trigger: string): void;
animate(trigger: AnimationTrigger): void;
sendEvent(event: Event): void;

@@ -48,0 +60,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