@stacksjs/defaults 0.75.407 → 0.75.408
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.
|
@@ -164,6 +164,12 @@ refund), so every call acts as the account with `asAccount(id)` (the
|
|
|
164
164
|
`Stripe-Account` header). Stripe's fees are the merchant's; webhooks for it
|
|
165
165
|
arrive on the **Connect** endpoint with `event.account` set.
|
|
166
166
|
|
|
167
|
+
`connectedCustomer(user, account)` reuses a customer on the account only when
|
|
168
|
+
its `stacks_user_id`, email and `stacks_install` mark (an HMAC of the app key,
|
|
169
|
+
`connectInstallFingerprint()`) all match, since local ids repeat across
|
|
170
|
+
databases that share an account. An unmarked older customer is adopted on a
|
|
171
|
+
matching email and then marked; anything else gets a new customer.
|
|
172
|
+
|
|
167
173
|
```typescript
|
|
168
174
|
import { asAccount, checkoutLineItemsTotal, connectedCustomer, connectRefund, directCheckout, directCheckoutPaymentData, directSubscriptionParams, manageDirectSubscription } from '@stacksjs/payments'
|
|
169
175
|
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.408",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.408",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
48
|
+
"@stacksjs/mobile": "0.75.408",
|
|
49
49
|
"@stacksjs/sanitizer": "0.2.779",
|
|
50
50
|
"@stacksjs/stx": "0.2.779",
|
|
51
51
|
"@xterm/addon-fit": "^0.11.0",
|