@mapcreator/sdk 0.0.6 → 0.0.8

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/dist/MCMap.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  import { Map as MapLibre } from '@mapcreator/maplibre-gl';
2
2
  import { Env, JobObjectAugmented, Mode } from './types';
3
- declare class MCMapClass {
3
+ export declare class MCMap {
4
4
  map: MapLibre;
5
5
  constructor(map: MapLibre);
6
6
  }
7
- export type MCMap = InstanceType<typeof MCMapClass>;
8
- export declare function init(options: {
7
+ export declare function initMap(options: {
9
8
  container: HTMLElement | string;
10
9
  job: JobObjectAugmented | string;
11
10
  accessToken: string;
12
11
  mode?: Mode | undefined;
13
12
  env?: Env | undefined;
14
13
  }): Promise<MCMap>;
15
- export {};
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- import { init, MCMap } from './MCMap';
2
- export { init, type MCMap };
1
+ import { setRTLTextPlugin } from '@mapcreator/maplibre-gl';
2
+ import { initMap, MCMap } from './MCMap';
3
+ export { setRTLTextPlugin, initMap, type MCMap };