Skip to content

Commit baee08e

Browse files
committed
update vue-web3-provider according to new w3p
1 parent 4c18c17 commit baee08e

13 files changed

Lines changed: 454 additions & 444 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,77 +4,82 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.0.0-rc.8] - 2023-05-17
8+
### Changed
9+
- `@tokene/vue-web3-provider` - `useProvider` composable according to `@distributedlab/w3p` - `0.2.0-rc.11` version
10+
711
## [0.0.0-rc.7] - 2023-05-12
812
### Fixed
9-
- `toolkit` - config assigning
13+
- `@tokene/toolkit` - config assigning
1014

1115
## [0.0.0-rc.6] - 2023-05-11
1216
### Fixed
13-
- `ui-kit` - accessing to icons in src
17+
- `@tokene/ui-kit` - accessing to icons in src
1418

1519
## [0.0.0-rc.5] - 2023-05-11
1620
### Added
17-
- `vue-web3-provider` - `TokenE' Provider proxy constructor
21+
- `@tokene/vue-web3-provider` - `TokenE' Provider proxy constructor
1822

1923
### Changed
20-
- `ui-kit` - app button and fields design, icons
21-
- `toolkit` - universal storage composable, utils opts
22-
- `styles` - color variables
23-
- `toasts` - design
24+
- `@tokene/ui-kit` - app button and fields design, icons
25+
- `@tokene/toolkit` - universal storage composable, utils opts
26+
- `@tokene/styles` - color variables
27+
- `@tokene/toasts` - design
2428
- `root` - distributed-lab packages versions
2529

2630
### Fixed
27-
- `ui-kit` - ErrorMessage and NoDataMessage components images loading
31+
- `@tokene/ui-kit` - ErrorMessage and NoDataMessage components images loading
2832

2933
### Removed
30-
- `styles` - unnecessary mixins and global styles
34+
- `@tokene/styles` - unnecessary mixins and global styles
3135

3236
## [0.0.0-rc.4] - 2023-05-07
3337
### Added
34-
- `toolkit` - increase gas estimates
38+
- `@tokene/toolkit` - increase gas estimates
3539
- `root` - `toasts` package
3640

3741
### Changed
38-
- `toolkit` - build options
39-
- `ui-kit` - build options
42+
- `@tokene/toolkit` - build options
43+
- `@tokene/ui-kit` - build options
4044

4145
### Fixed
42-
- `ui-kit` - components depended on vue-router
46+
- `@tokene/ui-kit` - components depended on vue-router
4347

4448
### Removed
45-
- `ui-kit` - toasts components
46-
- `toolkit` - notification types
49+
- `@tokene/ui-kit` - toasts components
50+
- `@tokene/toolkit` - notification types
4751

4852
## [0.0.0-rc.3] - 2023-05-04
4953
### Added
5054
- `root` - `styles` package
51-
- `root` - `ui-kit` package
55+
- `root` - `@tokene/ui-kit` package
5256

5357
### Changed
54-
- `vue-web3-provider` - README and package description, imports
55-
- `toolkit` - imports
58+
- `@tokene/vue-web3-provider` - README and package description, imports
59+
- `@tokene/toolkit` - imports
5660
- `root` - typescript version
5761

5862
## [0.0.0-rc.2] - 2023-04-27
5963
### Added
60-
- `toolkit` - parsing config helpers, composables, eth helpers, localization for validators
64+
- `@tokene/toolkit` - parsing config helpers, composables, eth helpers, localization for validators
6165

6266
### Changed
63-
- `toolkit` - README, api and config initialization, enums
67+
- `@tokene/toolkit` - README, api and config initialization, enums
6468

6569
## [0.0.0-rc.1] - 2023-04-26
6670
### Added
6771
- `root` - `vue-web3-provider` package
6872

6973
### Changed
70-
- `toolkit` - localization
74+
- `@tokene/toolkit` - localization
7175

7276
## [0.0.0-rc.0] - 2023-04-26
7377
### Added
7478
- Initial release
75-
- `root` - `toolkit` package
79+
- `root` - `@tokene/toolkit` package
7680

77-
[Unreleased]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.7...HEAD
81+
[Unreleased]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.8...HEAD
82+
[0.0.0-rc.8]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.7...0.0.0-rc.8
7883
[0.0.0-rc.7]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.6...0.0.0-rc.7
7984
[0.0.0-rc.6]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.5...0.0.0-rc.6
8085
[0.0.0-rc.5]: https://github.com/dl-tokene/webkit/compare/0.0.0-rc.4...0.0.0-rc.5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ To test the packages, you need:
178178
```json
179179
{
180180
"dependencies": {
181-
"@tokene/jac": "toolkit"
181+
"@tokene/toolkit": "*"
182182
}
183183
}
184184
```

