Make the changes you neec to support your new endpoint.
npm install @raydiant/api-client-jsMake 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
You can test out changes locally.
You need the typescript package if not already installed.
Via npmnpm install typescript --save-dev
Via yarnyarn add typescript --dev
Link in your updatesyarn link && yarn tsc -w
In your front end project link in your local api-client-js libraryyarn link "@raydiant/api-client-js”
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