@microtronics/studio-cli 0.27.2 → 0.27.3
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/CHANGELOG.md +7 -5
- package/dist/studio-cli.d.ts +7 -0
- package/out/registryAPI.js +11 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
## 0.27.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
## 0.27.3 (2025-03-26)
|
|
4
|
+
|
|
5
|
+
## 0.27.2 (2025-03-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
8
10
|
* **studio-cli:** updating the application version does not use semver ([114d305](https://bitbucket.org/microtronics-core/vscode-studio/commits/114d3059c0408ca75237dfa21f8de181d8b0477e))
|
|
9
11
|
|
|
10
12
|
## 0.27.1 (2025-03-25)
|
package/dist/studio-cli.d.ts
CHANGED
|
@@ -4630,6 +4630,13 @@ export declare namespace Registry {
|
|
|
4630
4630
|
export function publishLibraryVersion(token: AuthToken, publisherId: string, libraryId: string, libraryVersion: string, files: LibraryFiles, env: Globals.ENV): Promise<void>;
|
|
4631
4631
|
export type ApplicationFileName = components['parameters']['ApplicationFileName'];
|
|
4632
4632
|
export function updateApplicationFile(token: AuthToken, publisherId: string, applicationId: string, applicationVersion: string, applicationFileName: ApplicationFileName, blob: Uint8Array, env: Globals.ENV): Promise<void>;
|
|
4633
|
+
/**
|
|
4634
|
+
* inject the X-Semver header for application based requests
|
|
4635
|
+
* with this header the semver versioning is required
|
|
4636
|
+
*/
|
|
4637
|
+
export function injectSemverHeader(useSemver?: boolean): {
|
|
4638
|
+
'X-Semver': string;
|
|
4639
|
+
} | {};
|
|
4633
4640
|
}
|
|
4634
4641
|
|
|
4635
4642
|
declare function uriToMemFsPath(path: URI): string;
|
package/out/registryAPI.js
CHANGED
|
@@ -311,15 +311,16 @@ var Registry;
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
Registry.updateApplicationFile = updateApplicationFile;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
314
|
+
/**
|
|
315
|
+
* inject the X-Semver header for application based requests
|
|
316
|
+
* with this header the semver versioning is required
|
|
317
|
+
*/
|
|
318
|
+
function injectSemverHeader(useSemver = false) {
|
|
319
|
+
if (useSemver) {
|
|
320
|
+
return { 'X-Semver': 'true' };
|
|
321
|
+
}
|
|
322
|
+
return {};
|
|
322
323
|
}
|
|
323
|
-
|
|
324
|
-
}
|
|
324
|
+
Registry.injectSemverHeader = injectSemverHeader;
|
|
325
|
+
})(Registry || (exports.Registry = Registry = {}));
|
|
325
326
|
//# sourceMappingURL=registryAPI.js.map
|