@medplum/core 0.9.8 → 0.9.9

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.
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
2
1
  import { Binary, Bundle, Communication, OperationOutcome, Project, ProjectMembership, Reference, Resource, UserConfiguration, ValueSet } from '@medplum/fhirtypes';
2
+ /** @ts-ignore */
3
3
  import type { CustomTableLayout, TDocumentDefinitions, TFontDictionary } from 'pdfmake/interfaces';
4
4
  import { EventTarget } from './eventtarget';
5
5
  import { Hl7Message } from './hl7';
@@ -663,7 +663,7 @@ export declare class MedplumClient extends EventTarget {
663
663
  * @param contentType Content type for the binary.
664
664
  * @returns The result of the create operation.
665
665
  */
666
- createBinary(data: string | File | Blob | Buffer, filename: string | undefined, contentType: string): Promise<Binary>;
666
+ createBinary(data: string | File | Blob | Uint8Array, filename: string | undefined, contentType: string): Promise<Binary>;
667
667
  /**
668
668
  * Creates a PDF as a FHIR `Binary` resource based on pdfmake document definition.
669
669
  *
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
1
+ /** @ts-ignore */
2
2
  import type { CustomTableLayout, TDocumentDefinitions, TFontDictionary } from 'pdfmake/interfaces';
3
3
  export declare function generatePdf(docDefinition: TDocumentDefinitions, tableLayouts?: {
4
4
  [name: string]: CustomTableLayout;
5
- }, fonts?: TFontDictionary): Promise<Blob | Buffer>;
5
+ }, fonts?: TFontDictionary): Promise<Blob | Uint8Array>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/core",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "Medplum TS/JS Library",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",
@@ -17,7 +17,7 @@
17
17
  "test": "jest"
18
18
  },
19
19
  "devDependencies": {
20
- "@medplum/fhirtypes": "0.9.8"
20
+ "@medplum/fhirtypes": "0.9.9"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "pdfmake": "0.2.5"
package/test9-2.pdf ADDED
File without changes
package/test9-3.pdf ADDED
File without changes
package/test9-4.pdf ADDED
Binary file
package/test9.pdf ADDED
File without changes