0.0.6 • Published 4 years ago

@flywire/flywire-js v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

flywire-js ·

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.

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4-0

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.1-7

4 years ago

0.0.1-6

4 years ago

0.0.1-5

4 years ago

0.0.1-4

4 years ago

0.0.1-3

4 years ago

0.0.1-2

4 years ago

0.0.2-0

4 years ago

0.1.0-0

4 years ago