@inovitas/infra3dapi 1.5.1 → 1.6.1

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/README.md CHANGED
@@ -37,6 +37,33 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
37
37
 
38
38
  # Changelog
39
39
 
40
+ ## 1.6.1 - 2025-11-20
41
+
42
+ ### Bugfixes
43
+
44
+ - Performance when calling movePosition on the viewer is improved (NVTS-1060, NVTS-1062)
45
+ - When clicking twice on a feature with the info-tool, the feature info disappears (NVTS-1029, NVTS-1125)
46
+ - When exceeding the limit of the localstorage when importing layers, a message is displayed (NVTS-995)
47
+ - Fixed errors when importing geodataconfigurations from infra3D Classic (NVTS-1069)
48
+ - The Share-Link is updated even if the tool is open and the viewer is moved (NVTS-1078)
49
+ - While the layertree is open and focussed, the play with space works again (NVTS-1066)
50
+ - Overlap of layertree visibility-symbol with scrollbar in Firefox is fixed (NVTS-1067)
51
+
52
+ ### Added
53
+
54
+ - PDF-Export is now also in the API available (NVTS-1057)
55
+
56
+ ## 1.6.0 - 2025-10-29
57
+
58
+ ### Bugfixes
59
+
60
+ - When clicking twice on a feature with the info-tool, the feature info disappears
61
+ - When importing Shapefiles, containing an id property, the ID is no longer overwritten with an internal one
62
+
63
+ ### Added
64
+
65
+ - Authenticate interactively. You could now login with the common login mask (using username)
66
+
40
67
  ## 1.5.1 - 2025-10-13
41
68
 
42
69
  ### Bugfixes
package/infra3dapi.d.ts CHANGED
@@ -514,8 +514,40 @@ export declare function init(
514
514
  email?: string;
515
515
  }
516
516
  ): Promise<Manager>;
517
+
517
518
  export declare function destroy(): void;
519
+
518
520
  export declare function getManager(): Manager;
521
+
519
522
  export declare function getGuestAccessToken(): Promise<accessTokenResponseType>;
523
+
524
+ declare type tokenTypeWithProvider = {
525
+ domain: string;
526
+ clientId: string;
527
+ access_token: string;
528
+ expires_in: number;
529
+ id_token?: string;
530
+ refresh_token: string;
531
+ token_type: string;
532
+ };
533
+
534
+ export declare function getAccessTokenFromInteractiveLogin(
535
+ rootId: string,
536
+ tenant?: string
537
+ ): Promise<tokenTypeWithProvider>;
538
+
539
+ declare type refreshTokenType = {
540
+ access_token: string;
541
+ expires_in: number;
542
+ id_token: string;
543
+ token_type: string;
544
+ };
545
+
546
+ export declare function getAccessTokenFromRefresh(
547
+ url: string,
548
+ clientId: string,
549
+ refreshToken: string
550
+ ): Promise<refreshTokenType>;
551
+
520
552
  export declare function refreshToken(token: string): void;
521
553