Skip to content

Commit

Permalink
Add animation param (#387)
Browse files Browse the repository at this point in the history
* Add `animation` Param

* Upgrade "@dcl/schemas" to 15.1.1
  • Loading branch information
mikhail-dcl authored Nov 18, 2024
1 parent 160c0f2 commit 8d02b56
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
15 changes: 7 additions & 8 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
Expand Up @@ -29,7 +29,7 @@
"homepage": "https://github.com/decentraland/opscli#readme",
"dependencies": {
"@dcl/crypto": "^3.4.5",
"@dcl/schemas": "^13.6.2",
"@dcl/schemas": "^15.1.1",
"@well-known-components/fetch-component": "^3.0.0",
"arg": "^5.0.2",
"dcl-catalyst-client": "^21.7.0",
Expand Down
7 changes: 5 additions & 2 deletions src/commands/queue-ab-conversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default async () => {
'--ab-server': String,
'--platform': [String],
'--token': String,
'--prioritize': Boolean
'--prioritize': Boolean,
'--animation': String
})

const pointers = args['--pointer'] || []
Expand All @@ -22,6 +23,7 @@ export default async () => {
const platforms = (args['--platform'] as Platform[]) || Object.values(Platform)
const contentUrl = (args['--content-server'] || 'https://peer.decentraland.org/content').replace(/\/$/, '')
const shouldPrioritize = !!args['--prioritize']
const animation = args['--animation'] || 'mecanim'

assert(!!token, '--token is missing')
assert(pointers.length > 0 || cids.length > 0, '--pointer or --cid are required')
Expand Down Expand Up @@ -66,7 +68,8 @@ export default async () => {
}
]
},
contentServerUrls: [contentUrl]
contentServerUrls: [contentUrl],
animation: animation
},
token,
shouldPrioritize,
Expand Down

0 comments on commit 8d02b56

Please sign in to comment.