@medplum/cli 2.1.0 → 2.1.1
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/dist/types/rest.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { MedplumClient } from '@medplum/core';
|
|
1
2
|
export declare const deleteObject: import("commander").Command;
|
|
2
3
|
export declare const get: import("commander").Command;
|
|
3
4
|
export declare const patch: import("commander").Command;
|
|
4
5
|
export declare const post: import("commander").Command;
|
|
5
6
|
export declare const put: import("commander").Command;
|
|
6
|
-
export declare function cleanUrl(
|
|
7
|
+
export declare function cleanUrl(medplum: MedplumClient, input: string): string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { MedplumClient, MedplumClientOptions } from '@medplum/core';
|
|
2
|
-
export declare function createMedplumClient(options: MedplumClientOptions
|
|
2
|
+
export declare function createMedplumClient(options: MedplumClientOptions & {
|
|
3
|
+
profile?: string;
|
|
4
|
+
}): Promise<MedplumClient>;
|
|
3
5
|
export declare function onUnauthenticated(): void;
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -55,6 +55,6 @@ export declare function getCodeContentType(filename: string): string;
|
|
|
55
55
|
export declare function saveProfile(profileName: string, options: Profile): void;
|
|
56
56
|
export declare function loadProfile(profileName: string): Profile;
|
|
57
57
|
export declare function profileExists(storage: FileSystemStorage, profile: string): boolean;
|
|
58
|
-
export declare function jwtBearerLogin(medplum: MedplumClient, profile: Profile): Promise<
|
|
59
|
-
export declare function jwtAssertionLogin(
|
|
58
|
+
export declare function jwtBearerLogin(medplum: MedplumClient, profile: Profile): Promise<void>;
|
|
59
|
+
export declare function jwtAssertionLogin(medplum: MedplumClient, profile: Profile): Promise<void>;
|
|
60
60
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Medplum Command Line Interface",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"commander": "11.0.0",
|
|
34
34
|
"dotenv": "16.3.1",
|
|
35
35
|
"fast-glob": "3.3.1",
|
|
36
|
-
"node-fetch": "2.
|
|
36
|
+
"node-fetch": "2.7.0",
|
|
37
37
|
"tar": "6.1.15"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|