2.3.0 • Published 2 months ago

@urbit/http-api v2.3.0

Weekly downloads
69
License
MIT
Repository
github
Last release
2 months ago

Urbit Connector

This project allows you to connect to an Urbit ship via a JavaScript application.

Example

Check out the example directory for examples of how to use this code.

  1. Open example/index.html in your browser and follow the instructions there, or
  2. With a ship running in the same fashion as indicated in the file above, run node example/index.js

The code for either of these can be found in src/example/browser.js or src/example/node.js, depending on your context.

Design

This library is designed to be useful for node applications that communicate with an urbit running either on the local computer or on a remote one.

The majority of its methods are asynchronous and return Promises. This is due to the non-blocking nature of JavaScript. If used in a React app, response handlers should be bound with this to setState after a message is received.

NOTE

You must enable CORS requests on your urbit for this library to work in browser context. Use +cors-registry to see domains which have made requests to your urbit, and then approve the needed one, e.g. |cors-approve http://zod.arvo.network.

3.1.0-dev-2

2 months ago

3.1.0-dev

2 months ago

3.0.0

7 months ago

2.4.4-debug

1 year ago

2.4.2-debug

1 year ago

2.4.0-debug

1 year ago

2.4.5-debug

12 months ago

2.4.0-dev

1 year ago

2.4.3-debug

1 year ago

2.4.1-debug

1 year ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.2

2 years ago

2.1.3

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.1.0-dev.4

2 years ago

2.1.0-dev.3

2 years ago

2.1.0-dev.5

2 years ago

2.1.0-dev.2

2 years ago

2.1.0-dev.1

2 years ago

2.1.0-dev

2 years ago

2.0.0

2 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago