-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade client to sdk * Replace remaining dependencies on iota.js * Remove `~client-wasm` from tsconfig * Remove deprecated `importsNotUsedAsValues` ts conf * Update foundry counter increment * Update IOTA Identity Client Ext * Update update did example * Update examples with deposit changes * Fix output ID calculation * Fix remaining issues and TODOs * Bump sdk-wasm to 1.0.2 * Import client from sdk-wasm * Update cypress config * Fix `init` import * Bump sdk-wasm to `1.0.4` * Update package-lock.json * Use `let` over `var` * use bigint instead of number * Use default import from sdk --------- Co-authored-by: Abdulrahim Al Methiab <[email protected]>
- Loading branch information
1 parent
ec1b8ad
commit d666834
Showing
29 changed files
with
702 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import * as client from "@iota/client-wasm/web"; | ||
import init from "@iota/sdk-wasm/web"; | ||
import * as identity from "../../web"; | ||
|
||
export const setup = async (func) => { | ||
await client | ||
.init("../../../node_modules/@iota/client-wasm/web/wasm/client_wasm_bg.wasm") | ||
await init("../../../node_modules/@iota/sdk-wasm/web/wasm/iota_sdk_wasm_bg.wasm") | ||
.then(async () => await identity.init("../../../web/identity_wasm_bg.wasm")) | ||
.then(func); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.