fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiclient.xyz/letterxpress',
|
||||
version: '1.0.18',
|
||||
version: '1.0.19',
|
||||
description: 'an unofficial API package for the letterxpress API'
|
||||
}
|
||||
|
@ -37,9 +37,9 @@ export class LetterXpressAccount {
|
||||
const pdfToSend = await this.deesDocumentInstance.createPdfFromLetterObject(letterArg);
|
||||
const response = await this.request('/printjobs', 'POST', {
|
||||
letter: {
|
||||
base64_file: plugins.smartbuffer.arrayBufferToBase64(pdfToSend.buffer),
|
||||
base64_file: plugins.smartbuffer.uInt8ArrayToBase64(pdfToSend.buffer),
|
||||
base64_file_checksum: await plugins.smarthash.md5FromString(
|
||||
plugins.smartbuffer.arrayBufferToBase64(pdfToSend.buffer)
|
||||
plugins.smartbuffer.uInt8ArrayToBase64(pdfToSend.buffer)
|
||||
),
|
||||
specification: {
|
||||
color: '4',
|
||||
|
Reference in New Issue
Block a user