connected-spaces-platform.web 5.8.1 → 5.9.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.
@@ -46688,12 +46688,16 @@ export namespace Systems {
46688
46688
  * @description Creates a new material backed by an AssetCollection/Asset.
46689
46689
  * @param name - The name of the new material.
46690
46690
  * @param spaceId - The space id this material is associated with.
46691
+ * @param metadata - The metadata to be associated with the created material.
46692
+ * @param assetTags - Tags to be associated with the created material.
46691
46693
  * @param callback - Callback when asynchronous task finishes.
46692
46694
  */
46693
46695
 
46694
46696
  async createMaterial(
46695
46697
  name: string,
46696
46698
  spaceId: string,
46699
+ metadata: Common.Map<string, string>,
46700
+ assetTags: Common.Array<string>,
46697
46701
  ): Promise<Systems.GLTFMaterialResult> {
46698
46702
  var _resolve;
46699
46703
 
@@ -46718,10 +46722,18 @@ export namespace Systems {
46718
46722
  _callbackPtr = Module.addFunction(_callback, "vii");
46719
46723
 
46720
46724
  Module.ccall(
46721
- "csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback",
46725
+ "csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_MapRC_ArrayRC_GLTFMaterialResultCallback",
46722
46726
  "void",
46723
- ["number", "string", "string", "number", "number"],
46724
- [this.pointer, name, spaceId, _callbackPtr, 0],
46727
+ ["number", "string", "string", "number", "number", "number", "number"],
46728
+ [
46729
+ this.pointer,
46730
+ name,
46731
+ spaceId,
46732
+ metadata.pointer,
46733
+ assetTags.pointer,
46734
+ _callbackPtr,
46735
+ 0,
46736
+ ],
46725
46737
  );
46726
46738
 
46727
46739
  return _promise;
@@ -46896,7 +46908,7 @@ export namespace Systems {
46896
46908
  }
46897
46909
 
46898
46910
  /**
46899
- * @description Sets a callback for an asset changed event.
46911
+ * @description Sets a callback for an asset changed event. Triggered when assets, such as textures or meshes, are modified
46900
46912
  * @param callback - Callback to receive data for the asset that has been changed.
46901
46913
  */
46902
46914
  setAssetDetailBlobChangedCallback(
@@ -58185,7 +58197,9 @@ export namespace Systems {
58185
58197
 
58186
58198
  /**
58187
58199
  * @description Sets a callback for an access control changed event.
58188
- * @param callback - Callback to receive data for the user permissions that has been changed.
58200
+ * /// Occurs when a user's permissions are altered, impacting their ability to interact with specific spaces.
58201
+ * Clients can use this event to reflect access levels in real time.
58202
+ * /// @param Callback UserPermissionsChangedCallbackHandler: Callback to receive data for the user permissions that has been changed.
58189
58203
  */
58190
58204
  setUserPermissionsChangedCallback(
58191
58205
  callback: (arg1: Multiplayer.UserPermissionsParams) => void,
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": "5.8.1+569",
4
+ "version": "5.9.0+570",
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": {