@mindline/sync 1.0.95 → 1.0.97

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "sync is a node.js package encapsulating JavaScript classes required for configuring Mindline sync service.",
5
5
  "main": "dist/sync.es.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -2351,7 +2351,6 @@ async function workspaceInfoGet(instance: IPublicClientApplication, user: User,
2351
2351
  // set id and name based on returned data
2352
2352
  workspace!.id = o.id;
2353
2353
  workspace!.name = o.name;
2354
- debugger;
2355
2354
  workspace!.ownerid = o.workspaceOwnerUserId;
2356
2355
  // parallel GET admins, tenants, configs associated with this workspace
2357
2356
  let adminsPromise: Promise<APIResult> = adminsGet(instance, user, workspace!.id, debug);
@@ -2386,6 +2385,7 @@ export async function getPowerBIAccessToken(
2386
2385
  user: User
2387
2386
  ): Promise<string> {
2388
2387
  let accesstoken: string = "";
2388
+ let syncversion: string = getSyncVersion();
2389
2389
  // retrieve access token silently
2390
2390
  try {
2391
2391
  let accounts: AccountInfo[] = instance.getAllAccounts();
@@ -2410,6 +2410,7 @@ export async function getPowerBIAccessToken(
2410
2410
  catch (error: any) {
2411
2411
  console.log("PowerBI token failed to be acquired silently");
2412
2412
  }
2413
+ console.log(syncversion);
2413
2414
  return accesstoken;
2414
2415
  }
2415
2416
  // ======================= Azure REST API ===============================