@medplum/core 2.0.3 → 2.0.4

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.
Files changed (36) hide show
  1. package/dist/cjs/client.d.ts +5 -3
  2. package/dist/cjs/index.cjs +443 -189
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/cjs/index.d.ts +4 -3
  5. package/dist/cjs/index.min.cjs +1 -1
  6. package/dist/cjs/{searchparams.d.ts → search/details.d.ts} +0 -0
  7. package/dist/cjs/{match.d.ts → search/match.d.ts} +0 -0
  8. package/dist/cjs/search/parse.d.ts +17 -0
  9. package/dist/cjs/{search.d.ts → search/search.d.ts} +0 -0
  10. package/dist/cjs/types.d.ts +30 -7
  11. package/dist/esm/client.d.ts +5 -3
  12. package/dist/esm/client.mjs +9 -5
  13. package/dist/esm/client.mjs.map +1 -1
  14. package/dist/esm/index.d.ts +4 -3
  15. package/dist/esm/index.min.mjs +1 -1
  16. package/dist/esm/index.mjs +5 -4
  17. package/dist/esm/index.mjs.map +1 -1
  18. package/dist/esm/{searchparams.d.ts → search/details.d.ts} +0 -0
  19. package/dist/esm/{searchparams.mjs → search/details.mjs} +9 -11
  20. package/dist/esm/search/details.mjs.map +1 -0
  21. package/dist/esm/{match.d.ts → search/match.d.ts} +0 -0
  22. package/dist/esm/{match.mjs → search/match.mjs} +7 -7
  23. package/dist/esm/search/match.mjs.map +1 -0
  24. package/dist/esm/search/parse.d.ts +17 -0
  25. package/dist/esm/search/parse.mjs +218 -0
  26. package/dist/esm/search/parse.mjs.map +1 -0
  27. package/dist/esm/{search.d.ts → search/search.d.ts} +0 -0
  28. package/dist/esm/{search.mjs → search/search.mjs} +0 -3
  29. package/dist/esm/search/search.mjs.map +1 -0
  30. package/dist/esm/types.d.ts +30 -7
  31. package/dist/esm/types.mjs +63 -25
  32. package/dist/esm/types.mjs.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/esm/match.mjs.map +0 -1
  35. package/dist/esm/search.mjs.map +0 -1
  36. package/dist/esm/searchparams.mjs.map +0 -1
@@ -84,7 +84,7 @@ export interface MedplumClientOptions {
84
84
  *
85
85
  * Default is window.fetch (if available).
86
86
  *
87
- * For nodejs applications, consider the 'node-fetch' package.
87
+ * For Node.js applications, consider the 'node-fetch' package.
88
88
  */
89
89
  fetch?: FetchLike;
90
90
  /**
@@ -105,7 +105,7 @@ export interface MedplumClientOptions {
105
105
  * </script>
106
106
  * ```
107
107
  *
108
- * In nodejs applications:
108
+ * In Node.js applications:
109
109
  *
110
110
  * ```ts
111
111
  * import type { CustomTableLayout, TDocumentDefinitions, TFontDictionary } from 'pdfmake/interfaces';
@@ -282,7 +282,7 @@ export interface MailOptions {
282
282
  /**
283
283
  * The MedplumClient class provides a client for the Medplum FHIR server.
284
284
  *
285
- * The client can be used in the browser, in a NodeJS application, or in a Medplum Bot.
285
+ * The client can be used in the browser, in a Node.js application, or in a Medplum Bot.
286
286
  *
287
287
  * The client provides helpful methods for common operations such as:
288
288
  * 1) Authenticating
@@ -1193,6 +1193,7 @@ export declare class MedplumClient extends EventTarget {
1193
1193
  /**
1194
1194
  * Starts a new PKCE flow.
1195
1195
  * These PKCE values are stateful, and must survive redirects and page refreshes.
1196
+ * @category Authentication
1196
1197
  */
1197
1198
  startPkce(): Promise<{
1198
1199
  codeChallengeMethod: string;
@@ -1202,6 +1203,7 @@ export declare class MedplumClient extends EventTarget {
1202
1203
  * Processes an OAuth authorization code.
1203
1204
  * See: https://openid.net/specs/openid-connect-core-1_0.html#TokenRequest
1204
1205
  * @param code The authorization code received by URL parameter.
1206
+ * @category Authentication
1205
1207
  */
1206
1208
  processCode(code: string): Promise<ProfileResource>;
1207
1209
  /**