@inovitas/infra3dapi 1.2.0-beta.1 → 1.2.1-beta.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
@@ -35,14 +35,20 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
35
35
  3. Your server-side component fetches the access token using client credentials, which can then be shared with your client app.
36
36
  4. Your client app uses this token to authenticate with infra3D for requested services, refreshing it via the server component when expired. Remember to treat the client_secret like a password, avoiding exposure in client-side environments for enhanced security.
37
37
 
38
- # Changelog
39
-
40
- ## 1.2.0-beta.1 - 06.12.2024
38
+ # Changelog
39
+
40
+ ## 1.2.0 - 16.12.2024
41
+
42
+ ### Bugfixes
43
+
44
+ - Improve styling when using global box-sizing style
45
+ - Style of the scrollbar is no more globally overwritten by the API
41
46
 
42
47
  ### Added
43
48
 
44
49
  - Added functions on viewer to draw and pick a geometry
45
50
  - Added geometry overlays to display geometries in the viewer
51
+ - Function to destroy the API and remove it from the DOM
46
52
 
47
53
  ## 1.1.2 - 21.10.2024
48
54
 
@@ -165,4 +171,3 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
165
171
  ### Added
166
172
 
167
173
  - Edit functionality
168
-
package/infra3dapi.d.ts CHANGED
@@ -197,6 +197,7 @@ export declare function init(
197
197
  email?: string;
198
198
  }
199
199
  ): Promise<Manager>;
200
+ export declare function destroy(): void;
200
201
  export declare function getManager(): Manager;
201
202
  export declare function getGuestAccessToken(): Promise<accessTokenResponseType>;
202
203
  export declare function refreshToken(token: string): void;