@adsgram/react 1.0.1 → 1.0.2
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 +2 -2
- package/package.json +3 -4
- package/assets/fullscreen.png +0 -0
- package/assets/native_task.png +0 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ pnpm add @adsgram/react
|
|
|
17
17
|
### `<AdsgramTask />`
|
|
18
18
|
React wrapper component for the `<adsgram-task>` custom element. Using for the [Task](https://docs.adsgram.ai/publisher/task-examples) ad format.
|
|
19
19
|
|
|
20
|
-
<img src="
|
|
20
|
+
<img src="https://docs.adsgram.ai/assets/native_task.Dp3rdtR0.png" alt="Task ad" width="300">
|
|
21
21
|
|
|
22
22
|
#### Props
|
|
23
23
|
| Prop | Type | Description |
|
|
@@ -64,7 +64,7 @@ export function Task(): JSX.Element | null {
|
|
|
64
64
|
### `useAdsgram`
|
|
65
65
|
React hook for managing fullscreen ads. Using for the [Reward](https://docs.adsgram.ai/publisher/reward-examples) and [Interstitial](https://docs.adsgram.ai/publisher/interstitial-examples) ad formats.
|
|
66
66
|
|
|
67
|
-
<img src="
|
|
67
|
+
<img src="https://docs.adsgram.ai/assets/rewarded_video.CdG2Ubqt.png" alt="Fullscreen ad" width="300">
|
|
68
68
|
|
|
69
69
|
#### Props
|
|
70
70
|
| Prop | Type | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adsgram/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"homepage": "https://docs.adsgram.ai/publisher/",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
-
"README.md"
|
|
14
|
-
"assets"
|
|
13
|
+
"README.md"
|
|
15
14
|
],
|
|
16
15
|
"dependencies": {
|
|
17
|
-
"@adsgram/common": "1.0.
|
|
16
|
+
"@adsgram/common": "1.0.2"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"@types/node": "^24.0.1",
|
package/assets/fullscreen.png
DELETED
|
Binary file
|
package/assets/native_task.png
DELETED
|
Binary file
|