File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log Ionic-Svelte-NPM
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## 0.5.71
5
+ - Added platforms back
6
+
4
7
## 0.5.70
5
8
- Ionic core 6.6.0 and create scripts locked to latest of 6 (arrival of 7)
6
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ionic-svelte" ,
3
- "version" : " 0.5.70 " ,
3
+ "version" : " 0.5.71 " ,
4
4
"private" : false ,
5
5
"homepage" : " https://ionicsvelte.firebaseapp.com" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -88,6 +88,28 @@ export {
88
88
toastController
89
89
} from "@ionic/core";
90
90
91
+ // platforms
92
+ declare const PLATFORMS_MAP: {
93
+ [key: string]: boolean;
94
+ };
95
+
96
+ declare type Platforms = keyof typeof PLATFORMS_MAP;
97
+
98
+ export function getPlatforms(win?: any): string[];
99
+ export function setupPlatforms(win: any);
100
+
101
+ interface IsPlatformSignature {
102
+ (plt: Platforms): boolean;
103
+ (win: Window, plt: Platforms): boolean;
104
+ }
105
+ export function isPlatform(
106
+ winOrPlatform: Window | Platforms | undefined,
107
+ platform?: Platforms
108
+ ): IsPlatformSignature;
109
+
110
+ export function testUserAgent(win: Window, expr: RegExp);
111
+
112
+
91
113
// not exported by @ionic/core
92
114
export type NavigationHookResult = boolean | NavigationHookOptions;
93
115
export interface NavigationHookOptions {
You can’t perform that action at this time.
0 commit comments