@soleil-se/build-app 2.1.5 → 2.1.7
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 +8 -0
- package/package.json +1 -1
- package/requests/api/addonRequest.js +2 -2
- package/requests/signAddon.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ title: Changelog
|
|
|
4
4
|
|
|
5
5
|
Baseras på [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) och använder [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.1.7] - 2025-03-05
|
|
8
|
+
|
|
9
|
+
- Ta bort encoding av användarnamn på anrop.
|
|
10
|
+
|
|
11
|
+
## [2.1.6] - 2025-02-28
|
|
12
|
+
|
|
13
|
+
- Ta bort encoding av inloggningsuppgifter på anrop för signering.
|
|
14
|
+
|
|
7
15
|
## [2.1.5] - 2025-02-28
|
|
8
16
|
|
|
9
17
|
- Kasta fel vid redirects då uppladdning av tillägg misslyckas och fastnar.
|
package/package.json
CHANGED
|
@@ -8,8 +8,8 @@ const [username, password] = Buffer.from(auth || '', 'base64').toString().split(
|
|
|
8
8
|
|
|
9
9
|
const options = {
|
|
10
10
|
prefixUrl: `${host}/rest-api/1/0/${encodeURIComponent(name)}/`,
|
|
11
|
-
username
|
|
12
|
-
password:
|
|
11
|
+
username,
|
|
12
|
+
password: encodeURI(password),
|
|
13
13
|
method: 'POST',
|
|
14
14
|
responseType: 'json',
|
|
15
15
|
resolveBodyOnly: true,
|
package/requests/signAddon.js
CHANGED
|
@@ -44,8 +44,8 @@ async function signRequest(path) {
|
|
|
44
44
|
return got({
|
|
45
45
|
url: 'https://developer.sitevision.se/rest-api/appsigner/signapp',
|
|
46
46
|
method: 'POST',
|
|
47
|
-
username
|
|
48
|
-
password
|
|
47
|
+
username,
|
|
48
|
+
password,
|
|
49
49
|
searchParams: { certificateName: certificate },
|
|
50
50
|
body: form,
|
|
51
51
|
responseType: 'buffer',
|