Skip to content

Commit

Permalink
v3.1.1 (#219)
Browse files Browse the repository at this point in the history
* Fix: upgrade config error

Fixes #218

* chore: update module-base

* chore: version up

* fix: prevent using transition duration of zero
  • Loading branch information
bryce-seifert authored Apr 18, 2023
1 parent bad4bc8 commit a270520
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 51 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ See [HELP.md](https://github.com/bitfocus/companion-module-obs-studio/blob/maste

## Changelog

### v3.1.1

- Fix
- Upgrade script error crashing module
- Additional fixes for Quick Transition causing transition state to get stuck

### v3.1.0

- New
Expand Down
2 changes: 1 addition & 1 deletion actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export function getActions() {
let transitionWaitTime
let transitionDuration
let revertTransition = this.states.currentTransition
let revertTransitionDuration = this.states.transitionDuration
let revertTransitionDuration = this.states.transitionDuration > 0 ? this.states.transitionDuration : 500

if (action.options.transition == 'Cut') {
transitionWaitTime = 100
Expand Down
2 changes: 1 addition & 1 deletion companion/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "obs-studio",
"shortname": "obs",
"description": "Control OBS Studio using the obs-websocket plugin",
"version": "3.1.0",
"version": "3.1.1",
"license": "MIT",
"repository": "git+https://github.com/bitfocus/companion-module-obs-studio.git",
"bugs": "https://github.com/bitfocus/companion-module-obs-studio/issues",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "obs-studio",
"version": "3.1.0",
"version": "3.1.1",
"main": "index.js",
"type": "module",
"scripts": {
"format": "prettier -w ."
},
"license": "MIT",
"dependencies": {
"@companion-module/base": "~1.1.0",
"@companion-module/base": "~1.4.1",
"obs-websocket-js": "5.0.2"
},
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions upgrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ export default [
updatedFeedbacks: [],
}
if (props.config) {
if (props.config.port == undefined || props.config.port == '' || props.config.port == 4444) {
changes.updatedConfig.port = 4455
let config = props.config
if (config.port == undefined || config.port == '' || config.port == 4444) {
config.port = 4455
changes.updatedConfig = config
}
}

Expand Down
90 changes: 45 additions & 45 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
# yarn lockfile v1


"@companion-module/base@~1.1.0":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@companion-module/base/-/base-1.1.1.tgz#b1c5be9fe03ef788e320c69dabe44348dae2c2a8"
integrity sha512-agb9Qu67zhrIBZIlzqmByuUNzcbOuSfF9lpVih1rkJ3nxb/vjjerNrigmTv4zWtkYqxcAhzXHh+BL8P0JN3XuQ==
"@companion-module/base@~1.4.1":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@companion-module/base/-/base-1.4.1.tgz#4ddc4ba636b672bcbbc3dc4645634007a49d6189"
integrity sha512-xg5OX33ptfFsV/drfeNTHID7hp9f2cdp8V+7Pj8uartdNstCr28W3bAy8xRz+XRFKxQVkJcL2LqrkYZ8GGfetw==
dependencies:
"@sentry/node" "^7.28.0"
"@sentry/tracing" "^7.28.0"
ajv "^8.11.2"
"@sentry/node" "^7.36.0"
"@sentry/tracing" "^7.36.0"
ajv "^8.12.0"
debounce-fn "github:julusian/debounce-fn#4.0.0-maxWaithack.0"
ejson "^2.2.3"
eventemitter3 "^4.0.7"
nanoid "^3.3.4"
p-queue "^6.6.2"
p-timeout "^4.1.0"
tslib "^2.4.1"
tslib "^2.5.0"

"@companion-module/tools@^1.2.0":
version "1.2.0"
Expand Down Expand Up @@ -142,57 +142,57 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@sentry-internal/tracing@7.46.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.46.0.tgz#26febabe21a2c2cab45a3de75809d88753ec07eb"
integrity sha512-KYoppa7PPL8Er7bdPoxTNUfIY804JL7hhOEomQHYD22rLynwQ4AaLm3YEY75QWwcGb0B7ZDMV+tSumW7Rxuwuw==
"@sentry-internal/tracing@7.48.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.48.0.tgz#d0c1eac1c046fda5c79d16dc1c918fee3bae3e9d"
integrity sha512-MFAPDTrvCtfSm0/Zbmx7HA0Q5uCfRadOUpN8Y8rP1ndz+329h2kA3mZRCuC+3/aXL11zs2CHUhcAkGjwH2vogg==
dependencies:
"@sentry/core" "7.46.0"
"@sentry/types" "7.46.0"
"@sentry/utils" "7.46.0"
"@sentry/core" "7.48.0"
"@sentry/types" "7.48.0"
"@sentry/utils" "7.48.0"
tslib "^1.9.3"

"@sentry/core@7.46.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.46.0.tgz#f377e556d8679f29bde1cce15b1682b6c689d6b7"
integrity sha512-BnNHGh/ZTztqQedFko7vb2u6yLs/kWesOQNivav32ZbsEpVCjcmG1gOJXh2YmGIvj3jXOC9a4xfIuh+lYFcA6A==
"@sentry/core@7.48.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.48.0.tgz#1a5ec347ab7212d73a99583c2e64989e34e3263a"
integrity sha512-8FYuJTMpyuxRZvlen3gQ3rpOtVInSDmSyXqWEhCLuG/w34AtWoTiW7G516rsAAh6Hy1TP91GooMWbonP3XQNTQ==
dependencies:
"@sentry/types" "7.46.0"
"@sentry/utils" "7.46.0"
"@sentry/types" "7.48.0"
"@sentry/utils" "7.48.0"
tslib "^1.9.3"

"@sentry/node@^7.28.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.46.0.tgz#f85ee74926372d19d6b6a23f68f19023d7a528a7"
integrity sha512-+GrgJMCye2WXGarRiU5IJHCK27xg7xbPc2XjGojBKbBoZfqxVAWbXEK4bnBQgRGP1pCmrU/M6ZhVgR3dP580xA==
"@sentry/node@^7.36.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.48.0.tgz#b2f15502b77796bf7bcaa29f2e9ce1420f7c49d1"
integrity sha512-DJyyZaVhv/pUzJPof7es6zYDHeWbNqE0T3tQfLCkShdyfR+Ew8In8W/x2s7S8vq0cfRq0rqv1E6B2/HpVdYO7g==
dependencies:
"@sentry-internal/tracing" "7.46.0"
"@sentry/core" "7.46.0"
"@sentry/types" "7.46.0"
"@sentry/utils" "7.46.0"
"@sentry-internal/tracing" "7.48.0"
"@sentry/core" "7.48.0"
"@sentry/types" "7.48.0"
"@sentry/utils" "7.48.0"
cookie "^0.4.1"
https-proxy-agent "^5.0.0"
lru_map "^0.3.3"
tslib "^1.9.3"

"@sentry/tracing@^7.28.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.46.0.tgz#cdda3a20edbb35789e4e8623492e9f0ca5f9af48"
integrity sha512-7qBtzmu7CDHclSKp+ZRrxoDcMyrev6/rxD2rSVJgB3o8gd2XGcO5vx9vuUOoYF0xTfOMXscR6Ft6JXE49xovYg==
"@sentry/tracing@^7.36.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.48.0.tgz#071eb9536a1f2cf0f81a3a5661e99f0253e3b87e"
integrity sha512-X6w74Av0fyayNicKIlwL1IdpZ3O0ETQjyYXCDTwHoJL71ojrgrL5vdiNz8WwbPONTnqu98HehPYL/z3DCCKVbw==
dependencies:
"@sentry-internal/tracing" "7.46.0"
"@sentry-internal/tracing" "7.48.0"

"@sentry/types@7.46.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.46.0.tgz#8573ba8676342c594fcfefff4552123278cfec51"
integrity sha512-2FMEMgt2h6u7AoELhNhu9L54GAh67KKfK2pJ1kEXJHmWxM9FSCkizjLs/t+49xtY7jEXr8qYq8bV967VfDPQ9g==
"@sentry/types@7.48.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.48.0.tgz#57f3c9cf331a5621e82dda04eefcf8c19ee42bc9"
integrity sha512-kkAszZwQ5/v4n7Yyw/DPNRWx7h724mVNRGZIJa9ggUMvTgMe7UKCZZ5wfQmYiKVlGbwd9pxXAcP8Oq15EbByFQ==

"@sentry/utils@7.46.0":
version "7.46.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.46.0.tgz#7a713724db3d1c8bc0aef6d19a7fe2c76db0bdf2"
integrity sha512-elRezDAF84guMG0OVIIZEWm6wUpgbda4HGks98CFnPsrnMm3N1bdBI9XdlxYLtf+ir5KsGR5YlEIf/a0kRUwAQ==
"@sentry/utils@7.48.0":
version "7.48.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.48.0.tgz#2866975ea8899aba35b083dd0558cbbe29ee8de1"
integrity sha512-d977sghkFVMfld0LrEyyY2gYrfayLPdDEpUDT+hg5y79r7zZDCFyHtdB86699E5K89MwDZahW7Erk+a1nk4x5w==
dependencies:
"@sentry/types" "7.46.0"
"@sentry/types" "7.48.0"
tslib "^1.9.3"

"@types/eslint-scope@^3.7.3":
Expand Down Expand Up @@ -525,7 +525,7 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"

ajv@^8.11.2:
ajv@^8.12.0:
version "8.12.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1"
integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==
Expand Down Expand Up @@ -1963,7 +1963,7 @@ tslib@^1.8.1, tslib@^1.9.3:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.4.1:
tslib@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
Expand Down

0 comments on commit a270520

Please sign in to comment.