@nosto/nosto-react 0.4.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -251,21 +251,16 @@ You can personalise your order-confirmation/thank-you page by using the `NostoOr
251
251
 
252
252
  By default, your account, when created, has one other-page placement named `thankyou-nosto-1`. You may omit this and use any identifier you need. The identifier used here is simply provided to illustrate the example.
253
253
 
254
- The `order` prop requires a value that adheres to the type `Purchase`.
255
-
256
254
  ```jsx
257
255
  import {
258
- Buyer,
259
- Item,
260
256
  NostoOrder,
261
257
  NostoPlacement,
262
- Purchase,
263
258
  } from "@nosto/nosto-react";
264
259
 
265
260
  <div className="thankyou-page">
266
261
  ... ... ...
267
262
  <NostoPlacement id="thankyou-nosto-1" />
268
- <NostoOrder order={{ purchase: toOrder(order) }} />
263
+ <NostoOrder order={ order } />
269
264
  </div>;
270
265
  ```
271
266