@doorstepai/dropoff-sdk 2.0.9 → 2.1.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.
Files changed (36) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +12 -0
  3. package/ios/DoorstepAI.mm +5 -1
  4. package/ios/DoorstepAI.swift +13 -2
  5. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  6. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +489 -463
  7. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -12
  8. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +2 -12
  10. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +10 -10
  11. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  12. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2593 -2478
  13. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  14. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +489 -463
  15. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -12
  16. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -12
  18. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +489 -463
  19. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -12
  20. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -12
  22. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +20 -20
  23. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  24. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2593 -2478
  25. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2581 -2470
  26. package/lib/module/DoorstepAI.js +16 -2
  27. package/lib/module/DoorstepAI.js.map +1 -1
  28. package/lib/module/RootDoorstepAI.js +10 -1
  29. package/lib/module/RootDoorstepAI.js.map +1 -1
  30. package/lib/typescript/src/DoorstepAI.d.ts +7 -1
  31. package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
  32. package/lib/typescript/src/RootDoorstepAI.d.ts +3 -0
  33. package/lib/typescript/src/RootDoorstepAI.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/DoorstepAI.tsx +19 -2
  36. package/src/RootDoorstepAI.tsx +18 -1
@@ -126,21 +126,11 @@ public enum DropoffType : Swift.String, Swift.Codable {
126
126
  public static let configDidFailToLoadNotification: Foundation.Notification.Name
127
127
  public static let geofenceSessionStartedNotification: Foundation.Notification.Name
128
128
  public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
129
+ public static let sessionServerIdAssignedNotification: Foundation.Notification.Name
129
130
  public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
130
131
  public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
131
- public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = false)
132
+ public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = true)
132
133
  public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
133
- public static func setConfigOverride(patchJson: Swift.String?, enabled: Swift.Bool) throws
134
- public static func isConfigOverrideEnabled() -> Swift.Bool
135
- public static func getConfigOverridePatch() -> Swift.String?
136
- public static func getEffectiveConfigJson() -> Swift.String
137
- public static func refreshConfig()
138
- public static func setLiveMonitorEnabled(_ enabled: Swift.Bool)
139
- public static func isLiveMonitorEnabled() -> Swift.Bool
140
- public static func getLiveStream(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveStreamSnapshot
141
- public static func getLiveDevices(_ stream: Swift.String) -> [DoorstepDropoffSDK.LiveDeviceEntry]
142
- public static func getLiveAxis(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveAxisSnapshot?
143
- public static func getLiveTrack() -> [DoorstepDropoffSDK.LiveLatLng]
144
134
  public static func enableDevMode(apiKey: Swift.String) async
145
135
  public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
146
136
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
@@ -126,21 +126,11 @@ public enum DropoffType : Swift.String, Swift.Codable {
126
126
  public static let configDidFailToLoadNotification: Foundation.Notification.Name
127
127
  public static let geofenceSessionStartedNotification: Foundation.Notification.Name
128
128
  public static let geofenceSessionStoppedNotification: Foundation.Notification.Name
129
+ public static let sessionServerIdAssignedNotification: Foundation.Notification.Name
129
130
  public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
130
131
  public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
131
- public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = false)
132
+ public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true, requestBluetooth: Swift.Bool = true)
132
133
  public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
133
- public static func setConfigOverride(patchJson: Swift.String?, enabled: Swift.Bool) throws
134
- public static func isConfigOverrideEnabled() -> Swift.Bool
135
- public static func getConfigOverridePatch() -> Swift.String?
136
- public static func getEffectiveConfigJson() -> Swift.String
137
- public static func refreshConfig()
138
- public static func setLiveMonitorEnabled(_ enabled: Swift.Bool)
139
- public static func isLiveMonitorEnabled() -> Swift.Bool
140
- public static func getLiveStream(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveStreamSnapshot
141
- public static func getLiveDevices(_ stream: Swift.String) -> [DoorstepDropoffSDK.LiveDeviceEntry]
142
- public static func getLiveAxis(_ stream: Swift.String) -> DoorstepDropoffSDK.LiveAxisSnapshot?
143
- public static func getLiveTrack() -> [DoorstepDropoffSDK.LiveLatLng]
144
134
  public static func enableDevMode(apiKey: Swift.String) async
145
135
  public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, customerId: Swift.String? = nil, driverId: Swift.String? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
146
136
  @available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")