run402 2.35.0 → 2.36.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "2.35.0",
3
+ "version": "2.36.0",
4
4
  "description": "CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -276,7 +276,7 @@ export declare class Admin {
276
276
  * `reactivated: true`.
277
277
  *
278
278
  * Platform-admin only. Calls
279
- * `POST /billing-accounts/v1/admin/:id/lease-perpetual`.
279
+ * `POST /billing/v1/admin/accounts/:account_id/lease-perpetual`.
280
280
  */
281
281
  setLeasePerpetual(billingAccountId: string, perpetual: boolean): Promise<SetLeasePerpetualResult>;
282
282
  /**
@@ -153,10 +153,10 @@ export class Admin {
153
153
  * `reactivated: true`.
154
154
  *
155
155
  * Platform-admin only. Calls
156
- * `POST /billing-accounts/v1/admin/:id/lease-perpetual`.
156
+ * `POST /billing/v1/admin/accounts/:account_id/lease-perpetual`.
157
157
  */
158
158
  async setLeasePerpetual(billingAccountId, perpetual) {
159
- return this.client.request(`/billing-accounts/v1/admin/${encodeURIComponent(billingAccountId)}/lease-perpetual`, {
159
+ return this.client.request(`/billing/v1/admin/accounts/${encodeURIComponent(billingAccountId)}/lease-perpetual`, {
160
160
  method: "POST",
161
161
  headers: { "X-Admin-Mode": "1" },
162
162
  body: { lease_perpetual: perpetual },