@doorstepai/dropoff-sdk 2.0.3 → 2.0.5
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 +1 -1
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +29 -57
- package/ios/DoorstepAI.mm +12 -5
- package/ios/DoorstepAI.swift +41 -20
- package/ios/DoorstepDropoffSDK.xcframework/Info.plist +5 -5
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +1 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/RateReducer.h +117 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +1248 -261
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +24 -13
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2103 -1583
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +1 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/RateReducer.h +117 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1248 -261
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1248 -261
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +13 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +34 -23
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2103 -1583
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2093 -1578
- package/lib/module/DoorstepAI.js +90 -19
- package/lib/module/DoorstepAI.js.map +1 -1
- package/lib/module/RootDoorstepAI.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/DoorstepAI.d.ts +61 -6
- package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DoorstepAI.tsx +252 -47
- package/src/RootDoorstepAI.tsx +0 -1
- package/src/index.tsx +6 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name DoorstepDropoffSDK
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import Compression
|
|
6
6
|
import CoreLocation
|
|
7
7
|
import CoreMotion
|
|
@@ -81,23 +81,23 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@_hasMissingDesignatedInitializers public class DoorstepAI {
|
|
84
|
+
public static let configDidLoadNotification: Foundation.Notification.Name
|
|
85
|
+
public static let configDidFailToLoadNotification: Foundation.Notification.Name
|
|
84
86
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
85
87
|
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
86
88
|
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
|
|
87
89
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
88
90
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
89
|
-
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
90
|
-
@available(*, deprecated, message: "Use startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:) instead.")
|
|
91
|
-
public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
-
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
93
|
-
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
-
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:) instead.")
|
|
95
|
-
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
91
|
+
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
+
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
93
|
+
public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
+
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
95
|
+
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
|
+
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
97
|
+
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
98
|
public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
|
|
97
99
|
public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
|
|
98
100
|
public static func stopDelivery(deliveryId: Swift.String) async
|
|
99
|
-
public static func hasCachedData() -> Swift.Bool
|
|
100
|
-
public static func waitForCacheDataCompletion() async -> Swift.Bool
|
|
101
101
|
@objc deinit
|
|
102
102
|
}
|
|
103
103
|
@_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
|
|
@@ -107,6 +107,8 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
107
107
|
}
|
|
108
108
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
109
109
|
}
|
|
110
|
+
public var csvOnlyMode: Swift.Bool
|
|
111
|
+
public var lastCSVSessionDirectory: Foundation.URL?
|
|
110
112
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
111
113
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
112
114
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name DoorstepDropoffSDK
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import Compression
|
|
6
6
|
import CoreLocation
|
|
7
7
|
import CoreMotion
|
|
@@ -81,23 +81,23 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@_hasMissingDesignatedInitializers public class DoorstepAI {
|
|
84
|
+
public static let configDidLoadNotification: Foundation.Notification.Name
|
|
85
|
+
public static let configDidFailToLoadNotification: Foundation.Notification.Name
|
|
84
86
|
public static func setApiKey(key: Swift.String, initCollectors: Swift.Bool = true, shouldGetConfig: Swift.Bool = true)
|
|
85
87
|
public static func setBackgroundSessionCompletionHandler(_ handler: @escaping () -> Swift.Void)
|
|
86
88
|
public static func requestAllPermissions(requestAlwaysLocation: Swift.Bool = true)
|
|
87
89
|
public static func configureRemoteLogging(enabled: Swift.Bool, minLevel: DoorstepDropoffSDK.SDKLogLevel = .warning, flushInterval: Foundation.TimeInterval = 30, batchSize: Swift.Int = 50, maxQueueSize: Swift.Int = 1000)
|
|
88
90
|
public static func enableDevMode(apiKey: Swift.String) async
|
|
89
|
-
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
90
|
-
@available(*, deprecated, message: "Use startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:) instead.")
|
|
91
|
-
public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
-
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
93
|
-
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
-
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:) instead.")
|
|
95
|
-
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil) async throws
|
|
91
|
+
public static func startDeliveryByPlaceID(placeID: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
92
|
+
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
93
|
+
public static func startDeliveryByPlusCode(plusCode: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
94
|
+
public static func startDeliveryByAddressType(address: DoorstepDropoffSDK.AddressType, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
95
|
+
public static func startDeliveryByAddressString(address: Swift.String, deliveryId: Swift.String, coordinates: DoorstepDropoffSDK.LatLngObject? = nil, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
|
+
@available(*, deprecated, message: "Use startDeliveryByAddressType(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) or startDeliveryByAddressString(address:deliveryId:coordinates:timeoutSeconds:autoStopAfterDropoffSeconds:) instead.")
|
|
97
|
+
public static func startDeliveryByLatLng(latitude: Swift.Double, longitude: Swift.Double, subUnit: Swift.String, deliveryId: Swift.String, timeoutSeconds: Foundation.TimeInterval? = nil, autoStopAfterDropoffSeconds: Foundation.TimeInterval? = nil) async throws
|
|
96
98
|
public static func markDropoff(deliveryId: Swift.String, dropoffType: DoorstepDropoffSDK.DropoffType) async throws
|
|
97
99
|
public static func newEvent(eventName: Swift.String, deliveryId: Swift.String) async throws
|
|
98
100
|
public static func stopDelivery(deliveryId: Swift.String) async
|
|
99
|
-
public static func hasCachedData() -> Swift.Bool
|
|
100
|
-
public static func waitForCacheDataCompletion() async -> Swift.Bool
|
|
101
101
|
@objc deinit
|
|
102
102
|
}
|
|
103
103
|
@_Concurrency.MainActor @preconcurrency public struct DoorstepAIRoot : SwiftUICore.View {
|
|
@@ -107,6 +107,8 @@ public enum DropoffType : Swift.String, Swift.Codable {
|
|
|
107
107
|
}
|
|
108
108
|
public typealias Body = @_opaqueReturnTypeOf("$s18DoorstepDropoffSDK0A6AIRootV4bodyQrvp", 0) __
|
|
109
109
|
}
|
|
110
|
+
public var csvOnlyMode: Swift.Bool
|
|
111
|
+
public var lastCSVSessionDirectory: Foundation.URL?
|
|
110
112
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.Hashable {}
|
|
111
113
|
extension DoorstepDropoffSDK.SDKLogLevel : Swift.RawRepresentable {}
|
|
112
114
|
extension DoorstepDropoffSDK.DropoffType : Swift.Equatable {}
|