1.0.3 • Published 6 years ago

@ambassadorai/waitlist-webview v1.0.3

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
6 years ago

Waitlist webview

A package that can be included in the chat webview component, or the Messenger webview host. You should pass one of either token or signedRequest depending on the environment.

Props:

  • apiUrl: the URL of the webview-facing waitlist API.
  • ioUrl: the URL of the contact-facing waitlist WebSocket server.
  • token: a JWT token from the chat app.
  • signedRequest: a signed request from a Messenger webview.

For dev/demo purposes, can be run in a standalone environment with npm run watch. Just set API_URL and IO_URL as environment variables, and supply a pre-generated token in CHAT_TOKEN. You can copy the token from any API request from the chat app. Environment variables can be set in an .env file.

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0-alpha.2

6 years ago

1.0.0-alpha.1

6 years ago

1.0.0-alpha

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1-3

6 years ago

0.0.1-2

6 years ago

0.0.1

6 years ago

0.0.1-1

6 years ago

0.0.0

6 years ago