Skip to content

Commit

Permalink
Add sample to sdk client (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-zijdemans-vipps authored Oct 1, 2024
1 parent 1048a32 commit 828c90e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ export type * from "./types_external.ts";
*
* @param options - The client configuration options.
* @returns {SDKClient} The SDK client.
* @returns {SDKClient} The SDK client.
*
* @example Usage
* ```ts
* const client = Client({
* merchantSerialNumber = "123456",
* subscriptionKey = "94g4f68f3ddb20a0b1j23319b854381m",
* useTestMode: true,
* retryRequests: true,
* });
* ```
*/
export const Client = (options: ClientConfig): SDKClient => {
// Create the base client
Expand Down

0 comments on commit 828c90e

Please sign in to comment.