react-native-cloud-sync 0.5.0 → 0.5.2
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.
- package/README.md +62 -93
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -17,12 +17,18 @@
|
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
<p align="center">
|
|
20
|
-
<a href="https://kesha-antonov.
|
|
21
|
-
<a href="https://kesha-antonov.
|
|
22
|
-
<a href="https://kesha-antonov.
|
|
23
|
-
<a href="https://kesha-antonov.
|
|
20
|
+
<a href="https://kesha-antonov.com/react-native-cloud-sync/">Documentation</a> ·
|
|
21
|
+
<a href="https://kesha-antonov.com/react-native-cloud-sync/comparison">Comparison</a> ·
|
|
22
|
+
<a href="https://kesha-antonov.com/react-native-cloud-sync/api">API</a> ·
|
|
23
|
+
<a href="https://kesha-antonov.com/react-native-cloud-sync/platform-notes">Platform Notes</a>
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
|
+
<!-- author:start -->
|
|
27
|
+
<p align="center">
|
|
28
|
+
<sub>Built and maintained by <a href="https://kesha-antonov.com">Kesha Antonov</a>, React Native lead engineer, <a href="https://kesha-antonov.com/react-native-developer">available for hire</a>. More libraries, apps and case studies on <a href="https://kesha-antonov.com">kesha-antonov.com</a>.</sub>
|
|
29
|
+
</p>
|
|
30
|
+
<!-- author:end -->
|
|
31
|
+
|
|
26
32
|
<p align="center">
|
|
27
33
|
<img src="assets/sync-demo.gif" width="760" alt="A book saved on an iPhone syncs through iCloud to an iPad and a Mac and through Google Drive to an Android phone and the web, then un-saved on Android it syncs back everywhere" />
|
|
28
34
|
</p>
|
|
@@ -42,72 +48,37 @@
|
|
|
42
48
|
<a href="https://getstream.io/chat/sdk/react-native/?utm_source=github&utm_medium=sponsor&utm_campaign=keshaantonov&utm_term=react-native-cloud-sync"><strong>Stream</strong></a> - React Native Chat SDK
|
|
43
49
|
</p>
|
|
44
50
|
|
|
45
|
-
<hr />
|
|
46
|
-
|
|
47
|
-
<table align="center">
|
|
48
|
-
<tr>
|
|
49
|
-
<td align="center" valign="top" width="190">
|
|
50
|
-
<a href="https://cryptoc-app.web.app/"><img src="https://cryptoc-app.web.app/img/icon.png?v=3" width="76" height="76" alt="cryptoc app icon" /></a>
|
|
51
|
-
<br /><br />
|
|
52
|
-
<img src="https://cryptoc-app.web.app/img/qr-get.png?v=2" width="124" height="124" alt="QR code that installs cryptoc" />
|
|
53
|
-
<br />
|
|
54
|
-
<sub>Scan to install</sub>
|
|
55
|
-
<br /><br />
|
|
56
|
-
<!-- App Store button hidden for now
|
|
57
|
-
<a href="https://apps.apple.com/app/cryptoc/id1333169178"><img height="40" src="https://cryptoc-app.web.app/img/appstore.svg?v=2" alt="Download on the App Store" /></a>
|
|
58
|
-
<br />
|
|
59
|
-
-->
|
|
60
|
-
<a href="https://play.google.com/store/apps/details?id=co.ssoul.CryptoC"><img height="59" src="https://cryptoc-app.web.app/img/googleplay.png?v=2" alt="Get it on Google Play" /></a>
|
|
61
|
-
</td>
|
|
62
|
-
<td valign="top">
|
|
63
|
-
|
|
64
|
-
### Support my work
|
|
65
|
-
|
|
66
|
-
**[cryptoc](https://cryptoc-app.web.app/)** - my crypto portfolio app. Your coins on the home screen, lock screen and watch face. iPhone, iPad, Mac, Apple Watch, Android, Android tablet and Wear OS.
|
|
67
|
-
|
|
68
|
-
- Portfolio with average buy price and 24h / 180-day / all-time P&L
|
|
69
|
-
- Widgets in three sizes, refreshed in the background - most days you never open the app
|
|
70
|
-
- Price alerts on 5,000+ coins, delivered while the app is closed
|
|
71
|
-
- **No account, no email, no exchange API keys, no ads.** Your holdings never reach a server - they sync through your own iCloud or Google Drive
|
|
72
|
-
- Free for 3 holdings, and that is not a trial timer
|
|
73
|
-
|
|
74
|
-
<sub>This is the app the library was built for. Downloading it pays for the time that goes into maintaining it.</sub>
|
|
75
|
-
|
|
76
|
-
</td>
|
|
77
|
-
</tr>
|
|
78
|
-
</table>
|
|
79
|
-
|
|
80
51
|
<hr />
|
|
81
52
|
<!-- cryptoc-promo:end -->
|
|
82
53
|
|
|
83
54
|
## ✨ Features
|
|
84
55
|
|
|
85
|
-
- ☁️ Four providers
|
|
86
|
-
- 🔄
|
|
87
|
-
- 🍏 CloudKit
|
|
88
|
-
- 📂 `icloudDocuments` writes
|
|
89
|
-
- 🚨 Every failure is a typed rejection (`ERR_NOT_SIGNED_IN`, `ERR_QUOTA_EXCEEDED`, `ERR_RATE_LIMITED` with `retryAfterMs`, ...)
|
|
90
|
-
- 👤 All five [`CKAccountStatus`][ckstatus] values
|
|
91
|
-
- 🔔 `onRemoteChange`
|
|
92
|
-
- 📦
|
|
93
|
-
- 🔁
|
|
94
|
-
- 🧺 `multiGet`/`multiSet`/`multiRemove`/`clear`
|
|
95
|
-
- 🪝
|
|
96
|
-
- 🔐 `cloudKitEncrypted` uses CloudKit
|
|
97
|
-
- 🧪
|
|
98
|
-
- ⚙️ React Native 0.71
|
|
56
|
+
- ☁️ Four providers, one API: [`NSUbiquitousKeyValueStore`][kvs] (iCloud key-value store), [CloudKit][ck] records, [iCloud Drive][icdrive] documents and Google Drive [`appDataFolder`][appdata]. Use each directly or through one facade.
|
|
57
|
+
- 🔄 Two-way sync between iOS and Android: `mirror` writes to iCloud and Drive together, `resolve` reads whichever copy is newest.
|
|
58
|
+
- 🍏 CloudKit on Android and web via [CloudKit Web Services][ckws], against the same [private database][ckdb] as iOS.
|
|
59
|
+
- 📂 `icloudDocuments` writes to the user's iCloud Drive, visible in Files.app.
|
|
60
|
+
- 🚨 Every failure is a typed rejection (`ERR_NOT_SIGNED_IN`, `ERR_QUOTA_EXCEEDED`, `ERR_RATE_LIMITED` with `retryAfterMs`, ...). `null` only means "key doesn't exist".
|
|
61
|
+
- 👤 All five [`CKAccountStatus`][ckstatus] values, plus `onAccountChange` with `identityChanged`, which drops the previous account's caches and queued writes.
|
|
62
|
+
- 🔔 `onRemoteChange` on every provider and the facade, Google Drive included (via its change cursor).
|
|
63
|
+
- 📦 Size tiering: small values go to the key-value store, larger ones to a [`CKRecord`][ckrecord] field, binary to a [`CKAsset`][ckasset] or a resumable Drive upload.
|
|
64
|
+
- 🔁 Durable, bounded outbox for retryable failures: backoff honours retry hints, drains on foreground, never overwrites a newer write.
|
|
65
|
+
- 🧺 Real batching: `multiGet`/`multiSet`/`multiRemove`/`clear` send one request per provider.
|
|
66
|
+
- 🪝 Hooks from `/hooks`: `useCloudItem`, `useCloudItems`, `useCloudCollection`, `useAccountStatus`, `usePendingWrites`. Stale responses are dropped, no `setState` after unmount.
|
|
67
|
+
- 🔐 `cloudKitEncrypted` uses CloudKit `encryptedValues`, so only ciphertext leaves the device. Other providers take a `codec` for your own cipher.
|
|
68
|
+
- 🧪 Exported in-memory provider with fault injection and a native mock (`/testing`, `/jest-mock`): test every failure path in Jest.
|
|
69
|
+
- ⚙️ React Native 0.71 to 0.86+, old and new architecture.
|
|
99
70
|
|
|
100
71
|
## 💡 Why?
|
|
101
72
|
|
|
102
|
-
|
|
73
|
+
Existing React Native cloud storage libraries each wrap one provider and repeat the same defects. Two ship a `setItem` that **reports a failed write as success** (one checks the wrong error variable, the other ignores the result). A third flattens five iCloud account states into one boolean.
|
|
103
74
|
|
|
104
|
-
A `catch { return null }` makes "not signed in", "offline", "out of storage" and "no such key"
|
|
75
|
+
A `catch { return null }` makes "not signed in", "offline", "out of storage" and "no such key" look the same, so the app can't tell the user what happened or decide whether to retry.
|
|
105
76
|
|
|
106
|
-
This library
|
|
77
|
+
This library starts from the error contract; providers come second.
|
|
107
78
|
|
|
108
79
|
## 📚 Upstream documentation
|
|
109
80
|
|
|
110
|
-
This package is a wrapper. When something behaves unexpectedly,
|
|
81
|
+
This package is a wrapper. When something behaves unexpectedly, check Apple's or Google's docs.
|
|
111
82
|
|
|
112
83
|
**Apple**
|
|
113
84
|
|
|
@@ -185,7 +156,7 @@ This package is a wrapper. When something behaves unexpectedly, the answer is us
|
|
|
185
156
|
<a id="note-6"></a>**[6]** Field type is `string | number | null`, so it can't hold binary data.
|
|
186
157
|
<a id="note-7"></a>**[7]** A mock factory exists, but isn't exported or documented.
|
|
187
158
|
<a id="note-8"></a>**[8]** No commits since April; the last four releases shipped with Swift that didn't compile.
|
|
188
|
-
<a id="note-9"></a>**[9]** `CKAsset` on Apple platforms; CloudKit Web Services' upload-token protocol on Android/web, capped at 15 MB by CloudKit. Use [`googleDriveFiles`](https://kesha-antonov.
|
|
159
|
+
<a id="note-9"></a>**[9]** `CKAsset` on Apple platforms; CloudKit Web Services' upload-token protocol on Android/web, capped at 15 MB by CloudKit. Use [`googleDriveFiles`](https://kesha-antonov.com/react-native-cloud-sync/providers/google-drive#large-files) for anything bigger; it chunks and resumes the same way.
|
|
189
160
|
|
|
190
161
|
[kuatsu]: https://github.com/kuatsu/react-native-cloud-storage
|
|
191
162
|
[ik]: https://github.com/BogdanGeorgian91/react-native-icloud-kit
|
|
@@ -197,20 +168,20 @@ This package is a wrapper. When something behaves unexpectedly, the answer is us
|
|
|
197
168
|
|
|
198
169
|
| | |
|
|
199
170
|
|---|---|
|
|
200
|
-
| [Choosing a provider](https://kesha-antonov.
|
|
201
|
-
| [iCloud key-value store](https://kesha-antonov.
|
|
202
|
-
| [CloudKit](https://kesha-antonov.
|
|
203
|
-
| [iCloud Drive](https://kesha-antonov.
|
|
204
|
-
| [Google Drive](https://kesha-antonov.
|
|
205
|
-
| [The store facade](https://kesha-antonov.
|
|
206
|
-
| [Error handling](https://kesha-antonov.
|
|
207
|
-
| [Encryption](https://kesha-antonov.
|
|
208
|
-
| [React hooks](https://kesha-antonov.
|
|
209
|
-
| [Recipes](https://kesha-antonov.
|
|
210
|
-
| [Testing](https://kesha-antonov.
|
|
211
|
-
| [API reference](https://kesha-antonov.
|
|
212
|
-
| [Platform notes](https://kesha-antonov.
|
|
213
|
-
| [Troubleshooting](https://kesha-antonov.
|
|
171
|
+
| [Choosing a provider](https://kesha-antonov.com/react-native-cloud-sync/choosing-a-provider) | Which one, what it costs, why to let the user pick |
|
|
172
|
+
| [iCloud key-value store](https://kesha-antonov.com/react-native-cloud-sync/providers/icloud-kv) | Small settings, zero friction, Apple only |
|
|
173
|
+
| [CloudKit](https://kesha-antonov.com/react-native-cloud-sync/providers/cloudkit) | Records, zones, assets, and the Android/web path |
|
|
174
|
+
| [iCloud Drive](https://kesha-antonov.com/react-native-cloud-sync/providers/icloud-drive) | Files in the user's own Drive, visible in Files.app |
|
|
175
|
+
| [Google Drive](https://kesha-antonov.com/react-native-cloud-sync/providers/google-drive) | The always-on cross-platform backend |
|
|
176
|
+
| [The store facade](https://kesha-antonov.com/react-native-cloud-sync/store) | Tiering, outbox, migration, fallthrough |
|
|
177
|
+
| [Error handling](https://kesha-antonov.com/react-native-cloud-sync/errors) | The typed contract |
|
|
178
|
+
| [Encryption](https://kesha-antonov.com/react-native-cloud-sync/encryption) | What's encrypted for you, and how to add your own |
|
|
179
|
+
| [React hooks](https://kesha-antonov.com/react-native-cloud-sync/hooks) | Binding cloud state to components |
|
|
180
|
+
| [Recipes](https://kesha-antonov.com/react-native-cloud-sync/recipes) | Backup/restore, migration, offline-first |
|
|
181
|
+
| [Testing](https://kesha-antonov.com/react-native-cloud-sync/testing) | Fault injection without a device |
|
|
182
|
+
| [API reference](https://kesha-antonov.com/react-native-cloud-sync/api) | Every export |
|
|
183
|
+
| [Platform notes](https://kesha-antonov.com/react-native-cloud-sync/platform-notes) | Entitlements, architectures, build config |
|
|
184
|
+
| [Troubleshooting](https://kesha-antonov.com/react-native-cloud-sync/troubleshooting) | Common problems and what they usually mean |
|
|
214
185
|
|
|
215
186
|
## 📋 Requirements
|
|
216
187
|
|
|
@@ -220,7 +191,7 @@ This package is a wrapper. When something behaves unexpectedly, the answer is us
|
|
|
220
191
|
| iOS | 15.1 |
|
|
221
192
|
| Node | 20 |
|
|
222
193
|
|
|
223
|
-
Both architectures supported
|
|
194
|
+
Both architectures are supported. RN 0.82 removed the Legacy Architecture, so it only matters on 0.81 and below.
|
|
224
195
|
|
|
225
196
|
### Platform support per provider
|
|
226
197
|
|
|
@@ -232,7 +203,7 @@ Both architectures supported; RN 0.82 removed Legacy Architecture, so that half
|
|
|
232
203
|
| `icloudDocuments` | native | - | - |
|
|
233
204
|
| `googleDrive` | REST | REST | REST |
|
|
234
205
|
|
|
235
|
-
An unavailable provider rejects with `ERR_UNSUPPORTED_PLATFORM
|
|
206
|
+
An unavailable provider rejects with `ERR_UNSUPPORTED_PLATFORM`; it never silently does nothing. Trade-offs: [Choosing a provider](https://kesha-antonov.com/react-native-cloud-sync/choosing-a-provider).
|
|
236
207
|
|
|
237
208
|
## 📦 Installation
|
|
238
209
|
|
|
@@ -254,13 +225,13 @@ Add the config plugin, then rebuild:
|
|
|
254
225
|
}
|
|
255
226
|
```
|
|
256
227
|
|
|
257
|
-
Bare React Native and manual `ios/`
|
|
228
|
+
Bare React Native and manual `ios/` entitlements: see [Installation](https://kesha-antonov.com/react-native-cloud-sync/installation).
|
|
258
229
|
|
|
259
230
|
## 🚀 Quick start
|
|
260
231
|
|
|
261
232
|
### iCloud key-value store
|
|
262
233
|
|
|
263
|
-
No sign-in
|
|
234
|
+
No sign-in, no UI: it uses the device's iCloud account.
|
|
264
235
|
|
|
265
236
|
```ts
|
|
266
237
|
import { icloudKV } from 'react-native-cloud-sync'
|
|
@@ -272,11 +243,11 @@ const theme = await icloudKV.getItem('settings/theme')
|
|
|
272
243
|
icloudKV.onRemoteChange(({ keys }) => reload(keys))
|
|
273
244
|
```
|
|
274
245
|
|
|
275
|
-
[Full guide](https://kesha-antonov.
|
|
246
|
+
[Full guide](https://kesha-antonov.com/react-native-cloud-sync/providers/icloud-kv)
|
|
276
247
|
|
|
277
248
|
### CloudKit
|
|
278
249
|
|
|
279
|
-
|
|
250
|
+
One private database on iOS, Android and web.
|
|
280
251
|
|
|
281
252
|
```ts
|
|
282
253
|
import { cloudKit, cloudKitAssets } from 'react-native-cloud-sync'
|
|
@@ -288,11 +259,11 @@ const raw = await cloudKit.getItem('playlist')
|
|
|
288
259
|
await cloudKitAssets.save({ recordName: 'avatar', fieldName: 'image', fileUri })
|
|
289
260
|
```
|
|
290
261
|
|
|
291
|
-
Android
|
|
262
|
+
Android and web need an Apple ID sign-in whose token lasts up to two weeks: fine for an explicit import, not for background sync. [Full guide](https://kesha-antonov.com/react-native-cloud-sync/providers/cloudkit)
|
|
292
263
|
|
|
293
264
|
### Sensitive data
|
|
294
265
|
|
|
295
|
-
CloudKit
|
|
266
|
+
CloudKit end-to-end encryption: Apple stores ciphertext and holds no key.
|
|
296
267
|
|
|
297
268
|
```ts
|
|
298
269
|
import { cloudKitEncrypted } from 'react-native-cloud-sync'
|
|
@@ -300,7 +271,7 @@ import { cloudKitEncrypted } from 'react-native-cloud-sync'
|
|
|
300
271
|
await cloudKitEncrypted.setItem('auth.refreshToken', token)
|
|
301
272
|
```
|
|
302
273
|
|
|
303
|
-
Apple
|
|
274
|
+
Apple only: the key lives in the user's iCloud Keychain. For cross-platform encryption use the store's `codec`. [Full guide](https://kesha-antonov.com/react-native-cloud-sync/encryption)
|
|
304
275
|
|
|
305
276
|
### iCloud Drive
|
|
306
277
|
|
|
@@ -315,11 +286,11 @@ await icloudDocuments.save({ fileUri: localPath, name: 'Export 2024.csv' })
|
|
|
315
286
|
const path = await icloudDocuments.fetch({ name: 'Export 2024.csv' })
|
|
316
287
|
```
|
|
317
288
|
|
|
318
|
-
[Full guide](https://kesha-antonov.
|
|
289
|
+
[Full guide](https://kesha-antonov.com/react-native-cloud-sync/providers/icloud-drive)
|
|
319
290
|
|
|
320
291
|
### Google Drive
|
|
321
292
|
|
|
322
|
-
|
|
293
|
+
Same behaviour on every platform, no periodic re-auth.
|
|
323
294
|
|
|
324
295
|
```ts
|
|
325
296
|
import { configureGoogleDrive, googleDrive } from 'react-native-cloud-sync'
|
|
@@ -331,7 +302,7 @@ configureGoogleDrive({
|
|
|
331
302
|
await googleDrive.setItem('playlist.json', JSON.stringify(tracks))
|
|
332
303
|
```
|
|
333
304
|
|
|
334
|
-
[Full guide](https://kesha-antonov.
|
|
305
|
+
[Full guide](https://kesha-antonov.com/react-native-cloud-sync/providers/google-drive)
|
|
335
306
|
|
|
336
307
|
### All of them at once
|
|
337
308
|
|
|
@@ -340,7 +311,7 @@ import { createCloudStore } from 'react-native-cloud-sync'
|
|
|
340
311
|
|
|
341
312
|
const store = createCloudStore({
|
|
342
313
|
providers: ['icloudKV', 'googleDrive'], // preference order
|
|
343
|
-
writeMode: 'mirror', // write to
|
|
314
|
+
writeMode: 'mirror', // write to every provider, not only the first
|
|
344
315
|
resolve: resolveByTimestamp('updatedAt'), // read whichever copy is newest
|
|
345
316
|
tiering: 'auto', // route by size
|
|
346
317
|
outboxStorage: mmkvAdapter, // survive restarts
|
|
@@ -350,7 +321,7 @@ await store.setItem('playlist', json)
|
|
|
350
321
|
await store.flushOutbox() // on reconnect
|
|
351
322
|
```
|
|
352
323
|
|
|
353
|
-
|
|
324
|
+
`mirror` copies writes to Drive so non-Apple devices can read them. `resolve` keeps an Apple device from serving a stale iCloud copy. Together they sync **both** ways across a mixed fleet. [Full guide](https://kesha-antonov.com/react-native-cloud-sync/store)
|
|
354
325
|
|
|
355
326
|
### In a component
|
|
356
327
|
|
|
@@ -360,7 +331,7 @@ import { useCloudItem } from 'react-native-cloud-sync/hooks'
|
|
|
360
331
|
const { value, setValue, loading, error } = useCloudItem<Settings>(store, 'settings')
|
|
361
332
|
```
|
|
362
333
|
|
|
363
|
-
Re-reads on remote writes, drops stale responses,
|
|
334
|
+
Re-reads on remote writes, drops stale responses, no `setState` after unmount. [Full guide](https://kesha-antonov.com/react-native-cloud-sync/hooks)
|
|
364
335
|
|
|
365
336
|
### Handling failures
|
|
366
337
|
|
|
@@ -375,7 +346,7 @@ try {
|
|
|
375
346
|
}
|
|
376
347
|
```
|
|
377
348
|
|
|
378
|
-
[Full guide](https://kesha-antonov.
|
|
349
|
+
[Full guide](https://kesha-antonov.com/react-native-cloud-sync/errors)
|
|
379
350
|
|
|
380
351
|
## 🧪 Testing
|
|
381
352
|
|
|
@@ -390,11 +361,11 @@ const provider = createMemoryProvider({
|
|
|
390
361
|
provider.emitAccountChange({ status: 'available', identityChanged: true })
|
|
391
362
|
```
|
|
392
363
|
|
|
393
|
-
|
|
364
|
+
Test signed-out, offline and account-switch paths in Jest, no device needed. [Full guide](https://kesha-antonov.com/react-native-cloud-sync/testing)
|
|
394
365
|
|
|
395
366
|
## 🧪 Example App
|
|
396
367
|
|
|
397
|
-
A playground
|
|
368
|
+
A playground for every API, plus a live sync demo for side-by-side recording:
|
|
398
369
|
|
|
399
370
|
```sh
|
|
400
371
|
cd example
|
|
@@ -410,14 +381,12 @@ Tabs: **Sync** (shared counter, one-tap mirror mode to iCloud+Drive), **iCloud K
|
|
|
410
381
|
|
|
411
382
|
## 🤝 Contributing
|
|
412
383
|
|
|
413
|
-
Issues and pull requests welcome. Run `yarn lint`, `yarn typecheck` and `yarn test`
|
|
384
|
+
Issues and pull requests welcome. Run `yarn lint`, `yarn typecheck` and `yarn test` first.
|
|
414
385
|
|
|
415
386
|
## 👥 Authors
|
|
416
387
|
|
|
417
388
|
- [Kesha Antonov](https://github.com/kesha-antonov)
|
|
418
389
|
|
|
419
|
-
I also build **[cryptoc](https://cryptoc-app.web.app/)** - a crypto portfolio app with home screen, lock screen and Watch widgets, no account and no exchange API keys. It is where this library came from.
|
|
420
|
-
|
|
421
390
|
## 📄 License
|
|
422
391
|
|
|
423
392
|
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-cloud-sync",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Sync React Native app data
|
|
3
|
+
"version": "0.5.2",
|
|
4
|
+
"description": "Sync React Native app data via iCloud key-value store, CloudKit, iCloud Drive and Google Drive with one API. Offline-first with retry, real-time updates, optional end-to-end encryption. iOS, Android, web; old and new architecture",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"example"
|
|
7
7
|
],
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"macos",
|
|
42
42
|
"mac-catalyst"
|
|
43
43
|
],
|
|
44
|
-
"homepage": "https://
|
|
44
|
+
"homepage": "https://kesha-antonov.com/react-native-cloud-sync/",
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
47
47
|
"url": "git+https://github.com/kesha-antonov/react-native-cloud-sync.git"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"url": "https://github.com/kesha-antonov/react-native-cloud-sync/issues"
|
|
51
51
|
},
|
|
52
52
|
"license": "MIT",
|
|
53
|
-
"author": "Kesha Antonov <
|
|
53
|
+
"author": "Kesha Antonov <keshagoodvibes@gmail.com> (https://kesha-antonov.com)",
|
|
54
54
|
"packageManager": "yarn@4.18.0",
|
|
55
55
|
"source": "./src/index.ts",
|
|
56
56
|
"main": "./lib/commonjs/index.js",
|