senter-sms-helper
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -25,3 +25,3 @@ const defaultOoptoutMessage = '\nopt-out STOP'; | ||
if (!content) | ||
return this.maxMessages; | ||
return 0; | ||
@@ -28,0 +28,0 @@ return Math.ceil((content.length + this.optoutMessage.length) / this.getSingleMessageLength(content)); |
{ | ||
"name": "senter-sms-helper", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Simple package to help with sms message content", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -180,3 +180,3 @@ const SmsHelper = require("../index.js"); | ||
//Assert | ||
expect(result).toEqual(4); | ||
expect(result).toEqual(0); | ||
}); | ||
@@ -189,3 +189,3 @@ | ||
//Assert | ||
expect(result).toEqual(4); | ||
expect(result).toEqual(0); | ||
}); | ||
@@ -198,4 +198,4 @@ | ||
//Assert | ||
expect(result).toEqual(4); | ||
expect(result).toEqual(0); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7090