Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

citi-oauth

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citi-oauth - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0

.nyc_output/17f790a4-95b0-41fb-8054-587619878826.json

1

lib/onboarding.d.ts

@@ -7,2 +7,3 @@ import CitiOAuth from '.';

apply(data: any, accessToken?: string, countryCode?: string): Promise<any>;
getApplicationStatus(applicationId: string, accessToken?: string, countryCode?: string): Promise<any>;
}

@@ -19,4 +19,12 @@ "use strict";

}
async getApplicationStatus(applicationId, accessToken, countryCode = 'sg') {
const url = `/v1/apac/onboarding/products/unsecured/applications/${applicationId}`;
return await this.citi.makeClientAuthRequest(url, {}, {
method: 'get',
accessToken,
countryCode,
});
}
}
exports.default = CitiOnboarding;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib25ib2FyZGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9vbmJvYXJkaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsTUFBcUIsY0FBYztJQUdqQyxZQUFZLElBQWU7UUFDekIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUE7SUFDbEIsQ0FBQztJQUVNLEtBQUssQ0FBQyxXQUFXLENBQUMsV0FBb0IsRUFBRSxjQUFzQixJQUFJO1FBQ3ZFLE1BQU0sR0FBRyxHQUFHLDhCQUE4QixDQUFBO1FBRTFDLE9BQU8sTUFBTSxJQUFJLENBQUMsSUFBSSxDQUFDLHFCQUFxQixDQUMxQyxHQUFHLEVBQ0gsRUFBRSxFQUNGLEVBQUMsTUFBTSxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFDLENBQzFDLENBQUE7SUFDSCxDQUFDO0l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JBQXFCLENBQUMsR0FBRyxFQUFFLElBQUksRUFBRTtZQUN0RCxNQUFNLEVBQUUsTUFBTTtZQUNkLFdBQVc7WUFDWCxXQUFXO1NBQ1osQ0FBQyxDQUFBO0lBQ0osQ0FBQztJQUVNLEtBQUssQ0FBQyxvQkFBb0IsQ0FDL0IsYUFBcUIsRUFDckIsV0FBb0IsRUFDcEIsY0FBc0IsSUFBSTtRQUUxQixNQUFNLEdBQUcsR0FBRyx1REFBdUQsYUFBYSxFQUFFLENBQUE7UUFFbEYsT0FBTyxNQUFNLElBQUksQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQzFDLEdBQUcsRUFDSCxFQUFFLEVBQ0Y7WUFDRSxNQUFNLEVBQUUsS0FBSztZQUNiLFdBQVc7WUFDWCxXQUFXO1NBQ1osQ0FDRixDQUFBO0lBQ0gsQ0FBQztDQUNGO0FBaERELGlDQWdEQyJ9

7

lib/util.js

@@ -22,6 +22,7 @@ "use strict";

catch (err) {
console.error('碰到了错误!');
;
(settings.logger || console).error('碰到了错误!');
err.request = {};
err.response = { data: err.response ? err.response.data : null };
console.error(err);
(settings.logger || console).error(err);
if (!(err instanceof CitiAPIError)) {

@@ -34,2 +35,2 @@ err.name = 'CitiAPI' + err.name;

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsTUFBTSxZQUFhLFNBQVEsS0FBSztJQUk5QixZQUFZLEdBQVc7UUFDckIsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFBO1FBRVYsSUFBSSxDQUFDLElBQUksR0FBRyxjQUFjLENBQUE7SUFDNUIsQ0FBQztDQUNGO0FBRVksUUFBQSxPQUFPLEdBQUcsQ0FDckIsV0FBcUUsRUFDckUsUUFBYyxFQUNkLEVBQUU7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tnQkFDMUMsS0FBSyxDQUFDLElBQUksR0FBRyxHQUFHLENBQUMsT0FBTyxDQUFBO2dCQUN4QixLQUFLLENBQUMsSUFBSSxHQUFHLEVBQUMsR0FBRyxFQUFFLE9BQU8sRUFBQyxDQUFBO2dCQUUzQixNQUFNLEtBQUssQ0FBQTthQUNaO1lBRUQsT0FBTyxHQUFHLENBQUE7U0FDWDtRQUFDLE9BQU8sR0FBRyxFQUFFO1lBQ1osQ0FBQztZQUFBLENBQUMsUUFBUSxDQUFDLE1BQU0sSUFBSSxPQUFPLENBQUMsQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLENBQUE7WUFDN0MsR0FBRyxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUE7WUFDaEIsR0FBRyxDQUFDLFFBQVEsR0FBRyxFQUFDLElBQUksRUFBRSxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFDLENBQzdEO1lBQUEsQ0FBQyxRQUFRLENBQUMsTUFBTSxJQUFJLE9BQU8sQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQTtZQUN4QyxJQUFJLENBQUMsQ0FBQyxHQUFHLFlBQVksWUFBWSxDQUFDLEVBQUU7Z0JBQ2xDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsU0FBUyxHQUFHLEdBQUcsQ0FBQyxJQUFJLENBQUE7YUFDaEM7WUFFRCxNQUFNLEdBQUcsQ0FBQTtTQUNWO0lBQ0gsQ0FBQyxDQUFBO0FBQ0gsQ0FBQyxDQUFBIn0=
{
"name": "citi-oauth",
"version": "1.5.2",
"version": "1.6.0",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc