feat: add subscribe

This commit is contained in:
2024-09-23 20:51:40 +08:00
parent e828a4c084
commit 9a378275e1
4 changed files with 83 additions and 18 deletions

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@abearxiong/router':
specifier: 0.0.1-alpha.32
version: 0.0.1-alpha.32
specifier: 0.0.1-alpha.33
version: 0.0.1-alpha.33
'@abearxiong/use-config':
specifier: ^0.0.2
version: 0.0.2
@@ -147,8 +147,8 @@ importers:
packages:
'@abearxiong/router@0.0.1-alpha.32':
resolution: {integrity: sha512-ZbGSV7RjKQGQ650Oe6HJBT12SmY7UjaWgSwRVxCF0GdQXxeAlVm0w95tupZvvUXU6+wunozB/IH+YdYqK+64jQ==, tarball: https://npm.pkg.github.com/download/@abearxiong/router/0.0.1-alpha.32/bb54dcffda24b6c7af8caf6016c61391c2aaff1b}
'@abearxiong/router@0.0.1-alpha.33':
resolution: {integrity: sha512-e2ownDhKsRfyjeuxtuThkRWys7cMLN3aLNdMOZKY3XVy2CYy1dZNzI1Mg3z2OY/hdmBtwovASUwJd1peRDPiiQ==, tarball: https://npm.pkg.github.com/download/@abearxiong/router/0.0.1-alpha.33/a36a6d5b5a4d0b28094854a048c438f274a82e47}
'@abearxiong/use-config@0.0.2':
resolution: {integrity: sha512-IBOmeP46ykbDlkplFS65UsAHjyPDKnvS2oqbkpLWhbSwDbF5zhBnD4ibsFZKPCyc3lMlPeRqYva4x6puX3E/qQ==, tarball: https://npm.pkg.github.com/download/@abearxiong/use-config/0.0.2/59fbeec8c8e086ec48e55024fe39020b079e6fa5}
@@ -3095,7 +3095,7 @@ packages:
snapshots:
'@abearxiong/router@0.0.1-alpha.32':
'@abearxiong/router@0.0.1-alpha.33':
dependencies:
ws: 8.18.0
transitivePeerDependencies: