notte-sdk 0.0.3 → 0.0.4
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/index.d.mts +94 -4
- package/dist/index.d.ts +94 -4
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/dist/proxy/core.js +3 -0
- package/dist/proxy/core.js.map +1 -1
- package/dist/proxy/core.mjs +3 -0
- package/dist/proxy/core.mjs.map +1 -1
- package/dist/proxy/next.js +3 -0
- package/dist/proxy/next.js.map +1 -1
- package/dist/proxy/next.mjs +3 -0
- package/dist/proxy/next.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1259,6 +1259,15 @@ var scrapeWebpage = (options) => (options.client ?? client).post({
|
|
|
1259
1259
|
...options.headers
|
|
1260
1260
|
}
|
|
1261
1261
|
});
|
|
1262
|
+
var searchWeb = (options) => (options.client ?? client).post({
|
|
1263
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
|
+
url: "/search",
|
|
1265
|
+
...options,
|
|
1266
|
+
headers: {
|
|
1267
|
+
"Content-Type": "application/json",
|
|
1268
|
+
...options.headers
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1262
1271
|
var scrapeFromHtml = (options) => (options.client ?? client).post({
|
|
1263
1272
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
1273
|
url: "/scrape_from_html",
|
|
@@ -2482,7 +2491,7 @@ var NottePersona = class {
|
|
|
2482
2491
|
};
|
|
2483
2492
|
|
|
2484
2493
|
// src/version.ts
|
|
2485
|
-
var SDK_VERSION = true ? "0.0.
|
|
2494
|
+
var SDK_VERSION = true ? "0.0.4" : "dev";
|
|
2486
2495
|
|
|
2487
2496
|
// src/functions.ts
|
|
2488
2497
|
var NotteFunction = class {
|
|
@@ -2785,6 +2794,7 @@ export {
|
|
|
2785
2794
|
profileList,
|
|
2786
2795
|
scrapeFromHtml,
|
|
2787
2796
|
scrapeWebpage,
|
|
2797
|
+
searchWeb,
|
|
2788
2798
|
sessionCookiesGet,
|
|
2789
2799
|
sessionCookiesSet,
|
|
2790
2800
|
sessionDebugInfo,
|