Skip to content

json-bgon: pull changes from urbit/urbit:#5877 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
41d9146
json-bgon: pull changes from urbit/urbit:#5877
xiphiness Mar 16, 2023
821dc91
scry w different marks
xiphiness Mar 18, 2023
c5253b8
npm: import urbit-aura correctly
Fang- Sep 11, 2023
5d923d7
Merge branch 'master' into x/json-bgon
Fang- Sep 11, 2023
b89ef8f
lib: use nockjs from npm instead of local files
Fang- Sep 11, 2023
095ec78
npm: restoring updated typescript PR changes
arthyn Sep 11, 2023
6792796
lib: update for eyre jam-channels api changes
Fang- Sep 11, 2023
a338b7e
meta: write down to-do's
Fang- Sep 13, 2023
3cc3732
lib: resolve poke() calls eagerly, never throw
Fang- Sep 13, 2023
99be8de
Merge branch 'm/no-throw-poke-nack' into x/json-bgon
Fang- Sep 14, 2023
c0ab9a1
lib: account for desk in facts per new eyre api
Fang- Sep 27, 2023
764fe09
lib: simplify jammed noun generation
Fang- Sep 27, 2023
f9f23df
tests: update tests for noun channels
Fang- Sep 27, 2023
017ed71
lib: start restructuring connection logic
Fang- Jan 19, 2024
f4447da
lib: make sendNounsToChannel() match eyre's api
Fang- Jan 19, 2024
dde870d
deps: update jest
Fang- Jan 19, 2024
21f3546
tmp: various todo's and notes
Fang- Jan 19, 2024
3a5c11a
lib: restructure setup and its components
arthyn Jan 23, 2024
7369c01
lib: write status code conditional correctly
Fang- Feb 6, 2024
478f47a
lib: use Noun type where appropriate
Fang- Feb 6, 2024
c4b081d
lib: remove stale/concluded comments
Fang- Feb 6, 2024
7fbae3d
lib: nounify delete()
Fang- Feb 6, 2024
27a662f
lib: scry out nouns, not json, by default
Fang- Feb 6, 2024
70f96f7
lib: comments, todos, touch-ups
Fang- Feb 6, 2024
5610390
fetch: add support for custom fetch
arthyn Feb 13, 2024
5701c7f
lib: remove mention of different modes
Fang- Feb 13, 2024
c5840ea
api: cleaned up setup and exports
arthyn Feb 20, 2024
234df9d
Merge branch 'x/json-bgon' of github.com:xiphiness/js-http-api into x…
arthyn Feb 20, 2024
396a617
api: fixing erroneous fetchoptions call, renaming 'fact'
arthyn Mar 5, 2024
27448f6
fetch-event-source: correcting potential parsing bug
arthyn Mar 5, 2024
f3bd8da
fetch-event-source: added warning
arthyn Mar 5, 2024
9706fe0
lib: provide scryForJson utility
Fang- Mar 19, 2024
c7f3d76
lib: clean up stale TODOs
Fang- Mar 19, 2024
3b4714e
todo: document remaining work for v1 noun channels
Fang- Mar 19, 2024
e40eea1
lib: broader Path type acceptancy
Fang- Mar 19, 2024
62e1e3e
lib: minor clean-up
Fang- Mar 19, 2024
5bcdee7
lib: nounify spider threads
Fang- Mar 26, 2024
5ac7b88
fetch: remove console logs in parsing code
Fang- Apr 16, 2024
0b2fac4
lib: tested new spider functions
Fang- Apr 16, 2024
4413da2
lib: makes types self-consistent, rename callbacks
Fang- Apr 16, 2024
296eb99
lib: never ever accept ship without leading sig
Fang- Apr 16, 2024
8e7f4c0
fetch: remove last console.log
Fang- Apr 16, 2024
cb33812
lib: use alias types consistently
Fang- Apr 16, 2024
5deb5cd
lib: use latest aura-js
Fang- Apr 16, 2024
e68168f
doc: update todo list
Fang- Apr 16, 2024
99da573
lib: support json channels again
Fang- Sep 18, 2024
67ca584
lib: @ts-ignore function type signature complexity
Fang- Oct 15, 2024
e372561
doc: update todo's
Fang- Oct 15, 2024
b940c82
ops: enabling strict TS and fixing errors
arthyn Oct 22, 2024
677c3d8
lib: dual mode fixes
arthyn Oct 22, 2024
f4f2be4
lib: fixing seamless reset and removing ready promise
arthyn Oct 29, 2024
9f41b14
lib: increase sse response timeout
Fang- Jun 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
remaining work:
- support json and noun modes side-by-side
- should add tests for json mode, mixing mode in subscriptions vs scry, etc
- detect & handle 401 response for expired cookie
- consider .onConnectionStatusChange callback (so lazy devs don't have to listen to the event emitter thing)
- optional channel id param
- so we can re-use the same channel for a client
- do pre-release
- move client to use new version of the library in json mode
- use noun scry/poke for new things
- upgrade existing scries to get nouns, port conversions to js
- do webterm migration stream/recording
7,477 changes: 2,861 additions & 4,616 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@rollup/plugin-node-resolve": "^13.0.6",
"@types/browser-or-node": "^1.2.0",
"@types/eventsource": "^1.1.5",
"@types/jest": "^26.0.24",
"@types/jest": "^29.5.5",
"@types/react": "^16.9.56",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
Expand All @@ -62,6 +62,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@urbit/aura": "^2.0.0",
"@urbit/nockjs": "^1.4.0-dev2",
"browser-or-node": "^1.3.0",
"core-js": "^3.19.1"
}
Expand Down
Loading