Skip to content

Commit

Permalink
use signedFetch
Browse files Browse the repository at this point in the history
  • Loading branch information
smartsir796 committed Apr 25, 2022
1 parent 2a9dd81 commit 7f081c2
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 73 deletions.
2 changes: 1 addition & 1 deletion .dclignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ README.md
*.blend
*.fbx
*.zip
*.rar
*.rar
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.4] - 2022-04-25
### Changed
- Use signedFetch for logging events

## [1.1.3] - 2022-04-04
### Changed
- Npm package setup
Expand All @@ -23,7 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Video ads support

[Unreleased]: https://github.com/adshares/decentraland/compare/v1.0.3...HEAD
[Unreleased]: https://github.com/adshares/decentraland/compare/v1.1.4...HEAD
[1.1.4]: https://github.com/adshares/decentraland/compare/v1.1.3...v1.1.4
[1.1.3]: https://github.com/adshares/decentraland/compare/v1.1.2...v1.1.3
[1.1.2]: https://github.com/adshares/decentraland/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/adshares/decentraland/compare/v1.1.0...v1.1.1
Expand Down
1 change: 0 additions & 1 deletion asset.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{

"name": "Adshares banner",
"tags": ["income", "earnings", "ads", "banner", "advertisement", "advertising"],
"category": "decorations",
Expand Down
130 changes: 97 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adshares/decentraland",
"version": "1.1.3",
"version": "1.1.4",
"display-name": "Adshares DCL smart item",
"description": "Adshares Decentraland smart item banner",
"author": "Adshares <[email protected]>",
Expand Down
54 changes: 27 additions & 27 deletions src/game.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
import { Spawner } from '../node_modules/decentraland-builder-scripts/spawner'
import AdsharesBanner, { Props } from './item'
import AdsharesBanner, {Props} from './item'

const banner = new AdsharesBanner()
const spawner = new Spawner<Props>(banner)

spawner.spawn(
'banner',
new Transform({
position: new Vector3(4, 0, 8),
scale: new Vector3(2, 2, 0.1),
}),
{
payout_network: 'ads',
payout_address: '0001-000000F1-6451',
keywords: 'decentraland,metaverse',
zone_name: 'default',
adserver: 'https://adserver.priv',
exclude: '{"quality": ["low"], "category": ["adult"]}',
},
'banner',
new Transform({
position: new Vector3(4, 0, 8),
scale: new Vector3(2, 2, 0.1),
}),
{
payout_network: 'ads',
payout_address: '0001-000000F1-6451',
keywords: 'decentraland,metaverse',
zone_name: 'default',
adserver: 'https://adserver.priv',
exclude: '{"quality": ["low"], "category": ["adult"]}',
},
)

spawner.spawn(
'banner',
new Transform({
position: new Vector3(6, 0, 6),
scale: new Vector3(2, 2, 0.1),
}),
{
payout_network: 'ads',
payout_address: '0001-000000F1-6451',
keywords: 'decentraland,metaverse',
zone_name: 'default',
adserver: 'https://adserver.priv',
exclude: '{"quality": ["low"], "category": ["adult"]}',
},
'banner',
new Transform({
position: new Vector3(6, 0, 6),
scale: new Vector3(2, 2, 0.1),
}),
{
payout_network: 'ads',
payout_address: '0001-000000F1-6451',
keywords: 'decentraland,metaverse',
zone_name: 'default',
adserver: 'https://adserver.priv',
exclude: '{"quality": ["low"], "category": ["adult"]}',
},
)
Loading

0 comments on commit 7f081c2

Please sign in to comment.