@rango-dev/ui 0.65.1-next.5 → 0.65.1-next.6
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.js.map +2 -2
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +4 -4
- package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts +1 -1
- package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map +1 -1
- package/dist/widget/ui/src/types/index.d.ts +1 -1
- package/dist/widget/ui/src/types/index.d.ts.map +1 -1
- package/dist/widget/ui/src/types/wallet.d.ts +1 -8
- package/dist/widget/ui/src/types/wallet.d.ts.map +1 -1
- package/dist/widget/ui/src/utils/wallet.d.ts +1 -1
- package/dist/widget/ui/src/utils/wallet.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/components/Wallet/Wallet.types.ts +7 -6
- package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +1 -1
- package/src/types/index.ts +1 -1
- package/src/types/wallet.ts +1 -9
- package/src/utils/wallet.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { WalletType } from '@hub3js/core';
|
|
2
|
+
import type { InstallObjects, NeedsDerivationPath, NeedsNamespace } from '@rango-dev/wallets-react';
|
|
3
3
|
import type { TransactionType } from 'rango-types';
|
|
4
4
|
export declare enum WalletState {
|
|
5
5
|
NOT_INSTALLED = "not_installed",
|
|
@@ -16,8 +16,8 @@ export type WalletInfo = {
|
|
|
16
16
|
type: string;
|
|
17
17
|
showOnMobile?: boolean;
|
|
18
18
|
blockchainTypes: TransactionType[];
|
|
19
|
-
needsNamespace?:
|
|
20
|
-
needsDerivationPath?:
|
|
19
|
+
needsNamespace?: NeedsNamespace;
|
|
20
|
+
needsDerivationPath?: NeedsDerivationPath;
|
|
21
21
|
};
|
|
22
22
|
export interface Info {
|
|
23
23
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Wallet.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Wallet/Wallet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,mBAAmB,wBAAwB;CAC5C;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC;AAEF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WalletInfo } from '../../components/index.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { WalletType } from '@hub3js/core';
|
|
3
3
|
export interface ConnectWalletsModalPropTypes {
|
|
4
4
|
open: boolean;
|
|
5
5
|
list: WalletInfo[];
|
package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectWalletsModal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ConnectWalletsModal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EACV,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,YAAY,CAAC"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type InstallObjects = {
|
|
3
|
-
CHROME?: string;
|
|
4
|
-
FIREFOX?: string;
|
|
5
|
-
EDGE?: string;
|
|
6
|
-
BRAVE?: string;
|
|
7
|
-
DEFAULT: string;
|
|
8
|
-
};
|
|
1
|
+
import type { WalletType } from '@hub3js/core';
|
|
9
2
|
interface Wallet {
|
|
10
3
|
chain: string;
|
|
11
4
|
address: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/utils/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/utils/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAiB/D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,MAAM,CAe1E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/ui",
|
|
3
|
-
"version": "0.65.1-next.
|
|
3
|
+
"version": "0.65.1-next.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"react-is": "^18.2.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
+
"@hub3js/core": "^0.62.0",
|
|
49
50
|
"@radix-ui/react-checkbox": "^1.0.1",
|
|
50
51
|
"@radix-ui/react-collapsible": "^1.0.3",
|
|
51
52
|
"@radix-ui/react-popover": "^1.0.6",
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
"@radix-ui/react-select": "^2.0.0",
|
|
54
55
|
"@radix-ui/react-switch": "^1.0.1",
|
|
55
56
|
"@radix-ui/react-tooltip": "^1.0.2",
|
|
56
|
-
"@rango-dev/wallets-
|
|
57
|
+
"@rango-dev/wallets-react": "^0.48.1-next.6",
|
|
57
58
|
"@stitches/react": "^1.2.8",
|
|
58
59
|
"copy-to-clipboard": "^3.3.3",
|
|
59
60
|
"rango-types": "^0.5.0",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WalletType } from '@hub3js/core';
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
InstallObjects,
|
|
4
|
+
NeedsDerivationPath,
|
|
5
|
+
NeedsNamespace,
|
|
6
|
+
} from '@rango-dev/wallets-react';
|
|
6
7
|
import type { TransactionType } from 'rango-types';
|
|
7
8
|
|
|
8
9
|
export enum WalletState {
|
|
@@ -21,8 +22,8 @@ export type WalletInfo = {
|
|
|
21
22
|
type: string;
|
|
22
23
|
showOnMobile?: boolean;
|
|
23
24
|
blockchainTypes: TransactionType[];
|
|
24
|
-
needsNamespace?:
|
|
25
|
-
needsDerivationPath?:
|
|
25
|
+
needsNamespace?: NeedsNamespace;
|
|
26
|
+
needsDerivationPath?: NeedsDerivationPath;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
export interface Info {
|
package/src/types/index.ts
CHANGED
package/src/types/wallet.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export type InstallObjects = {
|
|
4
|
-
CHROME?: string;
|
|
5
|
-
FIREFOX?: string;
|
|
6
|
-
EDGE?: string;
|
|
7
|
-
BRAVE?: string;
|
|
8
|
-
DEFAULT: string;
|
|
9
|
-
};
|
|
1
|
+
import type { WalletType } from '@hub3js/core';
|
|
10
2
|
|
|
11
3
|
interface Wallet {
|
|
12
4
|
chain: string;
|
package/src/utils/wallet.ts
CHANGED