packages/styles/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Default styles for every single TokenE frontend project with common utility as like as toRem, ...etc, mixins and variables
33

44
![version (scoped package)](https://badgen.net/npm/v/@tokene/styles)
5-
![types](https://badgen.net/npm/types/@tokene/styles)
6-
![tree-shaking](https://badgen.net/bundlephobia/tree-shaking/@tokene/styles)
75
![checks](https://badgen.net/github/checks/dl-tokene/webkit/main)
86

97
## Getting Started

packages/styles/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tokene/styles",
3-
"version": "0.0.0-rc.7",
3+
"version": "0.0.0-rc.8",
44
"description": "Default styles for every single frontend module of TokenE",
55
"repository": {
66
"type": "git",

packages/toasts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tokene/toasts",
3-
"version": "0.0.0-rc.7",
3+
"version": "0.0.0-rc.8",
44
"description": "Vue based toasts",
55
"repository": {
66
"type": "git",
@@ -53,7 +53,7 @@
5353
"access": "public"
5454
},
5555
"dependencies": {
56-
"@distributedlab/w3p": "0.2.0-rc.10",
56+
"@distributedlab/w3p": "0.2.0-rc.11",
5757
"@tokene/styles": "workspace:^",
5858
"@tokene/toolkit": "workspace:^",
5959
"@tokene/ui-kit": "workspace:^",

packages/toasts/web-types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"framework": "vue",
33
"name": "@tokene/toasts",
4-
"version": "0.0.0-rc.6",
4+
"version": "0.0.0-rc.7",
55
"contributions": {
66
"html": {
77
"description-markup": "markdown",

packages/toolkit/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tokene/toolkit",
3-
"version": "0.0.0-rc.7",
3+
"version": "0.0.0-rc.8",
44
"description": "Collection of common utility functions and classes in tokenE frontend modules",
55
"repository": {
66
"type": "git",
@@ -43,10 +43,10 @@
4343
"access": "public"
4444
},
4545
"dependencies": {
46-
"@distributedlab/fetcher": "0.2.0-rc.10",
47-
"@distributedlab/jac": "0.2.0-rc.10",
48-
"@distributedlab/tools": "0.2.0-rc.10",
49-
"@distributedlab/w3p": "0.2.0-rc.10",
46+
"@distributedlab/fetcher": "0.2.0-rc.11",
47+
"@distributedlab/jac": "0.2.0-rc.11",
48+
"@distributedlab/tools": "0.2.0-rc.11",
49+
"@distributedlab/w3p": "0.2.0-rc.11",
5050
"@vuelidate/core": "^2.0.2",
5151
"@vuelidate/validators": "^2.0.2",
5252
"@vueuse/core": "^10.1.0",

packages/toolkit/src/composables/use-form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function useForm() {
2323
isConfirmationShown.value = false
2424
}
2525

26-
const hideConfirmationAfterSubmit = async (submitFn: () => void) => {
26+
const hideConfirmationAfterSubmit = async (submitFn: () => Promise<void>) => {
2727
isFormPending.value = true
2828
await submitFn()
2929
hideConfirmation()

packages/ui-kit/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tokene/ui-kit",
3-
"version": "0.0.0-rc.7",
3+
"version": "0.0.0-rc.8",
44
"description": "Collection of common TokenE vue components",
55
"repository": {
66
"type": "git",
@@ -58,10 +58,10 @@
5858
"dependencies": {
5959
"@dicebear/collection": "^6.0.3",
6060
"@dicebear/core": "^6.0.3",
61-
"@distributedlab/fetcher": "0.2.0-rc.10",
62-
"@distributedlab/jac": "0.2.0-rc.10",
63-
"@distributedlab/tools": "0.2.0-rc.10",
64-
"@distributedlab/w3p": "0.2.0-rc.10",
61+
"@distributedlab/fetcher": "0.2.0-rc.11",
62+
"@distributedlab/jac": "0.2.0-rc.11",
63+
"@distributedlab/tools": "0.2.0-rc.11",
64+
"@distributedlab/w3p": "0.2.0-rc.11",
6565
"@tokene/styles": "workspace:^",
6666
"@tokene/toolkit": "workspace:^",
6767
"@tokene/vue-web3-provider": "workspace:^",

packages/ui-kit/web-types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"framework": "vue",
33
"name": "@tokene/ui-kit",
4-
"version": "0.0.0-rc.6",
4+
"version": "0.0.0-rc.7",
55
"contributions": {
66
"html": {
77
"description-markup": "markdown",

0 commit comments

Comments
 (0)