leptris 0.1.52 → 0.1.53
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/package.json +1 -1
- package/src/index.d.ts +3 -0
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ export function load(xml: string): Promise<number>;
|
|
|
20
20
|
/** Serialize a document to XML (the engine's canonical emit). */
|
|
21
21
|
export function xml(id: number): Promise<string>;
|
|
22
22
|
|
|
23
|
+
/** Serialize synchronously after awaiting init(). */
|
|
24
|
+
export function xmlSync(id: number): string;
|
|
25
|
+
|
|
23
26
|
/** Evaluate an XPath; nodesets yield the first node's string
|
|
24
27
|
* value, atomics yield their string form. */
|
|
25
28
|
export function xpath(id: number, expr: string): Promise<string | null>;
|