expo-print
Advanced tools
Comparing version 6.0.0 to 7.0.0-rc.0
@@ -1,3 +0,3 @@ | ||
import { PrintOptions, Printer, OrientationType, FilePrintOptions, FilePrintResult } from './Print.types'; | ||
export { Printer, FilePrintOptions, FilePrintResult, PrintOptions, OrientationType, }; | ||
import { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer } from './Print.types'; | ||
export { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer }; | ||
export declare const Orientation: OrientationType; | ||
@@ -4,0 +4,0 @@ export declare function printAsync(options: PrintOptions): Promise<void>; |
import { Platform } from 'react-native'; | ||
import { UnavailabilityError } from '@unimodules/core'; | ||
import ExponentPrint from './ExponentPrint'; | ||
import { UnavailabilityError } from '@unimodules/core'; | ||
export const Orientation = ExponentPrint.Orientation; | ||
@@ -5,0 +5,0 @@ export async function printAsync(options) { |
@@ -1,6 +0,1 @@ | ||
; | ||
; | ||
; | ||
; | ||
; | ||
//# sourceMappingURL=Print.types.js.map |
{ | ||
"name": "expo-print", | ||
"version": "6.0.0", | ||
"version": "7.0.0-rc.0", | ||
"description": "Provides an API for iOS (AirPrint) and Android printing functionality.", | ||
@@ -11,2 +11,3 @@ "main": "build/Print.js", | ||
"clean": "expo-module clean", | ||
"lint": "expo-module lint", | ||
"test": "expo-module test", | ||
@@ -24,3 +25,4 @@ "prepare": "expo-module prepare", | ||
"type": "git", | ||
"url": "https://github.com/expo/expo.git" | ||
"url": "https://github.com/expo/expo.git", | ||
"directory": "packages/expo-print" | ||
}, | ||
@@ -40,6 +42,6 @@ "bugs": { | ||
"devDependencies": { | ||
"expo-module-scripts": "^1.0.0", | ||
"babel-preset-expo": "^6.0.0" | ||
"expo-module-scripts": "~1.1.1-rc.0", | ||
"babel-preset-expo": "~7.0.0-rc.0" | ||
}, | ||
"gitHead": "9518929d6f2ba9cf8e0aae81d34cc1eb52f7093a" | ||
"gitHead": "5d4fcf318390f59cecd1ae5d191afb15488a4447" | ||
} |
@@ -10,6 +10,8 @@ # expo-print | ||
# Installation | ||
# Installation in managed Expo projects | ||
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you. | ||
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release. | ||
# Installation in bare React Native projects | ||
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing. | ||
@@ -16,0 +18,0 @@ |
import { Platform } from 'react-native'; | ||
import { UnavailabilityError } from '@unimodules/core'; | ||
import ExponentPrint from './ExponentPrint'; | ||
import { UnavailabilityError } from '@unimodules/core'; | ||
import { | ||
FilePrintOptions, | ||
FilePrintResult, | ||
OrientationType, | ||
PrintOptions, | ||
Printer, | ||
OrientationType, | ||
FilePrintOptions, | ||
FilePrintResult, | ||
} from './Print.types'; | ||
export { | ||
Printer, | ||
FilePrintOptions, | ||
FilePrintResult, | ||
PrintOptions, | ||
OrientationType, | ||
}; | ||
export { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer }; | ||
@@ -20,0 +15,0 @@ export const Orientation: OrientationType = ExponentPrint.Orientation; |
@@ -7,3 +7,3 @@ export interface PrintOptions { | ||
orientation?: string; | ||
}; | ||
} | ||
@@ -13,3 +13,3 @@ export interface Printer { | ||
url: string; | ||
}; | ||
} | ||
@@ -19,3 +19,3 @@ export interface OrientationType { | ||
landscape: string; | ||
}; | ||
} | ||
@@ -32,3 +32,3 @@ export interface FilePrintOptions { | ||
}; | ||
}; | ||
} | ||
@@ -38,2 +38,2 @@ export interface FilePrintResult { | ||
numberOfPages: number; | ||
}; | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
57636
39
204
35
0
1