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.11 to 3.2.12

2

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

@@ -5,0 +5,0 @@ "description": "Types for Fitbit SDK.",

@@ -21,5 +21,5 @@ declare module 'peer' {

};
readonly type: 'WATCH' | 'TRACKER';
readonly type: string;
}
const device: PeerDevice;
}

@@ -21,22 +21,3 @@ interface ElementSearchMap {

}
type AnimationTrigger =
| 'activate'
| 'click'
| 'collapse'
| 'disable'
| 'enable'
| 'expand'
| 'highlight'
| 'load'
| 'mousedown'
| 'mousemove'
| 'mouseout'
| 'mouseover'
| 'mouseup'
| 'paint'
| 'reload'
| 'select'
| 'unhighlight'
| 'unload'
| 'unselect';
type EventName = string;
interface Element extends ElementSearch, GlobalEvents {

@@ -56,3 +37,3 @@ readonly class: string;

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

@@ -59,0 +40,0 @@ }

@@ -18,3 +18,3 @@ interface ListScrollEvent extends Event {

interface KeyboardEvent extends Event {
readonly key: 'back' | 'up' | 'down';
readonly key: string;
}

@@ -21,0 +21,0 @@ interface MouseEvent extends Event {

@@ -51,3 +51,3 @@ type Component<Props> = (props: Props) => JSX.Element;

action?: string;
type?: 'text' | 'number' | 'password' | 'search' | 'email' | 'tel' | 'url';
type?: string;
value?: string;

@@ -54,0 +54,0 @@ disabled?: boolean;

declare module 'device' {
type IonicColors = undefined;
type VersaColors = 'black' | 'rose-gold' | 'silver' | 'graphite';
interface Device {
readonly bodyColor: IonicColors | VersaColors;
readonly bodyColor: string | undefined;
readonly firmwareVersion: string;
readonly lastSyncTime: Date;
readonly modelId: string;
readonly modelName: 'Ionic' | 'Versa';
readonly modelName: string;
readonly screen: {

@@ -14,3 +12,3 @@ readonly width: number;

};
readonly type: 'WATCH' | 'TRACKER';
readonly type: string;
}

@@ -17,0 +15,0 @@

type PermissionName =
| 'access_activity'
| 'access_user_profile'
| 'access_exercise'
| 'access_heart_rate'
| 'access_internet'
| 'access_location'
| 'access_internet'
| 'access_user_profile'
| 'run_background';

@@ -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