@klappay/types 1.1.2 → 2.0.1
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 +4 -4
- package/dist/index.d.mts +197 -1016
- package/dist/index.d.ts +197 -1016
- package/dist/index.js +140 -437
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +138 -400
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ already have it if you use any of them directly.
|
|
|
32
32
|
- **Shared enums** used across multiple endpoints (`Network`, `Token`,
|
|
33
33
|
`ChargeStatus`, `SettlementStatus`, `WebhookEventType`, ...) —
|
|
34
34
|
including `WebhookCategory`/`EVENT_CATEGORY_MAP` (every event's
|
|
35
|
-
`payments`/`
|
|
35
|
+
`payments`/`webhooks` grouping), and
|
|
36
36
|
`TriggerableChargeEvent`, the subset of charge events that
|
|
37
37
|
`POST /v1/sandbox/charges/{id}/trigger` (and an official SDK's
|
|
38
38
|
`charge.waitFor()`) accepts — every charge event except
|
|
@@ -62,12 +62,12 @@ actually exported.
|
|
|
62
62
|
| Doc | Covers |
|
|
63
63
|
|---|---|
|
|
64
64
|
| [Getting started](https://api.klappay.com/types/getting-started) | Install, what's in this package, typing vs. runtime validation |
|
|
65
|
-
| [Charges](https://api.klappay.com/types/charges) | `Charge`, `CreateChargeInput`, `AcceptedPayment`, `Capabilities` (`GET /v1/networks`), listing/pagination, `TimelineEvent
|
|
65
|
+
| [Charges](https://api.klappay.com/types/charges) | `Charge`, `CreateChargeInput`, `AcceptedPayment`, `Capabilities` (`GET /v1/networks`), listing/pagination, `TimelineEvent` |
|
|
66
66
|
| [Webhooks](https://api.klappay.com/types/webhooks) | Every `WebhookEventType`, categories, `Webhook`, `WebhookPayload`, `TypedWebhookPayload` |
|
|
67
|
-
| [Sandbox](https://api.klappay.com/types/sandbox) | `SandboxTriggerInput`, `
|
|
67
|
+
| [Sandbox](https://api.klappay.com/types/sandbox) | `SandboxTriggerInput`, `TriggerableChargeEvent` |
|
|
68
68
|
| [Distributions](https://api.klappay.com/types/distributions) | `PendingDistribution`, `PendingDistributionEvent` — the 0xSplits keeper feed |
|
|
69
69
|
| [Metrics query](https://api.klappay.com/types/metrics-query) | `MetricsQuerySchema`, `MetricsQueryResult` — the ad-hoc analytics query endpoint |
|
|
70
|
-
| [
|
|
70
|
+
| [API keys](https://api.klappay.com/types/api-keys) | `ApiKeyScopeSchema` — the fixed set of permissions a key can carry |
|
|
71
71
|
| [Tokens & networks](https://api.klappay.com/types/tokens-and-networks) | `Token`, `Network`, and every chain/token constant |
|
|
72
72
|
| [Errors & health](https://api.klappay.com/types/errors-and-health) | `ErrorPayload` (every non-2xx response shape), `Health` |
|
|
73
73
|
| [Changelog](https://api.klappay.com/types/changelog) | Every published version of this package |
|