@mappedin/mappedin-js 5.39.2 → 5.40.0
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/lib/esm/get-venue/index.d.ts +5 -5
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-I2OMW6PG.js → GLTFExporter-4VJ5OOOO.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-FEVGB5E2.js → PerformanceController-HEOODSHY.js} +1 -1
- package/lib/esm/renderer/{browser-LSTO6YXP.js → browser-FRXWDG7R.js} +1 -1
- package/lib/esm/renderer/chunk-5EJA5P3H.js +1 -0
- package/lib/esm/renderer/{chunk-NOVHOL33.js → chunk-W2TD6U3Z.js} +1 -1
- package/lib/esm/renderer/index.d.ts +21 -10
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-ESR4QFBP.js → outdoor-context-L4D7PYG3.js} +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +2 -2
- package/lib/esm/renderer/chunk-CQO5KFXZ.js +0 -1
|
@@ -515,14 +515,14 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin' {
|
|
|
515
515
|
* @param languageCode The language code to change to
|
|
516
516
|
* @param cache Whether or not to cache the current language so it doesn't need to be re-fetched
|
|
517
517
|
*/
|
|
518
|
-
changeLanguage(languageCode: string, cache?: boolean)
|
|
518
|
+
changeLanguage: (languageCode: string, cache?: boolean) => Promise<void>;
|
|
519
519
|
/**
|
|
520
520
|
*
|
|
521
521
|
* @experimental Hydrate the Mappedin instance using a response from either {@link Mappedin.toString}, {@link getVenueBundle} or by downloading the bundle manually
|
|
522
522
|
* @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
|
|
523
523
|
* @param shouldPopulateBundledImagesAsBlobs Takes the scenes and images from a bundle and maps them as blobs to where they exist as URLs in the bundle. False by default
|
|
524
524
|
*/
|
|
525
|
-
hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean)
|
|
525
|
+
hydrate: (mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean) => Promise<undefined>;
|
|
526
526
|
images: any;
|
|
527
527
|
imageBinaries?: Map<string, Uint8Array>;
|
|
528
528
|
scenes: any;
|
|
@@ -539,11 +539,11 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin' {
|
|
|
539
539
|
/**
|
|
540
540
|
* Export venue data to JSON (for storage, encryption, etc)
|
|
541
541
|
*/
|
|
542
|
-
toJSON()
|
|
542
|
+
toJSON: () => any;
|
|
543
543
|
/**
|
|
544
544
|
* Export venue data to String
|
|
545
545
|
*/
|
|
546
|
-
toString()
|
|
546
|
+
toString: () => string;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
|
|
@@ -2640,7 +2640,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinMap' {
|
|
|
2640
2640
|
static hydrate(maps: any, mappedin: Mappedin): MappedinMap[];
|
|
2641
2641
|
static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
|
|
2642
2642
|
static fetch(mappedin: Mappedin): Promise<MappedinMap[]>;
|
|
2643
|
-
get center():
|
|
2643
|
+
get center(): MappedinCoordinate;
|
|
2644
2644
|
toJSON(): any;
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|