@mindline/sync 1.0.21 → 1.0.22

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.ts +3 -3
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -110,7 +110,6 @@ export class InitInfo {
110
110
  cs: Config[];
111
111
  ws: Workspace[];
112
112
  constructor(){
113
- debugger;
114
113
  this.us = new Array();
115
114
  this.ts = new Array();
116
115
  this.cs = new Array();
@@ -205,9 +204,10 @@ function DummyInit(ii: InitInfo)
205
204
  // TODO: Mindline: retrieve associated admins, targets for each workspace
206
205
  // ii.us / ii.ts / ii.cs: query components of each associated workspaces
207
206
  // Returns: users, targets, configs for each workspace
208
- export function InitGet(ii: InitInfo, instance: IPublicClientApplication): boolean
207
+ export function InitGet(ii: InitInfo, instance: IPublicClientApplication, debug: boolean): boolean
209
208
  {
210
- debugger;
209
+ if(debug)
210
+ debugger;
211
211
 
212
212
  // if empty user array, retrieve dummy data from JSON to populate UI
213
213
  let l = ii.us.length;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
3
  "type": "module",
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "types": "index.d.ts",
6
6
  "exports": "./index.ts",
7
7
  "description": "sync is a node.js package encapsulating javscript classes required for configuring Mindline sync service.",