connected-spaces-platform.web 6.4.1 → 6.4.3
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/Debug/ConnectedSpacesPlatform_WASM.js +7 -3
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +4 -1
- package/connectedspacesplatform.js +20 -1
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +41 -1
- package/package.json +1 -1
|
@@ -48235,7 +48235,8 @@ export namespace Systems {
|
|
|
48235
48235
|
export namespace Systems {
|
|
48236
48236
|
/**
|
|
48237
48237
|
@ingroup Analytics System
|
|
48238
|
-
* @description Public facing system that allows AnalyticsRecords to be sent to
|
|
48238
|
+
* @description Public facing system that allows AnalyticsRecords to be sent to the backend services.
|
|
48239
|
+
@invariant Users must be logged in to send AnalyticsRecords to the backend services.
|
|
48239
48240
|
*/
|
|
48240
48241
|
export class AnalyticsSystem extends Systems.SystemBase {
|
|
48241
48242
|
/** @internal */
|
|
@@ -48255,6 +48256,28 @@ export namespace Systems {
|
|
|
48255
48256
|
);
|
|
48256
48257
|
}
|
|
48257
48258
|
|
|
48259
|
+
queueAnalyticsEvent(
|
|
48260
|
+
productContextSection: string,
|
|
48261
|
+
category: string,
|
|
48262
|
+
interactionType: string,
|
|
48263
|
+
subCategory: string,
|
|
48264
|
+
metadata: Common.Map<string, string>,
|
|
48265
|
+
): void {
|
|
48266
|
+
Module.ccall(
|
|
48267
|
+
"csp_systems_AnalyticsSystem_QueueAnalyticsEvent_void_StringRC_StringRC_StringRC_StringRC_MapRC",
|
|
48268
|
+
"void",
|
|
48269
|
+
["number", "string", "string", "string", "string", "number"],
|
|
48270
|
+
[
|
|
48271
|
+
this.pointer,
|
|
48272
|
+
productContextSection,
|
|
48273
|
+
category,
|
|
48274
|
+
interactionType,
|
|
48275
|
+
subCategory,
|
|
48276
|
+
metadata.pointer,
|
|
48277
|
+
],
|
|
48278
|
+
);
|
|
48279
|
+
}
|
|
48280
|
+
|
|
48258
48281
|
sendAnalyticsEvent(
|
|
48259
48282
|
productContextSection: string,
|
|
48260
48283
|
category: string,
|
|
@@ -48285,6 +48308,23 @@ export namespace Systems {
|
|
|
48285
48308
|
],
|
|
48286
48309
|
);
|
|
48287
48310
|
}
|
|
48311
|
+
|
|
48312
|
+
flushAnalyticsEventsQueue(callback: (result: Systems.NullResult) => void) {
|
|
48313
|
+
var _callback = (_stateObject__: number, result) => {
|
|
48314
|
+
var _result = new Systems.NullResult(getNativePointer(result));
|
|
48315
|
+
|
|
48316
|
+
callback(_result);
|
|
48317
|
+
};
|
|
48318
|
+
|
|
48319
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
48320
|
+
|
|
48321
|
+
Module.ccall(
|
|
48322
|
+
"csp_systems_AnalyticsSystem_FlushAnalyticsEventsQueue_void_NullResultCallback",
|
|
48323
|
+
"void",
|
|
48324
|
+
["number", "number", "number"],
|
|
48325
|
+
[this.pointer, _callbackPtr, 0],
|
|
48326
|
+
);
|
|
48327
|
+
}
|
|
48288
48328
|
}
|
|
48289
48329
|
}
|
|
48290
48330
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connected-spaces-platform.web",
|
|
3
3
|
"displayName": "connected-spaces-platform.web",
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.3+615",
|
|
5
5
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|