@cloudparse/up-miniapps-sdk 0.6.7 β 0.7.0
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 +12 -0
- package/dist/index.browser.min.js +104 -101
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +1098 -1108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -2
- package/dist/index.d.ts +62 -2
- package/dist/index.js +993 -1002
- package/dist/index.js.map +1 -1
- package/dist/style.css +96 -18
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -139,6 +139,18 @@ Integration with the Fidelity program.
|
|
|
139
139
|
|
|
140
140
|
</details>
|
|
141
141
|
|
|
142
|
+
<details>
|
|
143
|
+
<summary><b>π Achievements</b></summary>
|
|
144
|
+
|
|
145
|
+
Read-only progress on the Hub's direct-count Achievement system (a mini-app's own backend
|
|
146
|
+
reports progress server-to-server via the Hub's M2M endpoint β this SDK only reads current
|
|
147
|
+
state, e.g. to render a progress bar; there is no "claim" step or write method here).
|
|
148
|
+
|
|
149
|
+
- `sdk.achievement(slug: string): Promise<Achievement>` - Fetches a single Achievement's current progress by slug.
|
|
150
|
+
- `sdk.achievements(): Promise<Achievement[]>` - Fetches every Achievement (with current progress) visible to this mini-app.
|
|
151
|
+
|
|
152
|
+
</details>
|
|
153
|
+
|
|
142
154
|
<details>
|
|
143
155
|
<summary><b>πΊοΈ Map & Navigation</b></summary>
|
|
144
156
|
|