@stadiamaps/ferrostar 0.9.1 → 0.10.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/ferrostar.d.ts +0 -44
- package/ferrostar.js +4 -864
- package/ferrostar_bg.js +848 -0
- package/ferrostar_bg.wasm +0 -0
- package/package.json +3 -1
package/ferrostar.d.ts
CHANGED
|
@@ -80,47 +80,3 @@ export class RouteAdapter {
|
|
|
80
80
|
*/
|
|
81
81
|
parseResponse(response: Uint8Array): any;
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
85
|
-
|
|
86
|
-
export interface InitOutput {
|
|
87
|
-
readonly memory: WebAssembly.Memory;
|
|
88
|
-
readonly locationSimulationFromCoordinates: (a: number, b: number, c: number, d: number) => void;
|
|
89
|
-
readonly locationSimulationFromRoute: (a: number, b: number, c: number, d: number) => void;
|
|
90
|
-
readonly locationSimulationFromPolyline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
91
|
-
readonly advanceLocationSimulation: (a: number) => number;
|
|
92
|
-
readonly __wbg_navigationcontroller_free: (a: number) => void;
|
|
93
|
-
readonly navigationcontroller_new: (a: number, b: number, c: number) => void;
|
|
94
|
-
readonly navigationcontroller_getInitialState: (a: number, b: number, c: number) => void;
|
|
95
|
-
readonly navigationcontroller_advance_to_next_step: (a: number, b: number, c: number) => void;
|
|
96
|
-
readonly navigationcontroller_updateUserLocation: (a: number, b: number, c: number, d: number) => void;
|
|
97
|
-
readonly __wbg_routeadapter_free: (a: number) => void;
|
|
98
|
-
readonly routeadapter_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
99
|
-
readonly routeadapter_generateRequest: (a: number, b: number, c: number, d: number) => void;
|
|
100
|
-
readonly routeadapter_parseResponse: (a: number, b: number, c: number, d: number) => void;
|
|
101
|
-
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
102
|
-
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
103
|
-
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
104
|
-
readonly __wbindgen_exn_store: (a: number) => void;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
108
|
-
/**
|
|
109
|
-
* Instantiates the given `module`, which can either be bytes or
|
|
110
|
-
* a precompiled `WebAssembly.Module`.
|
|
111
|
-
*
|
|
112
|
-
* @param {SyncInitInput} module
|
|
113
|
-
*
|
|
114
|
-
* @returns {InitOutput}
|
|
115
|
-
*/
|
|
116
|
-
export function initSync(module: SyncInitInput): InitOutput;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
120
|
-
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
121
|
-
*
|
|
122
|
-
* @param {InitInput | Promise<InitInput>} module_or_path
|
|
123
|
-
*
|
|
124
|
-
* @returns {Promise<InitOutput>}
|
|
125
|
-
*/
|
|
126
|
-
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
|