@veltdev/sdk-staging 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.
@@ -1082,11 +1082,26 @@ export declare class CommentElement {
1082
1082
 
1083
1083
  /**
1084
1084
  * To accept comment annotation
1085
+ *
1086
+ * @deprecated Use {@link acceptSuggestion} instead.
1087
+ *
1088
+ * The legacy "comments-as-suggestions" flow. Writes the workflow status
1089
+ * (`annotation.status = Accepted`) and does NOT change `annotation.type`, so a
1090
+ * suggestion card accepted this way keeps rendering as a suggestion.
1091
+ * `acceptSuggestion` writes `annotation.suggestion.status` AND flips `type` to
1092
+ * `'comment'`, which is what retires the card.
1093
+ *
1094
+ * Still functional; no removal date is set. `approveCommentAnnotation` is a
1095
+ * separate mechanism and is NOT deprecated.
1085
1096
  */
1086
1097
  public acceptCommentAnnotation: (request: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
1087
1098
 
1088
1099
  /**
1089
1100
  * To reject comment annotation
1101
+ *
1102
+ * @deprecated Use {@link rejectSuggestion} instead. The reject half of the
1103
+ * legacy flow — writes `annotation.status = Rejected` without touching
1104
+ * `annotation.type`. See {@link acceptCommentAnnotation}.
1090
1105
  */
1091
1106
  public rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
1092
1107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
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 ws}from"./chunk-VMW7PJFD.js";import{d as T}from"./chunk-PSVE75CB.js";import{a as Ns}from"./chunk-ZJH32HDL.js";import{b as Ao,d as re}from"./chunk-IBGPKEZW.js";import"./chunk-EQBACTBQ.js";import{a as Vo,d as Go}from"./chunk-UKJTOZK4.js";import"./chunk-BJRSXB3P.js";import"./chunk-F36WWKDQ.js";import{d as Oo}from"./chunk-VMY3F7K3.js";import{d as Xo}from"./chunk-F44SU3DK.js";import"./chunk-SYSCTHS4.js";import"./chunk-SY46UNW5.js";import"./chunk-F4PYCUAT.js";import{b as ks,c as Ds,j as xs,q as di,t as Ms}from"./chunk-AOHWVH4J.js";import"./chunk-5R5ZQKPN.js";import{l as jo,m as Wo,o as Yo,r as Ko,s as Zo,u as es,v as ts,w as is}from"./chunk-XISY42XO.js";import{a as ui}from"./chunk-WFO2GRDO.js";import{a as Ps}from"./chunk-TW7O56QU.js";import"./chunk-7RRXZUH7.js";import{B as Pe,C as Te,a as Ye,b as si,c as ys,d as ct,e as _s,f as ai,g as li,h as ci,i as Rt,j as Cs,k as bs,l as Ss,m as Es,n as Ts,u as Os,v as Is,w as As,x as Rs,y as xr}from"./chunk-CI2SH5RY.js";import{a as vs}from"./chunk-CQX575C2.js";import{a as Ke,b as xe,c as kt,d as hi}from"./chunk-F6CKB7IS.js";import{a as Me}from"./chunk-FUYX2CTL.js";import{a as dt}from"./chunk-RLD74EXO.js";import{a as Dr}from"./chunk-QTF4Y24I.js";import{I as ii,M as $o,S as St,ba as Jo,ca as Z,ea as At,l as So,o as Eo,p as To,v as Io,y as kr}from"./chunk-3ORHWUHZ.js";import{$ as le,$b as De,Aa as ho,Ab as Ge,Af as ss,Bb as je,Bd as Po,Bi as hs,Ca as uo,Cd as Mo,Cf as ni,Ch as g,Ci as us,Da as mo,Db as Kt,Dd as No,Di as ms,E as ro,Eb as Xt,Ee as A,Ei as ps,Fa as X,Fb as Jt,Fc as Zt,Fi as D,Ga as po,Gc as Qe,Gd as wo,Gi as It,Ha as br,Hd as Lo,Ib as Er,Id as Fo,Ie as ri,Ii as gs,J as no,Je as os,Kb as _t,Kd as zo,Ke as Tt,L as oo,Lc as bt,Mi as fs,Na as go,Nb as We,Ob as Tr,Pa as R,Pb as Ct,Pd as Uo,Qc as ei,Qd as qo,Rc as yo,Rd as Bo,Sc as _o,Tc as ti,Td as Ho,Ua as j,Ud as Qo,Va as ke,Vc as Co,Vd as Et,Wc as bo,Wd as fe,Ya as Sr,Z as I,_a as ge,_b as Or,a as k,aa as Re,ac as fo,b as G,ba as so,be as rs,c as Jn,ca as U,cc as Ir,d as pl,da as ze,db as qe,e as jt,f as Zn,fb as Be,g as L,gb as Ve,ha as st,i as Wt,ia as at,ja as Ht,ji as Ot,kc as He,ki as l,l as eo,la as Se,lb as W,lc as $e,li as B,m as M,ma as _r,mb as $,md as Ro,mi as cs,nb as te,ni as ds,oa as ao,ob as J,oe as C,pc as Ar,pg as as,qa as lo,qc as vo,qi as oi,r as x,re as ns,sb as Qt,si as ve,tb as Yt,ti as ie,ua as $t,v as to,va as co,vb as lt,w as io,wa as Ue,xb as Ee,xc as Rr,xd as ko,yd as Do,yh as ls,za as Cr,zb as q,zd as xo}from"./chunk-VKGZ33MA.js";var Hn=pl((fv,Wn)=>{"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(`