sdk-rust/example-projects/reqwest-wasm-example
dependabot[bot] 4acd162cb7
Bump json5, webpack and html-webpack-plugin
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [webpack](https://github.com/webpack/webpack) and [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin). These dependencies need to be updated together.


Updates `json5` from 2.2.0 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

Updates `webpack` from 4.46.0 to 5.75.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.46.0...v5.75.0)

Updates `html-webpack-plugin` from 4.5.2 to 5.5.0
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.5.2...v5.5.0)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: webpack
  dependency-type: direct:development
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 12:02:21 +00:00
..
src Bump uuid dep to version 1 2022-06-14 10:52:44 -04:00
.gitignore Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00
Cargo.toml Bump uuid dep to version 1 2022-06-14 10:52:44 -04:00
README.md Make the reqwest/wasm example a little more helpful 2021-10-27 23:18:04 -04:00
index.html Make the reqwest/wasm example a little more helpful 2021-10-27 23:18:04 -04:00
index.js Update reqwest wasm example so it compiles and run properly again 2021-09-10 10:56:14 -04:00
package-lock.json Bump json5, webpack and html-webpack-plugin 2023-01-02 12:02:21 +00:00
package.json Bump json5, webpack and html-webpack-plugin 2023-01-02 12:02:21 +00:00
webpack.config.js Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00

README.md

Example usage of CLoudEvents sdk/Reqwest from WASM

First, ensure you have wasm-pack installed

Then install the dependencies:

npm install

And finally run the example:

npm run serve

You should see a form in your browser at http://localhost:8080. When the form is submitted, a CloudEvent will be sent to the Target URL, http://localhost:9000 by default, which is the default URL for the actix example. Fire it up in another terminal to verify that the data is successfully sent and received.

Open the javascript console in the browser to see any helpful error messages.

This example is loosely based off of this example.