@amos.com/node 0.1.37 → 0.1.39

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/dist/index.d.mts CHANGED
@@ -5266,10 +5266,9 @@ declare const AMOS_API_VERSION = "1";
5266
5266
  * fully typed against the OpenAPI spec — paths, path/query/header params,
5267
5267
  * request bodies, and response bodies are all checked at compile time.
5268
5268
  *
5269
- * Provide credentials and the required `X-Api-Version` header either as
5270
- * default `headers` here or via `params.header` on each call. Use
5271
- * `client.use(middleware)` to add per-request behavior such as fresh
5272
- * idempotency keys.
5269
+ * Provide credentials and the required `X-Api-Version` header as default
5270
+ * `headers` here. Use `client.use(middleware)` to add per-request behavior
5271
+ * such as fresh idempotency keys.
5273
5272
  *
5274
5273
  * @example
5275
5274
  * ```ts
@@ -5288,7 +5287,6 @@ declare const AMOS_API_VERSION = "1";
5288
5287
  * });
5289
5288
  *
5290
5289
  * const { data, error } = await pay.POST("/customers", {
5291
- * params: { header: { "X-Api-Version": AMOS_API_VERSION } },
5292
5290
  * body: { customer: { email: "alex@example.com" } },
5293
5291
  * });
5294
5292
  * ```
package/dist/index.d.ts CHANGED
@@ -5266,10 +5266,9 @@ declare const AMOS_API_VERSION = "1";
5266
5266
  * fully typed against the OpenAPI spec — paths, path/query/header params,
5267
5267
  * request bodies, and response bodies are all checked at compile time.
5268
5268
  *
5269
- * Provide credentials and the required `X-Api-Version` header either as
5270
- * default `headers` here or via `params.header` on each call. Use
5271
- * `client.use(middleware)` to add per-request behavior such as fresh
5272
- * idempotency keys.
5269
+ * Provide credentials and the required `X-Api-Version` header as default
5270
+ * `headers` here. Use `client.use(middleware)` to add per-request behavior
5271
+ * such as fresh idempotency keys.
5273
5272
  *
5274
5273
  * @example
5275
5274
  * ```ts
@@ -5288,7 +5287,6 @@ declare const AMOS_API_VERSION = "1";
5288
5287
  * });
5289
5288
  *
5290
5289
  * const { data, error } = await pay.POST("/customers", {
5291
- * params: { header: { "X-Api-Version": AMOS_API_VERSION } },
5292
5290
  * body: { customer: { email: "alex@example.com" } },
5293
5291
  * });
5294
5292
  * ```