New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ggez-banking-sdk

Package Overview
Dependencies
Maintainers
0
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ggez-banking-sdk - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

3

dist/bank-system/services/auth.js

@@ -20,3 +20,2 @@ "use strict";

const dataStructure_1 = __importDefault(require("../helper/dataStructure"));
// https://dapi.ggez.one/Service/V1/user
const useAuth = (baseUrl, nodeUrl, userInfo, tokenData, programId, geoCoordinates, lang) => {

@@ -109,3 +108,3 @@ let endPointUser = "V1/user";

const response = yield restApi_1.default.restApi(baseUrl, "POST", "oauth/token", headers, data);
if (response.data.access_token) {
if (response.data.result === "success" && response.data.access_token) {
return {

@@ -112,0 +111,0 @@ response: response,

@@ -13,4 +13,4 @@ "use strict";

const userId = (_a = localStorage.getItem("user_id")) !== null && _a !== void 0 ? _a : "0";
const source_id = `U.${userId}${timestamp}`;
const source_id = `U.${userId}.${timestamp}`;
return source_id;
}
{
"name": "ggez-banking-sdk",
"version": "0.0.24",
"version": "0.0.25",
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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