Socket
Socket
Sign inDemoInstall

@capacitor/text-zoom

Package Overview
Dependencies
Maintainers
8
Versions
577
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/text-zoom - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.1.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@0.1.0...@capacitor/text-zoom@0.1.1) (2020-12-20)
### Bug Fixes
* support deprecated types from Capacitor 2 ([#139](https://github.com/ionic-team/capacitor-plugins/issues/139)) ([2d7127a](https://github.com/ionic-team/capacitor-plugins/commit/2d7127a488e26f0287951921a6db47c49d817336))
# [0.1.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@0.0.3...@capacitor/text-zoom@0.1.0) (2020-12-02)

@@ -8,0 +19,0 @@

23

dist/docs.json

@@ -10,5 +10,5 @@ {

"name": "get",
"signature": "() => Promise<GetResponse>",
"signature": "() => Promise<GetResult>",
"parameters": [],
"returns": "Promise<GetResponse>",
"returns": "Promise<GetResult>",
"tags": [

@@ -22,3 +22,3 @@ {

"complexTypes": [
"GetResponse"
"GetResult"
],

@@ -29,5 +29,5 @@ "slug": "get"

"name": "getPreferred",
"signature": "() => Promise<GetPreferredResponse>",
"signature": "() => Promise<GetPreferredResult>",
"parameters": [],
"returns": "Promise<GetPreferredResponse>",
"returns": "Promise<GetPreferredResult>",
"tags": [

@@ -41,3 +41,3 @@ {

"complexTypes": [
"GetPreferredResponse"
"GetPreferredResult"
],

@@ -74,4 +74,4 @@ "slug": "getpreferred"

{
"name": "GetResponse",
"slug": "getresponse",
"name": "GetResult",
"slug": "getresult",
"docs": "",

@@ -96,4 +96,4 @@ "tags": [],

{
"name": "GetPreferredResponse",
"slug": "getpreferredresponse",
"name": "GetPreferredResult",
"slug": "getpreferredresult",
"docs": "",

@@ -139,3 +139,4 @@ "tags": [],

],
"enums": []
"enums": [],
"typeAliases": []
}

@@ -1,2 +0,2 @@

export interface GetResponse {
export interface GetResult {
/**

@@ -9,3 +9,3 @@ * The current zoom level (represented as a decimal).

}
export interface GetPreferredResponse {
export interface GetPreferredResult {
/**

@@ -34,3 +34,3 @@ * The preferred zoom level (represented as a decimal).

*/
get(): Promise<GetResponse>;
get(): Promise<GetResult>;
/**

@@ -43,3 +43,3 @@ * Get the preferred zoom level.

*/
getPreferred(): Promise<GetPreferredResponse>;
getPreferred(): Promise<GetPreferredResult>;
/**

@@ -46,0 +46,0 @@ * Set the current zoom level.

import type { TextZoomPlugin } from './definitions';
declare const TextZoom: TextZoomPlugin;
export * from './definitions';
export { TextZoom };

@@ -5,3 +5,4 @@ import { registerPlugin } from '@capacitor/core';

});
export * from './definitions';
export { TextZoom };
//# sourceMappingURL=index.js.map

@@ -1,13 +0,7 @@

import type { TextZoomPlugin } from './definitions';
import type { GetPreferredResult, GetResult, SetOptions, TextZoomPlugin } from './definitions';
export declare class TextZoomIOS implements TextZoomPlugin {
static readonly TEXT_SIZE_REGEX: RegExp;
get(): Promise<{
value: number;
}>;
getPreferred(): Promise<{
value: number;
}>;
set(options: {
value: number;
}): Promise<void>;
get(): Promise<GetResult>;
getPreferred(): Promise<GetPreferredResult>;
set(options: SetOptions): Promise<void>;
getRaw(): string;

@@ -14,0 +8,0 @@ setRaw(value: string): void;

{
"name": "@capacitor/text-zoom",
"version": "0.1.0",
"version": "0.1.1",
"description": "The Text Zoom API provides the ability to change Web View text size for visual accessibility.",

@@ -46,6 +46,6 @@ "main": "dist/esm/index.js",

"devDependencies": {
"@capacitor/android": "^3.0.0-alpha.7",
"@capacitor/core": "^3.0.0-alpha.7",
"@capacitor/docgen": "^0.0.10",
"@capacitor/ios": "^3.0.0-alpha.7",
"@capacitor/android": "^3.0.0-alpha.10",
"@capacitor/core": "^3.0.0-alpha.9",
"@capacitor/docgen": "0.0.14",
"@capacitor/ios": "^3.0.0-alpha.9",
"@ionic/eslint-config": "^0.3.0",

@@ -63,3 +63,3 @@ "@ionic/prettier-config": "~1.0.1",

"peerDependencies": {
"@capacitor/core": "^3.0.0-alpha.6"
"@capacitor/core": "^3.0.0-alpha.9"
},

@@ -82,3 +82,3 @@ "prettier": "@ionic/prettier-config",

},
"gitHead": "78c1981920988ec84c17bbc61b1da1df9743571c"
"gitHead": "481260d148b920b85755dd5f9b65df0bb0db4244"
}

@@ -29,3 +29,3 @@ # @capacitor/text-zoom

```typescript
get() => Promise<GetResponse>
get() => Promise<GetResult>
```

@@ -37,3 +37,3 @@

**Returns:** <code>Promise&lt;<a href="#getresponse">GetResponse</a>&gt;</code>
**Returns:** <code>Promise&lt;<a href="#getresult">GetResult</a>&gt;</code>

@@ -48,3 +48,3 @@ **Since:** 1.0.0

```typescript
getPreferred() => Promise<GetPreferredResponse>
getPreferred() => Promise<GetPreferredResult>
```

@@ -56,3 +56,3 @@

**Returns:** <code>Promise&lt;<a href="#getpreferredresponse">GetPreferredResponse</a>&gt;</code>
**Returns:** <code>Promise&lt;<a href="#getpreferredresult">GetPreferredResult</a>&gt;</code>

@@ -86,3 +86,3 @@ **Since:** 1.0.0

#### GetResponse
#### GetResult

@@ -94,3 +94,3 @@ | Prop | Type | Description | Since |

#### GetPreferredResponse
#### GetPreferredResult

@@ -97,0 +97,0 @@ | Prop | Type | Description | Since |

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