@bcrumbs.net/bc-api 0.0.22 → 0.0.24
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/index.cjs.js +712 -463
- package/index.esm.js +712 -463
- package/package.json +1 -1
- package/src/lib/models/content.d.ts +1 -0
- package/src/lib/services/auth/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ export declare const auth: {
|
|
|
101
101
|
* forget me method: clear all
|
|
102
102
|
* @returns {bool} success/failure flag
|
|
103
103
|
*/
|
|
104
|
-
clearAllAppStorage():
|
|
104
|
+
clearAllAppStorage(): void;
|
|
105
105
|
/**
|
|
106
106
|
* set the context value into localstorage (managed by localforage)
|
|
107
107
|
*
|
|
@@ -118,6 +118,6 @@ export declare const auth: {
|
|
|
118
118
|
* @param {any} [tokenKey=TOKEN_KEY] optionnal parameter to specify a token key
|
|
119
119
|
* @returns {number} token value
|
|
120
120
|
*/
|
|
121
|
-
getContext(fromStorage?: Storage, contextKey?: ContextKey): number | null;
|
|
121
|
+
getContext(fromStorage?: Storage, contextKey?: ContextKey): number | null | undefined;
|
|
122
122
|
};
|
|
123
123
|
export default auth;
|