@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bcrumbs.net/bc-api",
3
3
  "description": "The SDK that helps to work with Bread Crumbs APIs",
4
- "version": "0.0.22",
4
+ "version": "0.0.24",
5
5
  "keyword": [
6
6
  "bcrumbs",
7
7
  "bc-api"
@@ -18,6 +18,7 @@ export interface Content {
18
18
  export interface GraphContent {
19
19
  createDate?: Date;
20
20
  id: number;
21
+ iId: number;
21
22
  modelId?: number;
22
23
  name: string;
23
24
  online: boolean;
@@ -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(): any;
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;