expo-tiddlywiki-filesystem-android-external-storage 2.2.14 → 2.2.15
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.
|
@@ -682,10 +682,10 @@ internal object GitHelper {
|
|
|
682
682
|
for (key in headerObj.keys()) {
|
|
683
683
|
headerMap[key] = headerObj.getString(key)
|
|
684
684
|
}
|
|
685
|
-
// JGit supports custom transport configuration
|
|
685
|
+
// JGit supports custom transport configuration via TransportHttp
|
|
686
686
|
pushCommand.setTransportConfigCallback { transport ->
|
|
687
|
-
if (transport is org.eclipse.jgit.transport.
|
|
688
|
-
transport.
|
|
687
|
+
if (transport is org.eclipse.jgit.transport.TransportHttp) {
|
|
688
|
+
transport.setAdditionalHeaders(headerMap)
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
} catch (e: Exception) {
|
|
@@ -750,8 +750,8 @@ internal object GitHelper {
|
|
|
750
750
|
headerMap[key] = headerObj.getString(key)
|
|
751
751
|
}
|
|
752
752
|
fetchCommand.setTransportConfigCallback { transport ->
|
|
753
|
-
if (transport is org.eclipse.jgit.transport.
|
|
754
|
-
transport.
|
|
753
|
+
if (transport is org.eclipse.jgit.transport.TransportHttp) {
|
|
754
|
+
transport.setAdditionalHeaders(headerMap)
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
} catch (e: Exception) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-tiddlywiki-filesystem-android-external-storage",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
4
4
|
"description": "Expo native module for TidGi-Mobile: filesystem I/O + TiddlyWiki .tid/.meta/.json batch parsing + git status in Kotlin (Android) and Swift (iOS)",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|