iotaledger / iotaledger/notarization

[chore]: Migrate notarization_wasm/src/bindings to latest js-sys

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5
Forks
7
Avg merge
10h 34m
Merged PRs (30d)
11

Description

## Problem description

In the course of updating TF products to [IOTA 1.17.2](https://github.com/iotaledger/notarization/pull/200) the `js-sys` dependency has been pinned to to the exact `version = "=0.3.85"` as a quick workaround.

Using later versions of `js-sys` results in errors as been described in the [product-core issue #101](https://github.com/iotaledger/product-core/issues/101).

The `bindings/wasm/notarization_wasm/src/bindings/*.rs` files need to be migrated to the latest `js-sys` version, where one of the following alternative options are available:
1. Use the context specific `Promise` types
2. Convert all the context specific types into `Promise` instances

See [product-core issue #101](https://github.com/iotaledger/product-core/issues/101) for further details.### Feature description

### Motivation

---

### Requirements

---

### Open questions

---

### Are you planning to do it yourself in a pull request?

Yes

### Motivation

---

### Requirements

---

### Open questions

---

### Are you planning to do it yourself in a pull request?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.