-
v3.0.0
StableSome checks failedci-orchestrator / provision running on cx23 in hel1Publish (NPM) / publish (release) Successful in 13sPublish (JSR) / publish (release) Successful in 23sPublish (crates.io) / publish (release) Failing after 37sPublish (Maven) / publish (release) Failing after 51sreleased this
2026-09-11 11:17:43 +02:00 | 6 commits to main since this releasev3.0.0
JavaScript, TypeScript lib
Transaction.cardTypeandJourneySummary.cardType→productId, a raw byte. Byte [00] of a transaction and byte [07] of the journey summary hold the product that paid, not the first byte of the card typecardTypeByteandcardTypeFromByteare removed:06is a product id belonging to no card type, and the two personal card types share a first byteCardType.AvanzaPersonalUnlimited→CardType.AvanzaPersonalCardType.AvanzaPersonalAbonoadded for the second personal Avanza card type,0A98DAisPersonalCardType(type)addedisTransfer(t)testsnetworkFlag, so it isfalseon every personal card recordarchiveBlock(sequence)returnsnumber | undefined, since a top up can carry0x21
Rust lib
Transaction::card_typeandJourneySummary::card_type→product_id: u8, a raw byte. Byte [00] of a transaction and byte [07] of the journey summary hold the product that paid, not the first byte of the card typeCardType::byte,CardType::from_byteandError::UnknownCardTypeByteare removed:06is a product id belonging to no card type, and the two personal card types share a first byteCardType::AvanzaPersonalUnlimited→CardType::AvanzaPersonalCardType::AvanzaPersonalAbonoadded for the second personal Avanza card type,0A98DA, soCardType::ALLis now[Self; 4]CardType::is_personal()addedTransaction::is_transfer()testsnetwork_flag, so it isfalseon every personal card record
Java, Kotlin lib
- The
TransactionandJourneySummarycomponentcardType→int productId, so the accessor isproductId()and the builder methodTransactionBuilder.productId(int). Byte [00] of a transaction and byte [07] of the journey summary hold the product that paid, not the first byte of the card type CardType.firstByte()andCardType.ofFirstByte(int)are removed:0x06is a product id belonging to no card type, and the two personal card types share a first byteCardType.AVANZA_PERSONAL_UNLIMITED→CardType.AVANZA_PERSONALCardType.AVANZA_PERSONAL_ABONOadded for the second personal Avanza card type,0A98DACardType.isPersonal()addedTransaction.isTransfer()tests the network flag, so it is false on every personal card record