@rtsdk/topia 0.0.29 → 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
@@ -40416,7 +40416,7 @@ class World extends SDKController {
40416
40416
  for (const index in response.data) {
40417
40417
  // tempDroppedAssetsMap[id] = createDroppedAsset(this.apiKey, response.data[id], this.urlSlug);
40418
40418
  tempDroppedAssetsMap[index] = new DroppedAsset(this.topia, response.data[index].id, this.urlSlug, {
40419
- attributes: Object.assign(Object.assign({}, response.data[index]), { urlSlug: this.urlSlug }),
40419
+ attributes: response.data[index],
40420
40420
  credentials: this.credentials,
40421
40421
  });
40422
40422
  }
@@ -40445,7 +40445,7 @@ class World extends SDKController {
40445
40445
  const droppedAssets = [];
40446
40446
  for (const asset of response.data.assets) {
40447
40447
  droppedAssets.push(new DroppedAsset(this.topia, asset.id, this.urlSlug, {
40448
- attributes: Object.assign(Object.assign({}, asset), { urlSlug: this.urlSlug }),
40448
+ attributes: asset,
40449
40449
  credentials: this.credentials,
40450
40450
  }));
40451
40451
  }
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
@@ -40414,7 +40414,7 @@ class World extends SDKController {
40414
40414
  for (const index in response.data) {
40415
40415
  // tempDroppedAssetsMap[id] = createDroppedAsset(this.apiKey, response.data[id], this.urlSlug);
40416
40416
  tempDroppedAssetsMap[index] = new DroppedAsset(this.topia, response.data[index].id, this.urlSlug, {
40417
- attributes: Object.assign(Object.assign({}, response.data[index]), { urlSlug: this.urlSlug }),
40417
+ attributes: response.data[index],
40418
40418
  credentials: this.credentials,
40419
40419
  });
40420
40420
  }
@@ -40443,7 +40443,7 @@ class World extends SDKController {
40443
40443
  const droppedAssets = [];
40444
40444
  for (const asset of response.data.assets) {
40445
40445
  droppedAssets.push(new DroppedAsset(this.topia, asset.id, this.urlSlug, {
40446
- attributes: Object.assign(Object.assign({}, asset), { urlSlug: this.urlSlug }),
40446
+ attributes: asset,
40447
40447
  credentials: this.credentials,
40448
40448
  }));
40449
40449
  }
@@ -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
@@ -129,7 +129,7 @@ export class World extends SDKController {
129
129
  for (const index in response.data) {
130
130
  // tempDroppedAssetsMap[id] = createDroppedAsset(this.apiKey, response.data[id], this.urlSlug);
131
131
  tempDroppedAssetsMap[index] = new DroppedAsset(this.topia, response.data[index].id, this.urlSlug, {
132
- attributes: Object.assign(Object.assign({}, response.data[index]), { urlSlug: this.urlSlug }),
132
+ attributes: response.data[index],
133
133
  credentials: this.credentials,
134
134
  });
135
135
  }
@@ -158,7 +158,7 @@ export class World extends SDKController {
158
158
  const droppedAssets = [];
159
159
  for (const asset of response.data.assets) {
160
160
  droppedAssets.push(new DroppedAsset(this.topia, asset.id, this.urlSlug, {
161
- attributes: Object.assign(Object.assign({}, asset), { urlSlug: this.urlSlug }),
161
+ attributes: asset,
162
162
  credentials: this.credentials,
163
163
  }));
164
164
  }
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.29"
59
+ "version": "0.0.30"
60
60
  }