theta-client-react-native 1.15.0 → 1.16.0
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/android/build.gradle +2 -2
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +4 -0
- package/lib/typescript/theta-repository/options/options.d.ts +2 -2
- package/package.json +1 -1
- package/src/theta-repository/options/options.ts +2 -2
- package/theta-client-react-native.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -67,8 +67,8 @@ dependencies {
|
|
|
67
67
|
// noinspection GradleDynamicVersion
|
|
68
68
|
implementation "com.facebook.react:react-native:+"
|
|
69
69
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
70
|
-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.
|
|
71
|
-
implementation "com.ricoh360.thetaclient:theta-client:1.
|
|
70
|
+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0"
|
|
71
|
+
implementation "com.ricoh360.thetaclient:theta-client:1.16.0"
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
react {
|
|
@@ -590,6 +590,10 @@ fun <T> addOptionsValueToMap(options: Options, name: OptionNameEnum, objects: Wr
|
|
|
590
590
|
objects.putInt(key, value)
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
+
is Boolean -> {
|
|
594
|
+
objects.putBoolean(key, value)
|
|
595
|
+
}
|
|
596
|
+
|
|
593
597
|
is Number -> {
|
|
594
598
|
objects.putDouble(key, value.toDouble())
|
|
595
599
|
}
|
|
@@ -600,7 +600,7 @@ export type Options = {
|
|
|
600
600
|
*/
|
|
601
601
|
offDelayUsb?: OffDelayUsbEnum;
|
|
602
602
|
/** Password used for digest authentication when _networkType is set to client mode. */
|
|
603
|
-
password?:
|
|
603
|
+
password?: string;
|
|
604
604
|
/** Power saving mode */
|
|
605
605
|
powerSaving?: PowerSavingEnum;
|
|
606
606
|
/** Preset mode */
|
|
@@ -644,7 +644,7 @@ export type Options = {
|
|
|
644
644
|
/** _usbConnection */
|
|
645
645
|
usbConnection?: UsbConnectionEnum;
|
|
646
646
|
/** User name used for digest authentication when _networkType is set to client mode. */
|
|
647
|
-
username?:
|
|
647
|
+
username?: string;
|
|
648
648
|
/** Video stitching during shooting. */
|
|
649
649
|
videoStitching?: VideoStitchingEnum;
|
|
650
650
|
/** Reduction visibility of camera body to still image when stitching. */
|
package/package.json
CHANGED
|
@@ -625,7 +625,7 @@ export type Options = {
|
|
|
625
625
|
*/
|
|
626
626
|
offDelayUsb?: OffDelayUsbEnum;
|
|
627
627
|
/** Password used for digest authentication when _networkType is set to client mode. */
|
|
628
|
-
password?:
|
|
628
|
+
password?: string;
|
|
629
629
|
/** Power saving mode */
|
|
630
630
|
powerSaving?: PowerSavingEnum;
|
|
631
631
|
/** Preset mode */
|
|
@@ -669,7 +669,7 @@ export type Options = {
|
|
|
669
669
|
/** _usbConnection */
|
|
670
670
|
usbConnection?: UsbConnectionEnum;
|
|
671
671
|
/** User name used for digest authentication when _networkType is set to client mode. */
|
|
672
|
-
username?:
|
|
672
|
+
username?: string;
|
|
673
673
|
/** Video stitching during shooting. */
|
|
674
674
|
videoStitching?: VideoStitchingEnum;
|
|
675
675
|
/** Reduction visibility of camera body to still image when stitching. */
|