@layerswap/wallets 1.2.1 → 1.3.0-next.0
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/README.md +0 -2
- package/dist/esm/index.js +1 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +2 -13
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +12 -15
package/dist/types/index.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ import { createEVMProvider, useChainConfigs } from "@layerswap/wallet-evm";
|
|
|
4
4
|
import type { EVMProviderConfig, WalletConnectConfig } from "@layerswap/wallet-evm";
|
|
5
5
|
import { createFuelProvider } from "@layerswap/wallet-fuel";
|
|
6
6
|
import type { FuelProviderConfig } from "@layerswap/wallet-fuel";
|
|
7
|
-
import { createImmutableXProvider } from "@layerswap/wallet-imtbl-x";
|
|
8
|
-
import type { ImmutableXProviderConfig } from "@layerswap/wallet-imtbl-x";
|
|
9
7
|
import { createImmutablePassportProvider, ImtblRedirect } from "@layerswap/wallet-imtbl-passport";
|
|
10
8
|
import type { ImmutablePassportProviderConfig, ImtblPassportConfig } from "@layerswap/wallet-imtbl-passport";
|
|
11
9
|
import { createParadexProvider } from "@layerswap/wallet-paradex";
|
|
@@ -18,16 +16,13 @@ import { createTONProvider } from "@layerswap/wallet-ton";
|
|
|
18
16
|
import type { TONProviderConfig, TonClientConfig } from "@layerswap/wallet-ton";
|
|
19
17
|
import { createTronProvider } from "@layerswap/wallet-tron";
|
|
20
18
|
import type { TronProviderConfig } from "@layerswap/wallet-tron";
|
|
21
|
-
import {
|
|
22
|
-
import { createZkSyncModule } from "@layerswap/wallet-module-zksync";
|
|
19
|
+
import { WalletProvider, WalletWrapper } from "@layerswap/widget/types";
|
|
23
20
|
export { createBitcoinProvider };
|
|
24
21
|
export type { BitcoinProviderConfig };
|
|
25
22
|
export { createEVMProvider, useChainConfigs };
|
|
26
23
|
export type { EVMProviderConfig, WalletConnectConfig };
|
|
27
24
|
export { createFuelProvider };
|
|
28
25
|
export type { FuelProviderConfig };
|
|
29
|
-
export { createImmutableXProvider };
|
|
30
|
-
export type { ImmutableXProviderConfig };
|
|
31
26
|
export { createImmutablePassportProvider, ImtblRedirect };
|
|
32
27
|
export type { ImmutablePassportProviderConfig, ImtblPassportConfig };
|
|
33
28
|
export { createParadexProvider };
|
|
@@ -40,8 +35,6 @@ export { createTONProvider };
|
|
|
40
35
|
export type { TONProviderConfig, TonClientConfig };
|
|
41
36
|
export { createTronProvider };
|
|
42
37
|
export type { TronProviderConfig };
|
|
43
|
-
export { createLoopringModule };
|
|
44
|
-
export { createZkSyncModule };
|
|
45
38
|
/**
|
|
46
39
|
* @deprecated Use createBitcoinProvider() instead. This export will be removed in a future version.
|
|
47
40
|
*/
|
|
@@ -54,10 +47,6 @@ export { EVMProvider } from "@layerswap/wallet-evm";
|
|
|
54
47
|
* @deprecated Use createFuelProvider() instead. This export will be removed in a future version.
|
|
55
48
|
*/
|
|
56
49
|
export { FuelProvider } from "@layerswap/wallet-fuel";
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use createImmutableXProvider() instead. This export will be removed in a future version.
|
|
59
|
-
*/
|
|
60
|
-
export { ImmutableXProvider } from "@layerswap/wallet-imtbl-x";
|
|
61
50
|
/**
|
|
62
51
|
* @deprecated Use createImmutablePassportProvider() instead. This export will be removed in a future version.
|
|
63
52
|
*/
|
|
@@ -137,5 +126,5 @@ export type DefaultWalletConfig = {
|
|
|
137
126
|
* }
|
|
138
127
|
* ```
|
|
139
128
|
*/
|
|
140
|
-
export declare function getDefaultProviders(config?: DefaultWalletConfig):
|
|
129
|
+
export declare function getDefaultProviders(config?: DefaultWalletConfig): (WalletWrapper | WalletProvider)[];
|
|
141
130
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EA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M,uBAAuB,CAAC;AAEpD;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,GAAG,CAAC,EAAE,eAAe,CAAA;IACrB,iBAAiB,CAAC,EAAE,mBAAmB,CAAA;CAC1C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,GAAE,mBAAwB,sCA6BnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerswap/wallets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-next.0",
|
|
4
4
|
"description": "All Layerswap Wallet Providers bundled together",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -32,18 +32,15 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@layerswap/wallet-
|
|
36
|
-
"@layerswap/wallet-
|
|
37
|
-
"@layerswap/wallet-
|
|
38
|
-
"@layerswap/wallet-
|
|
39
|
-
"@layerswap/wallet-
|
|
40
|
-
"@layerswap/wallet-starknet": "^1.
|
|
41
|
-
"@layerswap/wallet-svm": "^1.
|
|
42
|
-
"@layerswap/wallet-
|
|
43
|
-
"@layerswap/wallet-
|
|
44
|
-
"@layerswap/wallet-paradex": "^1.2.0",
|
|
45
|
-
"@layerswap/wallet-ton": "^1.2.1",
|
|
46
|
-
"@layerswap/wallet-tron": "^1.2.1"
|
|
35
|
+
"@layerswap/wallet-fuel": "^1.3.0-next.0",
|
|
36
|
+
"@layerswap/wallet-paradex": "^1.3.0-next.0",
|
|
37
|
+
"@layerswap/wallet-bitcoin": "^1.3.0-next.0",
|
|
38
|
+
"@layerswap/wallet-evm": "^1.3.0-next.0",
|
|
39
|
+
"@layerswap/wallet-imtbl-passport": "^1.3.0-next.0",
|
|
40
|
+
"@layerswap/wallet-starknet": "^1.3.0-next.0",
|
|
41
|
+
"@layerswap/wallet-svm": "^1.3.0-next.0",
|
|
42
|
+
"@layerswap/wallet-ton": "^1.3.0-next.0",
|
|
43
|
+
"@layerswap/wallet-tron": "^1.3.0-next.0"
|
|
47
44
|
},
|
|
48
45
|
"peerDependencies": {
|
|
49
46
|
"@tanstack/react-query": "5.90.11",
|
|
@@ -51,7 +48,7 @@
|
|
|
51
48
|
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
|
|
52
49
|
"viem": "^2.21.16",
|
|
53
50
|
"wagmi": "2.14.11",
|
|
54
|
-
"@layerswap/widget": "^1.
|
|
51
|
+
"@layerswap/widget": "^1.3.0-next.0"
|
|
55
52
|
},
|
|
56
53
|
"engines": {
|
|
57
54
|
"node": ">=22"
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
"url": "https://github.com/layerswap/layerswapapp/issues"
|
|
61
58
|
},
|
|
62
59
|
"devDependencies": {
|
|
63
|
-
"@layerswap/widget": "^1.
|
|
60
|
+
"@layerswap/widget": "^1.3.0-next.0"
|
|
64
61
|
},
|
|
65
62
|
"scripts": {
|
|
66
63
|
"build": "pnpm run clean && pnpm run build:esm+types",
|