@finverse/sdk-typescript 0.0.272 → 0.0.273
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/api.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -6044,7 +6044,7 @@ export interface PaymentSetupOptions {
|
|
|
6044
6044
|
* @type {AutopayEnrollmentConfiguration}
|
|
6045
6045
|
* @memberof PaymentSetupOptions
|
|
6046
6046
|
*/
|
|
6047
|
-
|
|
6047
|
+
autopay_enrollment_configuration?: AutopayEnrollmentConfiguration;
|
|
6048
6048
|
}
|
|
6049
6049
|
export declare const PaymentSetupOptionsFuturePaymentsEnum: {
|
|
6050
6050
|
readonly Autopay: "AUTOPAY";
|
package/dist/configuration.js
CHANGED
|
@@ -35,7 +35,7 @@ class Configuration {
|
|
|
35
35
|
* @return True if the given MIME is JSON, false otherwise.
|
|
36
36
|
*/
|
|
37
37
|
isJsonMime(mime) {
|
|
38
|
-
const jsonMime = new RegExp('^(application
|
|
38
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
39
39
|
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
40
40
|
}
|
|
41
41
|
}
|