@rtsdk/topia 0.12.1 → 0.12.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/dist/index.cjs +10 -4
- package/dist/index.d.ts +14 -7
- package/dist/index.js +10 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -42436,7 +42436,7 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42436
42436
|
});
|
|
42437
42437
|
* ```
|
|
42438
42438
|
*/
|
|
42439
|
-
drop(asset, { assetScale = 1, flipped, interactivePublicKey, isInteractive, layer0 = "", layer1 = "", position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
|
|
42439
|
+
drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, layer0 = "", layer1 = "", position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
|
|
42440
42440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42441
42441
|
let specialType = null;
|
|
42442
42442
|
if (layer0 || layer1)
|
|
@@ -42445,11 +42445,18 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42445
42445
|
specialType = "text";
|
|
42446
42446
|
const params = {
|
|
42447
42447
|
assetScale,
|
|
42448
|
+
clickType,
|
|
42449
|
+
clickableDisplayTextDescription,
|
|
42450
|
+
clickableDisplayTextHeadline,
|
|
42451
|
+
clickableLink,
|
|
42452
|
+
clickableLinkTitle,
|
|
42448
42453
|
flipped,
|
|
42449
|
-
layer0,
|
|
42450
|
-
layer1,
|
|
42451
42454
|
interactivePublicKey,
|
|
42452
42455
|
isInteractive,
|
|
42456
|
+
isForceLinkInIframe,
|
|
42457
|
+
isOpenLinkInDrawer,
|
|
42458
|
+
layer0,
|
|
42459
|
+
layer1,
|
|
42453
42460
|
sceneDropId,
|
|
42454
42461
|
specialType,
|
|
42455
42462
|
text,
|
|
@@ -42458,7 +42465,6 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42458
42465
|
textWeight,
|
|
42459
42466
|
textWidth,
|
|
42460
42467
|
uniqueName,
|
|
42461
|
-
urlSlug,
|
|
42462
42468
|
yOrderAdjust,
|
|
42463
42469
|
};
|
|
42464
42470
|
if (isInteractive && !interactivePublicKey) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1574,14 +1574,14 @@ interface UpdateBroadcastInterface {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
interface UpdateClickTypeInterface {
|
|
1576
1576
|
clickType: DroppedAssetClickType;
|
|
1577
|
-
clickableLink
|
|
1578
|
-
clickableLinkTitle
|
|
1579
|
-
clickableDisplayTextDescription
|
|
1580
|
-
clickableDisplayTextHeadline
|
|
1577
|
+
clickableLink?: string;
|
|
1578
|
+
clickableLinkTitle?: string;
|
|
1579
|
+
clickableDisplayTextDescription?: string;
|
|
1580
|
+
clickableDisplayTextHeadline?: string;
|
|
1581
1581
|
isForceLinkInIframe?: boolean;
|
|
1582
1582
|
isOpenLinkInDrawer?: boolean;
|
|
1583
|
-
portalName
|
|
1584
|
-
position
|
|
1583
|
+
portalName?: string;
|
|
1584
|
+
position?: {
|
|
1585
1585
|
x: number;
|
|
1586
1586
|
y: number;
|
|
1587
1587
|
};
|
|
@@ -2163,11 +2163,18 @@ declare class DroppedAssetFactory extends SDKController {
|
|
|
2163
2163
|
});
|
|
2164
2164
|
* ```
|
|
2165
2165
|
*/
|
|
2166
|
-
drop(asset: Asset, { assetScale, flipped, interactivePublicKey, isInteractive, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }: {
|
|
2166
|
+
drop(asset: Asset, { assetScale, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }: {
|
|
2167
2167
|
assetScale?: number;
|
|
2168
2168
|
flipped?: boolean;
|
|
2169
|
+
clickType?: string;
|
|
2170
|
+
clickableDisplayTextDescription?: string;
|
|
2171
|
+
clickableDisplayTextHeadline?: string;
|
|
2172
|
+
clickableLink?: string;
|
|
2173
|
+
clickableLinkTitle?: string;
|
|
2169
2174
|
interactivePublicKey?: string;
|
|
2170
2175
|
isInteractive?: boolean;
|
|
2176
|
+
isForceLinkInIframe?: boolean;
|
|
2177
|
+
isOpenLinkInDrawer?: boolean;
|
|
2171
2178
|
layer0?: string;
|
|
2172
2179
|
layer1?: string;
|
|
2173
2180
|
position: {
|
package/dist/index.js
CHANGED
|
@@ -42434,7 +42434,7 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42434
42434
|
});
|
|
42435
42435
|
* ```
|
|
42436
42436
|
*/
|
|
42437
|
-
drop(asset, { assetScale = 1, flipped, interactivePublicKey, isInteractive, layer0 = "", layer1 = "", position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
|
|
42437
|
+
drop(asset, { assetScale = 1, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, layer0 = "", layer1 = "", position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
|
|
42438
42438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42439
42439
|
let specialType = null;
|
|
42440
42440
|
if (layer0 || layer1)
|
|
@@ -42443,11 +42443,18 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42443
42443
|
specialType = "text";
|
|
42444
42444
|
const params = {
|
|
42445
42445
|
assetScale,
|
|
42446
|
+
clickType,
|
|
42447
|
+
clickableDisplayTextDescription,
|
|
42448
|
+
clickableDisplayTextHeadline,
|
|
42449
|
+
clickableLink,
|
|
42450
|
+
clickableLinkTitle,
|
|
42446
42451
|
flipped,
|
|
42447
|
-
layer0,
|
|
42448
|
-
layer1,
|
|
42449
42452
|
interactivePublicKey,
|
|
42450
42453
|
isInteractive,
|
|
42454
|
+
isForceLinkInIframe,
|
|
42455
|
+
isOpenLinkInDrawer,
|
|
42456
|
+
layer0,
|
|
42457
|
+
layer1,
|
|
42451
42458
|
sceneDropId,
|
|
42452
42459
|
specialType,
|
|
42453
42460
|
text,
|
|
@@ -42456,7 +42463,6 @@ class DroppedAssetFactory extends SDKController {
|
|
|
42456
42463
|
textWeight,
|
|
42457
42464
|
textWidth,
|
|
42458
42465
|
uniqueName,
|
|
42459
|
-
urlSlug,
|
|
42460
42466
|
yOrderAdjust,
|
|
42461
42467
|
};
|
|
42462
42468
|
if (isInteractive && !interactivePublicKey) {
|
package/package.json
CHANGED