@skip-go/widget 1.1.1 → 1.1.2-alpha.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.
@@ -1,4 +1,4 @@
1
1
  import { AssetsRequest } from '@skip-go/core';
2
2
  export declare function useAssets(options?: AssetsRequest): import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
3
- [k: string]: import("@skip-go/core/dist/shared-Brd7sQzN").a[];
3
+ [k: string]: import("@skip-go/core/dist/shared-DFMkKtCw").a[];
4
4
  }, Error>;
@@ -0,0 +1 @@
1
+ export declare const useFixRadixUiWheelEvent: () => void;
@@ -0,0 +1 @@
1
+ export declare const useInjectFontsToDocumentHead: () => void;
@@ -16,5 +16,5 @@ interface UseRouteArgs extends RouteConfig {
16
16
  destinationAssetChainID?: string;
17
17
  enabled?: boolean;
18
18
  }
19
- export declare function useRoute({ direction, amount, sourceAsset, sourceAssetChainID, destinationAsset, destinationAssetChainID, enabled, swapVenues, bridges, experimentalFeatures, allowMultiTx, allowUnsafe, smartSwapOptions, }: UseRouteArgs): import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("@skip-go/core/dist/shared-Brd7sQzN").R | undefined, Error>;
19
+ export declare function useRoute({ direction, amount, sourceAsset, sourceAssetChainID, destinationAsset, destinationAssetChainID, enabled, swapVenues, bridges, experimentalFeatures, allowMultiTx, allowUnsafe, smartSwapOptions, }: UseRouteArgs): import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("@skip-go/core/dist/shared-DFMkKtCw").R | undefined, Error>;
20
20
  export {};
@@ -31,7 +31,7 @@ export declare function useSwapWidget(): {
31
31
  onSourceAssetChange: (asset: Asset) => void;
32
32
  onSourceChainChange: (chain: Chain, injectAsset?: Asset) => Promise<void>;
33
33
  priceImpactThresholdReached: boolean;
34
- route: import("@skip-go/core/dist/shared-Brd7sQzN").R | undefined;
34
+ route: import("@skip-go/core/dist/shared-DFMkKtCw").R | undefined;
35
35
  routeError: string;
36
36
  routeLoading: boolean;
37
37
  routeWarningMessage: string | undefined;
package/build/index.es.js CHANGED
@@ -4424,6 +4424,20 @@ const makeActions = ({ route }) => {
4424
4424
  });
4425
4425
  return;
4426
4426
  }
4427
+ if ('svmSwap' in operation) {
4428
+ _actions.push({
4429
+ type: 'SWAP',
4430
+ denomIn: operation.svmSwap.denomIn,
4431
+ denomOut: operation.svmSwap.denomOut,
4432
+ chainID: operation.svmSwap.fromChainID,
4433
+ id: `swap-${swapCount}-${transferCount}-${i}`,
4434
+ signRequired,
4435
+ amountIn: operation.amountIn,
4436
+ amountOut: operation.amountOut,
4437
+ txIndex: operation.txIndex,
4438
+ });
4439
+ return;
4440
+ }
4427
4441
  if ('axelarTransfer' in operation) {
4428
4442
  _actions.push({
4429
4443
  type: 'TRANSFER',
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export declare const fonts: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/widget",
3
3
  "description": "Swap widget",
4
- "version": "1.1.1",
4
+ "version": "1.1.2-alpha.1",
5
5
  "repository": "https://github.com/skip-mev/widget",
6
6
  "type": "module",
7
7
  "exports": {
@@ -22,10 +22,31 @@
22
22
  "build",
23
23
  "README.md"
24
24
  ],
25
+ "scripts": {
26
+ "start": "rollup --config rollup.config.js -w",
27
+ "dev": "rollup --config rollup.config.js -w",
28
+ "build": "rollup --config rollup.config.js",
29
+ "lint": "eslint src --ext .ts"
30
+ },
25
31
  "peerDependencies": {
26
32
  "react": "17.x || 18.x",
27
33
  "react-dom": "17.x || 18.x"
28
34
  },
35
+ "devDependencies": {
36
+ "@types/node": "18.7.18",
37
+ "@types/qrcode": "^1.4.2",
38
+ "@types/react": "^18.0.6",
39
+ "@types/react-dom": "^18.0.2",
40
+ "@types/styled-components": "^5.1.25",
41
+ "autoprefixer": "^10.4.19",
42
+ "postcss": "^8.4.38",
43
+ "postcss-prefixwrap": "^1.49.0",
44
+ "rollup-plugin-copy": "^3.5.0",
45
+ "tailwindcss": "^3.4.3",
46
+ "tailwindcss-animate": "^1.0.7",
47
+ "typed-query-selector": "^2.11.2",
48
+ "typescript": "5.2.x"
49
+ },
29
50
  "resolutions": {
30
51
  "@cosmos-kit/cosmostation-extension": "^2.7.10",
31
52
  "@cosmos-kit/keplr-extension": "^2.7.9",
@@ -61,7 +82,7 @@
61
82
  "@radix-ui/react-scroll-area": "^1.0.5",
62
83
  "@radix-ui/react-switch": "^1.0.3",
63
84
  "@radix-ui/react-tooltip": "^1.0.7",
64
- "@skip-go/core": "0.3.1",
85
+ "@skip-go/core": "0.3.2-alpha.1",
65
86
  "@solana/spl-token": "^0.4.6",
66
87
  "@solana/wallet-adapter-react": "^0.15.35",
67
88
  "@solana/wallet-adapter-wallets": "^0.19.32",
@@ -80,4 +101,4 @@
80
101
  "publishConfig": {
81
102
  "access": "public"
82
103
  }
83
- }
104
+ }