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

@friggframework/api-module-airwallex

Package Overview
Dependencies
Maintainers
3
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@friggframework/api-module-airwallex - npm Package Compare versions

Comparing version 0.8.24-canary.143.118ffa9.0 to 0.8.24-canary.143.13ce152.0

4

package.json
{
"name": "@friggframework/api-module-airwallex",
"version": "0.8.24-canary.143.118ffa9.0",
"version": "0.8.24-canary.143.13ce152.0",
"prettier": "@friggframework/prettier-config",

@@ -25,3 +25,3 @@ "description": "",

},
"gitHead": "118ffa9b6101afd1ebb26d19a100ab501342541c"
"gitHead": "13ce152bc42d7bdaed5c91f51aeb34bff280bccf"
}

@@ -8,15 +8,13 @@ const chai = require('chai');

describe('Airwallex API class', () => {
const api = new Api();
let api;
beforeAll(async () => {
const url = api.authorizationUri;
const response = await Authenticator.oauth2(url);
const baseArr = response.base.split('/');
response.entityType = baseArr[baseArr.length - 1];
delete response.base;
const token = await api.getTokenFromCode(response.data.code);
api = new Api({
api_key: process.env.AIRWALLEX_API_KEY,
client_id: process.env.AIRWALLEX_CLIENT_ID,
});
await api.getTokenFromApiKey();
});
describe('Get Account Info', () => {
it('should get Account info', async () => {
it.skip('should get Account info', async () => {
const response = await api.getAccount();

@@ -29,3 +27,3 @@ response.should.have.property('id');

describe('Transactions', () => {
it('should get all transactions', async () => {
it.skip('should get all transactions', async () => {
const response = await api.getTransactions();

@@ -32,0 +30,0 @@ response.should.have.property('items');

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