@gravity-ai/api 1.2.0 → 1.2.1
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/README.md +1 -1
- package/dist/index.js +2 -10
- package/dist/index.mjs +2 -10
- package/package.json +2 -10
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ Ad latency never blocks the chat response.
|
|
|
109
109
|
|
|
110
110
|
## Server — Python
|
|
111
111
|
|
|
112
|
-
For Python backends (FastAPI, Django, Flask), use the [`gravity-
|
|
112
|
+
For Python backends (FastAPI, Django, Flask), use the [`gravity-sdk`](https://docs.trygravity.ai/sdks/python) package:
|
|
113
113
|
|
|
114
114
|
```bash
|
|
115
115
|
pip install gravity-sdk
|
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.2.
|
|
38
|
+
version: "1.2.1",
|
|
39
39
|
description: "Gravity JS SDK for retrieving targeted advertisements",
|
|
40
40
|
main: "dist/index.js",
|
|
41
41
|
module: "dist/index.mjs",
|
|
@@ -81,15 +81,7 @@ var require_package = __commonJS({
|
|
|
81
81
|
],
|
|
82
82
|
author: "Gravity Team",
|
|
83
83
|
license: "MIT",
|
|
84
|
-
homepage: "https://
|
|
85
|
-
repository: {
|
|
86
|
-
type: "git",
|
|
87
|
-
url: "git+https://github.com/Try-Gravity/gravity-js.git",
|
|
88
|
-
directory: "packages/api"
|
|
89
|
-
},
|
|
90
|
-
bugs: {
|
|
91
|
-
url: "https://github.com/Try-Gravity/gravity-js/issues"
|
|
92
|
-
},
|
|
84
|
+
homepage: "https://docs.trygravity.ai/sdks/javascript",
|
|
93
85
|
publishConfig: {
|
|
94
86
|
access: "public"
|
|
95
87
|
},
|
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.2.
|
|
11
|
+
version: "1.2.1",
|
|
12
12
|
description: "Gravity JS SDK for retrieving targeted advertisements",
|
|
13
13
|
main: "dist/index.js",
|
|
14
14
|
module: "dist/index.mjs",
|
|
@@ -54,15 +54,7 @@ var require_package = __commonJS({
|
|
|
54
54
|
],
|
|
55
55
|
author: "Gravity Team",
|
|
56
56
|
license: "MIT",
|
|
57
|
-
homepage: "https://
|
|
58
|
-
repository: {
|
|
59
|
-
type: "git",
|
|
60
|
-
url: "git+https://github.com/Try-Gravity/gravity-js.git",
|
|
61
|
-
directory: "packages/api"
|
|
62
|
-
},
|
|
63
|
-
bugs: {
|
|
64
|
-
url: "https://github.com/Try-Gravity/gravity-js/issues"
|
|
65
|
-
},
|
|
57
|
+
homepage: "https://docs.trygravity.ai/sdks/javascript",
|
|
66
58
|
publishConfig: {
|
|
67
59
|
access: "public"
|
|
68
60
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ai/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Gravity JS SDK for retrieving targeted advertisements",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -46,15 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"author": "Gravity Team",
|
|
48
48
|
"license": "MIT",
|
|
49
|
-
"homepage": "https://
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "git+https://github.com/Try-Gravity/gravity-js.git",
|
|
53
|
-
"directory": "packages/api"
|
|
54
|
-
},
|
|
55
|
-
"bugs": {
|
|
56
|
-
"url": "https://github.com/Try-Gravity/gravity-js/issues"
|
|
57
|
-
},
|
|
49
|
+
"homepage": "https://docs.trygravity.ai/sdks/javascript",
|
|
58
50
|
"publishConfig": {
|
|
59
51
|
"access": "public"
|
|
60
52
|
},
|