@kard-financial/sdk 4.1.1 → 4.2.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": "4.1.1",
47
- "User-Agent": "@kard-financial/sdk/4.1.1",
46
+ "X-Fern-SDK-Version": "4.2.0",
47
+ "User-Agent": "@kard-financial/sdk/4.2.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);
@@ -2,6 +2,7 @@
2
2
  export declare const ComponentType: {
3
3
  readonly ShortDescription: "shortDescription";
4
4
  readonly LongDescription: "longDescription";
5
+ readonly BaseReward: "baseReward";
5
6
  readonly Cta: "cta";
6
7
  readonly Tags: "tags";
7
8
  readonly DetailTags: "detailTags";
@@ -6,6 +6,7 @@ exports.ComponentType = void 0;
6
6
  exports.ComponentType = {
7
7
  ShortDescription: "shortDescription",
8
8
  LongDescription: "longDescription",
9
+ BaseReward: "baseReward",
9
10
  Cta: "cta",
10
11
  Tags: "tags",
11
12
  DetailTags: "detailTags",
@@ -7,6 +7,8 @@ export interface OfferComponents {
7
7
  shortDescription?: string;
8
8
  /** Long description for the offer */
9
9
  longDescription?: string;
10
+ /** Formatted reward string */
11
+ baseReward?: string;
10
12
  /** Call-to-action button component */
11
13
  cta?: KardApi.users.CtaComponent;
12
14
  /** Tags for the offer */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.1.1";
1
+ export declare const SDK_VERSION = "4.2.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 = "4.1.1";
4
+ exports.SDK_VERSION = "4.2.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": "4.1.1",
10
- "User-Agent": "@kard-financial/sdk/4.1.1",
9
+ "X-Fern-SDK-Version": "4.2.0",
10
+ "User-Agent": "@kard-financial/sdk/4.2.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);
@@ -2,6 +2,7 @@
2
2
  export declare const ComponentType: {
3
3
  readonly ShortDescription: "shortDescription";
4
4
  readonly LongDescription: "longDescription";
5
+ readonly BaseReward: "baseReward";
5
6
  readonly Cta: "cta";
6
7
  readonly Tags: "tags";
7
8
  readonly DetailTags: "detailTags";
@@ -3,6 +3,7 @@
3
3
  export const ComponentType = {
4
4
  ShortDescription: "shortDescription",
5
5
  LongDescription: "longDescription",
6
+ BaseReward: "baseReward",
6
7
  Cta: "cta",
7
8
  Tags: "tags",
8
9
  DetailTags: "detailTags",
@@ -7,6 +7,8 @@ export interface OfferComponents {
7
7
  shortDescription?: string;
8
8
  /** Long description for the offer */
9
9
  longDescription?: string;
10
+ /** Formatted reward string */
11
+ baseReward?: string;
10
12
  /** Call-to-action button component */
11
13
  cta?: KardApi.users.CtaComponent;
12
14
  /** Tags for the offer */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.1.1";
1
+ export declare const SDK_VERSION = "4.2.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.1.1";
1
+ export const SDK_VERSION = "4.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "private": false,
5
5
  "repository": "github:KardFinancial/kard-node-sdk",
6
6
  "type": "commonjs",