1.1.3 • Published 3 months ago
fincode v1.1.3
From version 1.0.0, each function has the `onError` as a callback, doesn't throw the error anymore.
Install
yarn add fincode
Use
- Create
.env
file - Create
FINCODE_PK
andFINCODE_SK
in.env
file - Create
index.ts
and use this lines - Enjoy it <3
import { config } from 'dotenv';
config(); // config env
import { FincodeService } from "fincode";
const main = async () => {
FincodeService.i.config({
secretKey: process.env.FINCODE_SK,
publicKey: process.env.FINCODE_PK
});
const customerCreated = await FincodeService.i.postCustomers({
email: CUSTOMER_EMAIL,
name: CUSTOMER_NAME,
});
console.log(customerCreated);
}
main();
see
example/client-server/app
1.1.3
3 months ago
1.1.2
3 months ago
1.1.1
3 months ago
1.0.2
5 months ago
1.0.1
5 months ago
1.0.0
5 months ago
0.1.8
9 months ago
0.1.7
10 months ago
0.1.4
10 months ago
0.1.3
12 months ago
0.1.6
10 months ago
0.1.5
10 months ago
0.1.2
12 months ago
0.1.1
12 months ago
0.1.0
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago
0.0.1
12 months ago