Skip to content

Commit

Permalink
Merge branch 'main' into feat/plugin-system
Browse files Browse the repository at this point in the history
  • Loading branch information
javadkh2 committed Dec 10, 2024
2 parents 69c344e + fa2cd31 commit b234514
Show file tree
Hide file tree
Showing 310 changed files with 23,767 additions and 1,819 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-parents-sparkle.md

This file was deleted.

File renamed without changes.
5 changes: 0 additions & 5 deletions .changeset/four-jokes-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-trainers-film.md

This file was deleted.

File renamed without changes.
2 changes: 0 additions & 2 deletions .changeset/strange-steaks-begin.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/tame-horses-heal.md

This file was deleted.

6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,9 @@ e2e-proof-of-us:
'@kadena/snap':
- changed-files:
- any-glob-to-any-file: packages/libs/snap/*
'@kadena/wallet-sdk':
- changed-files:
- any-glob-to-any-file: packages/libs/wallet-sdk/*
wallet-sdk-example-app:
- changed-files:
- any-glob-to-any-file: packages/apps/wallet-sdk-example/*
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ Overview of the main packages maintained in this repository:
| [@kadena/pactjs-generator][56] | [![version][58]][57] |
| [@kadena/snap][59] | [![version][61]][60] |
| [@kadena/types][62] | [![version][64]][63] |
| [@kadena/wallet-sdk][65] | [![version][67]][66] |

<!--packageTable end -->

## Contributors

Special thanks to the wonderful people who have contributed to this project:

[![Contributors][66]][65]
[![Contributors][69]][68]

[1]: https://docs.kadena.io
[2]: https://discord.io/kadena
Expand Down Expand Up @@ -138,5 +139,9 @@ Special thanks to the wonderful people who have contributed to this project:
https://github.com/kadena-community/kadena.js/tree/main/packages/libs/types
[63]: packages/libs/types/CHANGELOG.md
[64]: https://img.shields.io/npm/v/@kadena/types.svg
[65]: https://github.com/kadena-community/kadena.js/graphs/contributors
[66]: https://contrib.rocks/image?repo=kadena-community/kadena.js
[65]:
https://github.com/kadena-community/kadena.js/tree/main/packages/libs/wallet-sdk
[66]: packages/libs/wallet-sdk/CHANGELOG.md
[67]: https://img.shields.io/npm/v/@kadena/wallet-sdk.svg
[68]: https://github.com/kadena-community/kadena.js/graphs/contributors
[69]: https://contrib.rocks/image?repo=kadena-community/kadena.js
50 changes: 31 additions & 19 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
{
"name": "@kadena/chainweb-node-client",
"version": "0.7.0",
"version": "0.8.0",
"private": false,
"path": "packages/libs/chainweb-node-client"
},
Expand All @@ -25,19 +25,19 @@
},
{
"name": "@kadena/client",
"version": "1.15.0",
"version": "1.16.0",
"private": false,
"path": "packages/libs/client"
},
{
"name": "@kadena/client-examples",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"path": "packages/libs/client-examples"
},
{
"name": "@kadena/client-utils",
"version": "0.11.0",
"version": "0.11.1",
"private": false,
"path": "packages/libs/client-utils"
},
Expand All @@ -55,19 +55,19 @@
},
{
"name": "@kadena/dev-wallet",
"version": "0.4.5",
"version": "0.4.6",
"private": true,
"path": "packages/apps/dev-wallet"
},
{
"name": "@kadena/dev-wallet-desktop",
"version": "0.0.27",
"version": "0.0.28",
"private": true,
"path": "packages/apps/dev-wallet-desktop"
},
{
"name": "@kadena/dev-wallet-example",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"path": "packages/apps/dev-wallet-example"
},
Expand All @@ -91,25 +91,25 @@
},
{
"name": "@kadena/explorer",
"version": "0.8.11",
"version": "0.8.12",
"private": true,
"path": "packages/apps/explorer"
},
{
"name": "@kadena/graph",
"version": "2.0.2",
"version": "2.0.3",
"private": false,
"path": "packages/apps/graph"
},
{
"name": "@kadena/graph-client",
"version": "0.4.9",
"version": "0.4.10",
"private": true,
"path": "packages/apps/graph-client"
},
{
"name": "@kadena/hd-wallet",
"version": "0.6.0",
"version": "0.6.1",
"private": false,
"path": "packages/libs/hd-wallet"
},
Expand All @@ -121,7 +121,7 @@
},
{
"name": "@kadena/kadena-cli",
"version": "1.3.7",
"version": "1.3.8",
"private": false,
"path": "packages/tools/kadena-cli"
},
Expand All @@ -133,13 +133,13 @@
},
{
"name": "@kadena/kode-ui",
"version": "0.19.0",
"version": "0.20.0",
"private": false,
"path": "packages/libs/kode-ui"
},
{
"name": "@kadena/marmalade-marketplace",
"version": "0.1.12",
"version": "0.1.13",
"private": true,
"path": "packages/apps/marmalade-marketplace"
},
Expand All @@ -151,25 +151,25 @@
},
{
"name": "@kadena/pactjs-cli",
"version": "1.15.0",
"version": "1.16.0",
"private": false,
"path": "packages/tools/pactjs-cli"
},
{
"name": "@kadena/pactjs-generator",
"version": "1.15.0",
"version": "1.16.0",
"private": false,
"path": "packages/libs/pactjs-generator"
},
{
"name": "@kadena/proof-of-us",
"version": "0.5.16",
"version": "0.5.17",
"private": true,
"path": "packages/apps/proof-of-us"
},
{
"name": "@kadena/rwa-demo",
"version": "0.1.3",
"version": "0.1.4",
"private": true,
"path": "packages/apps/rwa-demo"
},
Expand All @@ -181,7 +181,7 @@
},
{
"name": "@kadena/spirekey-example",
"version": "0.0.11",
"version": "0.0.12",
"private": true,
"path": "packages/apps/spirekey-example"
},
Expand All @@ -197,6 +197,12 @@
"private": false,
"path": "packages/libs/types"
},
{
"name": "@kadena/wallet-sdk",
"version": "0.1.0",
"private": false,
"path": "packages/libs/wallet-sdk"
},
{
"name": "@kadena-dev/e2e-base",
"version": "0.0.2",
Expand Down Expand Up @@ -262,5 +268,11 @@
"version": "0.0.2",
"private": true,
"path": "packages/e2e/e2e-tools"
},
{
"name": "wallet-sdk-example-app",
"version": "0.0.2",
"private": true,
"path": "packages/apps/wallet-sdk-example"
}
]
6 changes: 6 additions & 0 deletions packages/apps/dev-wallet-desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @kadena/dev-wallet-desktop

## 0.0.28

### Patch Changes

- @kadena/dev-wallet\@0.4.6

## 0.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/dev-wallet-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@kadena/dev-wallet-desktop",
"description": "Kadena developer wallet",
"private": true,
"version": "0.0.27",
"version": "0.0.28",
"type": "module",
"scripts": {
"dev": "tauri dev",
Expand Down
9 changes: 9 additions & 0 deletions packages/apps/dev-wallet-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @kadena/dev-wallet-example

## 0.2.1

### Patch Changes

- Updated dependencies \[5e9bfd0]
- Updated dependencies \[1f46bee]
- @kadena/client\@1.16.0
- @kadena/client-utils\@0.11.1

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/dev-wallet-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kadena/dev-wallet-example",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
18 changes: 18 additions & 0 deletions packages/apps/dev-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @kadena/dev-wallet

## 0.4.6

### Patch Changes

- Updated dependencies \[5c5c747]
- Updated dependencies \[f35e30c]
- Updated dependencies \[4c684a2]
- Updated dependencies \[5e9bfd0]
- Updated dependencies \[dbd9076]
- Updated dependencies \[8615d09]
- Updated dependencies \[1f46bee]
- @kadena/kode-ui\@0.20.0
- @kadena/chainweb-node-client\@0.8.0
- @kadena/client\@1.16.0
- @kadena/hd-wallet\@0.6.1
- @kadena/client-utils\@0.11.1
- @kadena/pactjs-generator\@1.16.0

## 0.4.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/apps/dev-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kadena/dev-wallet",
"version": "0.4.5",
"version": "0.4.6",
"private": true,
"description": "Kadena developer wallet",
"type": "module",
Expand Down Expand Up @@ -64,14 +64,14 @@
"@types/react-dom": "^18.2.25",
"@vanilla-extract/esbuild-plugin": "^2.3.11",
"@vanilla-extract/vite-plugin": "4.0.17",
"@vitejs/plugin-react-swc": "^3.3.2",
"@vitejs/plugin-react-swc": "^3.2.2",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "5.4.5",
"vite": "^5.2.11",
"vite": "^5.4.8",
"vite-plugin-static-copy": "^1.0.0",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^1.6.0"
Expand Down
6 changes: 1 addition & 5 deletions packages/apps/dev-wallet/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ export const config = {
colorList,
defaultAccentColor: colorList[0],
DB: {
DB_VERSION: 39,
DB_VERSION: 40,
DB_NAME: 'dev-wallet',
// This should be used carefully, as it will wipe the database on version change
// I have added this for development purposes, We should remove this and write
// a migration script
DB_WIPE_ON_VERSION_CHANGE: true,
},
ACCOUNTS: {
SYNC_INTERVAL: 5 * 60 * 1000, // 5 minutes
Expand Down
17 changes: 17 additions & 0 deletions packages/apps/dev-wallet/src/modules/db/db-channel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export type EventTypes =
| 'add'
| 'update'
| 'delete'
| 'import'
| 'migration-started'
| 'migration-finished';

export const dbChannel = new BroadcastChannel('db-channel');
export const broadcast = (
event: EventTypes,
storeName?: string,
data?: any[],
) => {
console.log('broadcast', event, storeName, data);
dbChannel.postMessage({ type: event, storeName, data });
};
Loading

0 comments on commit b234514

Please sign in to comment.