forked from hibas123/SecureFileWrapper
Compare commits
No commits in common. "8de05e6b7ffe050226d7e09696202d90c86cf4d4" and "7a8cc08d4a47745deff07622cc6b496b75186379" have entirely different histories.
8de05e6b7f
...
7a8cc08d4a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/secure-file-wrapper",
|
"name": "secure-file-wrapper",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch",
|
||||||
"prepublishOnly": "tsc",
|
"prepublish": "tsc",
|
||||||
"test": "mocha lib/test.js"
|
"test": "mocha lib/test.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -89,9 +89,9 @@ export default class SecureFileWrapper {
|
|||||||
private _jwtObservableServer: Observable<(jwt: string) => void> = new Observable();
|
private _jwtObservableServer: Observable<(jwt: string) => void> = new Observable();
|
||||||
jwtObservable = this._jwtObservableServer.getPublicApi();
|
jwtObservable = this._jwtObservableServer.getPublicApi();
|
||||||
|
|
||||||
private jwt: string;
|
jwt: string;
|
||||||
|
|
||||||
private auth_lock = new Lock();
|
auth_lock = new Lock();
|
||||||
|
|
||||||
constructor(private server: string) {
|
constructor(private server: string) {
|
||||||
if (this.server.endsWith("/")) {
|
if (this.server.endsWith("/")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user