Skip to content

Releases: MystenLabs/ts-sdks

@mysten/ledgerjs-hw-app-sui@0.8.1

Choose a tag to compare

@github-actions github-actions released this 30 Apr 18:42
ea417de

Patch Changes

  • fade696: Bump device app min version

@mysten/walrus@1.1.4

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/suins@1.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/payment-kit@0.1.9

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/pas@0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/kiosk@1.2.4

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/docs@0.1.20

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • Updated dependencies [bb8d26a]
    • @mysten/deepbook-v3@1.3.3
    • @mysten/kiosk@1.2.4
    • @mysten/payment-kit@0.1.9
    • @mysten/suins@1.1.1
    • @mysten/walrus@1.1.4

@mysten/deepbook-v3@1.3.3

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.

@mysten/codegen@0.10.4

Choose a tag to compare

@github-actions github-actions released this 29 Apr 21:02
8235907

Patch Changes

  • a08916e: Fix sui-ts-codegen generate <path> against fresh sui move new packages: the CLI now
    propagates non-zero exit codes (was always exiting 0 on failure), the path-arg branch parses
    packageName from Move.toml instead of using the raw path string, and the "Could not identify
    main package directory" error now includes actionable remediation.

@mysten/codegen@0.10.3

Choose a tag to compare

@github-actions github-actions released this 29 Apr 20:05
a8f3df8

Patch Changes

  • bb8d26a: Fix three latent type errors in the generated utils/index.ts that surfaced for
    consumers with noUncheckedIndexedAccess: true:

    • getPureBcsSchema(structTag.typeParams[0]) passed TypeTag | undefined to a parameter typed
      string | TypeTag. Now null-checks the inner tag before passing it.
    • argTypes[i] was redundantly re-indexed inside a for…of entries() loop, returning
      string | null | undefined and being passed back to getPureBcsSchema. Switched to the loop
      variable, which is string | null.
    • MoveStruct.get() returned the destructured [res] from getMany([objectId]) without
      asserting it was defined. Now throws if no object was returned.

    The codegen test suite gained a tsc-based check that compiles the generated utils/index.ts
    under strict + noUncheckedIndexedAccess, so embedded-template type bugs are caught before
    release rather than by downstream consumers.

    All consumer packages (payment-kit, pas, walrus, suins, deepbook-v3, kiosk) have been
    regenerated with the fix.