Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr authored Nov 4, 2024
1 parent c5953a5 commit 530c5f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ npm install @filen/sync@latest
2. Initialize sync pairs

```typescript
import FilenSDK from "@filen/sdk"
import { FilenSDK } from "@filen/sdk"
import path from "path"
import os from "os"
import Sync from "@filen/sync"
import { SyncWorker } from "@filen/sync"

// Initialize a SDK instance (optional)
const filen = new FilenSDK({
Expand All @@ -40,7 +40,7 @@ await filen.login({
twoFactorCode: "123456"
})

const sync = new Sync({
const sync = new SyncWorker({
syncPairs: [
{
uuid: "UUIDV4", // Only used locally to identify the sync pair
Expand Down

0 comments on commit 530c5f7

Please sign in to comment.