@diviswap/sdk 1.7.7 → 1.7.8

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.
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { U as User, T as Transaction, P as Payee, D as Diviswap, d as Address, e as CreateAddressRequest, g as ChainName, l as WalletTrackingConfig, W as WalletConnection, k as EthereumWallet, i as WalletTracker } from '../wallet-BEGvzNtB.mjs';
2
+ import { U as User, T as Transaction, P as Payee, D as Diviswap, d as Address, e as CreateAddressRequest, g as ChainName, l as WalletTrackingConfig, W as WalletConnection, k as EthereumWallet, i as WalletTracker } from '../wallet-CNiPxV5L.mjs';
3
3
 
4
4
  interface DiviswapContextValue {
5
5
  user: User | null;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { U as User, T as Transaction, P as Payee, D as Diviswap, d as Address, e as CreateAddressRequest, g as ChainName, l as WalletTrackingConfig, W as WalletConnection, k as EthereumWallet, i as WalletTracker } from '../wallet-BEGvzNtB.js';
2
+ import { U as User, T as Transaction, P as Payee, D as Diviswap, d as Address, e as CreateAddressRequest, g as ChainName, l as WalletTrackingConfig, W as WalletConnection, k as EthereumWallet, i as WalletTracker } from '../wallet-CNiPxV5L.js';
3
3
 
4
4
  interface DiviswapContextValue {
5
5
  user: User | null;
@@ -1444,7 +1444,7 @@ declare class Diviswap {
1444
1444
  * const token = await diviswap.getAccessToken();
1445
1445
  * if (token) {
1446
1446
  * // Use token for custom API calls
1447
- * fetch('https://api.diviswap.io/custom-endpoint', {
1447
+ * fetch('https://api.liberex.sv/custom-endpoint', {
1448
1448
  * headers: { 'Authorization': `Bearer ${token}` }
1449
1449
  * });
1450
1450
  * }
@@ -1444,7 +1444,7 @@ declare class Diviswap {
1444
1444
  * const token = await diviswap.getAccessToken();
1445
1445
  * if (token) {
1446
1446
  * // Use token for custom API calls
1447
- * fetch('https://api.diviswap.io/custom-endpoint', {
1447
+ * fetch('https://api.liberex.sv/custom-endpoint', {
1448
1448
  * headers: { 'Authorization': `Bearer ${token}` }
1449
1449
  * });
1450
1450
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diviswap/sdk",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Official Diviswap SDK - Crypto rails made simple",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -192,7 +192,7 @@ export function DiviswapProvider({ children }: { children: React.ReactNode }) {
192
192
  useEffect(() => {
193
193
  if (customerId && customerEmail) {
194
194
  const socketInstance = io(
195
- process.env.NEXT_PUBLIC_DIVISWAP_WS_URL || 'wss://ws.diviswap.io',
195
+ process.env.NEXT_PUBLIC_DIVISWAP_WS_URL || 'wss://ws.liberex.sv',
196
196
  {
197
197
  auth: {
198
198
  customerId,