@campnetwork/origin 1.2.0-4 → 1.2.0

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.
@@ -3241,7 +3241,7 @@ const validateDuration = (duration, licenseDurationUnit) => {
3241
3241
  const validateRoyaltyBps = (royaltyBps) => {
3242
3242
  if (royaltyBps && royaltyBps.trim() !== "") {
3243
3243
  const bps = Math.floor(parseFloat(royaltyBps) * 100);
3244
- return (bps >= constants.MIN_ROYALTY_BPS && bps <= constants.MAX_ROYALTY_BPS);
3244
+ return bps >= constants.MIN_ROYALTY_BPS && bps <= constants.MAX_ROYALTY_BPS;
3245
3245
  }
3246
3246
  else {
3247
3247
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campnetwork/origin",
3
- "version": "1.2.0-4",
3
+ "version": "1.2.0",
4
4
  "main": "dist/core.cjs",
5
5
  "exports": {
6
6
  ".": {