@onramper/onramper-react-native 1.1.0 → 1.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 (27) hide show
  1. package/ios/Frameworks/OnramperSDK.xcframework/Info.plist +5 -5
  2. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  3. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/arm64-apple-ios.swiftinterface +15 -2
  4. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64/OnramperSDK.framework/OnramperSDK +0 -0
  5. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64/dSYMs/OnramperSDK.framework.dSYM/Contents/Resources/DWARF/OnramperSDK +0 -0
  6. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64/dSYMs/OnramperSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/OnramperSDK.yml +2578 -2535
  7. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  8. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +15 -2
  9. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  10. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/OnramperSDK.framework/Modules/OnramperSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +15 -2
  11. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/OnramperSDK.framework/OnramperSDK +0 -0
  12. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/OnramperSDK.framework.dSYM/Contents/Resources/DWARF/OnramperSDK +0 -0
  13. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/OnramperSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/OnramperSDK.yml +2578 -2535
  14. package/ios/Frameworks/OnramperSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/OnramperSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/OnramperSDK.yml +2545 -2502
  15. package/lib/typescript/module/src/OnramperCheckoutButtonView.d.ts +1 -1
  16. package/lib/typescript/module/src/OnramperCheckoutButtonView.d.ts.map +1 -1
  17. package/lib/typescript/module/src/OnramperClient.d.ts +3 -3
  18. package/lib/typescript/module/src/OnramperClient.d.ts.map +1 -1
  19. package/lib/typescript/module/src/OnramperNative.d.ts +1 -1
  20. package/lib/typescript/module/src/OnramperNative.d.ts.map +1 -1
  21. package/lib/typescript/module/src/events.d.ts +2 -2
  22. package/lib/typescript/module/src/events.d.ts.map +1 -1
  23. package/lib/typescript/module/src/index.d.ts +8 -8
  24. package/lib/typescript/module/src/index.d.ts.map +1 -1
  25. package/lib/typescript/module/src/types.d.ts +1 -1
  26. package/lib/typescript/module/src/types.d.ts.map +1 -1
  27. package/package.json +3 -3
