fix(build): modernize package configuration and simplify tests for the current toolchain
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartsign',
|
||||
version: '1.0.5',
|
||||
description: 'sign documents'
|
||||
version: '1.0.6',
|
||||
description: 'A library for signing PDF documents.'
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ export class SigningEnvelope {
|
||||
}
|
||||
|
||||
exportSignedPdf() {
|
||||
|
||||
// TODO: implement PDF signing once the envelope API is finalized.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import * as plugins from './smartsign.plugins.js';
|
||||
|
||||
export class SmartSign {
|
||||
public p12Cert: Buffer;
|
||||
public smartpdfInstance: plugins.smartpdf.SmartPdf;
|
||||
public smartpdfInstance!: plugins.smartpdf.SmartPdf;
|
||||
constructor(p12CertBuffer: Buffer) {
|
||||
this.p12Cert = p12CertBuffer;
|
||||
}
|
||||
@@ -19,4 +19,4 @@ export class SmartSign {
|
||||
public async createEnvelopeFromPdf(pdfArg: plugins.smartpdf.IPdf) {
|
||||
return new SigningEnvelope(this, pdfArg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import * as smartpdf from '@push.rocks/smartpdf';
|
||||
|
||||
export {
|
||||
smartpdf,
|
||||
}
|
||||
};
|
||||
|
||||
// thirdparty scope
|
||||
import * as signpdf from '@signpdf/signpdf';
|
||||
@@ -12,4 +12,4 @@ import * as signerP12 from '@signpdf/signer-p12';
|
||||
export {
|
||||
signpdf,
|
||||
signerP12,
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user