@diviswap/sdk 1.9.0 → 1.9.1
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/cli/index.js +1 -1
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +4 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -24
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/{wallet-Cohx6L51.d.mts → wallet-yDJlJqCw.d.mts} +2 -2
- package/dist/{wallet-Cohx6L51.d.ts → wallet-yDJlJqCw.d.ts} +2 -2
- package/package.json +1 -1
package/dist/react/index.d.mts
CHANGED
|
@@ -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-
|
|
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-yDJlJqCw.mjs';
|
|
3
3
|
|
|
4
4
|
interface DiviswapContextValue {
|
|
5
5
|
user: User | null;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -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-
|
|
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-yDJlJqCw.js';
|
|
3
3
|
|
|
4
4
|
interface DiviswapContextValue {
|
|
5
5
|
user: User | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Core type definitions for Diviswap SDK
|
|
3
3
|
*/
|
|
4
|
-
type Environment = 'production' | 'sandbox'
|
|
4
|
+
type Environment = 'production' | 'sandbox';
|
|
5
5
|
type AuthMode = 'user' | 'partner';
|
|
6
6
|
interface BaseDiviswapConfig {
|
|
7
7
|
/** Environment to use (defaults to 'production') */
|
|
@@ -618,7 +618,7 @@ interface FeeEstimate {
|
|
|
618
618
|
declare class TransactionsModule {
|
|
619
619
|
private client;
|
|
620
620
|
private depositAddresses;
|
|
621
|
-
constructor(client: UnifiedApiClient, environment?: 'production' | 'sandbox'
|
|
621
|
+
constructor(client: UnifiedApiClient, environment?: 'production' | 'sandbox');
|
|
622
622
|
/**
|
|
623
623
|
* Map chain name to chain ID
|
|
624
624
|
* @private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Core type definitions for Diviswap SDK
|
|
3
3
|
*/
|
|
4
|
-
type Environment = 'production' | 'sandbox'
|
|
4
|
+
type Environment = 'production' | 'sandbox';
|
|
5
5
|
type AuthMode = 'user' | 'partner';
|
|
6
6
|
interface BaseDiviswapConfig {
|
|
7
7
|
/** Environment to use (defaults to 'production') */
|
|
@@ -618,7 +618,7 @@ interface FeeEstimate {
|
|
|
618
618
|
declare class TransactionsModule {
|
|
619
619
|
private client;
|
|
620
620
|
private depositAddresses;
|
|
621
|
-
constructor(client: UnifiedApiClient, environment?: 'production' | 'sandbox'
|
|
621
|
+
constructor(client: UnifiedApiClient, environment?: 'production' | 'sandbox');
|
|
622
622
|
/**
|
|
623
623
|
* Map chain name to chain ID
|
|
624
624
|
* @private
|