@xkova/sdk 0.1.0-alpha.3 → 0.1.0-alpha.4

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 CHANGED
@@ -6,7 +6,7 @@ holders, wallets, payments, tokenization, and other customer resources.
6
6
  ## Install
7
7
 
8
8
  ```bash
9
- npm install @xkova/sdk@0.1.0-alpha.2
9
+ npm install @xkova/sdk@alpha
10
10
  ```
11
11
 
12
12
  Requires Node.js 22 or newer. Keep this package and your API keys on the server.
@@ -491,11 +491,39 @@ idempotency, and settlement. It links the public customer OpenAPI and expanded
491
491
  documentation. Installed declarations determine the methods available in your
492
492
  version; live documentation may describe a newer release.
493
493
 
494
- ## Contributing
494
+ ## Writing checks for contributors
495
495
 
496
- Run `pnpm check` from the source repository root before committing. The
497
- [contributor guide](https://github.com/XKOVA/typescript-sdk/blob/main/CONTRIBUTING.md)
498
- covers generated files, local pre-push checks, writing rules, and packaging.
496
+ Use plain verbs, concrete examples, and comments that explain non-obvious
497
+ decisions. Vary section length, remove repeated conclusions, and write each
498
+ guide for its reader. Test failure and recovery cases alongside successful
499
+ calls. Keep commits small and omit attribution or co-author trailers.
500
+
501
+ The local pre-push hook checks both public SDKs before the existing test gates.
502
+ It reads each pushed branch or tag's committed files, plus new commit messages
503
+ that touch either package. Uncommitted edits cannot change that result. No
504
+ build or network access is needed. Use the repository's pinned Node version,
505
+ then install workspace dependencies with `pnpm install` to set up the hook.
506
+
507
+ To check edits before committing:
508
+
509
+ ```sh
510
+ pnpm --filter @xkova/sdk writing:check
511
+ ```
512
+
513
+ The check covers package guides, examples, public source and generated types,
514
+ and descriptive package metadata. It rejects stock wording, emoji, em dashes,
515
+ attribution, internal decision narratives, and implementation-provider details.
516
+ Describe installation, supported methods, inputs, results, and the steps an
517
+ application developer needs. Do not turn release planning or maintainer
518
+ conversations into package documentation. Standard license text, rule
519
+ definitions, and negative test fixtures are checked separately.
520
+
521
+ A pass is a mechanical check, not a judgment of authorship. Before pushing,
522
+ reread the result for sentence rhythm, repeated structures, useful comments,
523
+ accurate examples, and test quality. This gate does not scan historical file
524
+ contents or replace secret scanning. It checks commit messages locally;
525
+ review PR descriptions separately. Run `pnpm --filter @xkova/sdk writing:test`
526
+ when changing the rules or hook.
499
527
 
500
528
  ## License
501
529