@veltdev/sdk-dev 6.0.9-beta.1 → 6.0.9-beta.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.
@@ -1143,11 +1143,26 @@ export declare class CommentElement {
1143
1143
 
1144
1144
  /**
1145
1145
  * To accept comment annotation
1146
+ *
1147
+ * @deprecated Use {@link acceptSuggestion} instead.
1148
+ *
1149
+ * The legacy "comments-as-suggestions" flow. Writes the workflow status
1150
+ * (`annotation.status = Accepted`) and does NOT change `annotation.type`, so a
1151
+ * suggestion card accepted this way keeps rendering as a suggestion.
1152
+ * `acceptSuggestion` writes `annotation.suggestion.status` AND flips `type` to
1153
+ * `'comment'`, which is what retires the card.
1154
+ *
1155
+ * Still functional; no removal date is set. `approveCommentAnnotation` is a
1156
+ * separate mechanism and is NOT deprecated.
1146
1157
  */
1147
1158
  public acceptCommentAnnotation: (request: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
1148
1159
 
1149
1160
  /**
1150
1161
  * To reject comment annotation
1162
+ *
1163
+ * @deprecated Use {@link rejectSuggestion} instead. The reject half of the
1164
+ * legacy flow — writes `annotation.status = Rejected` without touching
1165
+ * `annotation.type`. See {@link acceptCommentAnnotation}.
1151
1166
  */
1152
1167
  public rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
1153
1168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "6.0.9-beta.1",
3
+ "version": "6.0.9-beta.2",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [
package/velt.js CHANGED
@@ -1,4 +1,4 @@
1
- var SNIPPYLY_VERSION = '6.0.9-beta.1';
1
+ var SNIPPYLY_VERSION = '6.0.9-beta.2';
2
2
  Promise.allSettled||(Promise.allSettled=function(t){return Promise.all(t.map(function(r){return Promise.resolve(r).then(function(e){return{status:"fulfilled",value:e}}).catch(function(e){return{status:"rejected",reason:e}})}))});
3
3
 
4
4
  import{a as Ls}from"./chunk-AAD7TO6X.js";import{d as T}from"./chunk-Y3IPC356.js";import{a as ws}from"./chunk-ZJH32HDL.js";import{b as ko,d as re}from"./chunk-4Z6NNDYV.js";import"./chunk-EQBACTBQ.js";import{a as jo,d as Wo}from"./chunk-UKJTOZK4.js";import"./chunk-LG5WHFSD.js";import"./chunk-2K2XEJWM.js";import{d as Ao}from"./chunk-IM25G5ZA.js";import{d as Zo}from"./chunk-JPNIBNJC.js";import"./chunk-SYSCTHS4.js";import"./chunk-SY46UNW5.js";import"./chunk-YOW3SSZH.js";import{b as Ds,c as xs,j as Ps,q as ui,t as Ns}from"./chunk-SPYRQOBV.js";import"./chunk-XJ6VFULL.js";import{l as Ho,m as $o,o as Xo,r as Jo,s as ts,u as is,v as rs,w as ns}from"./chunk-P5SWOPSS.js";import{a as pi}from"./chunk-BX4TSYIT.js";import{a as Ms}from"./chunk-TW7O56QU.js";import"./chunk-7RRXZUH7.js";import{A as Rs,B as ks,C as Pr,F as ye,G as Te,a as Ye,b as ai,f as li,g as st,i as Cs,j as ci,k as di,l as hi,m as At,n as bs,o as Ss,p as Es,q as Ts,r as Os,y as Is,z as As}from"./chunk-YNPH7CSB.js";import{a as _s}from"./chunk-GTSIWRGU.js";import{a as Ke,b as xe,c as Rt,d as mi}from"./chunk-F6CKB7IS.js";import{a as Pe}from"./chunk-FUYX2CTL.js";import{a as at}from"./chunk-ZMDRNPLQ.js";import{a as xr}from"./chunk-Q245RDEX.js";import{Da as es,Ea as ee,Ga as It,I as ri,l as To,ma as Yo,o as Oo,p as Io,sa as bt,v as Ro,y as Dr}from"./chunk-EJ332HKA.js";import{$ as le,$b as De,Aa as uo,Ab as Ge,Af as ls,Bb as je,Bd as No,Bi as ms,Ca as mo,Cd as wo,Cf as oi,Ch as g,Ci as ps,Da as po,Db as Kt,Dd as Lo,Di as gs,E as no,Eb as Xt,Ee as A,Ei as fs,Fa as W,Fb as Jt,Fc as ei,Fi as D,Ga as go,Gc as Qe,Gd as Fo,Gi as Ot,Ha as Er,Hd as zo,Ib as Or,Id as Uo,Ie as ni,Ii as vs,J as oo,Je as as,Kb as yt,Kd as qo,Ke as Et,L as so,Lc as Ct,Mi as ys,Na as fo,Nb as We,Ob as Ir,Pa as R,Pb as _t,Pd as Bo,Qc as ti,Qd as Vo,Rc as Co,Rd as Go,Sc as bo,Tc as ii,Td as Qo,Ua as H,Ud as Ko,Va as ke,Vc as So,Vd as St,Wc as Eo,Wd as fe,Ya as Tr,Z as I,_a as he,_b as Ar,a as k,aa as Re,ac as vo,b as j,ba as ao,be as os,c as Zn,ca as U,cc as Zt,d as fl,da as Fe,db as Ue,e as Gt,f as eo,fb as qe,fc as yo,g as L,gb as Be,ha as Wt,i as jt,ia as Ht,ja as $t,ji as Tt,kc as He,ki as l,l as to,la as Ee,lb as q,lc as $e,li as V,m as M,ma as br,mb as $,md as Do,mi as hs,nb as J,ni as us,oa as lo,ob as Z,oe as C,pc as Rr,pg as cs,qa as co,qc as _o,qi as si,r as x,re as ss,sb as ft,si as ve,tb as vt,ti as ie,ua as Qt,v as io,va as ho,vb as Yt,w as ro,wa as ze,xb as Ve,xc as kr,xd as xo,yd as Po,yh as ds,za as Sr,zb as B,zd as Mo}from"./chunk-VKGZ33MA.js";var $n=fl((Cv,Hn)=>{"use strict";var p={};p.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)};p.localCName=p.generateIdentifier();p.splitLines=function(r){return r.trim().split(`