Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNi245 committed Nov 15, 2024
1 parent af34916 commit e103fd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/js-sdk/src/Dm3Sdk.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ethers } from 'ethers';
import { Dm3Sdk, Dm3SdkConfig } from './Dm3Sdk';
import { StorageAPI } from '@dm3-org/dm3-lib-storage';

describe('Dm3Sdk', () => {
let upController: ethers.Signer;
Expand All @@ -22,11 +23,12 @@ describe('Dm3Sdk', () => {
userEnsSubdomain: 'user.test',
resolverBackendUrl: 'resolver.io',
backendUrl: 'backend.io',
storageApi: {} as StorageAPI,
};

const dm3 = await new Dm3Sdk().universalProfileLogin();
await dm3.conversations.addConversation('karl.eth');
const c = dm3.conversations.list;
const karl = c[0];
// const dm3 = await new Dm3Sdk().universalProfileLogin();
// await dm3.conversations.addConversation('karl.eth');
// const c = dm3.conversations.list;
// const karl = c[0];
});
});
1 change: 1 addition & 0 deletions packages/js-sdk/src/Dm3Sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function getIdForAddress(address: string, addrEnsSubdomain: string) {

export interface Dm3SdkConfig {
mainnetProvider: ethers.providers.JsonRpcProvider;
storageApi: StorageAPI;
nonce: string;
defaultDeliveryService: string;
addressEnsSubdomain: string;
Expand Down

0 comments on commit e103fd3

Please sign in to comment.