@rtsdk/topia 0.19.8 → 0.19.9

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/index.cjs CHANGED
@@ -39910,7 +39910,12 @@ exports.DroppedAssetMediaVolumeRadius = void 0;
39910
39910
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["MEDIUM"] = 1] = "MEDIUM";
39911
39911
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["FAR"] = 2] = "FAR";
39912
39912
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["EVERYWHERE"] = 3] = "EVERYWHERE";
39913
- })(exports.DroppedAssetMediaVolumeRadius || (exports.DroppedAssetMediaVolumeRadius = {}));
39913
+ })(exports.DroppedAssetMediaVolumeRadius || (exports.DroppedAssetMediaVolumeRadius = {}));
39914
+ exports.DroppedAssetClickableLayerType = void 0;
39915
+ (function (DroppedAssetClickableLayerType) {
39916
+ DroppedAssetClickableLayerType["TOP"] = "top";
39917
+ DroppedAssetClickableLayerType["BOTTOM"] = "bottom";
39918
+ })(exports.DroppedAssetClickableLayerType || (exports.DroppedAssetClickableLayerType = {}));
39914
39919
 
39915
39920
  exports.WorldActivityType = void 0;
39916
39921
  (function (WorldActivityType) {
@@ -44622,7 +44627,7 @@ class DroppedAssetFactory extends SDKController {
44622
44627
  *
44623
44628
  * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object representing the placed asset in the world.
44624
44629
  */
44625
- drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer = false, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
44630
+ drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLayer, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer = false, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
44626
44631
  return __awaiter(this, void 0, void 0, function* () {
44627
44632
  let specialType = null;
44628
44633
  if (layer0 || layer1)
@@ -44634,6 +44639,7 @@ class DroppedAssetFactory extends SDKController {
44634
44639
  clickType,
44635
44640
  clickableDisplayTextDescription,
44636
44641
  clickableDisplayTextHeadline,
44642
+ clickableLayer,
44637
44643
  clickableLink,
44638
44644
  clickableLinkTitle,
44639
44645
  flipped,
package/dist/index.d.ts CHANGED
@@ -65,6 +65,10 @@ declare enum DroppedAssetMediaVolumeRadius {
65
65
  FAR = 2,
66
66
  EVERYWHERE = 3
67
67
  }
68
+ declare enum DroppedAssetClickableLayerType {
69
+ TOP = "top",
70
+ BOTTOM = "bottom"
71
+ }
68
72
  type DroppedAssetLinkType = {
69
73
  clickableLink: string;
70
74
  clickableLinkTitle?: string;
@@ -3731,12 +3735,13 @@ declare class DroppedAssetFactory extends SDKController {
3731
3735
  *
3732
3736
  * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object representing the placed asset in the world.
3733
3737
  */
3734
- drop(asset: Asset, { assetScale, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }: {
3738
+ drop(asset: Asset, { assetScale, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLayer, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }: {
3735
3739
  assetScale?: number;
3736
3740
  flipped?: boolean;
3737
- clickType?: string;
3741
+ clickType?: DroppedAssetClickType;
3738
3742
  clickableDisplayTextDescription?: string;
3739
3743
  clickableDisplayTextHeadline?: string;
3744
+ clickableLayer?: DroppedAssetClickableLayerType;
3740
3745
  clickableLink?: string;
3741
3746
  clickableLinkTitle?: string;
3742
3747
  interactivePublicKey?: string;
@@ -4255,4 +4260,4 @@ declare class WorldFactory extends SDKController {
4255
4260
  }>;
4256
4261
  }
4257
4262
 
4258
- export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, CreateNpcOptions, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetLinkType, DroppedAssetMediaType, DroppedAssetMediaVolumeRadius, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, InventoryItemInterface, InventoryItemOptionalInterface, MoveAllVisitorsInterface, MoveVisitorInterface, NpcVoiceConfigInterface, OpenIframeInterface, RemoveClickableLinkInterface, ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, SetClickableLinkMultiInterface, SpawnEffectConfig, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateClickableLinkMultiInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserInventoryItemInterface, UserInventoryItemMetadataType, UserInventoryItemOptionalInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };
4263
+ export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, CreateNpcOptions, DroppedAsset, DroppedAssetClickType, DroppedAssetClickableLayerType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetLinkType, DroppedAssetMediaType, DroppedAssetMediaVolumeRadius, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, InventoryItemInterface, InventoryItemOptionalInterface, MoveAllVisitorsInterface, MoveVisitorInterface, NpcVoiceConfigInterface, OpenIframeInterface, RemoveClickableLinkInterface, ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, SetClickableLinkMultiInterface, SpawnEffectConfig, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateClickableLinkMultiInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserInventoryItemInterface, UserInventoryItemMetadataType, UserInventoryItemOptionalInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };
package/dist/index.js CHANGED
@@ -39908,7 +39908,12 @@ var DroppedAssetMediaVolumeRadius;
39908
39908
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["MEDIUM"] = 1] = "MEDIUM";
39909
39909
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["FAR"] = 2] = "FAR";
39910
39910
  DroppedAssetMediaVolumeRadius[DroppedAssetMediaVolumeRadius["EVERYWHERE"] = 3] = "EVERYWHERE";
39911
- })(DroppedAssetMediaVolumeRadius || (DroppedAssetMediaVolumeRadius = {}));
39911
+ })(DroppedAssetMediaVolumeRadius || (DroppedAssetMediaVolumeRadius = {}));
39912
+ var DroppedAssetClickableLayerType;
39913
+ (function (DroppedAssetClickableLayerType) {
39914
+ DroppedAssetClickableLayerType["TOP"] = "top";
39915
+ DroppedAssetClickableLayerType["BOTTOM"] = "bottom";
39916
+ })(DroppedAssetClickableLayerType || (DroppedAssetClickableLayerType = {}));
39912
39917
 
39913
39918
  var WorldActivityType;
39914
39919
  (function (WorldActivityType) {
@@ -44620,7 +44625,7 @@ class DroppedAssetFactory extends SDKController {
44620
44625
  *
44621
44626
  * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object representing the placed asset in the world.
44622
44627
  */
44623
- drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer = false, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
44628
+ drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLayer, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer = false, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
44624
44629
  return __awaiter(this, void 0, void 0, function* () {
44625
44630
  let specialType = null;
44626
44631
  if (layer0 || layer1)
@@ -44632,6 +44637,7 @@ class DroppedAssetFactory extends SDKController {
44632
44637
  clickType,
44633
44638
  clickableDisplayTextDescription,
44634
44639
  clickableDisplayTextHeadline,
44640
+ clickableLayer,
44635
44641
  clickableLink,
44636
44642
  clickableLinkTitle,
44637
44643
  flipped,
@@ -45474,4 +45480,4 @@ process.on("uncaughtException", function (err) {
45474
45480
  process.exit(1);
45475
45481
  });
45476
45482
 
45477
- export { Asset, AssetFactory, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetMediaType, DroppedAssetMediaVolumeRadius, Ecosystem, EcosystemFactory, SDKController, Scene, SceneFactory, Topia, User, UserFactory, Visitor, VisitorFactory, WebRTCConnector, WebRTCConnectorFactory, World, WorldActivity, WorldActivityFactory, WorldActivityType, WorldFactory };
45483
+ export { Asset, AssetFactory, DroppedAsset, DroppedAssetClickType, DroppedAssetClickableLayerType, DroppedAssetFactory, DroppedAssetMediaType, DroppedAssetMediaVolumeRadius, Ecosystem, EcosystemFactory, SDKController, Scene, SceneFactory, Topia, User, UserFactory, Visitor, VisitorFactory, WebRTCConnector, WebRTCConnectorFactory, World, WorldActivity, WorldActivityFactory, WorldActivityType, WorldFactory };
package/package.json CHANGED
@@ -61,5 +61,5 @@
61
61
  "yalc-push": "yarn build && yalc publish --push --dev --no-scripts"
62
62
  },
63
63
  "type": "module",
64
- "version": "0.19.8"
64
+ "version": "0.19.9"
65
65
  }