@redhat-cloud-services/types 0.0.18 → 0.0.20

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 +5 -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;
@@ -107,6 +107,8 @@ export interface ChromeAPI {
107
107
  isFedramp: boolean;
108
108
  usePendoFeedback: () => void;
109
109
  toggleFeedbackModal: (isOpen: boolean) => void;
110
+ toggleDebuggerModal: (isOpen: boolean) => void;
111
+ enableDebugging: () => void;
110
112
  quickStarts: {
111
113
  version: number;
112
114
  set: (key: string, quickstarts: QuickStart[]) => void;
@@ -119,8 +121,8 @@ export interface ChromeAPI {
119
121
  appNavClick: (payload: any) => void;
120
122
  appObjectId: (objectId: string) => void;
121
123
  auth: {
122
- doOffline: () => void;
123
- getOfflineToken: () => Promise<any>;
124
+ doOffline?: () => void;
125
+ getOfflineToken?: () => Promise<any>;
124
126
  getToken: () => Promise<string | undefined>;
125
127
  getUser: () => Promise<ChromeUser | void>;
126
128
  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.18",
4
+ "version": "0.0.20",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
7
7
  "publishConfig": {