@gravity-ai/api 1.1.7 → 1.1.8

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/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { G as GravityAdsOptions, I as IncomingAdRequest, M as MessageObject, P as PlacementObject, a as GravityAdsResult, b as GravityContextOverrides, c as GravityContext, A as AdParams, d as Ad } from './types-DIfiZ2zL.mjs';
2
- export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-DIfiZ2zL.mjs';
1
+ import { G as GravityAdsOptions, I as IncomingAdRequest, M as MessageObject, P as PlacementObject, a as GravityAdsResult, b as GravityContextOverrides, c as GravityContext, A as AdParams, d as Ad } from './types-BHk98aM_.mjs';
2
+ export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-BHk98aM_.mjs';
3
3
 
4
4
  /**
5
5
  * Gravity ad client.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { G as GravityAdsOptions, I as IncomingAdRequest, M as MessageObject, P as PlacementObject, a as GravityAdsResult, b as GravityContextOverrides, c as GravityContext, A as AdParams, d as Ad } from './types-DIfiZ2zL.js';
2
- export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-DIfiZ2zL.js';
1
+ import { G as GravityAdsOptions, I as IncomingAdRequest, M as MessageObject, P as PlacementObject, a as GravityAdsResult, b as GravityContextOverrides, c as GravityContext, A as AdParams, d as Ad } from './types-BHk98aM_.js';
2
+ export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-BHk98aM_.js';
3
3
 
4
4
  /**
5
5
  * Gravity ad client.
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ var require_package = __commonJS({
35
35
  "package.json"(exports2, module2) {
36
36
  module2.exports = {
37
37
  name: "@gravity-ai/api",
38
- version: "1.1.7",
38
+ version: "1.1.8",
39
39
  description: "Gravity JS SDK for retrieving targeted advertisements",
40
40
  main: "dist/index.js",
41
41
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ var require_package = __commonJS({
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@gravity-ai/api",
11
- version: "1.1.7",
11
+ version: "1.1.8",
12
12
  description: "Gravity JS SDK for retrieving targeted advertisements",
13
13
  main: "dist/index.js",
14
14
  module: "dist/index.mjs",
@@ -1,4 +1,4 @@
1
- import { d as Ad } from './types-DIfiZ2zL.mjs';
1
+ import { d as Ad } from './types-BHk98aM_.mjs';
2
2
 
3
3
  /**
4
4
  * @gravity-ai/api/opentui — Gravity ad rendering + tracking for OpenTUI terminals
package/dist/opentui.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Ad } from './types-DIfiZ2zL.js';
1
+ import { d as Ad } from './types-BHk98aM_.js';
2
2
 
3
3
  /**
4
4
  * @gravity-ai/api/opentui — Gravity ad rendering + tracking for OpenTUI terminals
@@ -12,7 +12,7 @@ type Gender = 'male' | 'female' | 'other';
12
12
  * Placement positions for ad rendering
13
13
  * @description Specifies where ads should appear relative to the AI response
14
14
  */
15
- type Placement = 'above_response' | 'below_response' | 'inline_response' | 'left_response' | 'right_response';
15
+ type Placement = 'above_response' | 'below_response' | 'inline_response' | 'left_response' | 'right_response' | 'search_result' | 'center_page' | 'top_page' | 'bottom_page' | 'left_page' | 'right_page';
16
16
  /**
17
17
  * Individual ad placement specification
18
18
  * @description Defines a single ad slot with its position and optional tracking ID
@@ -12,7 +12,7 @@ type Gender = 'male' | 'female' | 'other';
12
12
  * Placement positions for ad rendering
13
13
  * @description Specifies where ads should appear relative to the AI response
14
14
  */
15
- type Placement = 'above_response' | 'below_response' | 'inline_response' | 'left_response' | 'right_response';
15
+ type Placement = 'above_response' | 'below_response' | 'inline_response' | 'left_response' | 'right_response' | 'search_result' | 'center_page' | 'top_page' | 'bottom_page' | 'left_page' | 'right_page';
16
16
  /**
17
17
  * Individual ad placement specification
18
18
  * @description Defines a single ad slot with its position and optional tracking ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ai/api",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Gravity JS SDK for retrieving targeted advertisements",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",