# Updating

Make the changes you neec to support your new endpoint.

You will also have to make changes to

- ApiClient.ts
- urls.ts
- index.ts

Update the version number in package.json

# Local Testing

You can test out changes locally.

You need the [typescript](https://www.typescriptlang.org/id/download) package if not already installed.

Via npm
`npm install typescript --save-dev`

Via yarn
`yarn add typescript --dev`

Link in your updates
`yarn link && yarn tsc -w`

In your front end project link in your local api-client-js library
`yarn link "@raydiant/api-client-js”`

# Setup (deprecated)

Download `mirainc_raydiant-api-client-js.aes` file from Codeship

Codeship -> Projects -> mirainc/raydiant-api-client-js -> Project Settings -> General -> AES Key -> Download

and move the `mirainc_raydiant-api-client-js.aes` to the root folder
