@baziapi/sdk 1.0.1 → 1.0.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 +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -180,13 +180,15 @@ Content-Security-Policy: connect-src 'self' https://api.baziapi.pro;
180
180
 
181
181
  ---
182
182
 
183
- ## Examples
183
+ ## 📂 Runnable Examples
184
184
 
185
- - [`examples/node-esm/`](./examples/node-esm/) Node.js ESM
186
- - [`examples/node-cjs/`](./examples/node-cjs/) — Node.js CommonJS
187
- - [`examples/bun/`](./examples/bun/) — Bun
188
- - [`examples/next-js/`](./examples/next-js/) — Next.js App Router (Server Component)
189
- - [`examples/browser/`](./examples/browser/) — Browser / CDN
185
+ Explore complete, plug-and-play runnable code examples in the official repository:
186
+
187
+ - 🚀 [**Node.js (ESM)**](https://github.com/Shoyas/bazi-api-sdk/tree/main/packages/bazi/examples/node-esm) — Modern ES Modules (`import`) with error handling
188
+ - 📦 [**Node.js (CommonJS)**](https://github.com/Shoyas/bazi-api-sdk/tree/main/packages/bazi/examples/node-cjs) — Legacy Node.js (`require`) setup
189
+ - [**Bun**](https://github.com/Shoyas/bazi-api-sdk/tree/main/packages/bazi/examples/bun) — High-performance TypeScript execution with Bun runtime
190
+ - 🌐 [**Next.js 14 (App Router)**](https://github.com/Shoyas/bazi-api-sdk/tree/main/packages/bazi/examples/next-js) — Secure Server Component calculation without leaking API keys
191
+ - 💻 [**Browser / CDN**](https://github.com/Shoyas/bazi-api-sdk/tree/main/packages/bazi/examples/browser) — Standalone HTML & Vanilla JavaScript integration via CDN
190
192
 
191
193
  ---
192
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baziapi/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official TypeScript SDK for the BaZi API",
5
5
  "author": "Md. Nasir Uddin Shoyas",
6
6
  "license": "MIT",