Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/AS2MimeNode/AS2MimeNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { hostname } from 'os'
* @property {string|Buffer | Readable} [content]
* @property {string} [boundary]
* @property {string} [baseBoundary]
* @property {false|string} [boundaryPrefix='--LibAs2_']
* @property {false|string} [boundaryPrefix='LibAs2']
* @property {string} [contentType]
* @property {boolean|'inline'|'attachment'} [contentDisposition]
* @property {string} [messageId]
Expand Down Expand Up @@ -77,7 +77,7 @@ export class AS2MimeNode extends MimeNode {
this.contentType = contentType
this.boundaryPrefix =
isNullOrUndefined(boundaryPrefix) && isNullOrUndefined(boundary)
? '--LibAs2'
? 'LibAs2'
: boundaryPrefix === false || !isNullOrUndefined(boundary)
? ''
: boundaryPrefix
Expand Down
2 changes: 1 addition & 1 deletion src/AS2MimeNode/Interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface AS2MimeNodeOptions {
boundary?: string
/** Shared part of the unique multipart boundary. */
baseBoundary?: string
/** Prefix for the boundary; default is '--LibAs2_'. */
/** Prefix for the boundary; default is 'LibAs2'. */
boundaryPrefix?: false | string
/** Content type of the node; will be auto-calculated from the filename if not set. */
contentType?: string
Expand Down