@filen/sync 0.1.74 → 0.1.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -22,10 +22,10 @@ npm install @filen/sync@latest
22
22
  2. Initialize sync pairs
23
23
 
24
24
  ```typescript
25
- import FilenSDK from "@filen/sdk"
25
+ import { FilenSDK } from "@filen/sdk"
26
26
  import path from "path"
27
27
  import os from "os"
28
- import Sync from "@filen/sync"
28
+ import { SyncWorker } from "@filen/sync"
29
29
 
30
30
  // Initialize a SDK instance (optional)
31
31
  const filen = new FilenSDK({
@@ -40,7 +40,7 @@ await filen.login({
40
40
  twoFactorCode: "123456"
41
41
  })
42
42
 
43
- const sync = new Sync({
43
+ const sync = new SyncWorker({
44
44
  syncPairs: [
45
45
  {
46
46
  uuid: "UUIDV4", // Only used locally to identify the sync pair
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filen/sync",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "Filen Sync",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "wait-on": "^7.2.0"
55
55
  },
56
56
  "dependencies": {
57
- "@filen/sdk": "^0.1.170",
57
+ "@filen/sdk": "^0.1.175",
58
58
  "@parcel/watcher": "^2.4.1",
59
59
  "fast-glob": "^3.3.2",
60
60
  "fs-extra": "^11.2.0",