@rtsdk/topia 0.9.1 → 0.9.2

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/README.md CHANGED
@@ -246,6 +246,12 @@ We've added a Pull Request template to help make it easier for developers to cla
246
246
 
247
247
  ## Documentation
248
248
 
249
+ ### Styles
250
+
251
+ The SDK Stylesheet is already added to every boilerplate. To view documentation and examples please [click here](https://sdk-style.s3.amazonaws.com/example.html).
252
+
253
+ ### Developer Documentation
254
+
249
255
  We use [TypeDoc](https://typedoc.org/guides/overview) to convert comments in TypeScript source code into rendered HTML documentation. Comments should be simple and concise and include examples where applicable. Please be sure to add or update comments accordingly!
250
256
 
251
257
  To update docs run `yarn docs`.
package/dist/index.cjs CHANGED
@@ -40655,7 +40655,7 @@ class World extends SDKController {
40655
40655
  try {
40656
40656
  if (!sceneDropId)
40657
40657
  throw this.errorHandler({ message: "A sceneDropId is required." });
40658
- const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/assets-with-scene-drop-id/${sceneDropId}?${uniqueName ? `?uniqueName=${uniqueName}` : ""}`, this.requestOptions);
40658
+ const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/assets-with-scene-drop-id/${sceneDropId}${uniqueName ? `?uniqueName=${uniqueName}` : ""}`, this.requestOptions);
40659
40659
  // create temp map and then update private property only once
40660
40660
  const droppedAssets = [];
40661
40661
  for (const asset of response.data.assets) {
@@ -40906,10 +40906,15 @@ class World extends SDKController {
40906
40906
  switch (periodType) {
40907
40907
  case "week":
40908
40908
  query = `&week=W${dateValue}`;
40909
+ break;
40909
40910
  case "month":
40910
40911
  query = `&month=${dateValue}`;
40912
+ break;
40911
40913
  case "quarter":
40912
40914
  query = `&quarter=Q${dateValue}`;
40915
+ break;
40916
+ default:
40917
+ "";
40913
40918
  }
40914
40919
  const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/world-analytics?year=${year}${query}`, this.requestOptions);
40915
40920
  return response.data;
package/dist/index.d.ts CHANGED
@@ -1235,6 +1235,7 @@ interface DroppedAssetInterface extends AssetInterface {
1235
1235
  assetPrivateZoneChannelDisabled?: boolean | null;
1236
1236
  assetPrivateConversationCap?: number | null;
1237
1237
  audioSliderVolume?: number | null;
1238
+ bottomLayerURL?: string | null;
1238
1239
  broadcasterEmail?: string | null;
1239
1240
  clickType?: string | null;
1240
1241
  clickableLink?: string | null;
@@ -1280,6 +1281,7 @@ interface DroppedAssetInterface extends AssetInterface {
1280
1281
  textFontFamily?: string | null;
1281
1282
  teleportX?: number | null;
1282
1283
  teleportY?: number | null;
1284
+ topLayerURL?: string | null;
1283
1285
  tokenSymbol?: string | null;
1284
1286
  tokenName?: string | null;
1285
1287
  worldId?: string | null;
package/dist/index.js CHANGED
@@ -40653,7 +40653,7 @@ class World extends SDKController {
40653
40653
  try {
40654
40654
  if (!sceneDropId)
40655
40655
  throw this.errorHandler({ message: "A sceneDropId is required." });
40656
- const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/assets-with-scene-drop-id/${sceneDropId}?${uniqueName ? `?uniqueName=${uniqueName}` : ""}`, this.requestOptions);
40656
+ const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/assets-with-scene-drop-id/${sceneDropId}${uniqueName ? `?uniqueName=${uniqueName}` : ""}`, this.requestOptions);
40657
40657
  // create temp map and then update private property only once
40658
40658
  const droppedAssets = [];
40659
40659
  for (const asset of response.data.assets) {
@@ -40904,10 +40904,15 @@ class World extends SDKController {
40904
40904
  switch (periodType) {
40905
40905
  case "week":
40906
40906
  query = `&week=W${dateValue}`;
40907
+ break;
40907
40908
  case "month":
40908
40909
  query = `&month=${dateValue}`;
40910
+ break;
40909
40911
  case "quarter":
40910
40912
  query = `&quarter=Q${dateValue}`;
40913
+ break;
40914
+ default:
40915
+ "";
40911
40916
  }
40912
40917
  const response = yield this.topiaPublicApi().get(`/world/${this.urlSlug}/world-analytics?year=${year}${query}`, this.requestOptions);
40913
40918
  return response.data;
package/package.json CHANGED
@@ -59,5 +59,5 @@
59
59
  "local-publish": "yarn build && yalc publish --push --no-scripts"
60
60
  },
61
61
  "type": "module",
62
- "version": "0.9.1"
62
+ "version": "0.9.2"
63
63
  }