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

@flywire/flywire-js

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flywire/flywire-js

Flywire JavaScript client

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

flywire-js · Version Size

Flywire JavaScript client.

Installation

Add the dependency to your package.json:

npm i @flywire/flywire-js

Usage

import Flywire from '@flywire/flywire-js';

const flywire = Flywire({ token: 'TOKEN' });
flywire.country.findAll();

Config

KeyDescription
tokenClient token provided by Flywire. Default = null
mockEnable mock mode. Default = false
Mock mode

The mock mode returns fake data and does not query the API. It works in node and browser, but a service worker is needed in the last case:

npx msw init <PUBLIC_DIR>

Create a new release

To create a new release, make all the changes that you need and commit them, then execute:

npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]

For example:

npm version patch

This will bump the package.json version, build a new bundle, commit, push the changes tagging them to a new release and update the documentation.

Then create a PR and request the review from other project commiters. Once accepted and merged to master, execute npm publish from master branch.

Keywords

FAQs

Package last updated on 01 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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