Comparing version 0.0.49 to 0.0.50
@@ -10,3 +10,3 @@ import axios from 'axios' | ||
let logFlag = false | ||
let safList = localStorage.safList || [] | ||
let safList = JSON.parse(localStorage.safList ?? '[]') | ||
let evt = new EventEmitter() | ||
@@ -145,3 +145,3 @@ | ||
safList = [] | ||
localStorage.safList = [] | ||
localStorage.safList = JSON.stringify(safList) | ||
evt.emit('onSAFCompleted') | ||
@@ -152,3 +152,3 @@ evt.emit('onNewPendingTask', safList.length) | ||
safList.push(obj) | ||
localStorage.safList = safList | ||
localStorage.safList = JSON.stringify(safList) | ||
evt.emit('onNewPendingTask', safList.length) | ||
@@ -155,0 +155,0 @@ } |
{ | ||
"name": "fwk-api", | ||
"version": "0.0.49", | ||
"version": "0.0.50", | ||
"description": "Framework with api services access(only javascript)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5434