Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-check-permission

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-check-permission - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

esm2020/lib/ngx-check-permission.component.mjs

0

index.d.ts

@@ -0,0 +0,0 @@ /**

5

lib/ngx-check-permission.component.d.ts

@@ -1,8 +0,5 @@

import { OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NgxCheckPermissionComponent implements OnInit {
constructor();
ngOnInit(): void;
export declare class NgxCheckPermissionComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<NgxCheckPermissionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxCheckPermissionComponent, "lib-ngx-check-permission", never, {}, {}, never, never, false, never>;
}

@@ -0,0 +0,0 @@ import * as i0 from "@angular/core";

@@ -0,0 +0,0 @@ import * as i0 from "@angular/core";

{
"name": "ngx-check-permission",
"version": "3.0.0",
"version": "3.0.1",
"peerDependencies": {
"@angular/common": "^16.1.8",
"@angular/core": "^16.1.8"
"@angular/common": "^15.2.0",
"@angular/core": "^15.2.0"
},

@@ -11,2 +11,3 @@ "dependencies": {

},
"sideEffects": false,
"author": {

@@ -17,3 +18,3 @@ "name": "Manojkumar Muthukumar",

"description": "Angular library which checks the permission status and returns the permission status for the following api's .push, midi, camera, microphone, speaker, device-info, background-fetch, background-sync, bluetooth, persistent-storage, ambient-light-sensor, accelerometer, gyroscope, magnetometer, clipboard, display-capture, nfc",
"icon": "https://img.icons8.com/external-tal-revivo-color-tal-revivo/344/external-unlock-security-lock-with-permission-granted-to-access-login-color-tal-revivo.png",
"icon": "https://icon.beforepost.com/W3EL2XBA-LM79Z0DG-4Y17OWY8.svg",
"keywords": [

@@ -73,3 +74,7 @@ "angular",

"license": "MIT",
"module": "fesm2022/ngx-check-permission.mjs",
"module": "fesm2015/ngx-check-permission.mjs",
"es2020": "fesm2020/ngx-check-permission.mjs",
"esm2020": "esm2020/ngx-check-permission.mjs",
"fesm2020": "fesm2020/ngx-check-permission.mjs",
"fesm2015": "fesm2015/ngx-check-permission.mjs",
"typings": "index.d.ts",

@@ -82,8 +87,9 @@ "exports": {

"types": "./index.d.ts",
"esm2022": "./esm2022/ngx-check-permission.mjs",
"esm": "./esm2022/ngx-check-permission.mjs",
"default": "./fesm2022/ngx-check-permission.mjs"
"esm2020": "./esm2020/ngx-check-permission.mjs",
"es2020": "./fesm2020/ngx-check-permission.mjs",
"es2015": "./fesm2015/ngx-check-permission.mjs",
"node": "./fesm2015/ngx-check-permission.mjs",
"default": "./fesm2020/ngx-check-permission.mjs"
}
},
"sideEffects": false
}
}
export * from './lib/ngx-check-permission.service';
export * from './lib/ngx-check-permission.component';
export * from './lib/ngx-check-permission.module';

@@ -7,2 +7,18 @@ <img width="256px" src="https://icon.beforepost.com/W3EL2XBA-LM79Z0DG-4Y17OWY8.svg"/>

---
[<img src="https://github.com/manoj10101996/resources/blob/main/ngx-check-permission-advertise.png?raw=true" width="100%" >](https://www.beforepost.com/package/ngx/ngx-check-permission)
---
## Import
Import the module on your `app.module.ts` file as follow.
`import { NgxCheckPermissionModule } from 'ngx-check-permission';`
Then import the module as follow on imports array
> NgxCheckPermissionModule
### Using service

@@ -14,3 +30,5 @@

import { NgxCheckPermissionService } from 'ngx-check-permission';
```
```
constructor( public permission: NgxCheckPermissionService ) {}

@@ -29,3 +47,3 @@ ```

await this.permission.getAllPermissions().then((permisssions) => {
console.log(permisssions, '-----------');
console.log(permisssions);
});

@@ -86,10 +104,6 @@ }

## Author
---
Thanks in advance
[<img src="https://github.com/manoj10101996/resources/blob/main/ngx-check-permission-advertise.png?raw=true" width="100%" >](https://www.beforepost.com/package/ngx/ngx-check-permission)
[**Manojkumar Muthukumar**](https://codesandbox.io/u/manoj10101996)
Coimbatore
[![Visit beforepost.com for awesome color palettes & extract colors and text from any source](https://github.com/manoj10101996/resources/blob/main/npm-pack-beforepost.png?raw=true)](https://www.beforepost.com/)
---
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