Commit Graph

230 Commits

Author SHA1 Message Date
tomholford
f8e4ec8915 grid: OnboardingNotification consumes pike 2022-11-03 23:46:55 -07:00
tomholford
965db2fff3 kiln: bump poke no longer takes args 2022-11-03 22:34:39 -07:00
tomholford
31ed4bee6c api: add Pike interfaces and scry 2022-11-03 22:18:58 -07:00
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
08f0e4c281
Merge pull request #5993 from urbit/po/return-rejected-promise-for-scry
http-api: If scry fails, return reject response
2022-09-12 14:23:42 -05:00
Patrick O'Sullivan
f5a8d8e937 http-api: If scry fails, return reject response 2022-09-12 09:45:01 -05:00
tomholford
02545a7309 api: fix term/lib imports
Before this change, `term/lib` was importing the Poke type from the `http-api` package. This was causing the rollup build output to place the `term` exported types in a separate path (`dist/api/term`). By switching to the relative import, it is now exported at the expected path (`dist/term`). This fixes imports in consuming projects (e.g., `import {  Belt, pokeTask, pokeBelt } from '@urbit/api/term';`).

Also, remove the extraneous `Scry` import.
2022-07-25 10:23:05 -05:00
tomholford
43efca7760 api: export term types 2022-07-25 10:22:56 -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
71aa1da3e0 Merge branch 'master' into next/landscape 2022-05-11 11:42:58 -05:00
Patrick O'Sullivan
1a11d797ea
Merge pull request #5736 from urbit/po/fix-for-iswriters-func
npm: fix issue caused by set var in groups/lib.ts
2022-04-27 14:45:06 -05:00
Patrick O'Sullivan
67aa4565f1 Merge branch 'master' into next/npm 2022-04-27 14:44:27 -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
Patrick O'Sullivan
35a224137a npm: fix issue caused by set var in groups/lib.ts 2022-04-26 13:42:18 -05:00
Hunter Miller
3e38e6c4f7 http-api: updating dist to be more compatible with node 2022-04-20 10:00:46 -05:00
Hunter Miller
dcfcafb049 Merge branch 'next/groups' 2022-04-12 13:39:33 -05:00
Liam Fitzgerald
66536bebcd @urbit/api: do not reconnect if there is a FatalError 2022-03-31 14:52:18 -06:00
Patrick O'Sullivan
2af86d64ba npm: fix HarkBody type def for time 2022-03-31 11:49:21 -05:00
Patrick O'Sullivan
7f41869895
Merge pull request #5656 from urbit/lf/hark-add-note-ui
hark: add %add-note JSON decoder
2022-03-30 15:44:07 -05:00
Hunter Miller
ebebc8a8b0
Merge pull request #5633 from urbit/po/add-presig-to-npm-lib
npm: add preSig func to npm lib
2022-03-29 11:02:19 -05:00
Patrick O'Sullivan
84ab13d188 npm: fix HarkBody type def for time 2022-03-29 09:15:44 -05:00
Hunter Miller
1e29177b2a interface: improving channel load time/ordering 2022-03-22 19:05:24 -05:00
Liam Fitzgerald
a3ec1af915 @urbit/api: add add-note hark-store poke 2022-03-22 16:42:54 -06:00
Hunter Miller
b98258e6e7 npm-api: making iswriter more defensive 2022-03-15 10:50:58 -05:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
Patrick O'Sullivan
01a07f6a5b npm: add preSig func to npm lib 2022-03-10 14:15:49 -06:00
Patrick O'Sullivan
26d2d07d31 npm-api: add emphasis property to MentionContent type 2022-03-04 13:03:13 -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
9c5f90fe3b Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-06 16:52:55 -06:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
webterm: backport
2021-12-14 19:23:23 +01:00
fang
81a45608a0
webterm: handle old-style blits and belts
Additions and changes easily distinguishable for extermination once the
new backend lands.
2021-12-08 17:12:38 +01:00
Liam Fitzgerald
119805fd04 interface: hide aborted requests 2021-12-07 11:02:23 -05:00
Liam Fitzgerald
cbc1b910fd @urbit/api: move term types 2021-12-06 10:05:36 -05:00
Liam Fitzgerald
0af4d998c1
Merge pull request #5449 from urbit/lf/group-view-refactor
groups: refactor joining process
2021-12-02 12:09:09 -05:00
fang
fa2afa3c10
webterm: commit missing api files 2021-12-02 14:24:28 +01:00