@unifold/connect-react 0.1.1 → 0.1.2

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
@@ -10327,7 +10327,7 @@ function DepositHeader({
10327
10327
  ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "uf-w-5 uf-h-5 uf-invisible" })
10328
10328
  ] });
10329
10329
  }
10330
- var API_BASE_URL = "http://localhost:3002";
10330
+ var API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL || "https://api.unifold.io";
10331
10331
  var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
10332
10332
  var DEFAULT_CONFIG = {};
10333
10333
  function getIconUrl(iconPath) {
package/dist/index.mjs CHANGED
@@ -10323,7 +10323,7 @@ function DepositHeader({
10323
10323
  ) : /* @__PURE__ */ jsx42("div", { className: "uf-w-5 uf-h-5 uf-invisible" })
10324
10324
  ] });
10325
10325
  }
10326
- var API_BASE_URL = "http://localhost:3002";
10326
+ var API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL || "https://api.unifold.io";
10327
10327
  var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
10328
10328
  var DEFAULT_CONFIG = {};
10329
10329
  function getIconUrl(iconPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/connect-react",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@tanstack/react-query": "^5.62.15",
27
- "@unifold/react-provider": "0.1.1",
28
- "@unifold/ui-react": "0.1.1"
27
+ "@unifold/react-provider": "0.1.2",
28
+ "@unifold/ui-react": "0.1.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/react": "^18.2.0",