@rtsdk/topia 0.8.5 → 0.9.0

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.js CHANGED
@@ -39715,7 +39715,7 @@ class SDKController {
39715
39715
  */
39716
39716
  class Asset extends SDKController {
39717
39717
  constructor(topia, id, options = { attributes: {}, credentials: {} }) {
39718
- var _a, _b, _c, _d, _e;
39718
+ var _a, _b, _c, _d, _e, _f;
39719
39719
  // assetId and urlSlug should only be used when Asset is extended by DroppedAsset
39720
39720
  super(topia, {
39721
39721
  apiKey: (_a = options === null || options === void 0 ? void 0 : options.credentials) === null || _a === void 0 ? void 0 : _a.apiKey,
@@ -39725,12 +39725,23 @@ class Asset extends SDKController {
39725
39725
  visitorId: (_e = options === null || options === void 0 ? void 0 : options.credentials) === null || _e === void 0 ? void 0 : _e.visitorId,
39726
39726
  });
39727
39727
  this.id = id;
39728
+ this.urlSlug = (_f = options === null || options === void 0 ? void 0 : options.credentials) === null || _f === void 0 ? void 0 : _f.urlSlug;
39728
39729
  Object.assign(this, options.attributes);
39729
39730
  }
39731
+ /**
39732
+ * @summary
39733
+ * Retrieves platform asset details.
39734
+ *
39735
+ * @usage
39736
+ * ```ts
39737
+ * await asset.fetchAssetById();
39738
+ * const { assetName } = asset;
39739
+ * ```
39740
+ */
39730
39741
  fetchAssetById() {
39731
39742
  return __awaiter(this, void 0, void 0, function* () {
39732
39743
  try {
39733
- const response = yield this.topiaPublicApi().get(`/assets/${this.id}`, this.requestOptions);
39744
+ const response = yield this.topiaPublicApi().get(`/assets/${this.urlSlug}/${this.id}`, this.requestOptions);
39734
39745
  return response.data;
39735
39746
  }
39736
39747
  catch (error) {
@@ -39850,8 +39861,8 @@ class DroppedAsset extends Asset {
39850
39861
  setDataObject(dataObject, options = {}) {
39851
39862
  return __awaiter(this, void 0, void 0, function* () {
39852
39863
  try {
39853
- const { lock = {} } = options;
39854
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/set-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
39864
+ const { analytics = [], lock = {} } = options;
39865
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/set-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
39855
39866
  this.dataObject = dataObject || this.dataObject;
39856
39867
  }
39857
39868
  catch (error) {
@@ -39876,8 +39887,8 @@ class DroppedAsset extends Asset {
39876
39887
  updateDataObject(dataObject, options = {}) {
39877
39888
  return __awaiter(this, void 0, void 0, function* () {
39878
39889
  try {
39879
- const { lock = {} } = options;
39880
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/update-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
39890
+ const { analytics = [], lock = {} } = options;
39891
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/update-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
39881
39892
  this.dataObject = Object.assign(Object.assign({}, (this.dataObject || {})), (dataObject || {}));
39882
39893
  }
39883
39894
  catch (error) {
@@ -39902,8 +39913,8 @@ class DroppedAsset extends Asset {
39902
39913
  incrementDataObjectValue(path, amount, options = {}) {
39903
39914
  return __awaiter(this, void 0, void 0, function* () {
39904
39915
  try {
39905
- const { lock = {} } = options;
39906
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/increment-data-object-value`, { path, amount, lock }, this.requestOptions);
39916
+ const { analytics = [], lock = {} } = options;
39917
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/assets/${this.id}/increment-data-object-value`, { path, amount, analytics, lock }, this.requestOptions);
39907
39918
  }
39908
39919
  catch (error) {
39909
39920
  throw this.errorHandler({
@@ -40311,6 +40322,16 @@ class Scene extends SDKController {
40311
40322
  this.id = id;
40312
40323
  Object.assign(this, options.attributes);
40313
40324
  }
40325
+ /**
40326
+ * @summary
40327
+ * Retrieves scene details.
40328
+ *
40329
+ * @usage
40330
+ * ```ts
40331
+ * await scene.fetchSceneById();
40332
+ * const { name } = scene;
40333
+ * ```
40334
+ */
40314
40335
  fetchSceneById() {
40315
40336
  return __awaiter(this, void 0, void 0, function* () {
40316
40337
  try {
@@ -40411,8 +40432,8 @@ class World extends SDKController {
40411
40432
  */
40412
40433
  this.setDataObject = (dataObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
40413
40434
  try {
40414
- const { lock = {} } = options;
40415
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/set-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
40435
+ const { analytics = [], lock = {} } = options;
40436
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/set-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
40416
40437
  this.dataObject = Object.assign(Object.assign({}, (this.dataObject || {})), (dataObject || {}));
40417
40438
  }
40418
40439
  catch (error) {
@@ -40435,8 +40456,8 @@ class World extends SDKController {
40435
40456
  */
40436
40457
  this.updateDataObject = (dataObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
40437
40458
  try {
40438
- const { lock = {} } = options;
40439
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/update-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
40459
+ const { analytics = [], lock = {} } = options;
40460
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/update-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
40440
40461
  this.dataObject = dataObject || this.dataObject;
40441
40462
  }
40442
40463
  catch (error) {
@@ -40828,8 +40849,8 @@ class World extends SDKController {
40828
40849
  incrementDataObjectValue(path, amount, options = {}) {
40829
40850
  return __awaiter(this, void 0, void 0, function* () {
40830
40851
  try {
40831
- const { lock = {} } = options;
40832
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/increment-data-object-value`, { path, amount, lock }, this.requestOptions);
40852
+ const { analytics, lock = {} } = options;
40853
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/increment-data-object-value`, { path, amount, analytics, lock }, this.requestOptions);
40833
40854
  }
40834
40855
  catch (error) {
40835
40856
  throw this.errorHandler({
@@ -40953,6 +40974,12 @@ class User extends SDKController {
40953
40974
  /**
40954
40975
  * @summary
40955
40976
  * Returns all assets owned by User when an email address is provided.
40977
+ *
40978
+ * @usage
40979
+ * ```ts
40980
+ * await user.fetchAssets();
40981
+ * const userAssets = user.assets;
40982
+ * ```
40956
40983
  */
40957
40984
  fetchAssets() {
40958
40985
  return __awaiter(this, void 0, void 0, function* () {
@@ -40975,7 +41002,12 @@ class User extends SDKController {
40975
41002
  }
40976
41003
  /**
40977
41004
  * @summary
40978
- * Returns all platform assets
41005
+ * Returns all platform assets.
41006
+ *
41007
+ * @usage
41008
+ * ```ts
41009
+ * const assets = await user.fetchPlatformAssets();
41010
+ * ```
40979
41011
  */
40980
41012
  fetchPlatformAssets() {
40981
41013
  return __awaiter(this, void 0, void 0, function* () {
@@ -40990,7 +41022,13 @@ class User extends SDKController {
40990
41022
  }
40991
41023
  /**
40992
41024
  * @summary
40993
- * Returns all scenes owned by User
41025
+ * Returns all scenes owned by User.
41026
+ *
41027
+ * @usage
41028
+ * ```ts
41029
+ * await user.fetchScenes();
41030
+ * const userScenes = user.scenes;
41031
+ * ```
40994
41032
  */
40995
41033
  fetchScenes() {
40996
41034
  return __awaiter(this, void 0, void 0, function* () {
@@ -41139,8 +41177,8 @@ class User extends SDKController {
41139
41177
  try {
41140
41178
  if (!this.profileId)
41141
41179
  throw "This method requires the use of a profileId";
41142
- const { lock = {} } = options;
41143
- yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/set-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41180
+ const { analytics = [], lock = {} } = options;
41181
+ yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/set-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41144
41182
  this.dataObject = dataObject || this.dataObject;
41145
41183
  }
41146
41184
  catch (error) {
@@ -41166,8 +41204,8 @@ class User extends SDKController {
41166
41204
  try {
41167
41205
  if (!this.profileId)
41168
41206
  throw "This method requires the use of a profileId";
41169
- const { lock = {} } = options;
41170
- yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/update-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41207
+ const { analytics = [], lock = {} } = options;
41208
+ yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/update-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41171
41209
  this.dataObject = Object.assign(Object.assign({}, (this.dataObject || {})), (dataObject || {}));
41172
41210
  }
41173
41211
  catch (error) {
@@ -41192,8 +41230,8 @@ class User extends SDKController {
41192
41230
  incrementDataObjectValue(path, amount, options = {}) {
41193
41231
  return __awaiter(this, void 0, void 0, function* () {
41194
41232
  try {
41195
- const { lock = {} } = options;
41196
- yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/increment-data-object-value`, { path, amount, lock }, this.requestOptions);
41233
+ const { analytics = [], lock = {} } = options;
41234
+ yield this.topiaPublicApi().put(`/user/dataObjects/${this.profileId}/increment-data-object-value`, { path, amount, analytics, lock }, this.requestOptions);
41197
41235
  }
41198
41236
  catch (error) {
41199
41237
  throw this.errorHandler({ error, params: { path, amount, options }, sdkMethod: "User.incrementDataObjectValue" });
@@ -41464,8 +41502,8 @@ class Visitor extends User {
41464
41502
  setDataObject(dataObject, options = {}) {
41465
41503
  return __awaiter(this, void 0, void 0, function* () {
41466
41504
  try {
41467
- const { lock = {} } = options;
41468
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/set-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41505
+ const { analytics = [], lock = {} } = options;
41506
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/set-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41469
41507
  this.dataObject = Object.assign(Object.assign({}, (this.dataObject || {})), (dataObject || {}));
41470
41508
  }
41471
41509
  catch (error) {
@@ -41489,8 +41527,8 @@ class Visitor extends User {
41489
41527
  updateDataObject(dataObject, options = {}) {
41490
41528
  return __awaiter(this, void 0, void 0, function* () {
41491
41529
  try {
41492
- const { lock = {} } = options;
41493
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/update-data-object`, { dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41530
+ const { analytics = [], lock = {} } = options;
41531
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/update-data-object`, { analytics, dataObject: dataObject || this.dataObject, lock }, this.requestOptions);
41494
41532
  this.dataObject = dataObject || this.dataObject;
41495
41533
  }
41496
41534
  catch (error) {
@@ -41515,8 +41553,8 @@ class Visitor extends User {
41515
41553
  incrementDataObjectValue(path, amount, options = {}) {
41516
41554
  return __awaiter(this, void 0, void 0, function* () {
41517
41555
  try {
41518
- const { lock = {} } = options;
41519
- yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/increment-data-object-value`, { path, amount, lock }, this.requestOptions);
41556
+ const { analytics = [], lock = {} } = options;
41557
+ yield this.topiaPublicApi().put(`/world/${this.urlSlug}/visitors/${this.id}/increment-data-object-value`, { path, amount, analytics, lock }, this.requestOptions);
41520
41558
  }
41521
41559
  catch (error) {
41522
41560
  throw this.errorHandler({
@@ -41711,23 +41749,62 @@ class Topia {
41711
41749
  }
41712
41750
  }
41713
41751
 
41752
+ /**
41753
+ * @usage
41754
+ * ```ts
41755
+ * const Asset = new AssetFactory(myTopiaInstance);
41756
+ * ```
41757
+ */
41714
41758
  class AssetFactory {
41715
41759
  constructor(topia) {
41716
41760
  this.topia = topia;
41717
41761
  this.create;
41718
41762
  }
41763
+ /**
41764
+ * @summary
41765
+ * Instantiate a new instance of Asset class.
41766
+ *
41767
+ * @usage
41768
+ * ```
41769
+ * const assetInstance = await Asset.create(id, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41770
+ * ```
41771
+ */
41719
41772
  create(id, options) {
41720
41773
  return new Asset(this.topia, id, options);
41721
41774
  }
41722
41775
  }
41723
41776
 
41777
+ /**
41778
+ * @usage
41779
+ * ```ts
41780
+ * const DroppedAsset = new DroppedAssetFactory(myTopiaInstance);
41781
+ * ```
41782
+ */
41724
41783
  class DroppedAssetFactory extends SDKController {
41725
41784
  constructor(topia) {
41726
41785
  super(topia);
41727
41786
  }
41787
+ /**
41788
+ * @summary
41789
+ * Instantiate a new instance of DroppedAsset class.
41790
+ *
41791
+ * @usage
41792
+ * ```
41793
+ * const droppedAssetInstance = await DroppedAsset.create(assetId, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41794
+ * ```
41795
+ */
41728
41796
  create(id, urlSlug, options) {
41729
41797
  return new DroppedAsset(this.topia, id, urlSlug, options);
41730
41798
  }
41799
+ /**
41800
+ * @summary
41801
+ * Instantiate a new instance of DroppedAsset class and retrieve all properties.
41802
+ *
41803
+ * @usage
41804
+ * ```
41805
+ * const droppedAssetInstance = await DroppedAsset.get(assetId, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41806
+ * ```
41807
+ */
41731
41808
  get(id, urlSlug, options) {
41732
41809
  return __awaiter(this, void 0, void 0, function* () {
41733
41810
  const droppedAsset = new DroppedAsset(this.topia, id, urlSlug, options);
@@ -41735,6 +41812,15 @@ class DroppedAssetFactory extends SDKController {
41735
41812
  return droppedAsset;
41736
41813
  });
41737
41814
  }
41815
+ /**
41816
+ * @summary
41817
+ * Searches dropped assets within a world by a provide `uniqueName`. If a single match is found, a new instance of DroppedAsset class is returned all properties.
41818
+ *
41819
+ * @usage
41820
+ * ```
41821
+ * const droppedAssetInstance = await DroppedAsset.getWithUniqueName("exampleUniqueName", urlSlug, { interactivePublicKey, interactiveSecret });
41822
+ * ```
41823
+ */
41738
41824
  getWithUniqueName(uniqueName, urlSlug, credentials) {
41739
41825
  return __awaiter(this, void 0, void 0, function* () {
41740
41826
  const { apiKey, interactivePublicKey, interactiveSecret } = credentials;
@@ -41757,6 +41843,26 @@ class DroppedAssetFactory extends SDKController {
41757
41843
  }
41758
41844
  });
41759
41845
  }
41846
+ /**
41847
+ * @summary
41848
+ * Drops an asset in a world and returns a new instance of DroppedAsset class with all properties.
41849
+ *
41850
+ * @usage
41851
+ * ```
41852
+ * const assetInstance = await Asset.create(id, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41853
+ * const droppedAssetInstance = await DroppedAsset.get(assetInstance, {
41854
+ assetScale: 1.5,
41855
+ flipped: true,
41856
+ layer0: "",
41857
+ layer1: "https://pathtoimage.png",
41858
+ interactivePublicKey,
41859
+ isInteractive: true,
41860
+ position: { x: 0, y: 0 },
41861
+ uniqueName: "exampleUniqueName",
41862
+ urlSlug,
41863
+ });
41864
+ * ```
41865
+ */
41760
41866
  drop(asset, { assetScale = 1, flipped, interactivePublicKey, isInteractive, layer0 = "", layer1 = "", position: { x, y }, sceneDropId, text, textColor, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }) {
41761
41867
  return __awaiter(this, void 0, void 0, function* () {
41762
41868
  let specialType = null;
@@ -41801,14 +41907,38 @@ class DroppedAssetFactory extends SDKController {
41801
41907
  }
41802
41908
  }
41803
41909
 
41910
+ /**
41911
+ * @usage
41912
+ * ```ts
41913
+ * const Scene = new SceneFactory(myTopiaInstance);
41914
+ * ```
41915
+ */
41804
41916
  class SceneFactory {
41805
41917
  constructor(topia) {
41806
41918
  this.topia = topia;
41807
41919
  this.create;
41808
41920
  }
41921
+ /**
41922
+ * @summary
41923
+ * Instantiate a new instance of Scene class.
41924
+ *
41925
+ * @usage
41926
+ * ```
41927
+ * const sceneInstance = await Scene.create(id, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41928
+ * ```
41929
+ */
41809
41930
  create(id, options) {
41810
41931
  return new Scene(this.topia, id, options);
41811
41932
  }
41933
+ /**
41934
+ * @summary
41935
+ * Instantiate a new instance of Scene class and retrieve all properties.
41936
+ *
41937
+ * @usage
41938
+ * ```
41939
+ * const sceneInstance = await Scene.get(id, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41940
+ * ```
41941
+ */
41812
41942
  get(id, options) {
41813
41943
  return __awaiter(this, void 0, void 0, function* () {
41814
41944
  const scene = yield new Scene(this.topia, id, options);
@@ -41818,22 +41948,61 @@ class SceneFactory {
41818
41948
  }
41819
41949
  }
41820
41950
 
41951
+ /**
41952
+ * @usage
41953
+ * ```ts
41954
+ * const User = new UserFactory(myTopiaInstance);
41955
+ * ```
41956
+ */
41821
41957
  class UserFactory {
41822
41958
  constructor(topia) {
41823
41959
  this.topia = topia;
41824
41960
  }
41961
+ /**
41962
+ * @summary
41963
+ * Instantiate a new instance of User class.
41964
+ *
41965
+ * @usage
41966
+ * ```
41967
+ * const userInstance = await User.create({ credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41968
+ * ```
41969
+ */
41825
41970
  create(options) {
41826
41971
  return new User(this.topia, options);
41827
41972
  }
41828
41973
  }
41829
41974
 
41975
+ /**
41976
+ * @usage
41977
+ * ```ts
41978
+ * const Visitor = new VisitorFactory(myTopiaInstance);
41979
+ * ```
41980
+ */
41830
41981
  class VisitorFactory {
41831
41982
  constructor(topia) {
41832
41983
  this.topia = topia;
41833
41984
  }
41985
+ /**
41986
+ * @summary
41987
+ * Instantiate a new instance of Visitor class.
41988
+ *
41989
+ * @usage
41990
+ * ```
41991
+ * const visitorInstance = await Visitor.create(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
41992
+ * ```
41993
+ */
41834
41994
  create(id, urlSlug, options) {
41835
41995
  return new Visitor(this.topia, id, urlSlug, options);
41836
41996
  }
41997
+ /**
41998
+ * @summary
41999
+ * Instantiate a new instance of Visitor class and retrieve all properties.
42000
+ *
42001
+ * @usage
42002
+ * ```
42003
+ * const visitorInstance = await Visitor.get(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
42004
+ * ```
42005
+ */
41837
42006
  get(id, urlSlug, options) {
41838
42007
  return __awaiter(this, void 0, void 0, function* () {
41839
42008
  const visitor = new Visitor(this.topia, id, urlSlug, options);
@@ -41843,22 +42012,61 @@ class VisitorFactory {
41843
42012
  }
41844
42013
  }
41845
42014
 
42015
+ /**
42016
+ * @usage
42017
+ * ```ts
42018
+ * const WorldActivity = new WorldActivityFactory(myTopiaInstance);
42019
+ * ```
42020
+ */
41846
42021
  class WorldActivityFactory {
41847
42022
  constructor(topia) {
41848
42023
  this.topia = topia;
41849
42024
  }
42025
+ /**
42026
+ * @summary
42027
+ * Instantiate a new instance of WorldActivity class.
42028
+ *
42029
+ * @usage
42030
+ * ```
42031
+ * const worldActivityInstance = await WorldActivity.create(urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
42032
+ * ```
42033
+ */
41850
42034
  create(urlSlug, options) {
41851
42035
  return new WorldActivity(this.topia, urlSlug, options);
41852
42036
  }
41853
42037
  }
41854
42038
 
42039
+ /**
42040
+ * @usage
42041
+ * ```ts
42042
+ * const World = new WorldFactory(myTopiaInstance);
42043
+ * ```
42044
+ */
41855
42045
  class WorldFactory extends SDKController {
41856
42046
  constructor(topia) {
41857
42047
  super(topia);
41858
42048
  }
42049
+ /**
42050
+ * @summary
42051
+ * Instantiate a new instance of World class.
42052
+ *
42053
+ * @usage
42054
+ * ```
42055
+ * const worldInstance = await World.create(urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
42056
+ * ```
42057
+ */
41859
42058
  create(urlSlug, options) {
41860
42059
  return new World(this.topia, urlSlug, options);
41861
42060
  }
42061
+ /**
42062
+ * @summary
42063
+ * Deletes an array of Dropped Assets from within a world and returns success: true
42064
+ *
42065
+ * @usage
42066
+ * ```
42067
+ * await World.deleteDroppedAssets(urlSlug, ["exampleDroppedAssetId1", "exampleDroppedAssetId2"], { interactiveNonce, interactivePublicKey, visitorId });
42068
+ * ```
42069
+ */
41862
42070
  deleteDroppedAssets(urlSlug, droppedAssetIds, credentials) {
41863
42071
  return __awaiter(this, void 0, void 0, function* () {
41864
42072
  const { apiKey, interactivePublicKey, interactiveSecret } = credentials;
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.8.5"
62
+ "version": "0.9.0"
63
63
  }