polkahub 0.3.1 → 0.5.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.
@@ -1,7 +1,7 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { usePlugin, ModalContext } from '@polkahub/context';
3
3
  import { addrEq } from '@polkahub/plugin';
4
- import { SelectedAccountButton, selectedAccountPluginId } from '@polkahub/select-account';
4
+ import { selectedAccountPluginId, SelectedAccountButton } from '@polkahub/select-account';
5
5
  import { Dialog, DialogTrigger, DialogContent, DialogHeader, Button, DialogTitle, DialogBody } from '@polkahub/ui-components';
6
6
  import { state, useStateObservable } from '@react-rxjs/core';
7
7
  import { createSignal } from '@react-rxjs/utils';
package/dist/index.js CHANGED
@@ -8,8 +8,8 @@ export * from '@polkahub/proxy';
8
8
  export * from '@polkahub/read-only';
9
9
  export { SelectAccount, SelectAccountField, createSelectedAccountPlugin, selectedAccountPluginId, useSelectedAccount } from '@polkahub/select-account';
10
10
  export * from '@polkahub/state';
11
- export * from '@polkahub/vault';
11
+ export { ManageVault, VaultTxModal, createPolkadotVaultProvider, polkadotVaultProviderId } from '@polkahub/vault';
12
12
  export * from '@polkahub/wallet-connect';
13
- export { PolkaHubModal, PolkaHubModalTrigger, openSelectAccount, usePolkaHubModalState } from './PolkaHubModal.js';
14
13
  export { AddressInput } from './AddressInput.js';
14
+ export { PolkaHubModal, PolkaHubModalTrigger, openSelectAccount, usePolkaHubModalState } from './PolkaHubModal.js';
15
15
  //# sourceMappingURL=index.js.map
@@ -11,11 +11,19 @@ export * from '@polkahub/read-only';
11
11
  import { SelectedAccountButton } from '@polkahub/select-account';
12
12
  export { SelectAccount, SelectAccountField, SelectedAccountPlugin, createSelectedAccountPlugin, selectedAccountPluginId, useSelectedAccount } from '@polkahub/select-account';
13
13
  export * from '@polkahub/state';
14
- export * from '@polkahub/vault';
14
+ export { ManageVault, PolkadotVaultAccount, PolkadotVaultProvider, VaultAccountInfo, VaultTxModal, createPolkadotVaultProvider, polkadotVaultProviderId } from '@polkahub/vault';
15
15
  export * from '@polkahub/wallet-connect';
16
16
  import * as react from 'react';
17
17
  import { FC, PropsWithChildren, ComponentProps, ReactNode } from 'react';
18
18
 
19
+ declare const AddressInput: FC<{
20
+ value?: AccountAddress | null;
21
+ onChange?: (value: AccountAddress | null) => void;
22
+ disableClear?: boolean;
23
+ className?: string;
24
+ triggerClassName?: string;
25
+ }>;
26
+
19
27
  declare const PolkaHubModalTrigger: FC;
20
28
  declare const openSelectAccount: () => void;
21
29
  declare const PolkaHubModal: FC<PropsWithChildren<{
@@ -35,12 +43,4 @@ declare const usePolkaHubModalState: (onClose?: () => void) => {
35
43
  }[]>>;
36
44
  };
37
45
 
38
- declare const AddressInput: FC<{
39
- value?: AccountAddress | null;
40
- onChange?: (value: AccountAddress | null) => void;
41
- disableClear?: boolean;
42
- className?: string;
43
- triggerClassName?: string;
44
- }>;
45
-
46
46
  export { AddressInput, PolkaHubModal, PolkaHubModalTrigger, openSelectAccount, usePolkaHubModalState };
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "polkahub",
3
- "version": "0.3.1",
3
+ "version": "0.5.0",
4
+ "author": "Victor Oliva (https://github.com/voliva)",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/polkadot-api/polkahub.git"
8
+ },
4
9
  "license": "MIT",
5
10
  "sideEffects": false,
6
11
  "type": "module",
@@ -25,31 +30,30 @@
25
30
  "dependencies": {
26
31
  "@react-rxjs/core": "^0.10.8",
27
32
  "@react-rxjs/utils": "^0.9.7",
28
- "lucide-react": "^0.553.0",
29
- "@polkahub/context": "0.3.1",
30
- "@polkahub/ledger": "0.3.1",
31
- "@polkahub/mimir": "0.3.1",
32
- "@polkahub/multisig": "0.3.1",
33
- "@polkahub/plugin": "0.3.1",
34
- "@polkahub/proxy": "0.3.1",
35
- "@polkahub/read-only": "0.3.1",
36
- "@polkahub/pjs-wallet": "0.3.1",
37
- "@polkahub/select-account": "0.3.1",
38
- "@polkahub/state": "0.3.1",
39
- "@polkahub/vault": "0.3.1",
40
- "@polkahub/ui-components": "0.3.1",
41
- "@polkahub/wallet-connect": "0.3.1"
33
+ "lucide-react": "^0.575.0",
34
+ "@polkahub/context": "0.5.0",
35
+ "@polkahub/ledger": "0.5.0",
36
+ "@polkahub/multisig": "0.5.0",
37
+ "@polkahub/mimir": "0.5.0",
38
+ "@polkahub/pjs-wallet": "0.5.0",
39
+ "@polkahub/plugin": "0.5.0",
40
+ "@polkahub/proxy": "0.5.0",
41
+ "@polkahub/read-only": "0.5.0",
42
+ "@polkahub/select-account": "0.5.0",
43
+ "@polkahub/ui-components": "0.5.0",
44
+ "@polkahub/vault": "0.5.0",
45
+ "@polkahub/wallet-connect": "0.5.0",
46
+ "@polkahub/state": "0.5.0"
42
47
  },
43
48
  "peerDependencies": {
44
49
  "@types/react": "^19.2.2",
45
50
  "react": "^19.2.0"
46
51
  },
47
52
  "devDependencies": {
48
- "@types/react": "^19.2.2",
49
- "react": "^19.2.0"
53
+ "@types/react": "^19.2.14",
54
+ "react": "^19.2.4"
50
55
  },
51
56
  "scripts": {
52
- "build": "tsc -b && rollup -c ../../rollup.config.js",
53
- "lint": "eslint ."
57
+ "build": "tsc -b && rollup -c ../../rollup.config.js"
54
58
  }
55
59
  }