@soledgic/sdk 0.2.0 → 0.2.2

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,15 +22,15 @@ It does not wrap the dashboard/operator control-plane routes such as `/api/ident
22
22
  ## Installation
23
23
 
24
24
  ```bash
25
- npm install @soledgic/sdk
25
+ npm install @soledgic/sdk@0.2.0
26
26
  ```
27
27
 
28
28
  ## Quick Start
29
29
 
30
30
  ```ts
31
- import Soledgic from '@soledgic/sdk'
31
+ import SoledgicClient from '@soledgic/sdk'
32
32
 
33
- const soledgic = new Soledgic({
33
+ const soledgic = new SoledgicClient({
34
34
  apiKey: process.env.SOLEDGIC_API_KEY!,
35
35
  apiVersion: '2026-03-01',
36
36
  })
@@ -175,7 +175,7 @@ If your integration retries requests or replays processor events, treat `referen
175
175
  ## Error Handling
176
176
 
177
177
  ```ts
178
- import Soledgic, { SoledgicError } from '@soledgic/sdk'
178
+ import { SoledgicError } from '@soledgic/sdk'
179
179
 
180
180
  try {
181
181
  await soledgic.createPayout({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soledgic/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Financial infrastructure for digital platforms — ledger API with wallets, splits, and treasury controls",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",