From 63e214cc49b2abbba7d210f9e021215081a5d6e4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 13 Mar 2024 18:15:01 -0400 Subject: [PATCH] feat: add setAuthToken --- src/sdk.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sdk.ts b/src/sdk.ts index 3a63f06..1f69bc1 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -18,4 +18,8 @@ export class Sdk { } return this.accountApi!; } + + public setAuthToken(token: string) { + this.account().jwtToken = token; + } }