@cloudparse/up-miniapps-sdk 0.6.3 → 0.6.4
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/dist/index.browser.min.js +1 -1
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -214,7 +214,16 @@ interface IFidelityTransaction {
|
|
|
214
214
|
/**
|
|
215
215
|
* The initialization options required to set up the Mini-App SDK.
|
|
216
216
|
*/
|
|
217
|
-
type IInitializationOptions = {
|
|
217
|
+
type IInitializationOptions = {
|
|
218
|
+
/**
|
|
219
|
+
* The Mini-App's own dark/light theme preference, applied by the host
|
|
220
|
+
* immediately from the INITIALIZE payload — pass it here instead of a
|
|
221
|
+
* separate `sdk.updateContext({isDark})` call right after `initialize()`
|
|
222
|
+
* resolves, which left the host rendering its own theme for the whole
|
|
223
|
+
* round-trip before flipping to the Mini-App's real one.
|
|
224
|
+
*/
|
|
225
|
+
isDark?: boolean;
|
|
226
|
+
};
|
|
218
227
|
/**
|
|
219
228
|
* The post initialization response
|
|
220
229
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -214,7 +214,16 @@ interface IFidelityTransaction {
|
|
|
214
214
|
/**
|
|
215
215
|
* The initialization options required to set up the Mini-App SDK.
|
|
216
216
|
*/
|
|
217
|
-
type IInitializationOptions = {
|
|
217
|
+
type IInitializationOptions = {
|
|
218
|
+
/**
|
|
219
|
+
* The Mini-App's own dark/light theme preference, applied by the host
|
|
220
|
+
* immediately from the INITIALIZE payload — pass it here instead of a
|
|
221
|
+
* separate `sdk.updateContext({isDark})` call right after `initialize()`
|
|
222
|
+
* resolves, which left the host rendering its own theme for the whole
|
|
223
|
+
* round-trip before flipping to the Mini-App's real one.
|
|
224
|
+
*/
|
|
225
|
+
isDark?: boolean;
|
|
226
|
+
};
|
|
218
227
|
/**
|
|
219
228
|
* The post initialization response
|
|
220
229
|
*/
|