@xswap-link/sdk 0.6.5 → 0.6.7
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/.github/workflows/main.yml +0 -1
- package/.github/workflows/publish.yml +0 -1
- package/CHANGELOG.md +13 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.global.js +129 -130
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +5 -5
- package/tsup.config.ts +2 -2
- package/dist/index.global.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @xswap-link/xswap-sdk
|
|
2
2
|
|
|
3
|
+
## 0.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4462cb6: feat: remove source maps
|
|
8
|
+
|
|
9
|
+
## 0.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 9c11731: fix: remove react install from the CI
|
|
14
|
+
- 8c881e7: Add support for infinite approvals
|
|
15
|
+
|
|
3
16
|
## 0.6.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { BigNumber, ContractReceipt, ContractTransaction } from 'ethers';
|
|
2
3
|
import { TransactionResponse } from '@ethersproject/providers';
|
|
3
4
|
import { Dispatch, SetStateAction } from 'react';
|
|
@@ -369,7 +370,7 @@ declare global {
|
|
|
369
370
|
}
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
|
-
declare const TxWidgetWCWrapped: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => JSX.Element;
|
|
373
|
+
declare const TxWidgetWCWrapped: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => react_jsx_runtime.JSX.Element;
|
|
373
374
|
|
|
374
375
|
interface EvmHandlers {
|
|
375
376
|
onSuccess?: (data: ContractReceipt) => void;
|
|
@@ -426,7 +427,7 @@ declare const TxWidgetWC: CustomElementConstructor;
|
|
|
426
427
|
|
|
427
428
|
declare const XPay: {
|
|
428
429
|
openTransactionModal: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: ModalIntegrationPayload) => Promise<void>;
|
|
429
|
-
TxWidget: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => JSX.Element;
|
|
430
|
+
TxWidget: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => react_jsx_runtime.JSX.Element;
|
|
430
431
|
TxWidgetWC: CustomElementConstructor;
|
|
431
432
|
};
|
|
432
433
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { BigNumber, ContractReceipt, ContractTransaction } from 'ethers';
|
|
2
3
|
import { TransactionResponse } from '@ethersproject/providers';
|
|
3
4
|
import { Dispatch, SetStateAction } from 'react';
|
|
@@ -369,7 +370,7 @@ declare global {
|
|
|
369
370
|
}
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
|
-
declare const TxWidgetWCWrapped: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => JSX.Element;
|
|
373
|
+
declare const TxWidgetWCWrapped: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => react_jsx_runtime.JSX.Element;
|
|
373
374
|
|
|
374
375
|
interface EvmHandlers {
|
|
375
376
|
onSuccess?: (data: ContractReceipt) => void;
|
|
@@ -426,7 +427,7 @@ declare const TxWidgetWC: CustomElementConstructor;
|
|
|
426
427
|
|
|
427
428
|
declare const XPay: {
|
|
428
429
|
openTransactionModal: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: ModalIntegrationPayload) => Promise<void>;
|
|
429
|
-
TxWidget: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => JSX.Element;
|
|
430
|
+
TxWidget: ({ integratorId, dstChain, dstToken, srcChain, srcToken, customContractCalls, desc, dstDisplayToken, lightTheme, defaultWalletPicker, styles, }: WidgetIntegrationPayload) => react_jsx_runtime.JSX.Element;
|
|
430
431
|
TxWidgetWC: CustomElementConstructor;
|
|
431
432
|
};
|
|
432
433
|
|