Skip to content

Commit

Permalink
Cardano-koios-client version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
xray-robot committed Jun 25, 2024
1 parent bbc9af7 commit 46c5d05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"bignumber.js": "^9.0.1",
"blake2b": "^2.1.4",
"buffer": "^6.0.3",
"cardano-koios-client": "^1.0.4",
"cardano-koios-client": "^1.0.5",
"cardano-nftcdn-client": "^1.0.4",
"cardano-pricing-client": "^1.0.4",
"cborg": "^4.2.1",
Expand Down
10 changes: 7 additions & 3 deletions src/core/cw3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ import PricingExplorer from "../explorer/pricing"
import { Data, Constr } from "../utils/data"
import * as T from "../types"

import * as CML from "@dcspark/cardano-multiplatform-lib-nodejs"
import * as MSL from "@emurgo/cardano-message-signing-nodejs"
import * as UPLC from "uplc-node"

/**
* CardanoWeb3 class
*
Expand Down Expand Up @@ -52,9 +56,9 @@ export class CardanoWeb3 {
const cw3 = new CardanoWeb3()
const network = config?.network || "mainnet"

cw3.CML = await import("@dcspark/cardano-multiplatform-lib-nodejs")
cw3.MSL = await import("@emurgo/cardano-message-signing-nodejs")
cw3.UPLC = await import("uplc-node")
cw3.CML = CML
cw3.MSL = MSL
cw3.UPLC = UPLC
cw3.Data = Data(cw3)
cw3.Constr = Constr
cw3.explorer = {
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,10 @@ cac@^6.7.12, cac@^6.7.14:
resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959"
integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==

cardano-koios-client@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/cardano-koios-client/-/cardano-koios-client-1.0.4.tgz#85b2251784218d414e6a3699aad408174394c148"
integrity sha512-Thg1vISVA+EYJ+BsUfYXG9OlGmnBBSdGfv3W13jDnTxg/j/vYB5peXYDPOknP8UFQ7Fsef8WThlfIlC0D0i6aA==
cardano-koios-client@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/cardano-koios-client/-/cardano-koios-client-1.0.5.tgz#f635cab4634163db227efbc44d611367ac7d914f"
integrity sha512-p3bu9WpPbcdUCaQnR9KXGB7+WIdcrPksmhoKWEVOxOnR8gjOWZM1Nzkene78tlPwTLhu5DlK8oOxob6r8IQ1rg==
dependencies:
openapi-fetch "^0.9.7"

Expand Down Expand Up @@ -1802,10 +1802,10 @@ type-detect@^4.0.0, type-detect@^4.0.8:
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==

typescript@5.4.5:
version "5.4.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
typescript@^5.4.5:
version "5.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507"
integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==

ufo@^1.5.3:
version "1.5.3"
Expand Down

0 comments on commit 46c5d05

Please sign in to comment.