@klappay/types 6.0.0 → 6.0.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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -770,10 +770,10 @@ var CheckChargeRequestSchema = import_zod14.z.object({
|
|
|
770
770
|
});
|
|
771
771
|
var CheckChargeResponseSchema = ChargeSchema.extend({
|
|
772
772
|
transactionSender: import_zod14.z.string().nullable().describe(
|
|
773
|
-
"The `txHash` transaction's own sender (`from`) \u2014 who actually signed and submitted it on-chain, which stays the payer's own wallet even when the transaction swaps through a router/aggregator on the way to paying, unlike the credited transfer's `from` (which can be the router/pool contract, not the payer).
|
|
773
|
+
"The `txHash` transaction's own sender (`from`) \u2014 who actually signed and submitted it on-chain, which stays the payer's own wallet even when the transaction swaps through a router/aggregator on the way to paying, unlike the credited transfer's `from` (which can be the router/pool contract, not the payer). Only populated when `txHash`/`network` was passed in the request and that transaction actually paid this charge: on a `pending`/`partially_paid`/`expired` charge, a successful receipt containing at least one Transfer of an accepted token (on that network) to this charge's address \u2014 even one not yet deep enough to be credited; on an already-`confirmed`/`underpaid` charge, a transaction already credited to this charge on that network. Anything else \u2014 a hint-less background scan, an unaccepted network, a not-found/reverted transaction, or a successful transaction that never paid this charge \u2014 leaves this `null`, so it never vouches for a hash that didn't pay this charge."
|
|
774
774
|
),
|
|
775
775
|
confirmationProgress: ConfirmationProgressSchema.nullable().describe(
|
|
776
|
-
"Present when this check found a real matching transfer on-chain that has not yet reached its network's required confirmation depth \u2014 use it to render a progress bar while waiting. `null` when nothing new was found, when the charge is already terminal (
|
|
776
|
+
"Present when this check found a real matching transfer on-chain that has not yet reached its network's required confirmation depth \u2014 use it to render a progress bar while waiting. `null` when nothing new was found, when the charge is already terminal (no re-scan and nothing credited \u2014 at most one receipt read, only when `txHash` is a transfer already credited to it, to fill `transactionSender`), or once the transfer is deep enough to have already been credited (the charge's own `status` field is the signal for that, not this one)."
|
|
777
777
|
)
|
|
778
778
|
});
|
|
779
779
|
|