capacitor-timer-notification
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -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<number></code> | ||
**Returns:** <code>Promise<{ remainingTime: number; }></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
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
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
71668
156