wiki-graph-sdk 0.9.1 → 0.9.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/dist/archives.cjs +10 -7
- package/dist/archives.cjs.map +1 -1
- package/dist/archives.js +11 -8
- package/dist/archives.js.map +1 -1
- package/dist/index.cjs +11 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/archives.cjs
CHANGED
|
@@ -2803,13 +2803,16 @@ var WikiGraphArchiveHandle = class {
|
|
|
2803
2803
|
return await this.#runtime.run(
|
|
2804
2804
|
async () => await withConfiguredWikimediaResolver(
|
|
2805
2805
|
objectUri,
|
|
2806
|
-
async (wikimediaOptions) =>
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2806
|
+
async (wikimediaOptions) => {
|
|
2807
|
+
const read2 = await this.#readDocument(
|
|
2808
|
+
async (document) => await (0, import_wiki_graph_core7.prepareArchivePage)(document, objectUri, {
|
|
2809
|
+
...options,
|
|
2810
|
+
...wikimediaOptions
|
|
2811
|
+
}),
|
|
2812
|
+
options
|
|
2813
|
+
);
|
|
2814
|
+
return await read2();
|
|
2815
|
+
}
|
|
2813
2816
|
),
|
|
2814
2817
|
options.signal
|
|
2815
2818
|
);
|