Skip to content

Commit

Permalink
feat: add env to boson xmt client (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum authored Nov 8, 2022
1 parent 6dc6ba6 commit 9123526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class BosonXmtpClient extends XmtpClient {
envName: string
): Promise<BosonXmtpClient> {
const client: Client = await Client.create(signer, {
env: xmtpEnvName,
codecs: [new TextCodec(), new BosonCodec(envName)]
});

Expand Down

0 comments on commit 9123526

Please sign in to comment.