🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

capacitor-timer-notification

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-timer-notification - npm Package Compare versions

Comparing version

to
0.1.3

4

dist/docs.json

@@ -36,5 +36,5 @@ {

"name": "getRemainingTime",
"signature": "() => Promise<number>",
"signature": "() => Promise<{ remainingTime: number; }>",
"parameters": [],
"returns": "Promise<number>",
"returns": "Promise<{ remainingTime: number; }>",
"tags": [],

@@ -41,0 +41,0 @@ "docs": "",

@@ -6,3 +6,5 @@ export interface TimerNotificationPlugin {

stopTimer(): Promise<void>;
getRemainingTime(): Promise<number>;
getRemainingTime(): Promise<{
remainingTime: number;
}>;
}

@@ -9,3 +9,5 @@ import { WebPlugin } from '@capacitor/core';

stopTimer(): Promise<void>;
getRemainingTime(): Promise<number>;
getRemainingTime(): Promise<{
remainingTime: number;
}>;
}

@@ -17,5 +17,5 @@ import { WebPlugin } from '@capacitor/core';

console.log('Returning remaining time on Web');
return 0; // Web doesn't support actual timers
return { remainingTime: 0 }; // Web doesn't support actual timers
}
}
//# sourceMappingURL=web.js.map

@@ -22,3 +22,3 @@ 'use strict';

console.log('Returning remaining time on Web');
return 0; // Web doesn't support actual timers
return { remainingTime: 0 }; // Web doesn't support actual timers
}

@@ -25,0 +25,0 @@ }

@@ -19,3 +19,3 @@ var capacitorTimerNotification = (function (exports, core) {

console.log('Returning remaining time on Web');
return 0; // Web doesn't support actual timers
return { remainingTime: 0 }; // Web doesn't support actual timers
}

@@ -22,0 +22,0 @@ }

{
"name": "capacitor-timer-notification",
"version": "0.1.2",
"version": "0.1.3",
"description": "timer notifcation",

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

@@ -67,6 +67,6 @@ ## capacitor-timer-notification

```typescript
getRemainingTime() => Promise<number>
getRemainingTime() => Promise<{ remainingTime: number; }>
```
**Returns:** <code>Promise&lt;number&gt;</code>
**Returns:** <code>Promise&lt;{ remainingTime: number; }&gt;</code>

@@ -73,0 +73,0 @@ --------------------

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet