@snapshot-labs/snapshot.js 0.12.49 → 0.12.50

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.
@@ -351,6 +351,8 @@ class Client {
351
351
  }
352
352
  proposal(web3, address, message) {
353
353
  return __awaiter(this, void 0, void 0, function* () {
354
+ if (!message.labels)
355
+ message.labels = [];
354
356
  if (!message.discussion)
355
357
  message.discussion = '';
356
358
  if (!message.app)
@@ -341,6 +341,8 @@ class Client {
341
341
  }
342
342
  proposal(web3, address, message) {
343
343
  return __awaiter(this, void 0, void 0, function* () {
344
+ if (!message.labels)
345
+ message.labels = [];
344
346
  if (!message.discussion)
345
347
  message.discussion = '';
346
348
  if (!message.app)