@oguzhnatly/react-native-image-manipulator
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -0,1 +1,5 @@ | ||
## 1.0.5 | ||
- Typescript module declarations improved. | ||
## 1.0.4 | ||
@@ -2,0 +6,0 @@ |
@@ -1,12 +0,7 @@ | ||
declare module '@oguzhnatly/react-native-image-manipulator' { | ||
import React from 'react'; | ||
import {RNImageManipulatorResult as ImageResult} from './index'; | ||
export type ImageResult = { | ||
uri: string; | ||
width: number; | ||
height: number; | ||
base64?: string; | ||
}; | ||
export declare type RNImageManipulatorResult = ImageResult; | ||
export function manipulate( | ||
declare const RNImageManipulator: { | ||
manipulate: ( | ||
uri: string, | ||
@@ -29,3 +24,4 @@ actions: Array<{ | ||
}, | ||
): Promise<ImageResult>; | ||
} | ||
) => Promise<RNImageManipulatorResult>; | ||
}; | ||
export default RNImageManipulator; |
@@ -5,2 +5,9 @@ import { NativeModules } from "react-native"; | ||
export type RNImageManipulatorResult = { | ||
uri: string; | ||
width: number; | ||
height: number; | ||
base64?: string; | ||
}; | ||
export default RNImageManipulator; |
{ | ||
"name": "@oguzhnatly/react-native-image-manipulator", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "ImageManipulator for react native without Expo and Unimodules. Based on Expo ImageManipulator", | ||
"main": "index.js", | ||
"main": "build/index.js", | ||
"author": "oguzhnatly", | ||
"homepage": "https://github.com/oguzhnatly/react-native-image-manipulator", | ||
"license": "MIT", | ||
"typings": "index.d.ts", | ||
"typings": "build/index.d.ts", | ||
"keywords": [ | ||
@@ -21,2 +21,5 @@ "react-native", | ||
], | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"dependencies": {}, | ||
@@ -23,0 +26,0 @@ "devDependencies": { |
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
417300
73
183