@saritasa/crm-delmar-core-sdk 0.1.69 → 0.1.74

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # @@saritasa/crm-delmar-core-sdk@0.1.69
1
+ # @@saritasa/crm-delmar-core-sdk@0.1.74
2
2
 
3
3
  ```bash
4
- npm install @saritasa/crm-delmar-core-sdk@0.1.69 --save
4
+ npm install @saritasa/crm-delmar-core-sdk@0.1.74 --save
5
5
  ```
@@ -151,7 +151,7 @@ class Configuration {
151
151
  * @return True if the given MIME is JSON, false otherwise.
152
152
  */
153
153
  isJsonMime(mime) {
154
- const jsonMime = new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$", "i");
154
+ const jsonMime = new RegExp("^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$", "i");
155
155
  return (mime !== null &&
156
156
  (jsonMime.test(mime) ||
157
157
  mime.toLowerCase() === "application/json-patch+json"));