@bytexbyte/ike-app-api 1.0.0 → 1.0.1

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.
@@ -70,6 +70,6 @@ declare class IKEAppTagsApi extends BxBApi {
70
70
  transferOwner(tokenId: string, form: TransferBody): Promise<PostResult>;
71
71
  undoTransferOwner(tokenId: string, form: UndoTransferBody): Promise<PostResult>;
72
72
  updateInfoVisible(tokenId: string, form: PutInfoVisible): Promise<PutInfoVisibleResult>;
73
- updateDisplayName(tokenId: string, displayName: PutUpdateDisplayName): Promise<PutUpdateDisplayNameResult>;
73
+ updateDisplayName(tokenId: string, form: PutUpdateDisplayName): Promise<PutUpdateDisplayNameResult>;
74
74
  }
75
75
  export default IKEAppTagsApi;
package/lib/Tags/index.js CHANGED
@@ -240,7 +240,7 @@ var IKEAppTagsApi = /** @class */ (function (_super) {
240
240
  });
241
241
  });
242
242
  };
243
- IKEAppTagsApi.prototype.updateDisplayName = function (tokenId, displayName) {
243
+ IKEAppTagsApi.prototype.updateDisplayName = function (tokenId, form) {
244
244
  return __awaiter(this, void 0, void 0, function () {
245
245
  var response;
246
246
  return __generator(this, function (_a) {
@@ -250,7 +250,7 @@ var IKEAppTagsApi = /** @class */ (function (_super) {
250
250
  headers: {
251
251
  'Content-Type': 'application/json'
252
252
  },
253
- body: JSON.stringify({ displayName: displayName })
253
+ body: JSON.stringify({ form: form })
254
254
  }, "".concat(tokenId, "/updateDisplayName"))];
255
255
  case 1:
256
256
  response = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -76,4 +76,4 @@
76
76
  "tsutils": "^2.29.0",
77
77
  "wrappy": "^1.0.2"
78
78
  }
79
- }
79
+ }