@criipto/verify-react 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AuthMethodButton.d.ts +1 -0
- package/dist/components/AuthMethodSelector.d.ts +1 -0
- package/dist/components/SEBankIDSameDeviceButton.d.ts +1 -0
- package/dist/criipto-verify-react.cjs.js +1 -1
- package/dist/criipto-verify-react.cjs.js.map +1 -1
- package/dist/criipto-verify-react.esm.js +1 -1
- package/dist/criipto-verify-react.esm.js.map +1 -1
- package/dist/device.d.ts +5 -5
- package/package.json +1 -1
package/dist/device.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import UAParser from 'ua-parser-js';
|
|
2
|
-
export declare function isiOS(): boolean;
|
|
3
|
-
export declare function isiOSSafari(): boolean;
|
|
4
|
-
export declare function isAndroid(): boolean;
|
|
2
|
+
export declare function isiOS(userAgent: string): boolean;
|
|
3
|
+
export declare function isiOSSafari(userAgent: string): boolean;
|
|
4
|
+
export declare function isAndroid(userAgent: string): boolean;
|
|
5
5
|
export declare type MobileOS = 'ios' | 'android';
|
|
6
|
-
export declare function getMobileOS(): MobileOS | null;
|
|
7
|
-
export declare function getUserAgent(): UAParser.IResult;
|
|
6
|
+
export declare function getMobileOS(userAgent: string): MobileOS | null;
|
|
7
|
+
export declare function getUserAgent(userAgent?: string): UAParser.IResult | null;
|
package/package.json
CHANGED