mppx 0.17.4 → 0.17.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # mppx
2
2
 
3
+ ## 0.17.5
4
+
5
+ ### Patch Changes
6
+
7
+ - b1d85f0: Added `mppx stripe address`, which creates a Stripe crypto deposit address for machine payments and prints it, or writes it to an env file with `--env`. The Stripe key comes from `--secret-key`, `STRIPE_SECRET_KEY` or the Stripe CLI's login.
8
+
3
9
  ## 0.17.4
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -124,6 +124,21 @@ mppx sessions close --all --yes
124
124
  mppx example.com -M allowCustomEscrow=true
125
125
  ```
126
126
 
127
+ `mppx stripe address` creates a Stripe crypto deposit address for
128
+ `stripe.create({ depositAddresses })` and prints only the address:
129
+
130
+ ```bash
131
+ mppx stripe address # print a new Tempo address
132
+ mppx stripe address --env # write TEMPO_DEPOSIT_ADDRESS to ./.env instead
133
+ mppx stripe address -n base --env .env.local
134
+ mppx stripe address --json # id, livemode, network and supported tokens too
135
+ ```
136
+
137
+ The key comes from `--secret-key`, then `STRIPE_SECRET_KEY`, then the Stripe CLI's login
138
+ (`stripe login`; `--project-name` or `STRIPE_PROJECT_NAME` picks the project, `--live` its live
139
+ key). The Stripe CLI logs in with a restricted key (`rk_...`); if Stripe refuses it for deposit
140
+ addresses, pass a secret key with `--secret-key`.
141
+
127
142
  `--session auto` is the default. Pass `new` to open another channel or a channel ID to select one
128
143
  explicitly.
129
144