Skip to content

Commit 4a77b91

Browse files
authored
chore: Release 0.5.1
chore: Release 0.5.1
2 parents f5601be + 8dbf9b3 commit 4a77b91

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "app-store-server-library"
33
description = "The Rust server library for the App Store Server API and App Store Server Notifications"
4-
version = "0.5.0"
4+
version = "0.5.1"
55
repository = "https://github.com/namecare/app-store-server-library-rust"
66
homepage = "https://github.com/namecare/app-store-server-library-rust"
77
authors = ["tkhp", "namecare"]
@@ -31,4 +31,4 @@ base64 = "0.21.3"
3131
thiserror = "1.0.47"
3232

3333
[dev-dependencies]
34-
dotenv = "0.15.0"
34+
dotenv = "0.15.0"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Specify `app-store-server-library` in your project's `Cargo.toml` file, under th
1111

1212
```rust
1313
[dependencies]
14-
app-store-server-library = "0.5.0"
14+
app-store-server-library = "0.5.1"
1515
```
1616
Check
1717
[crates.io](https://crates.io/crates/app-store-server-library) for the latest version number.
@@ -47,7 +47,7 @@ let signature: String = creator.create_signature("com.test.product", "com.test.o
4747

4848
## Documentation
4949

50-
* The full documentation is available at [docs.rs](https://docs.rs/google_maps/)
50+
* The full documentation is available at [docs.rs](https://docs.rs/app-store-server-library/)
5151
* [WWDC Video](https://developer.apple.com/videos/play/wwdc2023/10143/)
5252

5353
## References

src/primitives/jws_transaction_decoded_payload.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::primitives::offer_type::OfferType;
44
use crate::primitives::product_type::ProductType;
55
use crate::primitives::revocation_reason::RevocationReason;
66
use crate::primitives::transaction_reason::TransactionReason;
7-
use ::chrono::{DateTime, Utc};
7+
use chrono::{DateTime, Utc};
88
use serde_with::formats::Flexible;
99
use serde_with::TimestampMilliSeconds;
1010
use uuid::Uuid;
@@ -18,13 +18,13 @@ pub struct JWSTransactionDecodedPayload {
1818
/// The original transaction identifier of a purchase.
1919
///
2020
/// [originalTransactionId](https://developer.apple.com/documentation/appstoreserverapi/originaltransactionid)
21-
#[serde(rename = "signedRenewalInfo")]
21+
#[serde(rename = "originalTransactionId")]
2222
pub original_transaction_id: Option<String>,
2323

2424
/// The unique identifier for a transaction such as an in-app purchase, restored in-app purchase, or subscription renewal.
2525
///
2626
/// [transactionId](https://developer.apple.com/documentation/appstoreserverapi/transactionid)
27-
#[serde(rename = "signedRenewalInfo")]
27+
#[serde(rename = "transactionId")]
2828
pub transaction_id: Option<String>,
2929

3030
/// The unique identifier of subscription-purchase events across devices, including renewals.

0 commit comments

Comments
 (0)