@utaba/deep-memory-storage-cosmosdb 0.4.0 → 0.5.1
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.cjs +1 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1609,13 +1609,7 @@ async function cosmosRestPut(restBase, key, urlPath, resourceLink, resourceType,
|
|
|
1609
1609
|
body: JSON.stringify(body)
|
|
1610
1610
|
};
|
|
1611
1611
|
if (!rejectUnauthorized) {
|
|
1612
|
-
|
|
1613
|
-
options.dispatcher = new (await import("undici")).Agent({
|
|
1614
|
-
connect: { rejectUnauthorized: false }
|
|
1615
|
-
});
|
|
1616
|
-
} catch {
|
|
1617
|
-
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0";
|
|
1618
|
-
}
|
|
1612
|
+
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0";
|
|
1619
1613
|
}
|
|
1620
1614
|
const response = await fetch(url, options);
|
|
1621
1615
|
if (response.status === 201) return true;
|