ts-pismo-sdk
v1.0.2
Published
You can install the package via npm:
Readme
Installation
You can install the package via npm:
$ npm install ts-pismo-sdkSetting up your Pismo Credentials
Add your Pismo server_key, server_secret, account_id and url.
...
const PismoConfig: PismoConfigurationData = {
server_key: environment.SERVER_KEY,
server_secret: environment.SERVER_SECRET,
account_id: environment.ACCOUNT_ID,
url: environment.URL
}
PismoConfiguration.Init(PismoConfig);
...Usage
Now you can use PismoClient in your project:
const authorization: AuthDto = await PismoClient.createAuthToken();Testing
There is at least one test for every request, currently running with mocha.
$ npm run testPublishing
Change version number at package.json and then run:
$ npm run dist