@grabjs/superapp-sdk 2.0.0-beta.51 → 2.0.0-beta.54
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 +3 -3
- package/api-reference/api.json +36226 -23720
- package/dist/index.d.ts +934 -185
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -2
- package/skills/SKILL.md +46 -44
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
## Overview
|
|
2
2
|
|
|
3
|
-
The SuperApp SDK
|
|
3
|
+
The SuperApp SDK helps web developers build MiniApps that run inside the Grab SuperApp WebView. It provides type-safe SDK APIs over `JSBridge` to access the native layer on Android and iOS, along with Grab app features, from web applications.
|
|
4
4
|
|
|
5
|
-
Each module encapsulates a specific domain of functionality, offering strongly-typed APIs with consistent response patterns.
|
|
5
|
+
Each SDK module encapsulates a specific domain of functionality, offering strongly-typed APIs with consistent response patterns.
|
|
6
6
|
|
|
7
7
|
### Key Features
|
|
8
8
|
|
|
9
9
|
- **Type-Safe APIs** — Full TypeScript support with comprehensive type definitions
|
|
10
10
|
- **Modular Architecture** — Import only the modules you need
|
|
11
|
-
- **Consistent Response Pattern** — All methods return standardized
|
|
11
|
+
- **Consistent Response Pattern** — All methods return standardized SDK responses with HTTP-style status codes
|
|
12
12
|
- **Streaming Support** — Real-time data streams for location updates and media events
|
|
13
13
|
- **Automatic Fallbacks** — Graceful degradation when native features are unavailable
|
|
14
14
|
|