Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mysten/sui Typescript] I have error with valibot in sui sdk typescript #20714

Open
nixjs opened this issue Dec 21, 2024 · 3 comments
Open

[Mysten/sui Typescript] I have error with valibot in sui sdk typescript #20714

nixjs opened this issue Dec 21, 2024 · 3 comments
Assignees
Labels

Comments

@nixjs
Copy link

nixjs commented Dec 21, 2024

Steps to Reproduce Issue

I'm using mysten/sui sdk typescript and I get an error during the build process. Does anyone have a solution to help me, please?

Package: "@mysten/sui": "^1.18.0"
Node version: v20.18.1
Yarn version: 1.22.22
image

@nixjs nixjs changed the title I have error with valibot in sui sdk typescript [Mysten/sui Typescript] I have error with valibot in sui sdk typescript Dec 21, 2024
@stefan-mysten
Copy link
Contributor

Hi,

Sorry to hear that you're having issues. It looks like you're using valibot, which is another library. We'd need a bit more information on what you're trying to achieve or a minimal reproducible example that we can try ourselves.

@nixjs
Copy link
Author

nixjs commented Dec 22, 2024

Archive.zip
This is my package.
Step:

  1. Download
  2. Run yarn install
  3. Run yarn build
    Please check it for me, please @stefan-mysten
image

@nixjs
Copy link
Author

nixjs commented Dec 22, 2024

I can only build when commenting this code: import { getFullnodeUrl, SuiClient } from '@mysten/sui/client'

// import { getFullnodeUrl, SuiClient } from '@mysten/sui/client'
import { TransactionTypes } from '../types'
import { PrimitiveHexString } from '../HexString'
import { TransactionEnums } from '../enums'
import BigNumber from 'bignumber.js'

export namespace SUIApiRequest {
    export async function getTransactionsForAddress(
        network: 'mainnet' | 'testnet' | 'devnet' | 'localnet',
        address: PrimitiveHexString,
        limit?: number
    ): Promise<TransactionTypes.Transaction[]> {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants