@rtsdk/topia 0.0.28 → 0.0.30

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
@@ -39851,10 +39851,10 @@ class DroppedAsset extends Asset {
39851
39851
  throw this.errorHandler({ error });
39852
39852
  }
39853
39853
  }));
39854
+ Object.assign(this, options.attributes);
39854
39855
  this.id = id;
39855
39856
  this.text = (_a = options.attributes) === null || _a === void 0 ? void 0 : _a.text;
39856
39857
  this.urlSlug = urlSlug;
39857
- Object.assign(this, options.attributes);
39858
39858
  }
39859
39859
  /**
39860
39860
  * @summary
@@ -40584,6 +40584,7 @@ class User extends SDKController {
40584
40584
  const assetDetails = response.data[i];
40585
40585
  tempAssetsMap[assetDetails.id] = new Asset(this.topia, assetDetails.id, {
40586
40586
  attributes: assetDetails,
40587
+ credentials: this.credentials,
40587
40588
  });
40588
40589
  }
40589
40590
  __classPrivateFieldSet(this, _User_assetsMap, tempAssetsMap, "f");
@@ -40606,6 +40607,7 @@ class User extends SDKController {
40606
40607
  const sceneDetails = response.data[i];
40607
40608
  tempScenesMap[sceneDetails.id] = new Scene(this.topia, sceneDetails.urlSlug, {
40608
40609
  attributes: sceneDetails,
40610
+ credentials: this.credentials,
40609
40611
  });
40610
40612
  }
40611
40613
  __classPrivateFieldSet(this, _User_scenesMap, tempScenesMap, "f");
@@ -40641,6 +40643,7 @@ class User extends SDKController {
40641
40643
  const worldDetails = response.data[i];
40642
40644
  tempWorldsMap[worldDetails.urlSlug] = new World(this.topia, worldDetails.urlSlug, {
40643
40645
  attributes: worldDetails,
40646
+ credentials: this.credentials,
40644
40647
  });
40645
40648
  }
40646
40649
  __classPrivateFieldSet(this, _User_worldsMap, tempWorldsMap, "f");
@@ -40767,6 +40770,7 @@ class WorldActivity extends SDKController {
40767
40770
  for (const id in response.data) {
40768
40771
  tempVisitorsMap[id] = new Visitor(this.topia, response.data[id].visitorId, this.urlSlug, {
40769
40772
  attributes: response.data[id],
40773
+ credentials: this.credentials,
40770
40774
  });
40771
40775
  }
40772
40776
  __classPrivateFieldSet(this, _WorldActivity_visitorsMap, tempVisitorsMap, "f");
package/dist/index.js CHANGED
@@ -39849,10 +39849,10 @@ class DroppedAsset extends Asset {
39849
39849
  throw this.errorHandler({ error });
39850
39850
  }
39851
39851
  }));
39852
+ Object.assign(this, options.attributes);
39852
39853
  this.id = id;
39853
39854
  this.text = (_a = options.attributes) === null || _a === void 0 ? void 0 : _a.text;
39854
39855
  this.urlSlug = urlSlug;
39855
- Object.assign(this, options.attributes);
39856
39856
  }
39857
39857
  /**
39858
39858
  * @summary
@@ -40582,6 +40582,7 @@ class User extends SDKController {
40582
40582
  const assetDetails = response.data[i];
40583
40583
  tempAssetsMap[assetDetails.id] = new Asset(this.topia, assetDetails.id, {
40584
40584
  attributes: assetDetails,
40585
+ credentials: this.credentials,
40585
40586
  });
40586
40587
  }
40587
40588
  __classPrivateFieldSet(this, _User_assetsMap, tempAssetsMap, "f");
@@ -40604,6 +40605,7 @@ class User extends SDKController {
40604
40605
  const sceneDetails = response.data[i];
40605
40606
  tempScenesMap[sceneDetails.id] = new Scene(this.topia, sceneDetails.urlSlug, {
40606
40607
  attributes: sceneDetails,
40608
+ credentials: this.credentials,
40607
40609
  });
40608
40610
  }
40609
40611
  __classPrivateFieldSet(this, _User_scenesMap, tempScenesMap, "f");
@@ -40639,6 +40641,7 @@ class User extends SDKController {
40639
40641
  const worldDetails = response.data[i];
40640
40642
  tempWorldsMap[worldDetails.urlSlug] = new World(this.topia, worldDetails.urlSlug, {
40641
40643
  attributes: worldDetails,
40644
+ credentials: this.credentials,
40642
40645
  });
40643
40646
  }
40644
40647
  __classPrivateFieldSet(this, _User_worldsMap, tempWorldsMap, "f");
@@ -40765,6 +40768,7 @@ class WorldActivity extends SDKController {
40765
40768
  for (const id in response.data) {
40766
40769
  tempVisitorsMap[id] = new Visitor(this.topia, response.data[id].visitorId, this.urlSlug, {
40767
40770
  attributes: response.data[id],
40771
+ credentials: this.credentials,
40768
40772
  });
40769
40773
  }
40770
40774
  __classPrivateFieldSet(this, _WorldActivity_visitorsMap, tempVisitorsMap, "f");
@@ -37,10 +37,10 @@ export class DroppedAsset extends Asset {
37
37
  throw this.errorHandler({ error });
38
38
  }
39
39
  }));
40
+ Object.assign(this, options.attributes);
40
41
  this.id = id;
41
42
  this.text = (_a = options.attributes) === null || _a === void 0 ? void 0 : _a.text;
42
43
  this.urlSlug = urlSlug;
43
- Object.assign(this, options.attributes);
44
44
  }
45
45
  /**
46
46
  * @summary
@@ -65,6 +65,7 @@ export class User extends SDKController {
65
65
  const assetDetails = response.data[i];
66
66
  tempAssetsMap[assetDetails.id] = new Asset(this.topia, assetDetails.id, {
67
67
  attributes: assetDetails,
68
+ credentials: this.credentials,
68
69
  });
69
70
  }
70
71
  __classPrivateFieldSet(this, _User_assetsMap, tempAssetsMap, "f");
@@ -87,6 +88,7 @@ export class User extends SDKController {
87
88
  const sceneDetails = response.data[i];
88
89
  tempScenesMap[sceneDetails.id] = new Scene(this.topia, sceneDetails.urlSlug, {
89
90
  attributes: sceneDetails,
91
+ credentials: this.credentials,
90
92
  });
91
93
  }
92
94
  __classPrivateFieldSet(this, _User_scenesMap, tempScenesMap, "f");
@@ -122,6 +124,7 @@ export class User extends SDKController {
122
124
  const worldDetails = response.data[i];
123
125
  tempWorldsMap[worldDetails.urlSlug] = new World(this.topia, worldDetails.urlSlug, {
124
126
  attributes: worldDetails,
127
+ credentials: this.credentials,
125
128
  });
126
129
  }
127
130
  __classPrivateFieldSet(this, _User_worldsMap, tempWorldsMap, "f");
@@ -55,6 +55,7 @@ export class WorldActivity extends SDKController {
55
55
  for (const id in response.data) {
56
56
  tempVisitorsMap[id] = new Visitor(this.topia, response.data[id].visitorId, this.urlSlug, {
57
57
  attributes: response.data[id],
58
+ credentials: this.credentials,
58
59
  });
59
60
  }
60
61
  __classPrivateFieldSet(this, _WorldActivity_visitorsMap, tempVisitorsMap, "f");
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "local-publish": "yarn build && yalc publish --push --no-scripts"
57
57
  },
58
58
  "type": "module",
59
- "version": "0.0.28"
59
+ "version": "0.0.30"
60
60
  }