Accessing cart attributes inside post purchase page additional scripts

Is it possible to access cart attributes inside the post purchase additional scripts? Similar to the example here https://shopify.dev/docs/api/ajax/reference/cart#update-cart-attributes let’s say I have the following cart attribute set

{
  attributes: {
    'gift_wrap': 'Yes'
  }
}

How can I access this value inside the post purchase page additional script? It seems liquid code does not work here but works correctly on order status page additional script using the following liquid code:

{{ attributes.gift_wrap }}

Thank you.

Hey! is there any updates on that? Have you solved how to get attributes in post purchase?