Derrick Hammer
99f1c7c799
dep: update presetter-kernel-module-preset
2023-07-11 07:14:06 -04:00
Derrick Hammer
27e3452074
Merge remote-tracking branch 'origin/develop' into develop
...
# Conflicts:
# package.json
2023-07-08 07:32:42 -04:00
Derrick Hammer
928cff2a08
fix: pin buffer version
2023-07-08 07:32:30 -04:00
semantic-release-bot
b7f7235fe0
chore(release): 0.0.2-develop.6 [skip ci]
...
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.5...v0.0.2-develop.6 ) (2023-07-08)
### Bug Fixes
* need to patch our own sdk for bundling so we don't need to put the hack in directly ([10170bd
](10170bd673
))
2023-07-08 08:05:58 +00:00
Derrick Hammer
8008bfe98d
Merge remote-tracking branch 'origin/develop' into develop
2023-07-08 04:04:02 -04:00
Derrick Hammer
10170bd673
fix: need to patch our own sdk for bundling so we don't need to put the hack in directly
2023-07-08 04:03:54 -04:00
Derrick Hammer
cb3421b662
refactor: move to vite bundler
2023-07-08 04:03:18 -04:00
semantic-release-bot
18cf0fd19c
chore(release): 0.0.2-develop.5 [skip ci]
...
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.4...v0.0.2-develop.5 ) (2023-07-05)
### Bug Fixes
* need to loop over all protomux message args and await any promises ([3a4cfd4
](3a4cfd45a6
))
2023-07-05 03:05:21 +00:00
Derrick Hammer
af224e742a
Merge remote-tracking branch 'origin/develop' into develop
2023-07-04 23:04:01 -04:00
Derrick Hammer
3a4cfd45a6
fix: need to loop over all protomux message args and await any promises
2023-07-04 23:03:49 -04:00
semantic-release-bot
09438cf112
chore(release): 0.0.2-develop.4 [skip ci]
...
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.3...v0.0.2-develop.4 ) (2023-07-05)
### Bug Fixes
* add patch-package to postinstall ([5816ab3
](5816ab308a
))
* keypair needs to be a private extended key ([57496da
](57496da5cc
))
* need to add browser flag to .presetterrc.json ([2f92782
](2f92782995
))
* we need to use the wasm libsodium @screamingvoid/sodium-universal ([411d351
](411d35154f
))
2023-07-05 01:01:17 +00:00
Derrick Hammer
411d35154f
fix: we need to use the wasm libsodium @screamingvoid/sodium-universal
2023-07-04 20:59:51 -04:00
Derrick Hammer
57496da5cc
fix: keypair needs to be a private extended key
2023-07-04 20:59:01 -04:00
Derrick Hammer
9b2387b517
Merge remote-tracking branch 'origin/develop' into develop
...
# Conflicts:
# npm-shrinkwrap.json
2023-07-04 01:04:25 -04:00
Derrick Hammer
bf32cebe93
ci: use custom build process
2023-07-04 01:04:09 -04:00
Derrick Hammer
9958b7cfc2
dep: update deps
2023-07-04 01:02:52 -04:00
Derrick Hammer
1b9e656e86
refactor: load logErr direct from libkernel/module
2023-07-04 00:59:01 -04:00
Derrick Hammer
3b2cf557dc
dep: update @lumeweb/hyperswarm-web
2023-07-02 17:46:23 -04:00
Derrick Hammer
5816ab308a
fix: add patch-package to postinstall
2023-07-02 17:40:48 -04:00
Derrick Hammer
2f92782995
fix: need to add browser flag to .presetterrc.json
2023-07-02 17:30:28 -04:00
Derrick Hammer
2e86ce5ffa
dep: update @lumeweb/presetter-kernel-module-preset
2023-07-02 17:30:04 -04:00
Derrick Hammer
a0ba6dd6c7
dep: update @lumeweb/presetter-kernel-module-preset
2023-07-02 17:13:17 -04:00
Derrick Hammer
1a9f593a7c
dep: update deps
2023-07-02 17:04:35 -04:00
semantic-release-bot
66ab8412a2
chore(release): 0.0.2-develop.3 [skip ci]
...
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.2...v0.0.2-develop.3 ) (2023-07-01)
2023-07-01 20:35:56 +00:00
Derrick Hammer
3fe82e33a0
dep: update @lumeweb/hyperswarm-web
2023-07-01 16:34:52 -04:00
semantic-release-bot
da0616ac45
chore(release): 0.0.2-develop.2 [skip ci]
...
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.1...v0.0.2-develop.2 ) (2023-07-01)
### Bug Fixes
* rename var nextId ([99b355f
](99b355f7a1
))
2023-07-01 09:22:41 +00:00
Derrick Hammer
99b355f7a1
fix: rename var nextId
2023-07-01 05:21:30 -04:00
semantic-release-bot
0379757dcd
chore(release): 0.0.2-develop.1 [skip ci]
...
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.1...v0.0.2-develop.1 ) (2023-07-01)
2023-07-01 08:38:58 +00:00
Derrick Hammer
8a80ba9ac5
dep: update @lumeweb/hyperswarm-web
2023-07-01 04:35:27 -04:00
Derrick Hammer
cc929a903a
refactor: update to new sdks and portal
2023-07-01 04:21:09 -04:00
Derrick Hammer
87c7d1e02d
*update deps
2023-04-16 22:43:17 -04:00
Derrick Hammer
402508ca64
*rename handlers to match naming scheme
2023-04-15 03:58:53 -04:00
Derrick Hammer
ba38f7670f
*Add api method to create swarms
2023-04-15 03:57:34 -04:00
Derrick Hammer
2832694cd5
*Switch to using message id based tracking
2023-04-09 02:27:56 -04:00
Derrick Hammer
acade9801f
Revert "*Add support for destroy"
...
This reverts commit b42069231c
.
2023-04-08 22:55:05 -04:00
Derrick Hammer
b42069231c
*Add support for destroy
2023-04-08 22:50:56 -04:00
Derrick Hammer
40c042bb49
*Update to use kernel fork of protomux
2023-04-08 22:02:59 -04:00
Derrick Hammer
7206624cb5
* Refactor index.ts by checking if ret[1].buffer exists before assigning it to args[0].buffer, updating the update function to decode instead of encode, sending message if the action is "send", updating onmessage to include only relevant arguments, and adding a noop function.
2023-04-08 20:07:10 -04:00
Derrick Hammer
64ec4bb91c
*Just open the channel on creation
2023-04-08 14:47:12 -04:00
Derrick Hammer
4712b50447
*Fix LICENSE
2023-04-08 14:05:53 -04:00
Derrick Hammer
dc806ba98e
*Use ?. on constructor
2023-04-07 21:50:05 -04:00
Derrick Hammer
875af27733
*Refactor again to use an api for protomux channels and messages
2023-04-07 19:48:23 -04:00
Derrick Hammer
41751c7d2b
*If for some reason we responded by the time we try to send an update, just abort
2023-04-06 18:07:51 -04:00
Derrick Hammer
86a3881cfb
*remove debug
2023-04-06 17:46:21 -04:00
Derrick Hammer
44a9838490
*release mutex
2023-04-06 17:02:54 -04:00
Derrick Hammer
1bd159c19e
*Switch to a different, simpler method of syncing protomux state
2023-04-06 16:33:08 -04:00
Derrick Hammer
2e62597cd6
*Don't need to toggle our event hook
2023-04-06 14:26:57 -04:00
Derrick Hammer
b8b72450e6
*Notify the slave protomux that we have synced
2023-04-06 13:19:06 -04:00
Derrick Hammer
b8d0af64c7
*Update deps
2023-04-06 13:17:06 -04:00
Derrick Hammer
33b11cbde6
*In getSwarm and swarm init, await on .opened to ensure we are ready, only when we have an active relay
...
*Only set mux.syncState if not previously set
*change mux.syncState to emit syncProtomux
*ensure the state data are numbers
*check for undefined in the state data
2023-04-06 13:16:46 -04:00