From c7e7c515bd4d409dce4744276c39a61072df51ba Mon Sep 17 00:00:00 2001 From: Pierce Date: Wed, 8 Nov 2023 13:40:54 -0800 Subject: [PATCH] remove 'connection': 'keep-alive' Fixes issue where when t4.ts is packaged using pkg, fetch breaks. --- docs/classes/Client.html | 40 +++---- docs/classes/_internal_.Content.html | 24 ++-- docs/classes/_internal_.ContentType.html | 10 +- docs/classes/_internal_.Download.html | 10 +- docs/classes/_internal_.FormBuilder.html | 8 +- docs/classes/_internal_.Hierarchy.html | 16 +-- docs/classes/_internal_.List.html | 8 +- docs/classes/_internal_.Media.html | 20 ++-- docs/classes/_internal_.MediaCategory.html | 14 +-- docs/classes/_internal_.MediaType.html | 8 +- docs/classes/_internal_.Profile.html | 10 +- docs/classes/_internal_.ServerSideLink.html | 24 ++-- docs/classes/_internal_.Upload.html | 10 +- docs/classes/_internal_.Version.html | 8 +- docs/enums/Types.MediaTypeCodes.html | 62 +++++----- docs/enums/Types.SyntaxTypeCodes.html | 14 +-- docs/functions/Types.MediaUploadData.html | 2 +- docs/functions/Types.contentUploadData.html | 2 +- docs/functions/batcher.html | 2 +- docs/functions/chunk.html | 2 +- docs/interfaces/Types.AccessControl.html | 10 +- .../Types.AlternativeLanguages.html | 6 +- .../Types.AppliedPageLayoutsDTO.html | 10 +- docs/interfaces/Types.Channels.html | 10 +- docs/interfaces/Types.Content.html | 72 ++++++------ docs/interfaces/Types.ContentDTO.html | 74 ++++++------ docs/interfaces/Types.ContentTypeDTO.html | 46 ++++---- docs/interfaces/Types.ContentTypeElement.html | 28 ++--- docs/interfaces/Types.ContentTypeScopes.html | 8 +- .../Types.CteWithListsAsElement.html | 26 ++--- docs/interfaces/Types.Elements.html | 2 +- docs/interfaces/Types.FileDownload.html | 22 ++-- docs/interfaces/Types.FileVersion.html | 10 +- .../Types.FormBuilderResponseDTO.html | 10 +- docs/interfaces/Types.FormDTO.html | 18 +-- docs/interfaces/Types.FormUsageDTO.html | 16 +-- docs/interfaces/Types.Group.html | 20 ++-- .../Types.HierarchyContentResponse.html | 14 +-- .../Types.HierarchyContentResponseDTO.html | 8 +- docs/interfaces/Types.HierarchyNodeDTO.html | 8 +- docs/interfaces/Types.HierarchyResponse.html | 54 ++++----- .../Types.InheritedPageLayouts.html | 2 +- docs/interfaces/Types.LinkInfo.html | 18 +-- docs/interfaces/Types.ListItem.html | 16 +-- docs/interfaces/Types.ListPrimaryGroup.html | 10 +- docs/interfaces/Types.ListType.html | 20 ++-- docs/interfaces/Types.Lock.html | 36 +++--- .../interfaces/Types.MediaCategoryObject.html | 20 ++-- docs/interfaces/Types.MediaData.html | 26 ++--- docs/interfaces/Types.MediaItemTableData.html | 12 +- docs/interfaces/Types.MediaRow.html | 30 ++--- docs/interfaces/Types.MediaUpload.html | 26 ++--- docs/interfaces/Types.MetaData.html | 10 +- docs/interfaces/Types.MetaDatas.html | 8 +- docs/interfaces/Types.NewContentDTO.html | 12 +- .../interfaces/Types.NewMediaCategoryDTO.html | 20 ++-- docs/interfaces/Types.Owner.html | 12 +- docs/interfaces/Types.PredefinedListDTO.html | 42 +++---- docs/interfaces/Types.PrimaryGroup.html | 16 +-- docs/interfaces/Types.ReadDTO.html | 46 ++++---- docs/interfaces/Types.SectionDTO.html | 108 +++++++++--------- docs/interfaces/Types.ServerSideLinkDTO.html | 28 ++--- docs/interfaces/Types.ServerSideLinkData.html | 24 ++-- docs/interfaces/Types.Type.html | 8 +- docs/interfaces/Types.UploadDTO.html | 6 +- docs/interfaces/Types.UploadData.html | 8 +- docs/interfaces/Types.UploadListDTO.html | 2 +- docs/interfaces/Types.UploadObject.html | 8 +- docs/interfaces/Types.UserProfileView.html | 26 ++--- docs/interfaces/Types.VersionDTO.html | 20 ++-- docs/interfaces/Types.contenUploadDTO.html | 30 ++--- docs/modules/Types.html | 2 +- docs/types/Types.SyntaxTypeObjects.html | 2 +- docs/types/Types.sortLock.html | 2 +- docs/variables/Types.max.html | 2 +- docs/variables/Types.min.html | 2 +- package.json | 2 +- src/lib/Client.ts | 5 +- 78 files changed, 716 insertions(+), 717 deletions(-) diff --git a/docs/classes/Client.html b/docs/classes/Client.html index 643098f..77675f9 100644 --- a/docs/classes/Client.html +++ b/docs/classes/Client.html @@ -20,7 +20,7 @@

