Commit Graph

80 Commits

Author SHA1 Message Date
Liam Fitzgerald
06fc1897b7 @urbit/http-api: update version number 2022-09-13 13:00:30 -05:00
Liam Fitzgerald
6756d5768d @urbit/http-api: update version number 2022-09-13 12:56:47 -05:00
Patrick O'Sullivan
b7abdea619
Update pkg/npm/http-api/src/Urbit.ts
Co-authored-by: Hunter Miller <hunter@tlon.io>
2022-09-13 11:44:31 -05:00
matildepark
400a437b08 http-api: authenticate doesn't enforce insecure connections
Instead of forcing people to connect over http://, fall back gracefully to http if no protocol is given.

This fixes an issue where external clients can't use this method, since SameSite cookies need to be secure as per https://web.dev/samesite-cookies-explained/#samesite=none-must-be-secure
2022-09-13 11:27:38 -05:00
Patrick O'Sullivan
aaebd9c01b npm: bump http-api version number 2022-09-13 10:33:12 -05:00
Patrick O'Sullivan
f5a8d8e937 http-api: If scry fails, return reject response 2022-09-12 09:45:01 -05:00
fang
a4986078f5
Merge pull request #5902 from urbit/m/lastest-event-id
http-api: prevent double-processing of events
2022-07-16 18:02:32 +02:00
fang
529e3fd77f
http-api: prevent double-processing of events
In reconnect scenarios (or wonky network situations) we may receive
events we had already heard. Here we make sure to drop those.

Also simplifies the getEventId() logic.
2022-07-15 23:17:54 +02:00
Hunter Miller
e37ac116a4
Merge pull request #5805 from urbit/lf/http-api-improvement
@urbit/http-api: surface mark of updates
2022-07-15 16:15:36 -05:00
Hunter Miller
5f1371f4a2 meta: version bump for new changes from next/landscape 2022-06-21 14:52:20 -05:00
Hunter Miller
ca28bffd62 Merge branch 'master' into next/npm 2022-06-21 14:51:19 -05:00
Hunter Miller
09e1dd7089 meta: package bump: 2022-06-21 14:43:40 -05:00
Hunter Miller
e5b66e3484 eventsource: prevent resetting event id counter 2022-06-21 14:04:30 -05:00
Liam Fitzgerald
d22c530f63 @urbit/http-api: update tests 2022-05-26 09:26:10 -05:00
Liam Fitzgerald
f50de24521 @urbit/http-api: surface mark of updates 2022-05-26 09:15:51 -05:00
Hunter Miller
e96031bf2d
Merge pull request #5741 from urbit/hm/fix-libraries-dist
npm: fix libraries module setup
2022-04-27 11:26:03 -05:00
Hunter Miller
243a7dd22a api: make same dist updates as http-api 2022-04-27 11:17:57 -05:00
Hunter Miller
3e38e6c4f7 http-api: updating dist to be more compatible with node 2022-04-20 10:00:46 -05:00
Liam Fitzgerald
66536bebcd @urbit/api: do not reconnect if there is a FatalError 2022-03-31 14:52:18 -06:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
Hunter Miller
049a85bc60 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-25 17:05:32 -06:00
Hunter Miller
1ddc7fee83 types: fixing type issues from merge 2022-01-07 11:08:59 -06:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
Hunter Miller
2681996bae npm: changing to release version 2021-11-23 16:12:36 -06:00
Hunter Miller
3d864a075c npm: version bump 2021-11-10 18:18:59 -06:00
Hunter Miller
08232a54bf npm: removing intermediate ts files from pkg, fixing more bad references 2021-11-10 17:54:31 -06:00
Hunter Miller
c07512b9de api,http-api,interface: fixing exports and correcting type refs 2021-11-10 13:52:08 -06:00
Hunter Miller
04996919af api,http-api,grid: updating types to new location 2021-11-09 14:51:52 -06:00
Hunter Miller
4b5db5c332 api,http-api: updating babel usage and fixing tests 2021-11-09 13:16:48 -06:00
Hunter Miller
be7fddc650 http-api: making more consistent with @urbit/api 2021-11-09 12:43:39 -06:00
Hunter Miller
f8e1bff02b http-api: update to working example 2021-11-09 12:26:40 -06:00
Hunter Miller
945ac084d1 npm: version bumps 2021-11-08 18:59:04 -06:00
Hunter Miller
ed157abb19 http-api: updating build to use rollup for better distribution 2021-11-08 18:43:22 -06:00
Hunter Miller
b211d272d9 Publish
- @urbit/api@2.0.0
 - @urbit/http-api@2.0.0
2021-11-02 14:29:23 -05:00
Hunter Miller
0092c7b75b npm: updating package versions 2021-11-02 14:28:30 -05:00
fang
aa48973c6a
Merge branch 'release/next-userspace' 2021-10-04 23:45:45 +04:00
Liam Fitzgerald
94fc096b80 Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-17 12:57:56 +10:00
Hunter Miller
2db9461e48 http-api: fixing Thread type 2021-09-15 16:40:55 -05:00
Liam Fitzgerald
2a15658d2e interface: fix packaging 2021-09-13 22:04:52 +10:00
Hunter Miller
432ee1c548 notifications: adding state to nav link and cleaning up 2021-08-25 15:11:09 -05:00
Liam Fitzgerald
bee4b4a05f
@urbit/http-api: fix tests 2021-07-26 10:04:26 +10:00
Liam Fitzgerald
77c2b5d46c
Merge remote-tracking branch 'origin/release/next-userspace' into lf/revive-resume 2021-07-26 09:43:53 +10:00
Liam Fitzgerald
d3a1f490e8
meta: update npm version
- @urbit/api@1.4.0
 - @urbit/eslint-config@1.0.3
 - @urbit/http-api@1.3.1
2021-07-23 11:37:50 +10:00
Liam Fitzgerald
ccfc8fc456
@urbit/http-api: tweak resubscribe timing 2021-07-22 13:17:28 +10:00
Liam Fitzgerald
ef4cdca187
@urbit/http-api: enable subscription resume 2021-07-22 12:50:39 +10:00
Liam Fitzgerald
4dfc136bf2
meta: version npm packages 2021-07-21 16:56:26 +10:00
Liam Fitzgerald
9b0ac80f12
@urbit/http-api: fix ordering, tests 2021-07-20 15:25:08 +10:00
Liam Fitzgerald
86c3d156dd
@urbit/http-api: ensure acks are sent if timers are throttled
Strips the debounce mechanic, instead preferring to send acks when 20 or
more events have not been acked
2021-07-20 14:29:51 +10:00
Liam Fitzgerald
6256f7d92b
@urbit/http-api: add tests, fix uncovered bugs 2021-07-12 12:07:56 +10:00
Liam Fitzgerald
352d816cf7
@urbit/http-api: setup testing 2021-07-12 12:07:19 +10:00