esoftplay 0.0.136-r → 0.0.136-s

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/global.ts CHANGED
@@ -123,8 +123,9 @@ export default function useGlobalState<T>(initValue: T, o?: useGlobalOption): us
123
123
  if (o?.persistKey) {
124
124
  userDataReset.push(del)
125
125
  const UserData = esp?.mod?.("user/data")
126
- if (UserData)
126
+ if (UserData) {
127
127
  UserData?.register?.(o?.persistKey)
128
+ }
128
129
  }
129
130
  }
130
131
 
@@ -33,6 +33,7 @@ export default {
33
33
  AsyncStorage.multiRemove(arx)
34
34
  arx.forEach((ix) => { FastStorage.removeItem(ix) })
35
35
  arx.forEach((ix) => { Storage.removeItem(ix) })
36
+ AsyncStorage.removeItem("user_data_dependent")
36
37
  }
37
38
  })
38
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.136-r",
3
+ "version": "0.0.136-s",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",