parser-de-notas-de-corretagem 0.9.85 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/notes-parser.d.ts +5 -1
- package/notes-parser.js +1 -1
- package/notes-parser.js.map +1 -1
- package/package.json +1 -1
- package/types/common.d.ts +2 -1
package/README.md
CHANGED
package/notes-parser.d.ts
CHANGED
|
@@ -121,9 +121,13 @@ export declare class NoteParser {
|
|
|
121
121
|
* Read and parse a given PDF negotiation note by its full path
|
|
122
122
|
* @param name PDF name
|
|
123
123
|
* @param content PDF content
|
|
124
|
+
* @param possiblePasswords all passwords that should be used to open the PDF
|
|
125
|
+
* @param continueOnError whether should continue parsing even if encountering
|
|
126
|
+
* unknown notes. In such cases, the `code` will be set to `UNDEF: <title>` whereas
|
|
127
|
+
* `<title>` is the unknown asset. Default is `false`
|
|
124
128
|
* @returns an `Array` of `NegotiationNote`
|
|
125
129
|
*/
|
|
126
|
-
parseNote(noteName: string, content: Uint8Array, possiblePasswords?: string[]): Promise<NegotiationNote[]>;
|
|
130
|
+
parseNote(noteName: string, content: Uint8Array, possiblePasswords?: string[], continueOnError?: boolean): Promise<NegotiationNote[]>;
|
|
127
131
|
/**
|
|
128
132
|
* Add stock definition
|
|
129
133
|
* @param code stock code
|