@xswap-link/sdk 0.3.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 2cf5a96: export styles and turn showQrModal off in wagmiConfig
8
+
9
+ ## 0.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 41c1148: add exports to package.json so it's possible to integrate within both, CJS and ESM projects.
14
+
3
15
  ## 0.3.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -59,7 +59,7 @@ var xswap_config_default = {
59
59
  };
60
60
 
61
61
  // package.json
62
- var version = "0.3.0";
62
+ var version = "0.3.2";
63
63
 
64
64
  // src/components/WaitingForInit/index.tsx
65
65
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -813,7 +813,10 @@ var getWagmiConfig = (supportedChains) => {
813
813
  (0, import_connectors.injected)(),
814
814
  (0, import_connectors.metaMask)(),
815
815
  (0, import_connectors.safe)(),
816
- (0, import_connectors.walletConnect)({ projectId: "c392898b45ac587a280b5eb33e92aeb0" })
816
+ (0, import_connectors.walletConnect)({
817
+ projectId: "c392898b45ac587a280b5eb33e92aeb0",
818
+ showQrModal: false
819
+ })
817
820
  ]
818
821
  });
819
822
  };
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ var xswap_config_default = {
23
23
  };
24
24
 
25
25
  // package.json
26
- var version = "0.3.0";
26
+ var version = "0.3.2";
27
27
 
28
28
  // src/components/WaitingForInit/index.tsx
29
29
  import { jsx } from "react/jsx-runtime";
@@ -777,7 +777,10 @@ var getWagmiConfig = (supportedChains) => {
777
777
  injected(),
778
778
  metaMask(),
779
779
  safe(),
780
- walletConnect({ projectId: "c392898b45ac587a280b5eb33e92aeb0" })
780
+ walletConnect({
781
+ projectId: "c392898b45ac587a280b5eb33e92aeb0",
782
+ showQrModal: false
783
+ })
781
784
  ]
782
785
  });
783
786
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xswap-link/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "JavaScript SDK for XSwap platform",
5
5
  "homepage": "https://github.com/xswap-link/xswap-sdk",
6
6
  "repository": {
@@ -18,6 +18,14 @@
18
18
  "main": "dist/index.js",
19
19
  "module": "dist/index.mjs",
20
20
  "types": "dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "import": "./dist/index.mjs",
24
+ "require": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ },
27
+ "./styles": "./dist/index.css"
28
+ },
21
29
  "dependencies": {
22
30
  "@ethersproject/providers": "^5.7.2",
23
31
  "@tanstack/react-query": "^5.35.5",
@@ -15,7 +15,10 @@ export const getWagmiConfig = (supportedChains: Chain[]): Config => {
15
15
  injected(),
16
16
  metaMask(),
17
17
  safe(),
18
- walletConnect({ projectId: "c392898b45ac587a280b5eb33e92aeb0" }),
18
+ walletConnect({
19
+ projectId: "c392898b45ac587a280b5eb33e92aeb0",
20
+ showQrModal: false,
21
+ }),
19
22
  ],
20
23
  });
21
24
  };