Making some fields private

This commit is contained in:
Fabian Stamm 2019-01-18 15:52:55 +01:00
parent f46f4982e9
commit baa1f106e6
2 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "secure-file-wrapper",
"version": "2.0.0",
"name": "@hibas123/secure-file-wrapper",
"version": "2.0.1",
"main": "lib/index.js",
"author": "Fabian Stamm <dev@fabianstamm.de>",
"license": "MIT",
@ -8,9 +8,8 @@
"scripts": {
"build": "tsc",
"watch": "tsc --watch",
"prepublish": "tsc",
"test": "mocha lib/test.js",
"install": "tsc"
"prepublishOnly": "tsc",
"test": "mocha lib/test.js"
},
"dependencies": {
"isomorphic-fetch": "^2.2.1"

View File

@ -89,9 +89,9 @@ export default class SecureFileWrapper {
private _jwtObservableServer: Observable<(jwt: string) => void> = new Observable();
jwtObservable = this._jwtObservableServer.getPublicApi();
jwt: string;
private jwt: string;
auth_lock = new Lock();
private auth_lock = new Lock();
constructor(private server: string) {
if (this.server.endsWith("/")) {