frida-screenshot 3.0.3 → 4.0.0
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/index.js +2 -2
- package/lib/ios.js +1 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { ios } from './lib/ios.js';
|
|
2
2
|
|
|
3
3
|
const IOS = Symbol('ios');
|
|
4
4
|
const UNKNOWN = Symbol('unknown');
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
export default function screenshot(view) {
|
|
7
7
|
if (getOS() === IOS) {
|
|
8
8
|
return ios(view);
|
|
9
9
|
} else {
|
package/lib/ios.js
CHANGED