@inttegro/svelte 0.5.1 → 0.5.2

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -12,8 +12,9 @@ does not bundle the payment-collection runtime.
12
12
  <Checkout {orderId} onCompleted={() => location.assign('/complete')} />
13
13
  ```
14
14
 
15
- For a `customer_selected_amount` Buy link, pass `purchaseIntentId` instead of
16
- `orderId`. This works in both embedded and modal presentations:
15
+ For a Buy link, pass `purchaseIntentId` instead of `orderId`. Fixed pricing
16
+ continues directly to payment; customer-selected pricing renders the amount
17
+ picker first. This works in both embedded and modal presentations:
17
18
 
18
19
  ```svelte
19
20
  <Checkout {purchaseIntentId} presentation="modal" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inttegro/svelte",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Svelte components for Inttegro hosted workflows",
5
5
  "type": "module",
6
6
  "svelte": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "svelte-check --tsconfig ./tsconfig.json"
27
27
  },
28
28
  "dependencies": {
29
- "@inttegro/js": "0.5.1"
29
+ "@inttegro/js": "0.5.2"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "svelte": ">=5"