@momo-cloud/gami-sdk 0.0.25 → 0.0.27
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.public.d.ts +3 -0
- package/dist/index.public.js +899 -893
- package/package.json +1 -1
package/dist/index.public.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ declare const GamiSDK: {
|
|
|
33
33
|
isBrowser: boolean;
|
|
34
34
|
feature: any;
|
|
35
35
|
isIos: boolean;
|
|
36
|
+
isProd: boolean;
|
|
37
|
+
isUat: boolean;
|
|
36
38
|
closeApp: () => void;
|
|
37
39
|
goHome: () => void;
|
|
38
40
|
init: ({ gameId, source, appjson, userId }: {
|
|
@@ -135,6 +137,7 @@ declare const GamiSDK: {
|
|
|
135
137
|
des: string;
|
|
136
138
|
toast?: string;
|
|
137
139
|
}) => Promise<unknown>;
|
|
140
|
+
requestPlatformApi: (name: string, ...params: any[]) => Promise<unknown>;
|
|
138
141
|
listen: (name: string, callback: (args: any[]) => void) => void;
|
|
139
142
|
listenShaking: ({ onShake }: {
|
|
140
143
|
onShake: (data: any) => void;
|