New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lihbr/capacitor-camera2

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lihbr/capacitor-camera2 - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

56

dist/docs.json

@@ -10,3 +10,3 @@ {

"name": "start",
"signature": "(options: Camera2Options) => any",
"signature": "(options: Camera2Options) => Promise<void>",
"parameters": [

@@ -19,3 +19,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -30,5 +30,5 @@ "docs": "",

"name": "stop",
"signature": "() => any",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -41,3 +41,3 @@ "docs": "",

"name": "capture",
"signature": "(options: { picturePath: string; thumbnailPath?: string; thumbnailWidth?: number; thumbnailHeight?: number; thumbnailQuality?: number; }) => any",
"signature": "(options: { picturePath: string; thumbnailPath?: string; thumbnailWidth?: number; thumbnailHeight?: number; thumbnailQuality?: number; }) => Promise<void>",
"parameters": [

@@ -50,3 +50,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -59,3 +59,3 @@ "docs": "",

"name": "setViewFinderSize",
"signature": "(options: { width: number; height: number; }) => any",
"signature": "(options: { width: number; height: number; }) => Promise<void>",
"parameters": [

@@ -68,3 +68,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -77,5 +77,5 @@ "docs": "",

"name": "getShutterSpeedRange",
"signature": "() => any",
"signature": "() => Promise<{ value: [min: number, max: number] | null; }>",
"parameters": [],
"returns": "any",
"returns": "Promise<{ value: [min: number, max: number] | null; }>",
"tags": [],

@@ -88,3 +88,3 @@ "docs": "",

"name": "setShutterSpeed",
"signature": "(options: { value: number; }) => any",
"signature": "(options: { value: number; }) => Promise<void>",
"parameters": [

@@ -97,3 +97,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -106,5 +106,5 @@ "docs": "",

"name": "getApertureRange",
"signature": "() => any",
"signature": "() => Promise<{ value: [min: number, max: number] | null; }>",
"parameters": [],
"returns": "any",
"returns": "Promise<{ value: [min: number, max: number] | null; }>",
"tags": [],

@@ -117,3 +117,3 @@ "docs": "",

"name": "setAperture",
"signature": "(options: { value: number; }) => any",
"signature": "(options: { value: number; }) => Promise<void>",
"parameters": [

@@ -126,3 +126,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -135,5 +135,5 @@ "docs": "",

"name": "getIsoRange",
"signature": "() => any",
"signature": "() => Promise<{ value: [min: number, max: number] | null; }>",
"parameters": [],
"returns": "any",
"returns": "Promise<{ value: [min: number, max: number] | null; }>",
"tags": [],

@@ -146,3 +146,3 @@ "docs": "",

"name": "setIso",
"signature": "(options: { value: number; }) => any",
"signature": "(options: { value: number; }) => Promise<void>",
"parameters": [

@@ -155,3 +155,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -164,5 +164,5 @@ "docs": "",

"name": "getExposureCompensationInfo",
"signature": "() => any",
"signature": "() => Promise<{ range: [min: number, max: number] | null; step: number; }>",
"parameters": [],
"returns": "any",
"returns": "Promise<{ range: [min: number, max: number] | null; step: number; }>",
"tags": [],

@@ -175,3 +175,3 @@ "docs": "",

"name": "setExposureCompensation",
"signature": "(options: { value: number; }) => any",
"signature": "(options: { value: number; }) => Promise<void>",
"parameters": [

@@ -184,3 +184,3 @@ {

],
"returns": "any",
"returns": "Promise<void>",
"tags": [],

@@ -193,3 +193,3 @@ "docs": "",

"name": "pictureToThumbnail",
"signature": "(options: { picture: string; width: number; height: number; quality?: number; }) => any",
"signature": "(options: { picture: string; width: number; height: number; quality?: number; }) => Promise<{ thumbnail: string; }>",
"parameters": [

@@ -202,3 +202,3 @@ {

],
"returns": "any",
"returns": "Promise<{ thumbnail: string; }>",
"tags": [],

@@ -211,3 +211,3 @@ "docs": "",

"name": "getExifData",
"signature": "(options: { path: string; }) => any",
"signature": "(options: { path: string; }) => Promise<{ iso: number | null; shutterSpeed: number | null; aperture: number | null; focalLength: number | null; }>",
"parameters": [

@@ -220,3 +220,3 @@ {

],
"returns": "any",
"returns": "Promise<{ iso: number | null; shutterSpeed: number | null; aperture: number | null; focalLength: number | null; }>",
"tags": [],

@@ -223,0 +223,0 @@ "docs": "",

@@ -0,0 +0,0 @@ declare type Camera2Options = {

export {};
//# sourceMappingURL=definitions.js.map

@@ -0,0 +0,0 @@ import type { Camera2Plugin } from './definitions';

@@ -0,0 +0,0 @@ import { registerPlugin } from '@capacitor/core';

@@ -0,0 +0,0 @@ import { WebPlugin } from '@capacitor/core';

@@ -0,0 +0,0 @@ import { WebPlugin } from '@capacitor/core';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ var capacitorCamera2 = (function (exports, core) {

{
"name": "@lihbr/capacitor-camera2",
"version": "0.0.1",
"packageManager": "pnpm@9.1.4",
"version": "0.0.3",
"description": "Capacitor plugin for android.hardware.camera2",

@@ -31,21 +30,2 @@ "author": "Lucie Haberer <hello@lihbr.com> (https://lihbr.com)",

],
"scripts": {
"dev": "tsc --watch",
"build": "pnpm run clean && pnpm run docgen && tsc && rollup -c rollup.config.js",
"release": "pnpm run test && bumpp",
"release:dry": "npx changelogithub --dry",
"test": "pnpm lint && pnpm build",
"verify": "pnpm run verify:ios && pnpm run verify:android && pnpm run verify:web",
"verify:ios": "xcodebuild -scheme LihbrCapacitorCamera2 -destination generic/platform=iOS",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "pnpm run build",
"lint": "pnpm run eslint && pnpm run prettier --check && pnpm run swiftlint -- lint",
"fmt": "pnpm run eslint --fix && pnpm run prettier --write && pnpm run swiftlint --fix --format",
"eslint": "eslint . --ext .ts",
"prettier": "prettier \"**/*.{css,html,ts,js}\"",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api Camera2Plugin --output-readme README.md --output-json dist/docs.json",
"clean": "rm -rf ./dist",
"watch": "tsc --watch"
},
"devDependencies": {

@@ -82,3 +62,22 @@ "@capacitor/android": "^6.0.0",

}
},
"scripts": {
"dev": "tsc --watch",
"build": "pnpm run clean && pnpm run docgen && tsc && rollup -c rollup.config.js",
"release": "pnpm run test && bumpp",
"release:dry": "npx changelogithub --dry",
"test": "pnpm lint && pnpm build",
"verify": "pnpm run verify:ios && pnpm run verify:android && pnpm run verify:web",
"verify:ios": "xcodebuild -scheme LihbrCapacitorCamera2 -destination generic/platform=iOS",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "pnpm run build",
"lint": "pnpm run eslint && pnpm run prettier --check && pnpm run swiftlint -- lint",
"fmt": "pnpm run eslint --fix && pnpm run prettier --write && pnpm run swiftlint --fix --format",
"eslint": "eslint . --ext .ts",
"prettier": "prettier \"**/*.{css,html,ts,js}\"",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api Camera2Plugin --output-readme README.md --output-json dist/docs.json",
"clean": "rm -rf ./dist",
"watch": "tsc --watch"
}
}
}

@@ -46,3 +46,3 @@ # @lihbr/capacitor-camera2

```typescript
start(options: Camera2Options) => any
start(options: Camera2Options) => Promise<void>
```

@@ -54,4 +54,2 @@

**Returns:** <code>any</code>
--------------------

@@ -63,7 +61,5 @@

```typescript
stop() => any
stop() => Promise<void>
```
**Returns:** <code>any</code>
--------------------

@@ -75,3 +71,3 @@

```typescript
capture(options: { picturePath: string; thumbnailPath?: string; thumbnailWidth?: number; thumbnailHeight?: number; thumbnailQuality?: number; }) => any
capture(options: { picturePath: string; thumbnailPath?: string; thumbnailWidth?: number; thumbnailHeight?: number; thumbnailQuality?: number; }) => Promise<void>
```

@@ -83,4 +79,2 @@

**Returns:** <code>any</code>
--------------------

@@ -92,3 +86,3 @@

```typescript
setViewFinderSize(options: { width: number; height: number; }) => any
setViewFinderSize(options: { width: number; height: number; }) => Promise<void>
```

@@ -100,4 +94,2 @@

**Returns:** <code>any</code>
--------------------

@@ -109,6 +101,6 @@

```typescript
getShutterSpeedRange() => any
getShutterSpeedRange() => Promise<{ value: [min: number, max: number] | null; }>
```
**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ value: [min: number, max: number] | null; }&gt;</code>

@@ -121,3 +113,3 @@ --------------------

```typescript
setShutterSpeed(options: { value: number; }) => any
setShutterSpeed(options: { value: number; }) => Promise<void>
```

@@ -129,4 +121,2 @@

**Returns:** <code>any</code>
--------------------

@@ -138,6 +128,6 @@

```typescript
getApertureRange() => any
getApertureRange() => Promise<{ value: [min: number, max: number] | null; }>
```
**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ value: [min: number, max: number] | null; }&gt;</code>

@@ -150,3 +140,3 @@ --------------------

```typescript
setAperture(options: { value: number; }) => any
setAperture(options: { value: number; }) => Promise<void>
```

@@ -158,4 +148,2 @@

**Returns:** <code>any</code>
--------------------

@@ -167,6 +155,6 @@

```typescript
getIsoRange() => any
getIsoRange() => Promise<{ value: [min: number, max: number] | null; }>
```
**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ value: [min: number, max: number] | null; }&gt;</code>

@@ -179,3 +167,3 @@ --------------------

```typescript
setIso(options: { value: number; }) => any
setIso(options: { value: number; }) => Promise<void>
```

@@ -187,4 +175,2 @@

**Returns:** <code>any</code>
--------------------

@@ -196,6 +182,6 @@

```typescript
getExposureCompensationInfo() => any
getExposureCompensationInfo() => Promise<{ range: [min: number, max: number] | null; step: number; }>
```
**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ range: [min: number, max: number] | null; step: number; }&gt;</code>

@@ -208,3 +194,3 @@ --------------------

```typescript
setExposureCompensation(options: { value: number; }) => any
setExposureCompensation(options: { value: number; }) => Promise<void>
```

@@ -216,4 +202,2 @@

**Returns:** <code>any</code>
--------------------

@@ -225,3 +209,3 @@

```typescript
pictureToThumbnail(options: { picture: string; width: number; height: number; quality?: number; }) => any
pictureToThumbnail(options: { picture: string; width: number; height: number; quality?: number; }) => Promise<{ thumbnail: string; }>
```

@@ -233,3 +217,3 @@

**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ thumbnail: string; }&gt;</code>

@@ -242,3 +226,3 @@ --------------------

```typescript
getExifData(options: { path: string; }) => any
getExifData(options: { path: string; }) => Promise<{ iso: number | null; shutterSpeed: number | null; aperture: number | null; focalLength: number | null; }>
```

@@ -250,3 +234,3 @@

**Returns:** <code>any</code>
**Returns:** <code>Promise&lt;{ iso: number | null; shutterSpeed: number | null; aperture: number | null; focalLength: number | null; }&gt;</code>

@@ -253,0 +237,0 @@ --------------------

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc