@unifold/ui-react 0.1.76 → 0.1.77
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -714,7 +714,7 @@ interface StoredWalletPaySession {
|
|
|
714
714
|
termsAcceptedAt: string;
|
|
715
715
|
phoneVerifiedAt?: string;
|
|
716
716
|
emailVerifiedAt?: string;
|
|
717
|
-
/** Onramp verification JWT — skips OTP
|
|
717
|
+
/** Onramp verification JWT — skips OTP for as long as it is valid. */
|
|
718
718
|
onrampToken?: string;
|
|
719
719
|
/** Epoch ms; treated as expired 60s before this to avoid order-race. */
|
|
720
720
|
onrampTokenExpiresAtMs?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -714,7 +714,7 @@ interface StoredWalletPaySession {
|
|
|
714
714
|
termsAcceptedAt: string;
|
|
715
715
|
phoneVerifiedAt?: string;
|
|
716
716
|
emailVerifiedAt?: string;
|
|
717
|
-
/** Onramp verification JWT — skips OTP
|
|
717
|
+
/** Onramp verification JWT — skips OTP for as long as it is valid. */
|
|
718
718
|
onrampToken?: string;
|
|
719
719
|
/** Epoch ms; treated as expired 60s before this to avoid order-race. */
|
|
720
720
|
onrampTokenExpiresAtMs?: number;
|
package/dist/index.js
CHANGED
|
@@ -5568,6 +5568,10 @@ function BuyWithCard({
|
|
|
5568
5568
|
wallet_address: wallet.address,
|
|
5569
5569
|
subdivision_code: userIpInfo?.subdivisionCode || void 0,
|
|
5570
5570
|
external_id: externalId,
|
|
5571
|
+
// The rail this quote was priced for, so the provider opens on it. Most
|
|
5572
|
+
// are `card`, which is also the server default, but a local rail (e.g.
|
|
5573
|
+
// `upi` in India) is the whole reason its provider was quoted.
|
|
5574
|
+
payment_method_type: selectedProvider.payment_method_type,
|
|
5571
5575
|
// Exactly one of source_amount / destination_amount (mutually exclusive):
|
|
5572
5576
|
// destination mode starts the session by the fixed crypto amount (fees on
|
|
5573
5577
|
// top); otherwise by the entered fiat amount.
|
package/dist/index.mjs
CHANGED
|
@@ -5454,6 +5454,10 @@ function BuyWithCard({
|
|
|
5454
5454
|
wallet_address: wallet.address,
|
|
5455
5455
|
subdivision_code: userIpInfo?.subdivisionCode || void 0,
|
|
5456
5456
|
external_id: externalId,
|
|
5457
|
+
// The rail this quote was priced for, so the provider opens on it. Most
|
|
5458
|
+
// are `card`, which is also the server default, but a local rail (e.g.
|
|
5459
|
+
// `upi` in India) is the whole reason its provider was quoted.
|
|
5460
|
+
payment_method_type: selectedProvider.payment_method_type,
|
|
5457
5461
|
// Exactly one of source_amount / destination_amount (mutually exclusive):
|
|
5458
5462
|
// destination mode starts the session by the fixed crypto amount (fees on
|
|
5459
5463
|
// top); otherwise by the entered fiat amount.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unifold/ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"description": "Unifold UI React - Deposit and onramp components for React applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"mipd": "^0.0.7",
|
|
43
43
|
"qr-code-styling": "^1.6.0-rc.1",
|
|
44
44
|
"tailwind-merge": "^2.0.0",
|
|
45
|
-
"@unifold/
|
|
46
|
-
"@unifold/
|
|
45
|
+
"@unifold/core": "0.1.77",
|
|
46
|
+
"@unifold/analytics": "0.1.77"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@solana/web3.js": "^1.87.0",
|