@kard-financial/sdk 26.0.0 → 28.0.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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@kard-financial/sdk",
46
- "X-Fern-SDK-Version": "26.0.0",
47
- "User-Agent": "@kard-financial/sdk/26.0.0",
46
+ "X-Fern-SDK-Version": "28.0.0",
47
+ "User-Agent": "@kard-financial/sdk/28.0.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -11,7 +11,7 @@ export interface PlacementBatchAttributes {
11
11
  lastActivatedAt?: string | undefined;
12
12
  /** Computed as `lastActivatedAt + placement.refreshInterval`. Absent for cold slots that have never been activated. */
13
13
  expiresAt?: string | undefined;
14
- /** Slot-level UI components. Carries a `cta` (POST to the slot's activate endpoint) when the slot has no active (non-expired) activation, or a `logoFlare` decoration when it does — mutually exclusive on a single slot. */
14
+ /** Slot-level UI components. Carries `shortDescription` and `longDescription` (activation copy derived from the parent placement's `refreshInterval`), plus either a `cta` (POST to the slot's activate endpoint) when the slot has no active (non-expired) activation, or a `logoFlare` decoration when it does — `cta` and `logoFlare` are mutually exclusive on a single slot. */
15
15
  components?: KardApi.users.OfferComponents | undefined;
16
16
  /** Slot-level visual assets. Currently a single `IMG_VIEW` SVG showing the slot's initials, themed via the `--icon-fill` CSS custom property. */
17
17
  assets?: KardApi.users.Asset[] | undefined;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "26.0.0";
1
+ export declare const SDK_VERSION = "28.0.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "26.0.0";
4
+ exports.SDK_VERSION = "28.0.0";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@kard-financial/sdk",
9
- "X-Fern-SDK-Version": "26.0.0",
10
- "User-Agent": "@kard-financial/sdk/26.0.0",
9
+ "X-Fern-SDK-Version": "28.0.0",
10
+ "User-Agent": "@kard-financial/sdk/28.0.0",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -11,7 +11,7 @@ export interface PlacementBatchAttributes {
11
11
  lastActivatedAt?: string | undefined;
12
12
  /** Computed as `lastActivatedAt + placement.refreshInterval`. Absent for cold slots that have never been activated. */
13
13
  expiresAt?: string | undefined;
14
- /** Slot-level UI components. Carries a `cta` (POST to the slot's activate endpoint) when the slot has no active (non-expired) activation, or a `logoFlare` decoration when it does — mutually exclusive on a single slot. */
14
+ /** Slot-level UI components. Carries `shortDescription` and `longDescription` (activation copy derived from the parent placement's `refreshInterval`), plus either a `cta` (POST to the slot's activate endpoint) when the slot has no active (non-expired) activation, or a `logoFlare` decoration when it does — `cta` and `logoFlare` are mutually exclusive on a single slot. */
15
15
  components?: KardApi.users.OfferComponents | undefined;
16
16
  /** Slot-level visual assets. Currently a single `IMG_VIEW` SVG showing the slot's initials, themed via the `--icon-fill` CSS custom property. */
17
17
  assets?: KardApi.users.Asset[] | undefined;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "26.0.0";
1
+ export declare const SDK_VERSION = "28.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "26.0.0";
1
+ export const SDK_VERSION = "28.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "26.0.0",
3
+ "version": "28.0.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",