connected-spaces-platform.web 4.13.0 → 4.14.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.
@@ -45422,11 +45422,13 @@ export namespace Systems {
45422
45422
  var isDiscoverablePointer = 0;
45423
45423
  if (isDiscoverable != null) {
45424
45424
  isDiscoverablePointer = Module._malloc(4);
45425
+ Module.setValue(isDiscoverablePointer, isDiscoverable ? 1 : 0, "i32");
45425
45426
  }
45426
45427
 
45427
45428
  var requiresInvitePointer = 0;
45428
45429
  if (requiresInvite != null) {
45429
45430
  requiresInvitePointer = Module._malloc(4);
45431
+ Module.setValue(requiresInvitePointer, requiresInvite ? 1 : 0, "i32");
45430
45432
  }
45431
45433
 
45432
45434
  var resultsSkipPointer = 0;
@@ -45650,6 +45652,7 @@ export namespace Systems {
45650
45652
  var isModeratorRolePointer = 0;
45651
45653
  if (isModeratorRole != null) {
45652
45654
  isModeratorRolePointer = Module._malloc(4);
45655
+ Module.setValue(isModeratorRolePointer, isModeratorRole ? 1 : 0, "i32");
45653
45656
  }
45654
45657
 
45655
45658
  Module.ccall(
@@ -47191,6 +47194,7 @@ export namespace Systems {
47191
47194
  var allTagsPointer = 0;
47192
47195
  if (allTags != null) {
47193
47196
  allTagsPointer = Module._malloc(4);
47197
+ Module.setValue(allTagsPointer, allTags ? 1 : 0, "i32");
47194
47198
  }
47195
47199
 
47196
47200
  var skipPointer = 0;
@@ -48537,6 +48541,11 @@ export namespace Systems {
48537
48541
  var userHasVerifiedAgePointer = 0;
48538
48542
  if (userHasVerifiedAge != null) {
48539
48543
  userHasVerifiedAgePointer = Module._malloc(4);
48544
+ Module.setValue(
48545
+ userHasVerifiedAgePointer,
48546
+ userHasVerifiedAge ? 1 : 0,
48547
+ "i32",
48548
+ );
48540
48549
  }
48541
48550
 
48542
48551
  Module.ccall(
@@ -48644,6 +48653,11 @@ export namespace Systems {
48644
48653
  var userHasVerifiedAgePointer = 0;
48645
48654
  if (userHasVerifiedAge != null) {
48646
48655
  userHasVerifiedAgePointer = Module._malloc(4);
48656
+ Module.setValue(
48657
+ userHasVerifiedAgePointer,
48658
+ userHasVerifiedAge ? 1 : 0,
48659
+ "i32",
48660
+ );
48647
48661
  }
48648
48662
 
48649
48663
  Module.ccall(
@@ -48776,6 +48790,11 @@ export namespace Systems {
48776
48790
  var userHasVerifiedAgePointer = 0;
48777
48791
  if (userHasVerifiedAge != null) {
48778
48792
  userHasVerifiedAgePointer = Module._malloc(4);
48793
+ Module.setValue(
48794
+ userHasVerifiedAgePointer,
48795
+ userHasVerifiedAge ? 1 : 0,
48796
+ "i32",
48797
+ );
48779
48798
  }
48780
48799
 
48781
48800
  Module.ccall(
@@ -49407,6 +49426,51 @@ export namespace Systems {
49407
49426
 
49408
49427
  return _promise;
49409
49428
  }
49429
+
49430
+ /**
49431
+ * @description Re-send user verification email
49432
+ * @param inEmail - User's email address
49433
+ * @param inRedirectUrl - URL to redirect user to after they have registered
49434
+ * @param callback - Callback to call when response is received
49435
+ */
49436
+
49437
+ async resendVerificationEmail(
49438
+ email: string,
49439
+ redirectUrl: string | null,
49440
+ ): Promise<Systems.NullResult> {
49441
+ var _resolve;
49442
+
49443
+ var _promise = new Promise<Systems.NullResult>((_r) => {
49444
+ _resolve = _r;
49445
+ });
49446
+
49447
+ var _callbackPtr: number;
49448
+ var _callback = (_stateObject__: number, result) => {
49449
+ var _resultPtr = getNativePointer(result);
49450
+ var _resultInstance = new Systems.NullResult(_resultPtr);
49451
+
49452
+ if (
49453
+ _resultInstance.getResultCode() == Services.EResultCode.InProgress
49454
+ ) {
49455
+ return;
49456
+ }
49457
+
49458
+ _resolve(_resultInstance);
49459
+
49460
+ Module.removeFunction(_callbackPtr);
49461
+ };
49462
+
49463
+ _callbackPtr = Module.addFunction(_callback, "vii");
49464
+
49465
+ Module.ccall(
49466
+ "csp_systems_UserSystem_ResendVerificationEmail_void_StringRC_StringRC_NullResultCallback",
49467
+ "void",
49468
+ ["number", "string", "string", "number", "number"],
49469
+ [this.pointer, email, redirectUrl, _callbackPtr, 0],
49470
+ );
49471
+
49472
+ return _promise;
49473
+ }
49410
49474
  }
49411
49475
  }
49412
49476
 
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": "4.13.0+482",
4
+ "version": "4.14.0+483",
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": {
package/README.md DELETED
@@ -1,62 +0,0 @@
1
- <h1>Built from changelist ID b11a46e939dbd23cf09ee32cb94ba03913e1c45c</h1>
2
- <h2>Summary Lists</h2>
3
- </ul>
4
- <h2>Revision Change Details</h2>
5
-
6
- <table><thead><tr><th>change_id</th><th>user</th><th>description</th></thead>
7
- <tbody><tr><td>f4c7a95</td><td>Daniel</td><td><strong><em>[ob-3010] fix</em></strong>: add signupurl parameter to invite methods (#237) <em> <br> [OB-3010] fix: Add destinationUrl param <br> [OB-3010] fix: Update invite to space tests <br> [OB-3010] fix: Undo auto-formatting <br> [OB-3010] fix: Undo test auto-formatting <br> [OB-3010] chore: Update chs submodule <br> [OB-3010] refac: Update property name to SignupUrl <br> [OB-3010] fix: Update conversation system tests <br> [OB-3010] fix: Correct param order in test <br> [OB-3010] fix: Move missed test param <br> [OB-3010] fix: Add another missing string property <br> [OB-3010] fix: Move param in text <br>--------- <br>Co-authored-by: Daniel Murdolo <danielm@rewind.co> </em> </td></tr>
8
- <tr><td>a402ea2</td><td>Mag-JB</td><td><strong><em>[nt-0] fix</em></strong>: remove 142 file (#236) <em> </em> </td></tr>
9
- <tr><td>36b3c07</td><td>MAG-AW</td><td><strong><em>[ob-2975] fix</em></strong>: foundation shutdown process (#232) <em> <br> [OB-2975] fix: foundation Shutdown process
10
- <br>
11
- <br>* added initialisation check in tick to prevent tick operating when
12
- <br>uninitialised (such as when shutting down)
13
- <br>* added function to deregister all listeners to prevent events being
14
- <br>fired after shutdown is called </em> </td></tr>
15
- <tr><td>a8dad89</td><td>Michael K</td><td><strong><em>[ob-3012] fix</em></strong>: generate meta file for readme.md (#233) <em> </em> </td></tr>
16
- <tr><td>13390d2</td><td>Mag-JB</td><td>ob-2924 add support for premake on xcode 14.3+ (#231) <em> <br> [OB-2924] fix: Add support for xcode 14.3+
17
- <br>
18
- <br> [OB-2924] fix: replace wget with Curl
19
- <br>
20
- <br>* create file path </em> </td></tr>
21
- <tr><td>8135df0</td><td>Michelle Shyr</td><td>[sol-320] add unity multiplayer example project (#228) <em> <br> [SOL-320] Add Unity multiplayer example project
22
- <br>
23
- <br> [SOL-320] Fix mentions of foundation to CSP
24
- <br>
25
- <br> [SOL-320] Add create avatar fix to basic framework example
26
- <br>
27
- <br> [SOL-320] replace mentions of foundation to CSP and gard against failure to get space </em> </td></tr>
28
- <tr><td>92668a7</td><td>Mag-JB</td><td><strong><em>[of-1148] fix</em></strong>: parse breaking changes (#226) <em> <br> [OF-1148] fix: Parse breaking changes
29
- <br>* move breaking changes to top of release notes
30
- <br>* fix bug causing all tickets to be no tickets
31
- <br>* stop merges from being added to misc changes
32
- <br>
33
- <br> [OF-1148] fix: Add suqash merge commits </em> </td></tr>
34
- <tr><td>791c509</td><td>Michael K</td><td><strong><em>[ob-3018] fix</em></strong>: replace is_integer with is_float (#230) <em> </em> </td></tr>
35
- <tr><td>a73e98d</td><td>MAG-AW</td><td><strong><em>[ob-2823] fix</em></strong>: add checks for codes to retries (#227) <em> <br> [OB-2823] fix: add checks for codes to retries
36
- <br>
37
- <br>Currently allowed codes for retry:
38
- <br>429
39
- <br>408
40
- <br>5xx
41
- </em> </td></tr>
42
- <tr><td>0cc2fcd</td><td>Michael K</td><td><strong><em>[of-815] test</em></strong>: (wrapper gen) unit test async functions <em> <br> [NT-0] refac: formatting changes in unit test gen
43
- <br>
44
- <br>Formats Python files using Black and JS/JSON using Prettier-ESLint.
45
- <br>
46
- <br> [OF-815] test: wrapper gen csp_async_result tests </em> </td></tr>
47
- <tr><td>29f3e48</td><td>MAG-AW</td><td><strong><em>[ob-2824] refac</em></strong>: removed lingering comments <em> </em> </td></tr>
48
- <tr><td>6f96ed4</td><td>MAG-AW</td><td><strong><em>[ob-2824] fix</em></strong>: web request retries <em> </em> </td></tr>
49
- <tr><td>54a9a50</td><td>MAG-AW</td><td><strong><em>[ob-2824] fix</em></strong>: web test updates <em> <br>fixed issues with web test urls and parameters </em> </td></tr>
50
- <tr><td>3339eb5</td><td>Sam Birley</td><td><strong><em>[nt-0] refac</em></strong>: root directory hygiene (#220) <em> <br>[NT-0] refac: Root directory hygiene
51
- <br>
52
- <br>In an effort to improve our root directory hygiene, this change moves several markdowns to the .github directory (which GH will still pick up as it did before), moves one pipeline file to the teamcity directory, and removes one legacy sonar config file that is no longer in use. </em> </td></tr>
53
- <tr><td>93b5e62</td><td>Michael K</td><td><strong><em>[nt-0] test</em></strong>: add tests for 403 responses <em> </em> </td></tr>
54
- <tr><td>02913a0</td><td>MAG-AW</td><td><strong><em>[nt-0] fix</em></strong>: portal script bindings (#218) <em> <br>* Portal Component Script Bindings had the incorrect component name for
55
- <br>the interface </em> </td></tr>
56
- <tr><td>93856da</td><td>Sam Birley</td><td><strong><em>[of-1146] feat</em></strong>: user-permission-change multiplayer messages <em> <br>When a user adjusts the permissions of another user, CSP client applications can now detect and respond to that event via a callback exposed via `MultiplayerConnection::SetUserPermissionsChangedCallback` whilst they are connected to the space.
57
- <br>
58
- <br>This allows for a variety of client application use cases, such as being able to give users more (or less!) affordances dynamically at runtime, based on changes to their level of permissions within the space. </em> </td></tr>
59
- <tr><td>89459b9</td><td>Sam Birley</td><td><strong><em>[nt-0] doc</em></strong>: api docs package references (#216) <em> <br> [NT-0] doc: API documentation package references
60
- <br>
61
- <br>The landing page for the API docs now refers to the fact that CSP packages are now hosted on `npmjs` rather than GitHub. </em> </td></tr>
62
- </tbody></table>