@mappedin/mappedin-js 5.28.0 → 5.29.2
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 +13 -2
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-JB2B435C.js → GLTFExporter-MGSLR2S6.js} +1 -1
- package/lib/esm/renderer/PerformanceController-2JBCDA5M.js +1 -0
- package/lib/esm/renderer/{browser-37IHNJXW.js → browser-I7MJ63Z5.js} +1 -1
- package/lib/esm/renderer/chunk-LWVKNHOT.js +1 -0
- package/lib/esm/renderer/{chunk-SHZFY7MV.js → chunk-PWFLBGE3.js} +1 -1
- package/lib/esm/renderer/{chunk-2LGJN5VB.js → chunk-QCN7C5SO.js} +1 -1
- package/lib/esm/renderer/index.d.ts +19 -3
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-7R3O7ND4.js → outdoor-context-TNG63N7Q.js} +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +2 -3
- package/lib/esm/renderer/PerformanceController-NKPSWR2Y.js +0 -1
- package/lib/esm/renderer/chunk-VBEXDX2L.js +0 -1
|
@@ -170,7 +170,18 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
|
|
|
170
170
|
* @internal
|
|
171
171
|
*/
|
|
172
172
|
export function downloadVenueBundleMVF(options: TGetVenueBundleOptions): Promise<Uint8Array>;
|
|
173
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Represents the options for getting an access token.
|
|
175
|
+
*
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
export type TGetAccessTokenOptions = Pick<TGetVenueMakerOptions, 'authBaseUri' | 'key' | 'secret'>;
|
|
179
|
+
/**
|
|
180
|
+
* Get an access token.
|
|
181
|
+
*
|
|
182
|
+
* @param userOptions
|
|
183
|
+
*/
|
|
184
|
+
export function getMakerAccessToken(userOptions: TGetAccessTokenOptions): Promise<{
|
|
174
185
|
access_token: string;
|
|
175
186
|
expires_in: number;
|
|
176
187
|
}>;
|
|
@@ -178,7 +189,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
|
|
|
178
189
|
url: string;
|
|
179
190
|
updated_at: string;
|
|
180
191
|
}>;
|
|
181
|
-
export function downloadMVF(userOptions: TGetVenueMakerOptions): Promise<Uint8Array>;
|
|
192
|
+
export function downloadMVF(userOptions: TGetVenueMakerOptions, accessToken: string): Promise<Uint8Array>;
|
|
182
193
|
/**
|
|
183
194
|
* Returns a {@link Mappedin} object hydrated with JSON data.
|
|
184
195
|
* @param {string|Object} mappedinSerializableData A JSON string or object representing a venue.
|