@@ -119,11 +119,12 @@ extension OnramperSDK.OnramperDelegate {
119
119
  public struct CheckoutFinalizeRequest : Swift.Codable, Swift.Sendable {
120
120
  public let headlessCheckoutId: Swift.String
121
121
  public let quote: OnramperSDK.QuoteResponse
122
+ public let encryption: OnramperSDK.EncryptedPayload
122
123
  public let onramperTransactionData: OnramperSDK.OnramperTransactionData
123
124
  public var requirementCompletions: [OnramperSDK.RequirementCompletion]?
124
125
  public var partnerContext: Swift.String?
125
126
  #if compiler(>=5.3) && $NonescapableTypes
126
- public init(headlessCheckoutId: Swift.String, quote: OnramperSDK.QuoteResponse, onramperTransactionData: OnramperSDK.OnramperTransactionData, requirementCompletions: [OnramperSDK.RequirementCompletion]? = nil, partnerContext: Swift.String? = nil)
127
+ public init(headlessCheckoutId: Swift.String, quote: OnramperSDK.QuoteResponse, encryption: OnramperSDK.EncryptedPayload, onramperTransactionData: OnramperSDK.OnramperTransactionData, requirementCompletions: [OnramperSDK.RequirementCompletion]? = nil, partnerContext: Swift.String? = nil)
127
128
  #endif
128
129
  public func encode(to encoder: any Swift.Encoder) throws
129
130
  public init(from decoder: any Swift.Decoder) throws
@@ -210,9 +211,10 @@ public struct WalletInfo : Swift.Codable, Swift.Sendable, Swift.Equatable {
210
211
  }
211
212
  public struct CheckoutIntentResponse : Swift.Codable, Swift.Sendable {
212
213
  public let quote: OnramperSDK.QuoteResponse
214
+ public let encryption: OnramperSDK.EncryptedPayload
213
215
  public let headlessCheckoutId: Swift.String
214
216
  public let checkoutRequirements: [OnramperSDK.CheckoutRequirement]
215
- public init(quote: OnramperSDK.QuoteResponse, headlessCheckoutId: Swift.String, checkoutRequirements: [OnramperSDK.CheckoutRequirement])
217
+ public init(quote: OnramperSDK.QuoteResponse, encryption: OnramperSDK.EncryptedPayload, headlessCheckoutId: Swift.String, checkoutRequirements: [OnramperSDK.CheckoutRequirement])
216
218
  public init(from decoder: any Swift.Decoder) throws
217
219
  public func encode(to encoder: any Swift.Encoder) throws
218
220
  }
@@ -351,6 +353,17 @@ extension OnramperSDK.CheckoutRequirement : Swift.Codable {
351
353
  public init(from decoder: any Swift.Decoder) throws
352
354
  public func encode(to encoder: any Swift.Encoder) throws
353
355
  }
356
+ public struct EncryptedPayload : Swift.Codable, Swift.Sendable, Swift.Equatable {
357
+ public let v: Swift.Int
358
+ public let alg: Swift.String
359
+ public let iv: Swift.String
360
+ public let ciphertext: Swift.String
361
+ public let authTag: Swift.String
362
+ public init(v: Swift.Int, alg: Swift.String, iv: Swift.String, ciphertext: Swift.String, authTag: Swift.String)
363
+ public static func == (a: OnramperSDK.EncryptedPayload, b: OnramperSDK.EncryptedPayload) -> Swift.Bool
364
+ public func encode(to encoder: any Swift.Encoder) throws
365
+ public init(from decoder: any Swift.Decoder) throws
366
+ }
354
367
  public struct QuoteResponse : Swift.Codable, Swift.Sendable, Swift.Equatable {
355
368
  public let quoteId: Swift.String
356
369
  public let ramp: Swift.String
@@ -119,11 +119,12 @@ extension OnramperSDK.OnramperDelegate {
119
119
  public struct CheckoutFinalizeRequest : Swift.Codable, Swift.Sendable {
120
120
  public let headlessCheckoutId: Swift.String
121
121
  public let quote: OnramperSDK.QuoteResponse
122
+ public let encryption: OnramperSDK.EncryptedPayload
122
123
  public let onramperTransactionData: OnramperSDK.OnramperTransactionData
123
124
  public var requirementCompletions: [OnramperSDK.RequirementCompletion]?
124
125
  public var partnerContext: Swift.String?
125
126
  #if compiler(>=5.3) && $NonescapableTypes
126
- public init(headlessCheckoutId: Swift.String, quote: OnramperSDK.QuoteResponse, onramperTransactionData: OnramperSDK.OnramperTransactionData, requirementCompletions: [OnramperSDK.RequirementCompletion]? = nil, partnerContext: Swift.String? = nil)
127
+ public init(headlessCheckoutId: Swift.String, quote: OnramperSDK.QuoteResponse, encryption: OnramperSDK.EncryptedPayload, onramperTransactionData: OnramperSDK.OnramperTransactionData, requirementCompletions: [OnramperSDK.RequirementCompletion]? = nil, partnerContext: Swift.String? = nil)
127
128
  #endif
128
129
  public func encode(to encoder: any Swift.Encoder) throws
129
130
  public init(from decoder: any Swift.Decoder) throws
@@ -210,9 +211,10 @@ public struct WalletInfo : Swift.Codable, Swift.Sendable, Swift.Equatable {
210
211
  }
211
212
  public struct CheckoutIntentResponse : Swift.Codable, Swift.Sendable {
212
213
  public let quote: OnramperSDK.QuoteResponse
214
+ public let encryption: OnramperSDK.EncryptedPayload
213
215
  public let headlessCheckoutId: Swift.String
214
216
  public let checkoutRequirements: [OnramperSDK.CheckoutRequirement]
215
- public init(quote: OnramperSDK.QuoteResponse, headlessCheckoutId: Swift.String, checkoutRequirements: [OnramperSDK.CheckoutRequirement])
217
+ public init(quote: OnramperSDK.QuoteResponse, encryption: OnramperSDK.EncryptedPayload, headlessCheckoutId: Swift.String, checkoutRequirements: [OnramperSDK.CheckoutRequirement])
216
218
  public init(from decoder: any Swift.Decoder) throws
217
219
  public func encode(to encoder: any Swift.Encoder) throws
218
220
  }
@@ -351,6 +353,17 @@ extension OnramperSDK.CheckoutRequirement : Swift.Codable {
351
353
  public init(from decoder: any Swift.Decoder) throws
352
354
  public func encode(to encoder: any Swift.Encoder) throws
353
355
  }
356
+ public struct EncryptedPayload : Swift.Codable, Swift.Sendable, Swift.Equatable {
357
+ public let v: Swift.Int
358
+ public let alg: Swift.String
359
+ public let iv: Swift.String
360
+ public let ciphertext: Swift.String
361
+ public let authTag: Swift.String
362
+ public init(v: Swift.Int, alg: Swift.String, iv: Swift.String, ciphertext: Swift.String, authTag: Swift.String)
363
+ public static func == (a: OnramperSDK.EncryptedPayload, b: OnramperSDK.EncryptedPayload) -> Swift.Bool
364
+ public func encode(to encoder: any Swift.Encoder) throws
365
+ public init(from decoder: any Swift.Decoder) throws
366
+ }
354
367
  public struct QuoteResponse : Swift.Codable, Swift.Sendable, Swift.Equatable {
355
368
  public let quoteId: Swift.String
356
369
  public let ramp: Swift.String