citi-oauth
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -180,6 +180,6 @@ "use strict"; | ||
}; | ||
return await this.wrap(axios_1.default[options.method])(url + '?' + querystring_1.default.stringify(qs), { headers }); | ||
return await this.wrap(axios_1.default[options.method])(url, querystring_1.default.stringify(qs), { headers }); | ||
} | ||
} | ||
exports.default = CitiOAuth; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxrREFBeUI7QUFDekIsOERBQXFDO0FBQ3JDLGlEQUEwQjtBQUMxQixpQ0FBOEI7QUFDOUIsc0RBQWlDO0FBQ2pDLG9EQUErQjtBQUMvQiw4REFBeUM7QUFFekMsTUFBTSxzQkFBc0IsR0FBRyxDQUFDLEdBQVcsRUFBRSxFQUFPLEVBQUUsUUFBZ0IsRUFBRSxFQUFFLENBQ3hFLEdBQUcsUUFBUSxHQUFHLEdBQUcsSUFBSSxxQkFBVyxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFBO0FBRWxELFNBQVMsZUFBZSxDQUFDLFVBT3hCO0lBQ0MsTUFBTSxFQUFDLFFBQVEsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFDLEdBQUcsVUFBVSxDQUFBO0lBQ3BFLE1BQU0sSUFBSSxHQUFRO1FBQ2hCLGFBQWEsRUFBRSxNQUFNO1FBQ3JCLFNBQVMsRUFBRSxLQUFLO1FBQ2hCLEtBQUssRUFDSCxLQUFLO1lBQ0wsMk1BQTJNO1FBQzdNLFdBQVcsRUFBRSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsQ0FBQyxXQUFXLEVBQUU7UUFDaEQsWUFBWSxFQUFFL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ZUFBSyxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUMzQyxHQUFHLEVBQ0gscUJBQVcsQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLEVBQ3pCLEVBQUMsT0FBTyxFQUFDLENBQ1YsQ0FBQTtJQUNILENBQUM7Q0FDRjtBQXZORCw0QkF1TkMifQ== |
@@ -6,3 +6,3 @@ import CitiOAuth from '.'; | ||
getProducts(accessToken?: string, countryCode?: string): Promise<any>; | ||
apply(accessToken?: string, countryCode?: string): Promise<any>; | ||
apply(data: any, accessToken?: string, countryCode?: string): Promise<any>; | ||
} |
@@ -11,8 +11,12 @@ "use strict"; | ||
} | ||
async apply(accessToken, countryCode = 'sg') { | ||
async apply(data, accessToken, countryCode = 'sg') { | ||
const url = `/v1/apac/onboarding/products/unsecured/applications`; | ||
return await this.citi.makeClientAuthRequest(url, {}, { method: 'post', accessToken, countryCode }); | ||
return await this.citi.makeClientAuthRequest(url, data, { | ||
method: 'post', | ||
accessToken, | ||
countryCode, | ||
}); | ||
} | ||
} | ||
exports.default = CitiOnboarding; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib25ib2FyZGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9vbmJvYXJkaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsTUFBcUIsY0FBYztJQUdqQyxZQUFZLElBQWU7UUFDekIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUE7SUFDbEIsQ0FBQztJQUVNLEtBQUssQ0FBQyxXQUFXLENBQUMsV0FBb0IsRUFBRSxjQUFzQixJQUFJO1FBQ3ZFLE1BQU0sR0FBRyxHQUFHLDhCQUE4QixDQUFBO1FBRTFDLE9BQU8sTUFBTSxJQUFJLENBQUMsSUFBSSxDQUFDLHFCQUFxQixDQUMxQyxHQUFHLEVBQ0gsRUFB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Uk7UUFFMUIsTUFBTSxHQUFHLEdBQUcscURBQXFELENBQUE7UUFFakUsT0FBTyxNQUFNLElBQUksQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQUMsR0FBRyxFQUFFLElBQUksRUFBRTtZQUN0RCxNQUFNLEVBQUUsTUFBTTtZQUNkLFdBQVc7WUFDWCxXQUFXO1NBQ1osQ0FBQyxDQUFBO0lBQ0osQ0FBQztDQUNGO0FBOUJELGlDQThCQyJ9 |
{ | ||
"name": "citi-oauth", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "citi oauth typescript version", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
250894
1405