fix(letterxpress): Update dependencies, adjust PDF generation parameters, and remove obsolete CI configuration
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiclient.xyz/letterxpress',
|
||||
version: '1.0.19',
|
||||
version: '1.0.20',
|
||||
description: 'an unofficial API package for the letterxpress API'
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ export class LetterXpressAccount {
|
||||
* @param letterArg
|
||||
*/
|
||||
public async sendLetter(letterArg: plugins.tsclass.business.ILetter) {
|
||||
const pdfToSend = await this.deesDocumentInstance.createPdfFromLetterObject(letterArg);
|
||||
const pdfToSend = await this.deesDocumentInstance.createPdfFromLetterObject({letterData: letterArg, documentSettings: {}});
|
||||
const response = await this.request('/printjobs', 'POST', {
|
||||
letter: {
|
||||
base64_file: plugins.smartbuffer.uInt8ArrayToBase64(pdfToSend.buffer),
|
||||
|
@ -7,7 +7,7 @@ import * as smartrx from '@push.rocks/smartrx';
|
||||
export { smartbuffer, smarthash, smartpromise, smartrequest, smartrx };
|
||||
|
||||
// @design.estate scope
|
||||
import * as deesDocument from '@design.estate/dees-document/ts';
|
||||
import * as deesDocument from '@design.estate/dees-document/node';
|
||||
|
||||
export {
|
||||
deesDocument
|
||||
|
Reference in New Issue
Block a user