Skip to content

Commit

Permalink
Use @mlabs-haskell/uplc-apply-args
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Feb 20, 2024
1 parent 30d64a6 commit 877f0ca
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
21 changes: 19 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"@mlabs-haskell/cardano-serialization-lib-gc": "^1.0.9",
"@mlabs-haskell/json-bigint": "2.0.0",
"@noble/secp256k1": "^1.7.0",
"apply-args-browser": "0.0.1",
"apply-args-nodejs": "0.0.1",
"@mlabs-haskell/uplc-apply-args": "1.0.0",
"base64-js": "^1.5.1",
"bignumber.js": "^9.1.1",
"bip39": "^3.1.0",
Expand Down
10 changes: 1 addition & 9 deletions src/Internal/ApplyArgs.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/* global BROWSER_RUNTIME */

import * as lib from "@mlabs-haskell/cardano-serialization-lib-gc";

let apply_args;
if (typeof BROWSER_RUNTIME != "undefined" && BROWSER_RUNTIME) {
apply_args = await import("apply-args-browser");
} else {
apply_args = await import("apply-args-nodejs");
}
import * as apply_args from "@mlabs-haskell/uplc-apply-args";

/**
* @param {} left
Expand Down

0 comments on commit 877f0ca

Please sign in to comment.