@rtsdk/topia 0.6.1 → 0.6.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/dist/index.cjs CHANGED
@@ -39714,11 +39714,14 @@ class SDKController {
39714
39714
  */
39715
39715
  class Asset extends SDKController {
39716
39716
  constructor(topia, id, options = { attributes: {}, credentials: {} }) {
39717
- var _a, _b, _c;
39717
+ var _a, _b, _c, _d, _e;
39718
+ // assetId and urlSlug should only be used when Asset is extended by DroppedAsset
39718
39719
  super(topia, {
39719
39720
  apiKey: (_a = options === null || options === void 0 ? void 0 : options.credentials) === null || _a === void 0 ? void 0 : _a.apiKey,
39720
- interactiveNonce: (_b = options === null || options === void 0 ? void 0 : options.credentials) === null || _b === void 0 ? void 0 : _b.interactiveNonce,
39721
- visitorId: (_c = options === null || options === void 0 ? void 0 : options.credentials) === null || _c === void 0 ? void 0 : _c.visitorId,
39721
+ assetId: (_b = options === null || options === void 0 ? void 0 : options.credentials) === null || _b === void 0 ? void 0 : _b.assetId,
39722
+ interactiveNonce: (_c = options === null || options === void 0 ? void 0 : options.credentials) === null || _c === void 0 ? void 0 : _c.interactiveNonce,
39723
+ urlSlug: (_d = options === null || options === void 0 ? void 0 : options.credentials) === null || _d === void 0 ? void 0 : _d.urlSlug,
39724
+ visitorId: (_e = options === null || options === void 0 ? void 0 : options.credentials) === null || _e === void 0 ? void 0 : _e.visitorId,
39722
39725
  });
39723
39726
  this.id = id;
39724
39727
  Object.assign(this, options.attributes);
package/dist/index.js CHANGED
@@ -39712,11 +39712,14 @@ class SDKController {
39712
39712
  */
39713
39713
  class Asset extends SDKController {
39714
39714
  constructor(topia, id, options = { attributes: {}, credentials: {} }) {
39715
- var _a, _b, _c;
39715
+ var _a, _b, _c, _d, _e;
39716
+ // assetId and urlSlug should only be used when Asset is extended by DroppedAsset
39716
39717
  super(topia, {
39717
39718
  apiKey: (_a = options === null || options === void 0 ? void 0 : options.credentials) === null || _a === void 0 ? void 0 : _a.apiKey,
39718
- interactiveNonce: (_b = options === null || options === void 0 ? void 0 : options.credentials) === null || _b === void 0 ? void 0 : _b.interactiveNonce,
39719
- visitorId: (_c = options === null || options === void 0 ? void 0 : options.credentials) === null || _c === void 0 ? void 0 : _c.visitorId,
39719
+ assetId: (_b = options === null || options === void 0 ? void 0 : options.credentials) === null || _b === void 0 ? void 0 : _b.assetId,
39720
+ interactiveNonce: (_c = options === null || options === void 0 ? void 0 : options.credentials) === null || _c === void 0 ? void 0 : _c.interactiveNonce,
39721
+ urlSlug: (_d = options === null || options === void 0 ? void 0 : options.credentials) === null || _d === void 0 ? void 0 : _d.urlSlug,
39722
+ visitorId: (_e = options === null || options === void 0 ? void 0 : options.credentials) === null || _e === void 0 ? void 0 : _e.visitorId,
39720
39723
  });
39721
39724
  this.id = id;
39722
39725
  Object.assign(this, options.attributes);
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.6.1"
62
+ "version": "0.6.2"
63
63
  }