@hubcommerce/trendyol 1.0.0 → 1.0.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/CHANGELOG.md +6 -0
- package/dist/config.js +1 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Bu proje [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) formatını izler.
|
|
4
4
|
Sürümleme [Semantic Versioning](https://semver.org/spec/v2.0.0.html) uyumludur.
|
|
5
5
|
|
|
6
|
+
## [1.0.1] - 2026-08-28
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- User-Agent resmi sıraya alındı: `{sellerId} - {integratorName}` (ör. `1205737 - SelfIntegration`) — [authorization](https://developers.trendyol.com/docs/2-authorization.md)
|
|
11
|
+
|
|
6
12
|
## [1.0.0] - 2026-08-27
|
|
7
13
|
|
|
8
14
|
### Added
|
package/dist/config.js
CHANGED
|
@@ -70,7 +70,7 @@ export function buildBasicAuthHeader(apiKey, apiSecret) {
|
|
|
70
70
|
return `Basic ${token}`;
|
|
71
71
|
}
|
|
72
72
|
export function buildUserAgent(integratorName, sellerId) {
|
|
73
|
-
return `${
|
|
73
|
+
return `${sellerId} - ${integratorName}`;
|
|
74
74
|
}
|
|
75
75
|
export function resolveGatewayUrl(config, path) {
|
|
76
76
|
const normalizedPath = path.startsWith("/") ? path : `/${path}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubcommerce/trendyol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Trendyol TR Marketplace API SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"test:exports": "node --import tsx scripts/verify-exports.ts",
|
|
28
28
|
"verify:release": "node --import tsx ../../scripts/verify-release.ts",
|
|
29
29
|
"qa:smoke": "node --import tsx scripts/qa-smoke.ts",
|
|
30
|
+
"qa:stage-live": "node --import tsx scripts/qa-stage-live.ts",
|
|
31
|
+
"qa:stage-mutations": "node --import tsx scripts/qa-stage-mutations.ts",
|
|
32
|
+
"qa:stage-remaining": "node --import tsx scripts/qa-stage-remaining.ts",
|
|
33
|
+
"qa:prod-read": "node --import tsx scripts/qa-prod-read.ts",
|
|
30
34
|
"prepublishOnly": "npm run build"
|
|
31
35
|
},
|
|
32
36
|
"keywords": [
|