@aippy/runtime 0.4.2-dev.4 → 0.4.2-dev.7
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 +6 -0
- package/dist/ai/index.d.ts +2 -1
- package/dist/ai/index.js +18 -14
- package/dist/ai/viggle/generate.d.ts +46 -13
- package/dist/ai/viggle/models.d.ts +46 -0
- package/dist/{app-version-checker-Bz7FrEZz.js → app-version-checker-YVIFbytA.js} +18 -17
- package/dist/{bridge-D_-7nPNC.js → bridge-K3HqQwdj.js} +1 -1
- package/dist/{container-message-DmIChz4h.js → container-message-D-wg98Oh.js} +2 -2
- package/dist/core/index.js +2 -2
- package/dist/helper-DnJHjgMg.js +622 -0
- package/dist/{hooks-Ct9qEjM6.js → hooks-CMKwSLcQ.js} +1 -1
- package/dist/index/index.js +61 -56
- package/dist/ministore/app-authorization.d.ts +1 -1
- package/dist/ministore/index.js +64 -880
- package/dist/ministore/purchase.d.ts +1 -1
- package/dist/ministore/types.d.ts +5 -0
- package/dist/recharge-BOY8wLs6.js +993 -0
- package/dist/user/index.js +3 -3
- package/dist/utils/app-version-requirements.json.d.ts +4 -0
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/helper-BWszI06u.js +0 -346
- package/dist/wallet-recharge-BqOljLWn.js +0 -140
package/dist/index/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { D as r, g as s, m as o } from "../config-B0A7gHQM.js";
|
|
2
|
-
import { _ as i, g as n, r as p } from "../bridge-
|
|
3
|
-
import { A
|
|
4
|
-
import { S as
|
|
5
|
-
import { A as U, C as _, R as
|
|
6
|
-
import { CameraAPI as v, FileSystemAPI as y, GeolocationAPI as F, SensorsAPI as P, camera as O, fileSystem as
|
|
7
|
-
import { P as
|
|
2
|
+
import { _ as i, g as n, r as p } from "../bridge-K3HqQwdj.js";
|
|
3
|
+
import { A, a as f, E as c, b as g, c as l } from "../errors-B3bDbQbD.js";
|
|
4
|
+
import { S as C, V as d, c as E, a as I, g as S, s as x } from "../container-message-D-wg98Oh.js";
|
|
5
|
+
import { A as U, C as _, R as M, a as D, p as T } from "../runtime-CmoG3v2m.js";
|
|
6
|
+
import { CameraAPI as v, FileSystemAPI as y, GeolocationAPI as F, SensorsAPI as P, camera as O, fileSystem as V, geolocation as b, isMotionSupported as L, isOrientationSupported as w, requestMotionPermission as H, sensors as N, vibrate as k, watchMotion as B, watchOrientation as q } from "../device/index.js";
|
|
7
|
+
import { P as j, a as z, c as K, b as W, g as X, i as Y, p as J, r as Q, s as Z } from "../app-version-checker-YVIFbytA.js";
|
|
8
8
|
import { a as ee, P as ae, p as re, b as se } from "../pwa-C5nXU0DN.js";
|
|
9
9
|
import { j as te } from "../url-c26cuIpu.js";
|
|
10
10
|
import { a as ne, b as pe } from "../useTweaks-C7BEMpV3.js";
|
|
11
|
-
import { c as
|
|
12
|
-
import { reportScore as
|
|
13
|
-
import { D as xe, d as Re, e as Ue, c as _e, U as De, a as Te, b as
|
|
14
|
-
import {
|
|
15
|
-
import { c as
|
|
16
|
-
import { hasNativeBridge as
|
|
11
|
+
import { c as Ae, b as fe, i as ce, p as ge, u as le, a as ue } from "../useSound-z_eIn0KH.js";
|
|
12
|
+
import { reportScore as de, sendEvent as Ee, updateScore as Ie } from "../leaderboard/index.js";
|
|
13
|
+
import { D as xe, d as Re, e as Ue, c as _e, U as Me, V as De, a as Te, b as he, o as ve, i as ye, g as Fe, h as Pe, m as Oe, l as Ve, k as be, n as Le, p as we, r as He, f as Ne, j as ke, s as Be, v as qe } from "../helper-DnJHjgMg.js";
|
|
14
|
+
import { ministore as je } from "../ministore/index.js";
|
|
15
|
+
import { c as Ke, u as We } from "../hooks-CMKwSLcQ.js";
|
|
16
|
+
import { hasNativeBridge as Ye } from "../native-bridge-BnvipFJc.js";
|
|
17
|
+
import { M as Qe } from "../recharge-BOY8wLs6.js";
|
|
17
18
|
export {
|
|
18
19
|
U as AippyRuntime,
|
|
19
|
-
|
|
20
|
+
A as AippyRuntimeError,
|
|
20
21
|
v as CameraAPI,
|
|
21
22
|
_ as Cancellable,
|
|
22
23
|
xe as DEFAULT_BASE_URL,
|
|
@@ -28,75 +29,79 @@ export {
|
|
|
28
29
|
c as ERROR_PREFIX,
|
|
29
30
|
y as FileSystemAPI,
|
|
30
31
|
F as GeolocationAPI,
|
|
31
|
-
|
|
32
|
+
Qe as MinistoreError,
|
|
32
33
|
ee as PWAUtils,
|
|
33
34
|
ae as PerformanceMonitor,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
j as PlatformDetector,
|
|
36
|
+
M as ReceiveChannel,
|
|
37
|
+
C as SDK_NAME,
|
|
37
38
|
P as SensorsAPI,
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
Me as UI_CHAT_ENDPOINT,
|
|
40
|
+
d as VERSION,
|
|
41
|
+
De as ViggleGenerationError,
|
|
40
42
|
i as _resetCachedApiBaseUrl,
|
|
41
43
|
Te as aippyAIProvider,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
he as aippyChatConfig,
|
|
45
|
+
D as aippyRuntime,
|
|
44
46
|
ne as aippyTweaks,
|
|
45
47
|
pe as aippyTweaksRuntime,
|
|
46
48
|
O as camera,
|
|
47
49
|
z as checkFeatureSupport,
|
|
48
|
-
|
|
50
|
+
Ke as clearUserInfoCache,
|
|
49
51
|
K as compareVersions,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
ve as createAIConfig,
|
|
53
|
+
E as createAippyHeaders,
|
|
54
|
+
I as createAippyHeadersAsync,
|
|
55
|
+
g as createCodeError,
|
|
56
|
+
l as createError,
|
|
57
|
+
Ae as createHiddenMediaElement,
|
|
58
|
+
ye as createViggleRequestId,
|
|
59
|
+
V as fileSystem,
|
|
60
|
+
Fe as generateCharacter3D,
|
|
61
|
+
Pe as generateMotion,
|
|
62
|
+
b as geolocation,
|
|
63
|
+
Oe as getAIConfigValue,
|
|
61
64
|
n as getAuthTokenAsync,
|
|
62
65
|
W as getAvailableFeatures,
|
|
63
66
|
s as getConfigFromEnv,
|
|
64
67
|
X as getFeatureVersionRequirements,
|
|
65
68
|
S as getVersionInfo,
|
|
66
|
-
|
|
69
|
+
Ye as hasNativeBridge,
|
|
67
70
|
fe as isIOSDevice,
|
|
68
71
|
Y as isInIframe,
|
|
69
72
|
ce as isMediaStreamAudioSupported,
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
L as isMotionSupported,
|
|
74
|
+
w as isOrientationSupported,
|
|
72
75
|
te as joinUrl,
|
|
73
|
-
|
|
76
|
+
Ve as listViggleModels,
|
|
77
|
+
be as loadAIConfig,
|
|
74
78
|
o as mergeConfig,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
je as ministore,
|
|
80
|
+
Le as normalizeError,
|
|
81
|
+
we as parseAIConfig,
|
|
82
|
+
ge as patchAudioContext,
|
|
79
83
|
re as performanceMonitor,
|
|
80
84
|
J as platform,
|
|
81
|
-
|
|
85
|
+
T as processMotionData,
|
|
82
86
|
se as pwa,
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
de as reportScore,
|
|
88
|
+
H as requestMotionPermission,
|
|
85
89
|
Q as requireFeatureSupport,
|
|
86
90
|
p as resolveApiBaseUrl,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
He as resolveOpenAIConfig,
|
|
92
|
+
Ne as resolveUIConfig,
|
|
93
|
+
ke as resumeViggleGeneration,
|
|
94
|
+
Be as sendAIConfigToContainer,
|
|
95
|
+
Ee as sendEvent,
|
|
91
96
|
x as sendMessageToContainer,
|
|
92
|
-
|
|
97
|
+
N as sensors,
|
|
93
98
|
Z as showAlert,
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
Ie as updateScore,
|
|
100
|
+
le as useAudioContext,
|
|
96
101
|
ue as useSound,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
We as useUserInfo,
|
|
103
|
+
qe as validateAIConfig,
|
|
104
|
+
k as vibrate,
|
|
105
|
+
B as watchMotion,
|
|
106
|
+
q as watchOrientation
|
|
102
107
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MinistoreAuthorization, MinistoreAuthorizationInput, MinistoreResult } from './types';
|
|
2
2
|
export declare function usableAuthorization(data: MinistoreAuthorization, input: MinistoreAuthorizationInput): boolean;
|
|
3
|
-
/**
|
|
3
|
+
/** Native bridge plus the ministore app version floor. Silent: no upgrade banner. */
|
|
4
4
|
export declare function isAuthorizationSupported(): boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Native records authorization only. No App login token, project ID or HTTP
|