@unifold/ui-react 0.1.1 → 0.1.3

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
@@ -371,7 +371,7 @@ function DepositHeader({
371
371
  var import_lucide_react3 = require("lucide-react");
372
372
 
373
373
  // src/lib/api.ts
374
- var API_BASE_URL = "http://localhost:3002";
374
+ var API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL || "https://api.unifold.io";
375
375
  var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
376
376
  var DEFAULT_CONFIG = {};
377
377
  function setApiConfig(config) {
package/dist/index.mjs CHANGED
@@ -288,7 +288,7 @@ function DepositHeader({
288
288
  import { X as X3, ExternalLink } from "lucide-react";
289
289
 
290
290
  // src/lib/api.ts
291
- var API_BASE_URL = "http://localhost:3002";
291
+ var API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL || "https://api.unifold.io";
292
292
  var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
293
293
  var DEFAULT_CONFIG = {};
294
294
  function setApiConfig(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/ui-react",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
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",