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

abl-constants

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abl-constants - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

2

package.json
{
"name": "abl-constants",
"version": "0.3.7",
"version": "0.3.8",
"license": "MIT",

@@ -5,0 +5,0 @@ "title": "ABL - constants",

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

import {phoneNumber} from "./twilio.js";
import {cardNumbers} from "./stripe.js";
import {cardNumbers, defaultCurrency} from "./stripe.js";

@@ -108,9 +108,2 @@ export const AAPArray = [{

return Object.assign({
bookingId: getRandomString(8, 2),
notes,
created: testTime,
startTime,
title,
timeZone,
transaction: transactionObject(),
answers: [{

@@ -122,3 +115,11 @@ questionText: "question 1?",

answerText: "answer 2!"
}]
}],
bookingId: getRandomString(8, 2),
created: testTime,
notes,
startTime,
status: "paid",
timeZone,
title,
transaction: transactionObject()
}, data);

@@ -198,2 +199,3 @@ }

features: {
coupons: true,
guides: true,

@@ -208,2 +210,7 @@ questions: true

display: {
event: {
cutoff: 2880,
isSiteWide: true
},
theme: "blue",
timeslot: {

@@ -214,8 +221,10 @@ availability: true,

startTime: true
},
event: {
isSiteWide: true,
cutoff
}
}
},
social: {
facebook: "http://facebook/",
instagram: "http://instagram/",
tripadvistor: "http://tripadvistor/",
twitter: "http://twitter/"
}

@@ -246,4 +255,21 @@ }

return Object.assign({
charges: Object.keys(chargeArray).map(key => chargeArray[key])
charges: Object.keys(chargeArray).map(key => chargeArray[key]),
payments: [{
id: `ch_${getRandomString(21)}`,
amount: chargeArray.adult.amount,
method: "credit",
currency: defaultCurrency
}, {
id: `abl_${getRandomString(20)}`,
amount: chargeArray.adult.amount,
method: "cash",
currency: defaultCurrency
}],
refunds: [{
id: `re_${getRandomString(21)}`,
amount: chargeArray.adult.amount,
method: "credit",
currency: defaultCurrency
}]
}, data);
}
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