@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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/opentui.d.mts +1 -1
- package/dist/opentui.d.ts +1 -1
- package/dist/{types-DIfiZ2zL.d.mts → types-BHk98aM_.d.mts} +1 -1
- package/dist/{types-DIfiZ2zL.d.ts → types-BHk98aM_.d.ts} +1 -1
- package/package.json +1 -1
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-
|
|
2
|
-
export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-
|
|
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-
|
|
2
|
-
export { e as ApiErrorResponse, D as DeviceObject, g as Gender, f as Placement, R as Role, U as UserObject } from './types-
|
|
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.
|
|
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.
|
|
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",
|
package/dist/opentui.d.mts
CHANGED
package/dist/opentui.d.ts
CHANGED
|
@@ -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
|