@finteqhub/sdk-js 0.12.0 → 0.13.0

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/README.md CHANGED
@@ -56,7 +56,7 @@ Diagnostics are collected regardless of whether retries are enabled.
56
56
  Every request the SDK makes carries an extra header:
57
57
 
58
58
  ```
59
- X-Finteqhub-SDK: sdk-js/<version>
59
+ x-pgw-sdk: sdk-js/<version>
60
60
  ```
61
61
 
62
62
  The value contains the SDK name and version (kept in sync with `package.json` by a test) — for example `sdk-js/0.11.0`. FinteqHub uses this header to identify traffic coming from the official SDK integration — for example to notify affected merchants when a security fix is released. It does not affect authentication or request routing.
@@ -109,7 +109,7 @@ processing
109
109
 
110
110
  ## Releasing
111
111
 
112
- On every version bump update **both** `package.json` `version` and `SDK_VERSION` in `src/version.ts` — they must stay in sync so the `X-Finteqhub-SDK` header reports the right version. `src/version.test.ts` fails CI if they drift (`node scripts/sync-version.js` updates `src/version.ts` from `package.json`). Describe the release in [CHANGELOG.md](CHANGELOG.md), including migration notes for breaking changes.
112
+ On every version bump update **both** `package.json` `version` and `SDK_VERSION` in `src/version.ts` — they must stay in sync so the `x-pgw-sdk` header reports the right version. `src/version.test.ts` fails CI if they drift (`node scripts/sync-version.js` updates `src/version.ts` from `package.json`). Describe the release in [CHANGELOG.md](CHANGELOG.md), including migration notes for breaking changes.
113
113
 
114
114
  ### Beta releases
115
115
 
@@ -1,3 +1,3 @@
1
- export declare const SDK_HEADER_NAME = "X-Finteqhub-SDK";
2
- export declare const SDK_VERSION = "0.12.0";
1
+ export declare const SDK_HEADER_NAME = "x-pgw-sdk";
2
+ export declare const SDK_VERSION = "0.13.0";
3
3
  export declare const SDK_HEADER_VALUE: string;
@@ -1,3 +1,3 @@
1
- export const SDK_HEADER_NAME = "X-Finteqhub-SDK";
2
- export const SDK_VERSION = "0.12.0";
1
+ export const SDK_HEADER_NAME = "x-pgw-sdk";
2
+ export const SDK_VERSION = "0.13.0";
3
3
  export const SDK_HEADER_VALUE = `sdk-js/${SDK_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finteqhub/sdk-js",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "SDK for interacting with FinteqHub processing API",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",