@kard-financial/sdk 24.0.0 → 24.1.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/users/resources/rewards/types/BatchSlotData.d.ts +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/users/resources/rewards/types/BatchSlotData.d.mts +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "24.
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/24.
|
|
46
|
+
"X-Fern-SDK-Version": "24.1.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/24.1.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);
|
|
@@ -13,6 +13,10 @@ export interface BatchSlotData {
|
|
|
13
13
|
lastActivatedAt?: string | undefined;
|
|
14
14
|
/** Computed as `lastActivatedAt + placement.refreshInterval`. Absent for cold slots that have never been activated. */
|
|
15
15
|
expiresAt?: string | undefined;
|
|
16
|
+
/** 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. */
|
|
17
|
+
components?: KardApi.users.OfferComponents | undefined;
|
|
18
|
+
/** Slot-level visual assets. Currently a single `IMG_VIEW` SVG showing the slot's initials, themed via the `--icon-fill` CSS custom property. */
|
|
19
|
+
assets?: KardApi.users.Asset[] | undefined;
|
|
16
20
|
/** The set of offers eligible for the user under this slot's content strategy. */
|
|
17
21
|
offers: KardApi.users.OfferDataUnion[];
|
|
18
22
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "24.
|
|
1
|
+
export declare const SDK_VERSION = "24.1.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "24.
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/24.
|
|
9
|
+
"X-Fern-SDK-Version": "24.1.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/24.1.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);
|
|
@@ -13,6 +13,10 @@ export interface BatchSlotData {
|
|
|
13
13
|
lastActivatedAt?: string | undefined;
|
|
14
14
|
/** Computed as `lastActivatedAt + placement.refreshInterval`. Absent for cold slots that have never been activated. */
|
|
15
15
|
expiresAt?: string | undefined;
|
|
16
|
+
/** 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. */
|
|
17
|
+
components?: KardApi.users.OfferComponents | undefined;
|
|
18
|
+
/** Slot-level visual assets. Currently a single `IMG_VIEW` SVG showing the slot's initials, themed via the `--icon-fill` CSS custom property. */
|
|
19
|
+
assets?: KardApi.users.Asset[] | undefined;
|
|
16
20
|
/** The set of offers eligible for the user under this slot's content strategy. */
|
|
17
21
|
offers: KardApi.users.OfferDataUnion[];
|
|
18
22
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "24.
|
|
1
|
+
export declare const SDK_VERSION = "24.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "24.
|
|
1
|
+
export const SDK_VERSION = "24.1.0";
|