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

ggez-banking-sdk

Package Overview
Dependencies
Maintainers
0
Versions
101
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.98 to 0.0.99

12

dist/bank-system/helper/dataStructure.js

@@ -174,5 +174,8 @@ "use strict";

const client = new clientjs_1.ClientJS();
let customField = { promotion_data: {} };
let customField = null;
if (values.referralCode && values.referralCodeType) {
customField.promotion_data["referral_data"] = {
if (!customField) {
customField = { promotion_data: {} };
}
customField.promotion_data.referral_data = {
code: values.referralCode,

@@ -183,3 +186,6 @@ type: +values.referralCodeType,

if (values.giftData) {
customField.promotion_data["gift_data"] = [values.giftData];
if (!customField) {
customField = { promotion_data: {} };
}
customField.promotion_data.gift_data = [values.giftData];
}

@@ -186,0 +192,0 @@ let data = {

@@ -9,2 +9,3 @@ import { AxiosResponse } from "axios";

installationId?: string | null;
disableCache?: boolean;
};

@@ -11,0 +12,0 @@ declare const Helper: (userInfo: any) => {

@@ -270,3 +270,3 @@ "use strict";

const headerConfig = (headersData) => {
const { header, isUrlEncoded, token, lang, installationId } = headersData;
const { header, isUrlEncoded, token, lang, installationId, disableCache } = headersData;
let headers;

@@ -295,2 +295,10 @@ if (!header)

}
if (disableCache) {
headers = {
...headers,
"Cache-Control": "no-cache",
Pragma: "no-cache",
Expires: "0",
};
}
return headers;

@@ -297,0 +305,0 @@ };

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

header: false,
disableCache: true,
};

@@ -240,0 +241,0 @@ let headers = headerConfig(headersData);

{
"name": "ggez-banking-sdk",
"version": "0.0.98",
"version": "0.0.99",
"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