@xcpcio/core 0.76.1 → 0.76.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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -595,7 +595,7 @@ function createSubmission(submissionJSON, contest) {
|
|
|
595
595
|
}
|
|
596
596
|
if (submissionJSON.reaction) {
|
|
597
597
|
s.reaction = submissionJSON.reaction;
|
|
598
|
-
} else if (contest?.options.reactionVideoUrlTemplate) {
|
|
598
|
+
} else if (contest?.options.reactionVideoUrlTemplate && !submissionJSON.missing_reaction) {
|
|
599
599
|
s.reaction = {
|
|
600
600
|
url: contest.options.reactionVideoUrlTemplate.replace(/\$\{submission_id\}/, s.id)
|
|
601
601
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -564,7 +564,7 @@ function createSubmission(submissionJSON, contest) {
|
|
|
564
564
|
}
|
|
565
565
|
if (submissionJSON.reaction) {
|
|
566
566
|
s.reaction = submissionJSON.reaction;
|
|
567
|
-
} else if (contest?.options.reactionVideoUrlTemplate) {
|
|
567
|
+
} else if (contest?.options.reactionVideoUrlTemplate && !submissionJSON.missing_reaction) {
|
|
568
568
|
s.reaction = {
|
|
569
569
|
url: contest.options.reactionVideoUrlTemplate.replace(/\$\{submission_id\}/, s.id)
|
|
570
570
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcpcio/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.76.
|
|
4
|
+
"version": "0.76.2",
|
|
5
5
|
"description": "The core library for XCPCIO",
|
|
6
6
|
"author": "Dup4 <hi@dup4.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"papaparse": "^5.5.3",
|
|
43
43
|
"string-width": "^8.1.0",
|
|
44
44
|
"xlsx-js-style": "^1.2.0",
|
|
45
|
-
"@xcpcio/types": "0.76.
|
|
45
|
+
"@xcpcio/types": "0.76.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/types": "^7.28.5",
|