Releases: MystenLabs/ts-sdks
Release list
@mysten/ledgerjs-hw-app-sui@0.8.1
Patch Changes
- fade696: Bump device app min version
@mysten/walrus@1.1.4
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
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
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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
Patch Changes
- a08916e: Fix
sui-ts-codegen generate <path>against freshsui move newpackages: the CLI now
propagates non-zero exit codes (was always exiting 0 on failure), the path-arg branch parses
packageNamefromMove.tomlinstead of using the raw path string, and the "Could not identify
main package directory" error now includes actionable remediation.
@mysten/codegen@0.10.3
Patch Changes
-
bb8d26a: Fix three latent type errors in the generated
utils/index.tsthat surfaced for
consumers withnoUncheckedIndexedAccess: true:getPureBcsSchema(structTag.typeParams[0])passedTypeTag | undefinedto a parameter typed
string | TypeTag. Now null-checks the inner tag before passing it.argTypes[i]was redundantly re-indexed inside afor…of entries()loop, returning
string | null | undefinedand being passed back togetPureBcsSchema. Switched to the loop
variable, which isstring | null.MoveStruct.get()returned the destructured[res]fromgetMany([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 generatedutils/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.