@praxium/sdk 0.2.8 → 0.2.10

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 +7 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,8 +14,14 @@ npm install @praxium/sdk
14
14
  import { createTenantClient } from '@praxium/sdk'
15
15
 
16
16
  const client = createTenantClient({
17
- baseUrl: 'https://api.example.com',
17
+ baseUrl: process.env.PRAXIUM_API_URL!,
18
+ apiKey: process.env.PRAXIUM_API_KEY!,
19
+ tenantSlug: 'your-tenant',
20
+ locale: 'nl',
18
21
  })
22
+
23
+ const hours = await client.getOpeningHours()
24
+ const team = await client.getTeamMembers()
19
25
  ```
20
26
 
21
27
  ## Next.js Revalidation
@@ -35,15 +41,6 @@ npm run test # Run tests
35
41
  npm run typecheck # Type-check without emitting
36
42
  ```
37
43
 
38
- ## Publishing
39
-
40
- This package is dual-published:
41
-
42
- - **GitLab Package Registry** (internal) — via `CI_JOB_TOKEN`
43
- - **npm public registry** — via [OIDC Trusted Publishing](https://docs.npmjs.com/trusted-publishers/) (no stored secrets)
44
-
45
- Versioning: `0.2.<commit-count>` — deterministic from git history.
46
-
47
44
  ## License
48
45
 
49
46
  [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxium/sdk",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "Official TypeScript SDK for the Praxium platform API",
5
5
  "type": "module",
6
6
  "exports": {