@dittolive/ditto 4.5.3 → 4.5.4-alpha.1
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/DittoReactNative.podspec +1 -1
- package/README.md +2 -2
- package/node/ditto.cjs.js +1 -1
- package/node/ditto.darwin-arm64.node +0 -0
- package/node/ditto.darwin-x64.node +0 -0
- package/node/ditto.linux-arm.node +0 -0
- package/node/ditto.linux-x64.node +0 -0
- package/node/ditto.win32-x64.node +0 -0
- package/node/transports.darwin-arm64.node +0 -0
- package/node/transports.darwin-x64.node +0 -0
- package/package.json +8 -1
- package/react-native/android/.project +34 -0
- package/react-native/android/build.gradle +2 -2
- package/web/ditto.es6.js +1 -1
- package/web/ditto.umd.js +1 -1
- package/web/ditto.wasm +0 -0
- package/node/ditto.cjs.js.map +0 -1
- package/node/ditto.cjs.pretty.js +0 -9657
- package/node/ditto.cjs.pretty.js.map +0 -1
- package/types/ditto.d.ts.map +0 -1
- package/web/ditto.es6.js.map +0 -1
- package/web/ditto.es6.pretty.js +0 -12600
- package/web/ditto.es6.pretty.js.map +0 -1
- package/web/ditto.umd.js.map +0 -1
- package/web/ditto.umd.pretty.js +0 -12669
- package/web/ditto.umd.pretty.js.map +0 -1
package/DittoReactNative.podspec
CHANGED
|
@@ -20,6 +20,6 @@ Pod::Spec.new do |s|
|
|
|
20
20
|
s.public_header_files = 'react-native/dittoffi/dittoffi.h', 'react-native/dittoffi/ifaddrs.h'
|
|
21
21
|
|
|
22
22
|
s.dependency "React-Core"
|
|
23
|
-
s.dependency 'DittoReactNativeIOS',
|
|
23
|
+
s.dependency 'DittoReactNativeIOS', "~> #{package["version"]}"
|
|
24
24
|
|
|
25
25
|
end
|
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
_Ditto is a cross-platform SDK that allows mobile, web, and IoT apps to sync
|
|
4
4
|
with and even without connectivity._
|
|
5
5
|
|
|
6
|
-
Version: **4.5.
|
|
6
|
+
Version: **4.5.4-alpha.1**
|
|
7
7
|
|
|
8
8
|
For more information please visit [ditto.live](https://ditto.live), as well as the
|
|
9
|
-
[API Reference](https://software.ditto.live/js/Ditto/4.5.
|
|
9
|
+
[API Reference](https://software.ditto.live/js/Ditto/4.5.4-alpha.1/api-reference/) for this particular version.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
package/node/ditto.cjs.js
CHANGED
|
@@ -1787,7 +1787,7 @@ class AttachmentToken {
|
|
|
1787
1787
|
|
|
1788
1788
|
// NOTE: this is patched up with the actual build version by Jake task
|
|
1789
1789
|
// build:package and has to be a valid semantic version as defined here: https://semver.org.
|
|
1790
|
-
const fullBuildVersionString = '4.5.
|
|
1790
|
+
const fullBuildVersionString = '4.5.4-alpha.1';
|
|
1791
1791
|
|
|
1792
1792
|
//
|
|
1793
1793
|
// Copyright © 2021 DittoLive Incorporated. All rights reserved.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dittolive/ditto",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.4-alpha.1",
|
|
4
4
|
"description": "Ditto is a cross-platform embeddable NoSQL database that can sync with or without an internet connection.",
|
|
5
5
|
"homepage": "https://ditto.live",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
|
+
|
|
7
8
|
"author": {
|
|
8
9
|
"name": "DittoLive Incorporated.",
|
|
9
10
|
"email": "contact@ditto.live",
|
|
10
11
|
"url": "https://ditto.live"
|
|
11
12
|
},
|
|
13
|
+
|
|
12
14
|
"keywords": [
|
|
13
15
|
"ditto",
|
|
14
16
|
"dittolive",
|
|
@@ -19,12 +21,15 @@
|
|
|
19
21
|
"sync",
|
|
20
22
|
"p2p"
|
|
21
23
|
],
|
|
24
|
+
|
|
22
25
|
"engines": {
|
|
23
26
|
"node": ">=14"
|
|
24
27
|
},
|
|
28
|
+
|
|
25
29
|
"browserslist": [
|
|
26
30
|
"defaults"
|
|
27
31
|
],
|
|
32
|
+
|
|
28
33
|
"main": "node/ditto.cjs.js",
|
|
29
34
|
"browser": "web/ditto.es6.js",
|
|
30
35
|
"browser/umd": "web/ditto.umd.js",
|
|
@@ -34,12 +39,14 @@
|
|
|
34
39
|
"play:web": "npx serve --listen 5285",
|
|
35
40
|
"play:node": "node --experimental-repl-await --unhandled-rejections=strict playground.cjs"
|
|
36
41
|
},
|
|
42
|
+
|
|
37
43
|
"dependencies": {
|
|
38
44
|
"cbor-redux": "^1.0.0",
|
|
39
45
|
"@ungap/weakrefs": "^0.2.0",
|
|
40
46
|
"cbor-js": "^0.1.0",
|
|
41
47
|
"fastestsmallesttextencoderdecoder": "^1.0.22"
|
|
42
48
|
},
|
|
49
|
+
|
|
43
50
|
"devDependencies": {
|
|
44
51
|
"serve": "^14.2.0"
|
|
45
52
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>dittolive_ditto</name>
|
|
4
|
+
<comment>Project dittolive_ditto created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
<buildCommand>
|
|
14
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
15
|
+
<arguments>
|
|
16
|
+
</arguments>
|
|
17
|
+
</buildCommand>
|
|
18
|
+
</buildSpec>
|
|
19
|
+
<natures>
|
|
20
|
+
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
22
|
+
</natures>
|
|
23
|
+
<filteredResources>
|
|
24
|
+
<filter>
|
|
25
|
+
<id>1708460510678</id>
|
|
26
|
+
<name></name>
|
|
27
|
+
<type>30</type>
|
|
28
|
+
<matcher>
|
|
29
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
+
</matcher>
|
|
32
|
+
</filter>
|
|
33
|
+
</filteredResources>
|
|
34
|
+
</projectDescription>
|
|
@@ -153,7 +153,7 @@ dependencies {
|
|
|
153
153
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
154
154
|
//noinspection GradleDynamicVersion
|
|
155
155
|
implementation "com.facebook.react:react-native:+"
|
|
156
|
-
implementation "live.ditto:ditto:4.5.
|
|
156
|
+
implementation "live.ditto:ditto:4.5.4-alpha.1"
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
if (isNewArchitectureEnabled()) {
|
|
@@ -169,7 +169,7 @@ task downloadBinaries {
|
|
|
169
169
|
def defaultArchitectures = ['arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64']
|
|
170
170
|
|
|
171
171
|
defaultArchitectures.each { arch ->
|
|
172
|
-
def fileUrl = "https://software.ditto.live/react-native/ditto/4.5.
|
|
172
|
+
def fileUrl = "https://software.ditto.live/react-native/ditto/4.5.4-alpha.1/android/${arch}/libdittoffi.a"
|
|
173
173
|
|
|
174
174
|
new File("${project.projectDir}/../dittoffi/android/${arch}").mkdirs()
|
|
175
175
|
def localFilePath = "${project.projectDir}/../dittoffi/android/${arch}/libdittoffi.a"
|