ps-direct-sdk
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -26,6 +26,10 @@ "use strict"; | ||
}, | ||
get: key => hydrateString(db, {}, "${" + key + "}").map(x => { | ||
return R.tryCatch(JSON.parse, R.always(x))(x); | ||
get: (key, type) => hydrateString(db, {}, "${" + key + "}").map(x => { | ||
if(type === void 0 || "json") { | ||
return R.tryCatch(JSON.parse, R.always(x))(x); | ||
} else { | ||
return x; | ||
} | ||
}) | ||
} | ||
}; |
{ | ||
"name": "ps-direct-sdk", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "Directly ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
31887
730