@orderly.network/ui-chain-selector 2.0.1-alpha.3 → 2.0.1-alpha.5
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/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -11,16 +11,16 @@ type ChainItem = {
|
|
|
11
11
|
declare const ChainTile: (props: {
|
|
12
12
|
selected: boolean;
|
|
13
13
|
item: ChainItem;
|
|
14
|
-
onClick?: (chain: ChainItem) => void;
|
|
14
|
+
onClick?: ((chain: ChainItem) => void) | undefined;
|
|
15
15
|
}) => react_jsx_runtime.JSX.Element;
|
|
16
16
|
|
|
17
17
|
declare const ChainSelectorWidget: (props: {
|
|
18
|
-
networkId?: NetworkId;
|
|
19
|
-
bridgeLessOnly?: boolean;
|
|
20
|
-
close?: () => void;
|
|
21
|
-
resolve?: (isSuccess: boolean) => void;
|
|
22
|
-
reject?: () => void;
|
|
23
|
-
isWrongNetwork?: boolean;
|
|
18
|
+
networkId?: NetworkId | undefined;
|
|
19
|
+
bridgeLessOnly?: boolean | undefined;
|
|
20
|
+
close?: (() => void) | undefined;
|
|
21
|
+
resolve?: ((isSuccess: boolean) => void) | undefined;
|
|
22
|
+
reject?: (() => void) | undefined;
|
|
23
|
+
isWrongNetwork?: boolean | undefined;
|
|
24
24
|
}) => react_jsx_runtime.JSX.Element;
|
|
25
25
|
declare const ChainSelectorId = "ChainSelector";
|
|
26
26
|
declare const ChainSelectorSheetId = "ChainSelectorSheetId";
|
package/dist/index.d.ts
CHANGED
|
@@ -11,16 +11,16 @@ type ChainItem = {
|
|
|
11
11
|
declare const ChainTile: (props: {
|
|
12
12
|
selected: boolean;
|
|
13
13
|
item: ChainItem;
|
|
14
|
-
onClick?: (chain: ChainItem) => void;
|
|
14
|
+
onClick?: ((chain: ChainItem) => void) | undefined;
|
|
15
15
|
}) => react_jsx_runtime.JSX.Element;
|
|
16
16
|
|
|
17
17
|
declare const ChainSelectorWidget: (props: {
|
|
18
|
-
networkId?: NetworkId;
|
|
19
|
-
bridgeLessOnly?: boolean;
|
|
20
|
-
close?: () => void;
|
|
21
|
-
resolve?: (isSuccess: boolean) => void;
|
|
22
|
-
reject?: () => void;
|
|
23
|
-
isWrongNetwork?: boolean;
|
|
18
|
+
networkId?: NetworkId | undefined;
|
|
19
|
+
bridgeLessOnly?: boolean | undefined;
|
|
20
|
+
close?: (() => void) | undefined;
|
|
21
|
+
resolve?: ((isSuccess: boolean) => void) | undefined;
|
|
22
|
+
reject?: (() => void) | undefined;
|
|
23
|
+
isWrongNetwork?: boolean | undefined;
|
|
24
24
|
}) => react_jsx_runtime.JSX.Element;
|
|
25
25
|
declare const ChainSelectorId = "ChainSelector";
|
|
26
26
|
declare const ChainSelectorSheetId = "ChainSelectorSheetId";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/ui-chain-selector",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@orderly.network/
|
|
18
|
-
"@orderly.network/
|
|
19
|
-
"@orderly.network/
|
|
20
|
-
"@orderly.network/
|
|
17
|
+
"@orderly.network/react-app": "2.0.1-alpha.5",
|
|
18
|
+
"@orderly.network/ui": "2.0.1-alpha.5",
|
|
19
|
+
"@orderly.network/types": "2.0.1-alpha.5",
|
|
20
|
+
"@orderly.network/hooks": "2.0.1-alpha.5"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "^18.3.2",
|