@archilogic/floor-plan-sdk 5.0.0-v5-scene-structure.0 → 5.0.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
@@ -10,7 +10,7 @@ npm i @archilogic/floor-plan-sdk
10
10
 
11
11
  ## API Extractor
12
12
 
13
- This package uses [API Extractor](https://api-extractor.com/) to generate [API report](./api.md) and [doc model](https://api-extractor.com/pages/overview/demo_docs/#whats-in-the-json-file) files
13
+ This package uses [API Extractor](https://api-extractor.com/) to generate [API report](./api.md) and [doc model](https://api-extractor.com/pages/overview/demo_docs/#whats-in-the-json-file) files
14
14
 
15
15
  - The API report is used to track changes to the public API. This file is internal and tracked by git
16
16
  - The doc model file is distributed with the npm package, and is used to generate the public documentation
@@ -20,20 +20,26 @@ Both files are generated by the `npm run build:api` command
20
20
  ## Usage
21
21
 
22
22
  ### npm package
23
+
23
24
  ```bash
24
25
  npm i @archilogic/floor-plan-sdk
25
26
  ```
27
+
26
28
  ```js
27
29
  import { FloorPlanEngine } from '@archilogic/floor-plan-sdk'
28
30
  ```
29
31
 
30
32
  ### es module import via CDN
33
+
31
34
  ```js
32
- import { FloorPlanEngine } from 'https://code.archilogic.com/fpe-sdk/v5.0.0-beta.0/fpe.es.js'
35
+ import { FloorPlanEngine } from 'https://esm.sh/@archilogic/floor-plan-sdk'
33
36
  ```
34
37
 
35
38
  ### umd module import via CDN
39
+
36
40
  ```html
37
- <script src="https://code.archilogic.com/fpe-sdk/v5.0.0-beta.0/fpe.umd.js" >
41
+ <script src="https://unpkg.com/@archilogic/floor-plan-sdk"></script>
42
+ <script>
43
+ const { FloorPlanEngine } = FloorPlanSdk
44
+ </script>
38
45
  ```
39
-