@waline/client 2.1.2 → 2.2.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.
@@ -65,6 +65,7 @@ interface WalineComment extends Exclude<WalineCommentData, 'ua'> {
65
65
  browser?: string;
66
66
  os?: string;
67
67
  level?: number;
68
+ addr?: string;
68
69
  }
69
70
 
70
71
  interface WalineDateLocale {
@@ -386,7 +387,7 @@ interface WalineInstance {
386
387
  *
387
388
  * @description when not setting `path` option, it will be reset to `window.location.pathname`
388
389
  */
389
- update: (newOptions: Partial<Omit<WalineInitOptions, 'el'>>) => void;
390
+ update: (newOptions?: Partial<Omit<WalineInitOptions, 'el'>>) => void;
390
391
  /**
391
392
  * 取消挂载并摧毁 Waline 实例
392
393
  *