@redhat-cloud-services/types 0.0.17 → 0.0.19

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -27,7 +27,7 @@ declare type ChromeUser = {
27
27
  };
28
28
  };
29
29
  identity: {
30
- account_number: string;
30
+ account_number?: string;
31
31
  org_id: string;
32
32
  internal?: {
33
33
  org_id: string;
@@ -119,8 +119,8 @@ export interface ChromeAPI {
119
119
  appNavClick: (payload: any) => void;
120
120
  appObjectId: (objectId: string) => void;
121
121
  auth: {
122
- doOffline: () => void;
123
- getOfflineToken: () => Promise<any>;
122
+ doOffline?: () => void;
123
+ getOfflineToken?: () => Promise<any>;
124
124
  getToken: () => Promise<string | undefined>;
125
125
  getUser: () => Promise<ChromeUser | void>;
126
126
  login: () => Promise<any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/types",
3
3
  "description": "TypeScript definitions for @redhat-cloud-services common typings",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
7
7
  "publishConfig": {