use node's native fetch, add ensureLicense flag and update snapshots (#28279)

Этот коммит содержится в:
Saturnino Abril
2024-09-23 21:11:45 +08:00
коммит произвёл GitHub
родитель 343746c4b6
Коммит 073e2cecaa
23 изменённых файлов: 109 добавлений и 309 удалений

Просмотреть файл

@@ -22,6 +22,7 @@ export type Options = {
body?: any;
signal?: RequestInit['signal'];
ignoreStatus?: boolean; /** If true, status codes > 300 are ignored and don't cause an error */
duplex?: 'half'; /** Optional, but required for node clients. Must be 'half' for half-duplex fetch; 'full' is reserved for future use. See https://fetch.spec.whatwg.org/#dom-requestinit-duplex */
};
export type StatusOK = {