@cloudcare/cocos-sdk 0.1.0-alpha.1
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/LICENSE +202 -0
- package/README.md +31 -0
- package/THIRD_PARTY_NOTICES +5 -0
- package/bin/cli.cjs +127 -0
- package/creator2/package.json +4 -0
- package/creator3/package.json +5 -0
- package/dist/creator2/core/auto-tracking.d.ts +35 -0
- package/dist/creator2/core/auto-tracking.d.ts.map +1 -0
- package/dist/creator2/core/auto-tracking.js +337 -0
- package/dist/creator2/core/auto-tracking.js.map +1 -0
- package/dist/creator2/core/client.d.ts +74 -0
- package/dist/creator2/core/client.d.ts.map +1 -0
- package/dist/creator2/core/client.js +176 -0
- package/dist/creator2/core/client.js.map +1 -0
- package/dist/creator2/core/index.d.ts +3 -0
- package/dist/creator2/core/index.d.ts.map +1 -0
- package/dist/creator2/core/index.js +6 -0
- package/dist/creator2/core/index.js.map +1 -0
- package/dist/creator2/core/modules.d.ts +159 -0
- package/dist/creator2/core/modules.d.ts.map +1 -0
- package/dist/creator2/core/modules.js +319 -0
- package/dist/creator2/core/modules.js.map +1 -0
- package/dist/creator2/core/replay-budget.d.ts +28 -0
- package/dist/creator2/core/replay-budget.d.ts.map +1 -0
- package/dist/creator2/core/replay-budget.js +113 -0
- package/dist/creator2/core/replay-budget.js.map +1 -0
- package/dist/creator2/core/replay-diagnostics.d.ts +36 -0
- package/dist/creator2/core/replay-diagnostics.d.ts.map +1 -0
- package/dist/creator2/core/replay-diagnostics.js +40 -0
- package/dist/creator2/core/replay-diagnostics.js.map +1 -0
- package/dist/creator2/core/replay-encoding.d.ts +31 -0
- package/dist/creator2/core/replay-encoding.d.ts.map +1 -0
- package/dist/creator2/core/replay-encoding.js +63 -0
- package/dist/creator2/core/replay-encoding.js.map +1 -0
- package/dist/creator2/core/replay-pixels.d.ts +3 -0
- package/dist/creator2/core/replay-pixels.d.ts.map +1 -0
- package/dist/creator2/core/replay-pixels.js +16 -0
- package/dist/creator2/core/replay-pixels.js.map +1 -0
- package/dist/creator2/core/replay.d.ts +97 -0
- package/dist/creator2/core/replay.d.ts.map +1 -0
- package/dist/creator2/core/replay.js +578 -0
- package/dist/creator2/core/replay.js.map +1 -0
- package/dist/creator2/core/transport.d.ts +16 -0
- package/dist/creator2/core/transport.d.ts.map +1 -0
- package/dist/creator2/core/transport.js +33 -0
- package/dist/creator2/core/transport.js.map +1 -0
- package/dist/creator2/core/types.d.ts +260 -0
- package/dist/creator2/core/types.d.ts.map +1 -0
- package/dist/creator2/core/types.js +3 -0
- package/dist/creator2/core/types.js.map +1 -0
- package/dist/creator2/core/validation.d.ts +14 -0
- package/dist/creator2/core/validation.d.ts.map +1 -0
- package/dist/creator2/core/validation.js +81 -0
- package/dist/creator2/core/validation.js.map +1 -0
- package/dist/creator2/core/version.d.ts +9 -0
- package/dist/creator2/core/version.d.ts.map +1 -0
- package/dist/creator2/core/version.js +14 -0
- package/dist/creator2/core/version.js.map +1 -0
- package/dist/creator2/creator2/auto.d.ts +9 -0
- package/dist/creator2/creator2/auto.d.ts.map +1 -0
- package/dist/creator2/creator2/auto.js +65 -0
- package/dist/creator2/creator2/auto.js.map +1 -0
- package/dist/creator2/creator2/capture.d.ts +17 -0
- package/dist/creator2/creator2/capture.d.ts.map +1 -0
- package/dist/creator2/creator2/capture.js +162 -0
- package/dist/creator2/creator2/capture.js.map +1 -0
- package/dist/creator2/creator2/index.d.ts +12 -0
- package/dist/creator2/creator2/index.d.ts.map +1 -0
- package/dist/creator2/creator2/index.js +41 -0
- package/dist/creator2/creator2/index.js.map +1 -0
- package/dist/creator2/creator2/transport.d.ts +7 -0
- package/dist/creator2/creator2/transport.d.ts.map +1 -0
- package/dist/creator2/creator2/transport.js +34 -0
- package/dist/creator2/creator2/transport.js.map +1 -0
- package/dist/creator3/core/auto-tracking.d.ts +35 -0
- package/dist/creator3/core/auto-tracking.d.ts.map +1 -0
- package/dist/creator3/core/auto-tracking.js +247 -0
- package/dist/creator3/core/auto-tracking.js.map +1 -0
- package/dist/creator3/core/client.d.ts +74 -0
- package/dist/creator3/core/client.d.ts.map +1 -0
- package/dist/creator3/core/client.js +158 -0
- package/dist/creator3/core/client.js.map +1 -0
- package/dist/creator3/core/index.d.ts +3 -0
- package/dist/creator3/core/index.d.ts.map +1 -0
- package/dist/creator3/core/index.js +2 -0
- package/dist/creator3/core/index.js.map +1 -0
- package/dist/creator3/core/modules.d.ts +159 -0
- package/dist/creator3/core/modules.d.ts.map +1 -0
- package/dist/creator3/core/modules.js +293 -0
- package/dist/creator3/core/modules.js.map +1 -0
- package/dist/creator3/core/replay-budget.d.ts +28 -0
- package/dist/creator3/core/replay-budget.d.ts.map +1 -0
- package/dist/creator3/core/replay-budget.js +105 -0
- package/dist/creator3/core/replay-budget.js.map +1 -0
- package/dist/creator3/core/replay-diagnostics.d.ts +36 -0
- package/dist/creator3/core/replay-diagnostics.d.ts.map +1 -0
- package/dist/creator3/core/replay-diagnostics.js +36 -0
- package/dist/creator3/core/replay-diagnostics.js.map +1 -0
- package/dist/creator3/core/replay-encoding.d.ts +31 -0
- package/dist/creator3/core/replay-encoding.d.ts.map +1 -0
- package/dist/creator3/core/replay-encoding.js +62 -0
- package/dist/creator3/core/replay-encoding.js.map +1 -0
- package/dist/creator3/core/replay-pixels.d.ts +3 -0
- package/dist/creator3/core/replay-pixels.d.ts.map +1 -0
- package/dist/creator3/core/replay-pixels.js +13 -0
- package/dist/creator3/core/replay-pixels.js.map +1 -0
- package/dist/creator3/core/replay.d.ts +97 -0
- package/dist/creator3/core/replay.d.ts.map +1 -0
- package/dist/creator3/core/replay.js +520 -0
- package/dist/creator3/core/replay.js.map +1 -0
- package/dist/creator3/core/transport.d.ts +16 -0
- package/dist/creator3/core/transport.d.ts.map +1 -0
- package/dist/creator3/core/transport.js +27 -0
- package/dist/creator3/core/transport.js.map +1 -0
- package/dist/creator3/core/types.d.ts +260 -0
- package/dist/creator3/core/types.d.ts.map +1 -0
- package/dist/creator3/core/types.js +2 -0
- package/dist/creator3/core/types.js.map +1 -0
- package/dist/creator3/core/validation.d.ts +14 -0
- package/dist/creator3/core/validation.d.ts.map +1 -0
- package/dist/creator3/core/validation.js +75 -0
- package/dist/creator3/core/validation.js.map +1 -0
- package/dist/creator3/core/version.d.ts +9 -0
- package/dist/creator3/core/version.d.ts.map +1 -0
- package/dist/creator3/core/version.js +11 -0
- package/dist/creator3/core/version.js.map +1 -0
- package/dist/creator3/creator3/auto.d.ts +9 -0
- package/dist/creator3/creator3/auto.d.ts.map +1 -0
- package/dist/creator3/creator3/auto.js +45 -0
- package/dist/creator3/creator3/auto.js.map +1 -0
- package/dist/creator3/creator3/capture.d.ts +17 -0
- package/dist/creator3/creator3/capture.d.ts.map +1 -0
- package/dist/creator3/creator3/capture.js +117 -0
- package/dist/creator3/creator3/capture.js.map +1 -0
- package/dist/creator3/creator3/index.d.ts +12 -0
- package/dist/creator3/creator3/index.d.ts.map +1 -0
- package/dist/creator3/creator3/index.js +23 -0
- package/dist/creator3/creator3/index.js.map +1 -0
- package/dist/creator3/creator3/replay-render-cycle.d.ts +9 -0
- package/dist/creator3/creator3/replay-render-cycle.d.ts.map +1 -0
- package/dist/creator3/creator3/replay-render-cycle.js +12 -0
- package/dist/creator3/creator3/replay-render-cycle.js.map +1 -0
- package/dist/creator3/creator3/transport.d.ts +8 -0
- package/dist/creator3/creator3/transport.d.ts.map +1 -0
- package/dist/creator3/creator3/transport.js +24 -0
- package/dist/creator3/creator3/transport.js.map +1 -0
- package/dist/creator3/package.json +1 -0
- package/extensions/creator2/install-native.cjs +333 -0
- package/extensions/creator2/main.js +23 -0
- package/extensions/creator2/package.json +6 -0
- package/extensions/creator3/dist/builder.js +9 -0
- package/extensions/creator3/dist/hooks.js +70 -0
- package/extensions/creator3/dist/main.js +4 -0
- package/extensions/creator3/install-native.cjs +333 -0
- package/extensions/creator3/package.json +10 -0
- package/native/android/src/main/java/com/ft/sdk/cocos/FTCocosBridge.java +532 -0
- package/native/android/src/main/java/com/ft/sdk/cocos/FTCocosBridgeProvider.java +70 -0
- package/native/ios/FTCocosBridge.h +10 -0
- package/native/ios/FTCocosBridge.m +470 -0
- package/native/ios/FTCocosBridge.podspec +18 -0
- package/package.json +60 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { FTLogger, FTMobileAgent, FTRUM, FTTrace } from './modules.js';
|
|
2
|
+
import { FTSessionReplay, type FTCanvasCapture, type FTReplayPointerSource } from './replay.js';
|
|
3
|
+
import type { FTNativeTransport } from './transport.js';
|
|
4
|
+
import type { FTAutoTrackingConfig, FTCocosConfig, FTCocosEnterOptions, FTCocosHybridConfig } from './types.js';
|
|
5
|
+
export interface FTAutoTrackingController {
|
|
6
|
+
start(config: FTAutoTrackingConfig, viewName?: string): void;
|
|
7
|
+
stop(): void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Cocos SDK facade exposed through the platform entry point's `guanceSdk`
|
|
11
|
+
* singleton. Do not construct this class directly.
|
|
12
|
+
*/
|
|
13
|
+
export declare class FTCocosSDK {
|
|
14
|
+
private readonly transport;
|
|
15
|
+
private readonly autoTracking?;
|
|
16
|
+
/** Base SDK lifecycle and user-binding operations. */
|
|
17
|
+
readonly mobile: FTMobileAgent;
|
|
18
|
+
/** Real User Monitoring operations. */
|
|
19
|
+
readonly rum: FTRUM;
|
|
20
|
+
/** Logging operations. */
|
|
21
|
+
readonly logger: FTLogger;
|
|
22
|
+
/** Distributed-tracing operations. */
|
|
23
|
+
readonly trace: FTTrace;
|
|
24
|
+
/** Session Replay operations. */
|
|
25
|
+
readonly replay: FTSessionReplay;
|
|
26
|
+
private state;
|
|
27
|
+
private hybridAutoTracking;
|
|
28
|
+
private readonly ownership;
|
|
29
|
+
constructor(transport: FTNativeTransport, capture: FTCanvasCapture, autoTracking?: FTAutoTrackingController | undefined, pointerSource?: FTReplayPointerSource);
|
|
30
|
+
/**
|
|
31
|
+
* Initializes the native SDK and the configured modules for a standalone
|
|
32
|
+
* Cocos application.
|
|
33
|
+
*
|
|
34
|
+
* Call this once during application startup. Do not combine it with
|
|
35
|
+
* {@link attach}, which is reserved for Hybrid applications initialized by
|
|
36
|
+
* a native host.
|
|
37
|
+
*
|
|
38
|
+
* @param config - Base SDK settings and optional module configurations.
|
|
39
|
+
* @throws If the SDK is already started or attached.
|
|
40
|
+
*/
|
|
41
|
+
start(config: FTCocosConfig): void;
|
|
42
|
+
/**
|
|
43
|
+
* Attaches Cocos instrumentation to an SDK instance initialized by the
|
|
44
|
+
* native host application.
|
|
45
|
+
*
|
|
46
|
+
* Call this once before the first {@link enterCocos}. This method does not
|
|
47
|
+
* initialize or shut down the native SDK.
|
|
48
|
+
*
|
|
49
|
+
* @param config - Cocos tracking and replay settings owned by the native host.
|
|
50
|
+
* @throws If standalone initialization has already started.
|
|
51
|
+
*/
|
|
52
|
+
attach(config?: FTCocosHybridConfig): void;
|
|
53
|
+
/**
|
|
54
|
+
* Starts Cocos automatic tracking and canvas replay capture in Hybrid mode.
|
|
55
|
+
*
|
|
56
|
+
* @param options - Options for the Cocos view being entered.
|
|
57
|
+
* @throws If {@link attach} has not been called, or if `viewName` is omitted
|
|
58
|
+
* while automatic scene tracking is disabled.
|
|
59
|
+
*/
|
|
60
|
+
enterCocos(options?: FTCocosEnterOptions): void;
|
|
61
|
+
/**
|
|
62
|
+
* Stops Cocos automatic tracking and canvas replay capture in Hybrid mode.
|
|
63
|
+
* The native host SDK remains running.
|
|
64
|
+
*/
|
|
65
|
+
leaveCocos(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Stops a standalone SDK instance and releases its Cocos instrumentation.
|
|
68
|
+
*
|
|
69
|
+
* Hybrid applications should call {@link leaveCocos} instead because the
|
|
70
|
+
* native host owns SDK shutdown.
|
|
71
|
+
*/
|
|
72
|
+
shutdown(): void;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","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G,IAAI;IAelC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,GAAE,mBAAwB,GAAG,IAAI;IAsB9C;;;;;;OAMG;IACH,UAAU,CAAC,OAAO,GAAE,mBAAwB,GAAG,IAAI;IA6BnD;;;OAGG;IACH,UAAU,IAAI,IAAI;IAWlB;;;;;OAKG;IACH,QAAQ,IAAI,IAAI;CAUjB"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { FTLogger, FTMobileAgent, FTRUM, FTSDKOwnership, FTTrace } from './modules.js';
|
|
2
|
+
import { FTSessionReplay, } from './replay.js';
|
|
3
|
+
import { FT_COCOS_SDK_VERSION } from './version.js';
|
|
4
|
+
/**
|
|
5
|
+
* Cocos SDK facade exposed through the platform entry point's `guanceSdk`
|
|
6
|
+
* singleton. Do not construct this class directly.
|
|
7
|
+
*/
|
|
8
|
+
export class FTCocosSDK {
|
|
9
|
+
constructor(transport, capture, autoTracking, pointerSource) {
|
|
10
|
+
this.transport = transport;
|
|
11
|
+
this.autoTracking = autoTracking;
|
|
12
|
+
this.state = 'idle';
|
|
13
|
+
this.hybridAutoTracking = {};
|
|
14
|
+
this.ownership = new FTSDKOwnership();
|
|
15
|
+
this.mobile = new FTMobileAgent(transport, this.ownership);
|
|
16
|
+
this.rum = new FTRUM(transport, this.ownership);
|
|
17
|
+
this.logger = new FTLogger(transport, this.ownership);
|
|
18
|
+
this.trace = new FTTrace(transport, this.ownership);
|
|
19
|
+
this.replay = new FTSessionReplay(transport, capture, pointerSource);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Initializes the native SDK and the configured modules for a standalone
|
|
23
|
+
* Cocos application.
|
|
24
|
+
*
|
|
25
|
+
* Call this once during application startup. Do not combine it with
|
|
26
|
+
* {@link attach}, which is reserved for Hybrid applications initialized by
|
|
27
|
+
* a native host.
|
|
28
|
+
*
|
|
29
|
+
* @param config - Base SDK settings and optional module configurations.
|
|
30
|
+
* @throws If the SDK is already started or attached.
|
|
31
|
+
*/
|
|
32
|
+
start(config) {
|
|
33
|
+
var _a;
|
|
34
|
+
if (this.state !== 'idle') {
|
|
35
|
+
throw new Error('guanceSdk.start() and guanceSdk.attach() are mutually exclusive');
|
|
36
|
+
}
|
|
37
|
+
this.mobile.start(config.sdk);
|
|
38
|
+
// Base SDK installation already belongs to this Cocos runtime after the
|
|
39
|
+
// first bridge call succeeds, even if a later optional module fails.
|
|
40
|
+
this.state = 'standalone';
|
|
41
|
+
if (config.rum)
|
|
42
|
+
this.rum.start(config.rum);
|
|
43
|
+
if (config.logger)
|
|
44
|
+
this.logger.start(config.logger);
|
|
45
|
+
if (config.trace)
|
|
46
|
+
this.trace.start(config.trace);
|
|
47
|
+
if (config.replay)
|
|
48
|
+
this.replay.start(config.replay);
|
|
49
|
+
if (config.autoTrack)
|
|
50
|
+
(_a = this.autoTracking) === null || _a === void 0 ? void 0 : _a.start(config.autoTrack);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Attaches Cocos instrumentation to an SDK instance initialized by the
|
|
54
|
+
* native host application.
|
|
55
|
+
*
|
|
56
|
+
* Call this once before the first {@link enterCocos}. This method does not
|
|
57
|
+
* initialize or shut down the native SDK.
|
|
58
|
+
*
|
|
59
|
+
* @param config - Cocos tracking and replay settings owned by the native host.
|
|
60
|
+
* @throws If standalone initialization has already started.
|
|
61
|
+
*/
|
|
62
|
+
attach(config = {}) {
|
|
63
|
+
if (this.state === 'standalone') {
|
|
64
|
+
throw new Error('guanceSdk.start() and guanceSdk.attach() are mutually exclusive');
|
|
65
|
+
}
|
|
66
|
+
if (this.state === 'hybrid-attached' || this.state === 'hybrid-entered')
|
|
67
|
+
return;
|
|
68
|
+
this.ownership.claimNativeHost();
|
|
69
|
+
try {
|
|
70
|
+
this.replay.attachHybrid(config.replay);
|
|
71
|
+
this.transport.invoke('hybrid.attach', {
|
|
72
|
+
requiresReplay: config.replay !== undefined,
|
|
73
|
+
sdkVersion: FT_COCOS_SDK_VERSION,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
catch (error) {
|
|
77
|
+
this.replay.detachHybrid();
|
|
78
|
+
this.ownership.releaseNativeHost();
|
|
79
|
+
throw error;
|
|
80
|
+
}
|
|
81
|
+
this.hybridAutoTracking = { ...(config.autoTrack || {}) };
|
|
82
|
+
this.state = 'hybrid-attached';
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Starts Cocos automatic tracking and canvas replay capture in Hybrid mode.
|
|
86
|
+
*
|
|
87
|
+
* @param options - Options for the Cocos view being entered.
|
|
88
|
+
* @throws If {@link attach} has not been called, or if `viewName` is omitted
|
|
89
|
+
* while automatic scene tracking is disabled.
|
|
90
|
+
*/
|
|
91
|
+
enterCocos(options = {}) {
|
|
92
|
+
var _a, _b;
|
|
93
|
+
if (this.state === 'standalone') {
|
|
94
|
+
throw new Error('guanceSdk.enterCocos() is only available after guanceSdk.attach()');
|
|
95
|
+
}
|
|
96
|
+
if (this.state === 'idle') {
|
|
97
|
+
throw new Error('Call guanceSdk.attach() before guanceSdk.enterCocos()');
|
|
98
|
+
}
|
|
99
|
+
if (this.state === 'hybrid-entered')
|
|
100
|
+
return;
|
|
101
|
+
const viewName = nonEmptyText(options.viewName);
|
|
102
|
+
if (!this.hybridAutoTracking.scenes && !viewName) {
|
|
103
|
+
throw new TypeError('enterCocos.viewName is required when scene tracking is disabled');
|
|
104
|
+
}
|
|
105
|
+
try {
|
|
106
|
+
this.replay.enterHybrid();
|
|
107
|
+
(_a = this.autoTracking) === null || _a === void 0 ? void 0 : _a.start(this.hybridAutoTracking, viewName);
|
|
108
|
+
this.state = 'hybrid-entered';
|
|
109
|
+
}
|
|
110
|
+
catch (error) {
|
|
111
|
+
(_b = this.autoTracking) === null || _b === void 0 ? void 0 : _b.stop();
|
|
112
|
+
try {
|
|
113
|
+
this.replay.leaveHybrid();
|
|
114
|
+
}
|
|
115
|
+
catch (_c) {
|
|
116
|
+
// Preserve the error that prevented entering Cocos.
|
|
117
|
+
}
|
|
118
|
+
throw error;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Stops Cocos automatic tracking and canvas replay capture in Hybrid mode.
|
|
123
|
+
* The native host SDK remains running.
|
|
124
|
+
*/
|
|
125
|
+
leaveCocos() {
|
|
126
|
+
var _a;
|
|
127
|
+
if (this.state === 'standalone') {
|
|
128
|
+
throw new Error('guanceSdk.leaveCocos() is only available after guanceSdk.attach()');
|
|
129
|
+
}
|
|
130
|
+
if (this.state === 'idle' || this.state === 'hybrid-attached')
|
|
131
|
+
return;
|
|
132
|
+
(_a = this.autoTracking) === null || _a === void 0 ? void 0 : _a.stop();
|
|
133
|
+
this.replay.leaveHybrid();
|
|
134
|
+
this.state = 'hybrid-attached';
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Stops a standalone SDK instance and releases its Cocos instrumentation.
|
|
138
|
+
*
|
|
139
|
+
* Hybrid applications should call {@link leaveCocos} instead because the
|
|
140
|
+
* native host owns SDK shutdown.
|
|
141
|
+
*/
|
|
142
|
+
shutdown() {
|
|
143
|
+
var _a;
|
|
144
|
+
if (this.state === 'hybrid-attached' || this.state === 'hybrid-entered') {
|
|
145
|
+
throw new Error('The native host owns the native SDK; call leaveCocos() instead of shutdown()');
|
|
146
|
+
}
|
|
147
|
+
if (this.state === 'idle')
|
|
148
|
+
return;
|
|
149
|
+
(_a = this.autoTracking) === null || _a === void 0 ? void 0 : _a.stop();
|
|
150
|
+
this.replay.stop();
|
|
151
|
+
this.mobile.shutdown();
|
|
152
|
+
this.state = 'idle';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function nonEmptyText(value) {
|
|
156
|
+
return typeof value === 'string' && value.trim().length > 0 ? value : undefined;
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../src/core/client.ts"],"names":[],"mappings":"AAAA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UAAU;;QACR,IAAI,IAAI,CAAC,KAAK,KAAK,YAAY,EAAE,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;QACvF,CAAC;QACD,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,IAAI,IAAI,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO;QAEtE,MAAA,IAAI,CAAC,YAAY,0CAAE,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC1B,IAAI,CAAC,KAAK,GAAG,iBAAiB,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACH,QAAQ;;QACN,IAAI,IAAI,CAAC,KAAK,KAAK,iBAAiB,IAAI,IAAI,CAAC,KAAK,KAAK,gBAAgB,EAAE,CAAC;YACxE,MAAM,IAAI,KAAK,CAAC,8EAA8E,CAAC,CAAC;QAClG,CAAC;QACD,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM;YAAE,OAAO;QAClC,MAAA,IAAI,CAAC,YAAY,0CAAE,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC;IACtB,CAAC;CACF;AAED,SAAS,YAAY,CAAC,KAAyB;IAC7C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAClF,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { FTAttributes, FTAutoTrackingConfig, FTCocosConfig, FTCocosEnterOptions, FTCocosHybridConfig, FTEnvironment, FTHybridSessionReplayConfig, FTLoggerConfig, FTLogLevel, FTPrimitive, FTReplayImagePolicy, FTReplayPrivacyMode, FTReplayQuality, FTReplayTouchPrivacy, FTResourceContent, FTResourceMetrics, FTRUMConfig, FTSDKConfig, FTSessionReplayConfig, FTTraceConfig, FTTraceType, FTUserData, FTValue, } from './types.js';
|
|
2
|
+
export { FT_COCOS_SDK_VERSION } from './version.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,2BAA2B,EAC3B,cAAc,EACd,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,aAAa,EACb,WAAW,EACX,UAAU,EACV,OAAO,GACR,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/core/index.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { FTNativeTransport } from './transport.js';
|
|
2
|
+
import type { FTAttributes, FTLogLevel, FTLoggerConfig, FTResourceContent, FTResourceMetrics, FTRUMConfig, FTSDKConfig, FTTraceConfig, FTUserData } from './types.js';
|
|
3
|
+
export declare class FTSDKOwnership {
|
|
4
|
+
private mode;
|
|
5
|
+
claimStandalone(): void;
|
|
6
|
+
claimNativeHost(): void;
|
|
7
|
+
releaseNativeHost(): void;
|
|
8
|
+
releaseStandalone(): void;
|
|
9
|
+
assertNativeHostDoesNotOwnSDK(): void;
|
|
10
|
+
}
|
|
11
|
+
/** Base SDK lifecycle and user identity operations. */
|
|
12
|
+
export declare class FTMobileAgent {
|
|
13
|
+
private readonly transport;
|
|
14
|
+
private readonly ownership;
|
|
15
|
+
constructor(transport: FTNativeTransport, ownership?: FTSDKOwnership);
|
|
16
|
+
/**
|
|
17
|
+
* Initializes the native SDK connection.
|
|
18
|
+
*
|
|
19
|
+
* Supply either `datakitUrl`, or both `datawayUrl` and `clientToken`.
|
|
20
|
+
*
|
|
21
|
+
* @param config - Base SDK connection and service settings.
|
|
22
|
+
*/
|
|
23
|
+
start(config: FTSDKConfig): void;
|
|
24
|
+
/**
|
|
25
|
+
* Binds a user identity to data collected after this call.
|
|
26
|
+
*
|
|
27
|
+
* @param user - A user ID or a structured user record.
|
|
28
|
+
*/
|
|
29
|
+
bindUser(user: FTUserData | string): void;
|
|
30
|
+
/** Removes the currently bound user identity. */
|
|
31
|
+
unbindUser(): void;
|
|
32
|
+
/** Shuts down a standalone native SDK instance. */
|
|
33
|
+
shutdown(): void;
|
|
34
|
+
}
|
|
35
|
+
/** Manual Real User Monitoring operations. */
|
|
36
|
+
export declare class FTRUM {
|
|
37
|
+
private readonly transport;
|
|
38
|
+
private readonly ownership;
|
|
39
|
+
constructor(transport: FTNativeTransport, ownership?: FTSDKOwnership);
|
|
40
|
+
/**
|
|
41
|
+
* Enables RUM with the supplied native and Cocos settings.
|
|
42
|
+
*
|
|
43
|
+
* @param config - RUM application IDs, sampling, and native tracking options.
|
|
44
|
+
*/
|
|
45
|
+
start(config: FTRUMConfig): void;
|
|
46
|
+
/**
|
|
47
|
+
* Starts a RUM view.
|
|
48
|
+
*
|
|
49
|
+
* @param name - Application-defined view name.
|
|
50
|
+
* @param attributes - Optional attributes attached to the view.
|
|
51
|
+
*/
|
|
52
|
+
startView(name: string, attributes?: FTAttributes): void;
|
|
53
|
+
/**
|
|
54
|
+
* Stops the currently active RUM view.
|
|
55
|
+
*
|
|
56
|
+
* @param attributes - Optional attributes attached when the view stops.
|
|
57
|
+
*/
|
|
58
|
+
stopView(attributes?: FTAttributes): void;
|
|
59
|
+
/**
|
|
60
|
+
* Records a completed RUM action.
|
|
61
|
+
*
|
|
62
|
+
* @param name - Application-defined action name.
|
|
63
|
+
* @param type - Action category. @defaultValue `'click'`
|
|
64
|
+
* @param attributes - Optional attributes attached to the action.
|
|
65
|
+
*/
|
|
66
|
+
addAction(name: string, type?: string, attributes?: FTAttributes): void;
|
|
67
|
+
/**
|
|
68
|
+
* Starts a RUM action whose completion is detected by the native SDK.
|
|
69
|
+
*
|
|
70
|
+
* @param name - Application-defined action name.
|
|
71
|
+
* @param type - Action category. @defaultValue `'click'`
|
|
72
|
+
* @param attributes - Optional attributes attached to the action.
|
|
73
|
+
*/
|
|
74
|
+
startAction(name: string, type?: string, attributes?: FTAttributes): void;
|
|
75
|
+
/**
|
|
76
|
+
* Records an application error.
|
|
77
|
+
*
|
|
78
|
+
* @param message - Human-readable error message.
|
|
79
|
+
* @param stack - Error stack or diagnostic details.
|
|
80
|
+
* @param type - Application-defined error category. @defaultValue `'cocos_error'`
|
|
81
|
+
* @param state - Application state when the error occurred. @defaultValue `'run'`
|
|
82
|
+
* @param attributes - Optional attributes attached to the error.
|
|
83
|
+
*/
|
|
84
|
+
addError(message: string, stack: string, type?: string, state?: 'run' | 'startup' | 'unknown', attributes?: FTAttributes): void;
|
|
85
|
+
/**
|
|
86
|
+
* Records a long task.
|
|
87
|
+
*
|
|
88
|
+
* @param stack - Stack or diagnostic details for the task.
|
|
89
|
+
* @param durationNs - Task duration in nanoseconds.
|
|
90
|
+
* @param attributes - Optional attributes attached to the task.
|
|
91
|
+
*/
|
|
92
|
+
addLongTask(stack: string, durationNs: number, attributes?: FTAttributes): void;
|
|
93
|
+
/**
|
|
94
|
+
* Starts tracking a resource using an application-defined correlation key.
|
|
95
|
+
*
|
|
96
|
+
* @param key - Key reused by subsequent calls for this resource.
|
|
97
|
+
* @param attributes - Optional attributes attached to the resource.
|
|
98
|
+
*/
|
|
99
|
+
startResource(key: string, attributes?: FTAttributes): void;
|
|
100
|
+
/**
|
|
101
|
+
* Stops timing a resource previously started with {@link startResource}.
|
|
102
|
+
*
|
|
103
|
+
* @param key - Key passed to {@link startResource}.
|
|
104
|
+
* @param attributes - Optional attributes attached when timing stops.
|
|
105
|
+
*/
|
|
106
|
+
stopResource(key: string, attributes?: FTAttributes): void;
|
|
107
|
+
/**
|
|
108
|
+
* Adds request, response, and optional timing details to a tracked resource.
|
|
109
|
+
*
|
|
110
|
+
* @param key - Key passed to {@link startResource} and {@link stopResource}.
|
|
111
|
+
* @param content - Request and response details safe to collect.
|
|
112
|
+
* @param metrics - Optional network timing metrics.
|
|
113
|
+
*/
|
|
114
|
+
addResource(key: string, content: FTResourceContent, metrics?: FTResourceMetrics): void;
|
|
115
|
+
}
|
|
116
|
+
/** Manual logging operations. */
|
|
117
|
+
export declare class FTLogger {
|
|
118
|
+
private readonly transport;
|
|
119
|
+
private readonly ownership;
|
|
120
|
+
constructor(transport: FTNativeTransport, ownership?: FTSDKOwnership);
|
|
121
|
+
/**
|
|
122
|
+
* Enables the native logger.
|
|
123
|
+
*
|
|
124
|
+
* @param config - Logger sampling, filtering, and cache settings.
|
|
125
|
+
*/
|
|
126
|
+
start(config: FTLoggerConfig): void;
|
|
127
|
+
/**
|
|
128
|
+
* Writes a custom log entry.
|
|
129
|
+
*
|
|
130
|
+
* @param content - Log message.
|
|
131
|
+
* @param level - Log severity. @defaultValue `'info'`
|
|
132
|
+
* @param attributes - Optional attributes attached to the log.
|
|
133
|
+
*/
|
|
134
|
+
log(content: string, level?: FTLogLevel, attributes?: FTAttributes): void;
|
|
135
|
+
}
|
|
136
|
+
/** Distributed-tracing operations. */
|
|
137
|
+
export declare class FTTrace {
|
|
138
|
+
private readonly transport;
|
|
139
|
+
private readonly ownership;
|
|
140
|
+
constructor(transport: FTNativeTransport, ownership?: FTSDKOwnership);
|
|
141
|
+
/**
|
|
142
|
+
* Enables distributed tracing.
|
|
143
|
+
*
|
|
144
|
+
* @param config - Trace sampling and propagation settings.
|
|
145
|
+
*/
|
|
146
|
+
start(config: FTTraceConfig): void;
|
|
147
|
+
/**
|
|
148
|
+
* Returns propagation headers for an outgoing request.
|
|
149
|
+
*
|
|
150
|
+
* Pass the same `resourceKey` used for manual RUM resource tracking to link
|
|
151
|
+
* the request with its trace.
|
|
152
|
+
*
|
|
153
|
+
* @param url - Absolute outgoing request URL.
|
|
154
|
+
* @param resourceKey - Optional key used for manual RUM resource tracking.
|
|
155
|
+
* @returns Headers to merge into the outgoing request.
|
|
156
|
+
*/
|
|
157
|
+
getHeaders(url: string, resourceKey?: string): Record<string, string>;
|
|
158
|
+
}
|
|
159
|
+
//# sourceMappingURL=modules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../../../../src/core/modules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,YAAY,CAAC;AASpB,qBAAa,cAAc;IACzB,OAAO,CAAC,IAAI,CAA2D;IAEvE,eAAe,IAAI,IAAI;IAOvB,eAAe,IAAI,IAAI;IAOvB,iBAAiB,IAAI,IAAI;IAIzB,iBAAiB,IAAI,IAAI;IAIzB,6BAA6B,IAAI,IAAI;CAKtC;AAkBD,uDAAuD;AACvD,qBAAa,aAAa;IAEtB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS;gBADT,SAAS,EAAE,iBAAiB,EAC5B,SAAS,iBAAuB;IAGnD;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAchC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI;I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