Hierarchy

+
  • Defined in lib/Client.ts:16
  • @@ -72,89 +72,89 @@
    token: language: string = 'en'

    Returns Client

    +
  • Defined in lib/Client.ts:34
  • Properties

    content: Content
    +
  • Defined in lib/Client.ts:20
  • contentType: ContentType
    +
  • Defined in lib/Client.ts:21
  • download: Download
    +
  • Defined in lib/Client.ts:22
  • formBuilder: FormBuilder
    +
  • Defined in lib/Client.ts:23
  • hierarchy: Hierarchy
    +
  • Defined in lib/Client.ts:24
  • language: string
    +
  • Defined in lib/Client.ts:28
  • list: List
    +
  • Defined in lib/Client.ts:29
  • media: Media
    +
  • Defined in lib/Client.ts:25
  • mediaCategory: MediaCategory
    +
  • Defined in lib/Client.ts:26
  • mediaType: MediaType
    +
  • Defined in lib/Client.ts:27
  • profile: Profile
    +
  • Defined in lib/Client.ts:30
  • serverSideLink: ServerSideLink
    +
  • Defined in lib/Client.ts:31
  • token: String
    +
  • Defined in lib/Client.ts:18
  • upload: Upload
    +
  • Defined in lib/Client.ts:32
  • url: String
    +
  • Defined in lib/Client.ts:17
  • version: Version
    +
  • Defined in lib/Client.ts:33
  • Methods

    @@ -173,7 +173,7 @@
    endpoint: options: any

    Returns Promise<Response>

    +
  • Defined in lib/Client.ts:54
  • +
  • Defined in lib/Client.ts:78
  • Returns Elements

    +
  • Defined in lib/Content.ts:7
  • Methods

    @@ -123,7 +123,7 @@
    options: isFormatted: boolean = false

    Returns Promise<ContentDTO>

    +
  • Defined in lib/Content.ts:57
  • Returns Promise<boolean>

    +
  • Defined in lib/Content.ts:52
  • Returns Promise<ContentDTO>

    +
  • Defined in lib/Content.ts:41
  • Returns Promise<VersionDTO[]>

    +
  • Defined in lib/Content.ts:32
  • Returns Promise<ContentDTO>

    +
  • Defined in lib/Content.ts:46
  • Returns Promise<any>

    +
  • Defined in lib/Content.ts:85
  • Returns Promise<ContentDTO>

    +
  • Defined in lib/Content.ts:90
  • Returns Promise<NewContentDTO>

    +
  • Defined in lib/Content.ts:80
  • Returns Promise<ContentTypeDTO>

    +
  • Defined in lib/ContentType.ts:16
  • +
  • Defined in lib/ContentType.ts:11
  • Returns Promise<FileDownload>

    +
  • Defined in lib/Download.ts:11
    • @@ -99,7 +99,7 @@
      version: language: string

    Returns Promise<FileDownload>

    +
  • Defined in lib/Download.ts:16
  • Returns Promise<FormBuilderResponseDTO>

    +
  • Defined in lib/FormBuilder.ts:11
  • Returns Promise<boolean>

    +
  • Defined in lib/Hierarchy.ts:55
    • @@ -96,7 +96,7 @@
      id: language: string = ...

    Returns Promise<SectionDTO>

    +
  • Defined in lib/Hierarchy.ts:11
  • Returns Promise<HierarchyContentResponseDTO>

    +
  • Defined in lib/Hierarchy.ts:36
  • Returns Promise<HierarchyResponse>

    +
  • Defined in lib/Hierarchy.ts:16
  • Returns Promise<boolean>

    +
  • Defined in lib/Hierarchy.ts:60
  • Returns Promise<PredefinedListDTO>

    +
  • Defined in lib/List.ts:11
  • Returns Promise<number[]>

    +
  • Defined in lib/Media.ts:10
  • Methods

    @@ -106,7 +106,7 @@

    Parameters

    data: MediaUpload

    Returns Promise<any>

    +
  • Defined in lib/Media.ts:30
  • Returns Promise<any>

    +
  • Defined in lib/Media.ts:52
  • Returns Promise<null | ArrayBuffer>

    +
  • Defined in lib/Media.ts:67
  • Returns Promise<any>

    +
  • Defined in lib/Media.ts:42
  • Returns Promise<any>

    +
  • Defined in lib/Media.ts:47
  • Returns Promise<MediaItemTableData>

    +
  • Defined in lib/Media.ts:57
  • Returns Promise<any>

    +
  • Defined in lib/MediaCategory.ts:40
    • @@ -97,7 +97,7 @@
      categoryID: language: string = ...

    Returns Promise<MediaCategoryObject>

    +
  • Defined in lib/MediaCategory.ts:27
  • Returns Promise<MediaCategoryObject[]>

    +
  • Defined in lib/MediaCategory.ts:11
  • Returns Promise<MediaCategoryObject>

    +
  • Defined in lib/MediaCategory.ts:32
  • +
  • Defined in lib/MediaType.ts:10
  • Returns Promise<any>

    +
  • Defined in lib/Profile.ts:16
  • Returns Promise<ServerSideLinkDTO[]>

    +
  • Defined in lib/ServerSideLink.ts:7
  • Methods

    @@ -116,7 +116,7 @@

    Parameters

    options: ServerSideLinkData

    Returns Promise<string>

    +
  • Defined in lib/ServerSideLink.ts:44
  • Returns Promise<ServerSideLinkDTO>

    +
  • Defined in lib/ServerSideLink.ts:54
  • Returns Promise<any>

    +
  • Defined in lib/ServerSideLink.ts:68
  • Returns Promise<any>

    +
  • Defined in lib/ServerSideLink.ts:63
  • Returns Promise<any>

    +
  • Defined in lib/ServerSideLink.ts:49
  • Returns Promise<ServerSideLinkDTO>

    +
  • Defined in lib/ServerSideLink.ts:35
  • Returns Promise<UploadDTO>

    +
  • Defined in lib/Upload.ts:19
  • +
  • Defined in lib/Upload.ts:14
  • Returns Promise<VersionDTO[]>

    +
  • Defined in lib/Version.ts:11
  • +
  • Defined in lib/utility/Global.ts:357
  • +
  • Defined in lib/utility/Global.ts:376
  • +
  • Defined in lib/utility/Global.ts:439
  • +
  • Defined in lib/utility/helpers.ts:9
  • +
  • Defined in lib/utility/helpers.ts:24
  • +
  • Defined in lib/utility/Global.ts:262
  • +
  • Defined in lib/utility/Global.ts:252
  • +
  • Defined in lib/utility/Global.ts:666
  • +
  • Defined in lib/utility/Global.ts:380
  • +
  • Defined in lib/utility/Global.ts:228
  • +
  • Defined in lib/utility/Global.ts:1
  • +
  • Defined in lib/utility/Global.ts:2