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.
@@ -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.7.3"
71
- implementation "com.ricoh360.thetaclient:theta-client:1.15.0"
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?: String;
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?: String;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theta-client-react-native",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "This library provides a way to control RICOH THETA using.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -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?: String;
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?: String;
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. */
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
17
17
 
18
- s.dependency "THETAClient", "1.15.0"
18
+ s.dependency "THETAClient", "1.16.0"
19
19
 
20
20
  install_modules_dependencies(s)
21
21
  end