@mindline/sync 1.0.31 → 1.0.33

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.
@@ -2,6 +2,6 @@
2
2
  "ExpandedNodes": [
3
3
  ""
4
4
  ],
5
- "SelectedNode": "\\package-lock.json",
5
+ "SelectedNode": "\\index.d.ts",
6
6
  "PreviewInSolutionExplorer": false
7
7
  }
package/.vs/slnx.sqlite CHANGED
Binary file
Binary file
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IPublicClientApplication } from "@azure/msal-browser/dist";
1
+ import { IPublicClientApplication } from "@azure/msal-browser";
2
2
 
3
3
  declare module "@mindline/sync" {
4
4
  export function sum(a: number, b: number): number;
@@ -136,7 +136,7 @@ declare module "@mindline/sync" {
136
136
  constructor(config: Config|null, syncPortalGlobalState: InitInfo|null, bClearLocalStorage: boolean);
137
137
  // populate tenantNodes based on config tenants
138
138
  init(config: Config|null, syncPortalGlobalState: InitInfo|null, bClearLocalStorage: boolean): void;
139
- test(config: Config): void;
139
+ test(instance: IPublicClientApplication, authorizedUser: User|undefined, config: Config|null|undefined): void;
140
140
  }
141
141
  export class TenantNode {
142
142
  expanded: boolean;
package/index.ts CHANGED
@@ -528,7 +528,7 @@ export class BatchArray {
528
528
  }
529
529
  }
530
530
  // cycle through test state machine
531
- test(instance: IPublicClientApplication, authorizedUser: User, config: Config) : void {
531
+ test(instance: IPublicClientApplication, authorizedUser: User|undefined, config: Config|null|undefined) : void {
532
532
  if (this.tenantNodes == null || this.tenantNodes.length == 0) {
533
533
  // we should not have an empty batch array for a test
534
534
  debugger;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
3
  "type": "module",
4
- "version": "1.0.31",
4
+ "version": "1.0.33",
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.",