@unifold/connect-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.js CHANGED
@@ -6577,7 +6577,7 @@ function generateKSUID() {
6577
6577
  function generatePrefixedKSUID(prefix) {
6578
6578
  return `${prefix}_${generateKSUID()}`;
6579
6579
  }
6580
- var PACKAGE_VERSION = "0.1.76";
6580
+ var PACKAGE_VERSION = "0.1.77";
6581
6581
  var LIBRARY_NAME = "@unifold/analytics";
6582
6582
  var DEFAULT_DEDUP_MS = 500;
6583
6583
  var SESSION_PREFIX = "asess";
@@ -18064,6 +18064,10 @@ function BuyWithCard({
18064
18064
  wallet_address: wallet.address,
18065
18065
  subdivision_code: userIpInfo?.subdivisionCode || void 0,
18066
18066
  external_id: externalId,
18067
+ // The rail this quote was priced for, so the provider opens on it. Most
18068
+ // are `card`, which is also the server default, but a local rail (e.g.
18069
+ // `upi` in India) is the whole reason its provider was quoted.
18070
+ payment_method_type: selectedProvider.payment_method_type,
18067
18071
  // Exactly one of source_amount / destination_amount (mutually exclusive):
18068
18072
  // destination mode starts the session by the fixed crypto amount (fees on
18069
18073
  // top); otherwise by the entered fiat amount.
package/dist/index.mjs CHANGED
@@ -6625,7 +6625,7 @@ function generateKSUID() {
6625
6625
  function generatePrefixedKSUID(prefix) {
6626
6626
  return `${prefix}_${generateKSUID()}`;
6627
6627
  }
6628
- var PACKAGE_VERSION = "0.1.76";
6628
+ var PACKAGE_VERSION = "0.1.77";
6629
6629
  var LIBRARY_NAME = "@unifold/analytics";
6630
6630
  var DEFAULT_DEDUP_MS = 500;
6631
6631
  var SESSION_PREFIX = "asess";
@@ -18153,6 +18153,10 @@ function BuyWithCard({
18153
18153
  wallet_address: wallet.address,
18154
18154
  subdivision_code: userIpInfo?.subdivisionCode || void 0,
18155
18155
  external_id: externalId,
18156
+ // The rail this quote was priced for, so the provider opens on it. Most
18157
+ // are `card`, which is also the server default, but a local rail (e.g.
18158
+ // `upi` in India) is the whole reason its provider was quoted.
18159
+ payment_method_type: selectedProvider.payment_method_type,
18156
18160
  // Exactly one of source_amount / destination_amount (mutually exclusive):
18157
18161
  // destination mode starts the session by the fixed crypto amount (fees on
18158
18162
  // top); otherwise by the entered fiat amount.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/connect-react",
3
- "version": "0.1.76",
3
+ "version": "0.1.77",
4
4
  "description": "Unifold Connect React - Complete React SDK with UI components for crypto deposits",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -37,11 +37,11 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@tanstack/react-query": "^5.90.11",
40
- "@unifold/analytics": "0.1.76",
41
- "@unifold/headless-react": "0.1.76",
42
- "@unifold/react-provider": "0.1.76",
43
- "@unifold/ui-react": "0.1.76",
44
- "@unifold/core": "0.1.76"
40
+ "@unifold/analytics": "0.1.77",
41
+ "@unifold/core": "0.1.77",
42
+ "@unifold/headless-react": "0.1.77",
43
+ "@unifold/ui-react": "0.1.77",
44
+ "@unifold/react-provider": "0.1.77"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/react": "^19.0.0",