@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.")
@@ -18,43 +18,43 @@
18
18
  </data>
19
19
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
21
- Vag64v2+toFRsjfpfUYM106DGdc=
21
+ 45+MusGPxBFk5kXbR3ttiVgfTGg=
22
22
  </data>
23
23
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
24
24
  <data>
25
- KpJdbHrp0ALpoIOtIX9sTIp+X+A=
25
+ a2SZ1cenTlCVexWbA6NdxFQ6qKA=
26
26
  </data>
27
27
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
28
28
  <data>
29
- agcW6poMT1kjejT4wVMyJGqG/Ig=
29
+ 7lMqZhpRkd1M/kxkTqsriSQeLCY=
30
30
  </data>
31
31
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
32
32
  <data>
33
- KpJdbHrp0ALpoIOtIX9sTIp+X+A=
33
+ a2SZ1cenTlCVexWbA6NdxFQ6qKA=
34
34
  </data>
35
35
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
36
36
  <data>
37
- juuYxbp2CqU6x30yuDMwpL77hmM=
37
+ mM/yOIWVuoA1GWeLeioZtjQxMSY=
38
38
  </data>
39
39
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
40
40
  <data>
41
- Vag64v2+toFRsjfpfUYM106DGdc=
41
+ 45+MusGPxBFk5kXbR3ttiVgfTGg=
42
42
  </data>
43
43
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
44
44
  <data>
45
- +aliVAn0aSeyRDA90jVT8Je42JU=
45
+ z025njUACwG67ftwxi901Zg94qg=
46
46
  </data>
47
47
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
48
48
  <data>
49
- ouZ4X+z2gS7x/TGFUNT1e+Y0b9E=
49
+ OESTHlY3trAsCXGdIPCSgRluPSY=
50
50
  </data>
51
51
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
52
52
  <data>
53
- +aliVAn0aSeyRDA90jVT8Je42JU=
53
+ z025njUACwG67ftwxi901Zg94qg=
54
54
  </data>
55
55
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
56
56
  <data>
57
- jPeobkq0/10r3QXmlmVlYSOtWZM=
57
+ /NhOKFkwNqjD0R7DLpkmcGg2Yis=
58
58
  </data>
59
59
  <key>Modules/module.modulemap</key>
60
60
  <data>
@@ -85,70 +85,70 @@
85
85
  <dict>
86
86
  <key>hash2</key>
87
87
  <data>
88
- jYsu7VWCOcLucPNwndmiZSGeUYjnMH+V6X8MCpqNd8s=
88
+ 0RmoetaYX08BUSI4seA+N0VKup1jGGnExGGBIBnS7LA=
89
89
  </data>
90
90
  </dict>
91
91
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
92
92
  <dict>
93
93
  <key>hash2</key>
94
94
  <data>
95
- lwzoVwJHwikxRsfhY97uFP2kRkxAi9zHM+DQLrkdpGI=
95
+ LDE6GVv8himM/9VMhLqRkU0nunoal8d4asgIf6heai8=
96
96
  </data>
97
97
  </dict>
98
98
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
99
99
  <dict>
100
100
  <key>hash2</key>
101
101
  <data>
102
- vyNB/EnAq19j53vOO1FV/bcIDg8k+rKCKxPhl8+XgR0=
102
+ SBBV3oqwMXQrysZmgwjaZlQxKbusu16uSG0FoWO1Gls=
103
103
  </data>
104
104
  </dict>
105
105
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
106
106
  <dict>
107
107
  <key>hash2</key>
108
108
  <data>
109
- lwzoVwJHwikxRsfhY97uFP2kRkxAi9zHM+DQLrkdpGI=
109
+ LDE6GVv8himM/9VMhLqRkU0nunoal8d4asgIf6heai8=
110
110
  </data>
111
111
  </dict>
112
112
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
113
113
  <dict>
114
114
  <key>hash2</key>
115
115
  <data>
116
- futsCdG0FJzPMfgDbrw2Upc+SzZmC5mCKSVXQIUC52k=
116
+ 53unF5Iof7CKVdjhoEKid6DU32zQQLtHuTrvCDdTQDU=
117
117
  </data>
118
118
  </dict>
119
119
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
120
120
  <dict>
121
121
  <key>hash2</key>
122
122
  <data>
123
- jYsu7VWCOcLucPNwndmiZSGeUYjnMH+V6X8MCpqNd8s=
123
+ 0RmoetaYX08BUSI4seA+N0VKup1jGGnExGGBIBnS7LA=
124
124
  </data>
125
125
  </dict>
126
126
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
127
127
  <dict>
128
128
  <key>hash2</key>
129
129
  <data>
130
- 8AOR38YcvTWOzBoCy7ijZYmXL53ktGoAgjxir1/Qr+Q=
130
+ bB1FuYBK8fvZdpuOz7VYlddw9xpDubZGM9I0xFJENg4=
131
131
  </data>
132
132
  </dict>
133
133
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
134
134
  <dict>
135
135
  <key>hash2</key>
136
136
  <data>
137
- n+q0OzstAAmW3XFs0br/yPK5Umd+ouikfc3CkzleYhA=
137
+ fGXRqWcx3Gt3cigsnPPdi6MC+O2VZW8+Wz1QFdRDqjI=
138
138
  </data>
139
139
  </dict>
140
140
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
141
141
  <dict>
142
142
  <key>hash2</key>
143
143
  <data>
144
- 8AOR38YcvTWOzBoCy7ijZYmXL53ktGoAgjxir1/Qr+Q=
144
+ bB1FuYBK8fvZdpuOz7VYlddw9xpDubZGM9I0xFJENg4=
145
145
  </data>
146
146
  </dict>
147
147
  <key>Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
148
148
  <dict>
149
149
  <key>hash2</key>
150
150
  <data>
151
- Bz/lpTJ7j2ilQNKq7x3ju4z9hlKx8+p4bWFCqT4ca1U=
151
+ x14OmuNVhD6KYA1I+QzxWnNGu2ItWEC4FzfOIxBhho8=
152
152
  </data>
153
153
  </dict>
154
154
  <key>Modules/module.modulemap</key>