Skip to content

Commit 9d8a4b6

Browse files
committed
style: remove em dashes from v1.0 docs/comments
1 parent ebdd824 commit 9d8a4b6

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### BREAKING CHANGES
66

7-
* **wire format:** `callback` query param removed from the MONEI Pay deep link in favor of `complete_url` (UX redirect) + `callback_url` (signed webhook). Two channels with different trust models — see https://docs.monei.com/monei-pay/app-integration/getting-started for the trust split.
7+
* **wire format:** `callback` query param removed from the MONEI Pay deep link in favor of `complete_url` (UX redirect) + `callback_url` (signed webhook). Two channels with different trust models. See https://docs.monei.com/monei-pay/app-integration/getting-started for the trust split.
88
* **public API:** renamed `callbackScheme``completeScheme` in `AcceptPaymentParams`.
99
* **public API:** renamed `handleCallback``handleCompleteRedirect` (TS + iOS native module).
1010

android/src/main/java/expo/modules/moneipay/MoneiPayModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MoneiPayModule : Module() {
2323
private const val CLOUD_COMMERCE_PACKAGE = "com.mastercard.cpos"
2424
private const val SDK_VERSION = "1.0.0"
2525

26-
// Must mirror lib/deep-link-utils.ts isValidCallbackUrl keep in sync.
26+
// Must mirror lib/deep-link-utils.ts isValidCallbackUrl (keep in sync).
2727
internal fun isValidCallbackUrl(url: String): Boolean {
2828
return url.startsWith("https://") && url.length <= 2048
2929
}

ios/MoneiPayModule.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public class MoneiPayModule: Module {
2323
return
2424
}
2525

26-
// Client-side sanity check: must mirror lib/deep-link-utils.ts isValidCallbackUrl
27-
// keep in sync. Server-side zod (mcc-service) is the real boundary; skip private-IP check here.
26+
// Client-side sanity check: must mirror lib/deep-link-utils.ts isValidCallbackUrl
27+
// (keep in sync). Server-side zod (mcc-service) is the real boundary; skip private-IP check here.
2828
var callbackUrl: String?
2929
if let raw = params["callbackUrl"] as? String, !raw.isEmpty {
3030
if !Self.isValidCallbackUrl(raw) {
@@ -166,7 +166,7 @@ public class MoneiPayModule: Module {
166166
}
167167
}
168168

169-
// Must mirror lib/deep-link-utils.ts isValidCallbackUrl keep in sync.
169+
// Must mirror lib/deep-link-utils.ts isValidCallbackUrl (keep in sync).
170170
internal static func isValidCallbackUrl(_ url: String) -> Bool {
171171
return url.hasPrefix("https://") && url.count <= 2048
172172
}

src/MoneiPay.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface AcceptPaymentParams {
1616
customerPhone?: string;
1717
/**
1818
* Your app's registered URL scheme for receiving the post-payment redirect (iOS only, required).
19-
* Must be registered in Info.plist. UX redirect only NOT trusted; never base business decisions on it.
19+
* Must be registered in Info.plist. UX redirect only (NOT trusted); never base business decisions on it.
2020
*/
2121
completeScheme?: string;
2222
/**

0 commit comments

Comments
 (0)