@w3ux/react-connect-kit 3.4.8 → 3.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.
- package/{src/Extensions → Extensions}/index.js.map +1 -1
- package/README.md +63 -0
- package/package.json +21 -1
- /package/{src/Extensions → Extensions}/Accounts.d.ts +0 -0
- /package/{src/Extensions → Extensions}/Accounts.js +0 -0
- /package/{src/Extensions → Extensions}/Accounts.js.map +0 -0
- /package/{src/Extensions → Extensions}/Connect.d.ts +0 -0
- /package/{src/Extensions → Extensions}/Connect.js +0 -0
- /package/{src/Extensions → Extensions}/Connect.js.map +0 -0
- /package/{src/Extensions → Extensions}/Provider.d.ts +0 -0
- /package/{src/Extensions → Extensions}/Provider.js +0 -0
- /package/{src/Extensions → Extensions}/Provider.js.map +0 -0
- /package/{src/Extensions → Extensions}/index.d.ts +0 -0
- /package/{src/Extensions → Extensions}/index.js +0 -0
- /package/{src/Extensions → Extensions}/types.d.ts +0 -0
- /package/{src/Extensions → Extensions}/types.js +0 -0
- /package/{src/Extensions → Extensions}/types.js.map +0 -0
- /package/{src/Hardware → Hardware}/index.d.ts +0 -0
- /package/{src/Hardware → Hardware}/index.js +0 -0
- /package/{src/Hardware → Hardware}/index.js.map +0 -0
- /package/{src/Hardware → Hardware}/types.d.ts +0 -0
- /package/{src/Hardware → Hardware}/types.js +0 -0
- /package/{src/Hardware → Hardware}/types.js.map +0 -0
- /package/{src/index.d.ts → index.d.ts} +0 -0
- /package/{src/index.js → index.js} +0 -0
- /package/{src/index.js.map → index.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Extensions/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA","file":"index.js","sourcesContent":["/* @license Copyright 2024 w3ux authors & contributors\nSPDX-License-Identifier: GPL-3.0-only */\n\nexport { ExtensionsProvider } from './Provider'\n\nexport { useExtensionAccounts } from './Accounts'\nexport { useExtensions } from './Connect'"]}
|
|
1
|
+
{"version":3,"sources":["../src/Extensions/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA","file":"index.js","sourcesContent":["/* @license Copyright 2024 w3ux authors & contributors\nSPDX-License-Identifier: GPL-3.0-only */\n\nexport { ExtensionsProvider } from './Provider'\n\nexport { useExtensionAccounts } from './Accounts'\nexport { useExtensions } from './Connect'\n"]}
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Connect Kit
|
|
2
|
+
|
|
3
|
+
Providers and hooks for connecting to web3 wallets and interacting with accounts
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @w3ux/react-connect-kit
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
or
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
yarn add @w3ux/react-connect-kit
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
or
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @w3ux/react-connect-kit
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { /* your imports */ } from '@w3ux/react-connect-kit'
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### React Usage
|
|
30
|
+
|
|
31
|
+
This package provides React hooks and components. Here's a basic example:
|
|
32
|
+
|
|
33
|
+
```tsx
|
|
34
|
+
import React from 'react'
|
|
35
|
+
import { /* specific hook or component */ } from '@w3ux/react-connect-kit'
|
|
36
|
+
|
|
37
|
+
function MyComponent() {
|
|
38
|
+
// Use the imported hooks or components here
|
|
39
|
+
return <div>Your component content</div>
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Documentation
|
|
44
|
+
|
|
45
|
+
For comprehensive documentation and examples, visit the [w3ux documentation](https://w3ux.org/library/react-connect-kit/overview).
|
|
46
|
+
|
|
47
|
+
## Keywords
|
|
48
|
+
|
|
49
|
+
`w3ux`, `polkadot`, `web3`, `react`, `hooks`, `wallet`, `connect`, `typescript`
|
|
50
|
+
|
|
51
|
+
## Repository
|
|
52
|
+
|
|
53
|
+
- **Source**: [GitHub](https://github.com/w3ux/w3ux-library)
|
|
54
|
+
- **Package**: [npm](https://www.npmjs.com/package/@w3ux/react-connect-kit)
|
|
55
|
+
- **Issues**: [GitHub Issues](https://github.com/w3ux/w3ux-library/issues)
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
This package is licensed under the GPL-3.0-only.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
Part of the [w3ux library](https://github.com/w3ux/w3ux-library) - A collection of packages for building Web3 applications.
|
package/package.json
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w3ux/react-connect-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"license": "GPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"description": "Providers and hooks for connecting to web3 wallets and interacting with accounts",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"w3ux",
|
|
9
|
+
"polkadot",
|
|
10
|
+
"web3",
|
|
11
|
+
"react",
|
|
12
|
+
"hooks",
|
|
13
|
+
"wallet",
|
|
14
|
+
"connect",
|
|
15
|
+
"typescript"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://w3ux.org/library/react-connect-kit/overview",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/w3ux/w3ux-library.git",
|
|
21
|
+
"directory": "library/react-connect-kit"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/w3ux/w3ux-library/issues"
|
|
25
|
+
},
|
|
6
26
|
"exports": {
|
|
7
27
|
".": "./index.js"
|
|
8
28
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|