@paypay/mini-app-js-sdk 1.60.0 → 1.61.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/dist/mini-app-api.d.ts +3 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +294 -144
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/addShortcut.d.ts +2 -0
- package/dist/model/bridge/shortcutExists.d.ts +17 -0
- package/dist/types.d.ts +15 -0
- package/dist/utils/minimumAppVersion.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ShortcutExistsParams } from '../../types';
|
|
2
|
+
export declare type GetFavoriteFolderResponse = {
|
|
3
|
+
unsigned: {
|
|
4
|
+
data: {
|
|
5
|
+
smartFunctionInfoList: [MiniappMetadata];
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
declare type MiniappMetadata = {
|
|
10
|
+
featureId: string;
|
|
11
|
+
imageUrl: string;
|
|
12
|
+
deeplink: string;
|
|
13
|
+
labelShort: string;
|
|
14
|
+
exists: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare function shortcutExists(params: ShortcutExistsParams): void;
|
|
17
|
+
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -471,6 +471,21 @@ export declare type ErrorSheetButton = {
|
|
|
471
471
|
export interface ScanCodeParams extends NativeParams<MiniAppResult> {
|
|
472
472
|
redirectUrlOnCancel?: string;
|
|
473
473
|
}
|
|
474
|
+
export declare const AddShortcutTypes: {
|
|
475
|
+
readonly FAVORITE: "FAVORITE";
|
|
476
|
+
readonly OS_HOME_SCREEN_ICON: "OS_HOME_SCREEN_ICON";
|
|
477
|
+
};
|
|
478
|
+
export declare type AddShortcutType = typeof AddShortcutTypes[keyof typeof AddShortcutTypes];
|
|
479
|
+
export interface AddShortcutParams extends NativeParams<void> {
|
|
480
|
+
type: AddShortcutType;
|
|
481
|
+
}
|
|
482
|
+
export declare const ShortcutExistsTypes: {
|
|
483
|
+
readonly FAVORITE: "FAVORITE";
|
|
484
|
+
};
|
|
485
|
+
export declare type ShortcutExistsType = typeof ShortcutExistsTypes[keyof typeof ShortcutExistsTypes];
|
|
486
|
+
export interface ShortcutExistsParams extends NativeParams<MiniAppResult> {
|
|
487
|
+
type: ShortcutExistsType;
|
|
488
|
+
}
|
|
474
489
|
export interface GetUserPaymentFeatureSettingsParams extends NativeParams<MiniAppResult> {
|
|
475
490
|
type?: 'PRE_TRANSACTION_AUTO_CHARGE' | 'FALLBACK_PAYMENT_METHOD';
|
|
476
491
|
merchant?: string;
|