@nativescript-community/perms
Advanced tools
Comparing version 2.3.1 to 2.3.2
export declare const PermsTraceCategory = "NativescriptPerms"; | ||
export declare enum CLogTypes { | ||
log, | ||
info, | ||
warning, | ||
error | ||
log = 0, | ||
info = 1, | ||
warning = 2, | ||
error = 3 | ||
} | ||
export declare const CLog: (type: CLogTypes, ...args: any[]) => void; |
@@ -5,6 +5,6 @@ import { Trace } from '@nativescript/core'; | ||
(function (CLogTypes) { | ||
CLogTypes[CLogTypes["log"] = Trace.messageType.log] = "log"; | ||
CLogTypes[CLogTypes["info"] = Trace.messageType.info] = "info"; | ||
CLogTypes[CLogTypes["warning"] = Trace.messageType.warn] = "warning"; | ||
CLogTypes[CLogTypes["error"] = Trace.messageType.error] = "error"; | ||
CLogTypes[CLogTypes["log"] = 0] = "log"; | ||
CLogTypes[CLogTypes["info"] = 1] = "info"; | ||
CLogTypes[CLogTypes["warning"] = 2] = "warning"; | ||
CLogTypes[CLogTypes["error"] = 3] = "error"; | ||
})(CLogTypes || (CLogTypes = {})); | ||
@@ -11,0 +11,0 @@ export const CLog = (type, ...args) => { |
@@ -118,4 +118,4 @@ import { Device, Trace, Utils } from '@nativescript/core'; | ||
resolve(rStatus); | ||
cleanup(); | ||
} | ||
cleanup(); | ||
} | ||
@@ -122,0 +122,0 @@ }; |
{ | ||
"name": "@nativescript-community/perms", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "An unified permissions API for NativeScript on iOS and Android.", | ||
@@ -14,9 +14,2 @@ "main": "./index", | ||
}, | ||
"scripts": { | ||
"build": "npm run tsc", | ||
"build.all": "npm run build", | ||
"readme": "readme generate -c ../../tools/readme/blueprint.json", | ||
"tsc": "cpy '**/*.d.ts' '../../packages/perms' --parents --cwd=../../src/perms && tsc -skipLibCheck -d", | ||
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map" | ||
}, | ||
"keywords": [ | ||
@@ -43,3 +36,3 @@ "NativeScript", | ||
"readmeFilename": "README.md", | ||
"gitHead": "aa4aa4236df7f23c85bd83afec0a345a8fae8023" | ||
"gitHead": "da10df4a27b3abe2da76db08ebe9002f84c1b9f5" | ||
} |
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
121039