@dcl/playground-assets 7.0.6-3857398079.commit-7a4c5cb → 7.0.6-3874914632.commit-eb56237

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/dist/alpha.d.ts CHANGED
@@ -2914,7 +2914,8 @@ export declare const PBAudioStream: {
2914
2914
  };
2915
2915
 
2916
2916
  export declare interface PBAvatarAttach {
2917
- avatarId: string;
2917
+ /** default's to current player avatar id if not provided */
2918
+ avatarId?: string | undefined;
2918
2919
  anchorPointId: AvatarAnchorPointType;
2919
2920
  }
2920
2921
 
package/dist/beta.d.ts CHANGED
@@ -2914,7 +2914,8 @@ export declare const PBAudioStream: {
2914
2914
  };
2915
2915
 
2916
2916
  export declare interface PBAvatarAttach {
2917
- avatarId: string;
2917
+ /** default's to current player avatar id if not provided */
2918
+ avatarId?: string | undefined;
2918
2919
  anchorPointId: AvatarAnchorPointType;
2919
2920
  }
2920
2921
 
@@ -2914,7 +2914,8 @@ export declare const PBAudioStream: {
2914
2914
  };
2915
2915
 
2916
2916
  export declare interface PBAvatarAttach {
2917
- avatarId: string;
2917
+ /** default's to current player avatar id if not provided */
2918
+ avatarId?: string | undefined;
2918
2919
  anchorPointId: AvatarAnchorPointType;
2919
2920
  }
2920
2921
 
package/dist/index.js CHANGED
@@ -7717,14 +7717,14 @@
7717
7717
  AvatarAnchorPointType[AvatarAnchorPointType["AAPT_RIGHT_HAND"] = 3] = "AAPT_RIGHT_HAND";
7718
7718
  })(exports.AvatarAnchorPointType || (exports.AvatarAnchorPointType = {}));
7719
7719
  function createBasePBAvatarAttach() {
7720
- return { avatarId: "", anchorPointId: 0 };
7720
+ return { avatarId: undefined, anchorPointId: 0 };
7721
7721
  }
7722
7722
  /**
7723
7723
  * Internal
7724
7724
  */
7725
7725
  const PBAvatarAttach = {
7726
7726
  encode(message, writer = minimalExports.Writer.create()) {
7727
- if (message.avatarId !== "") {
7727
+ if (message.avatarId !== undefined) {
7728
7728
  writer.uint32(10).string(message.avatarId);
7729
7729
  }
7730
7730
  if (message.anchorPointId !== 0) {