@embedpdf/plugin-attachment 2.0.0-next.1 → 2.0.0-next.3
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@embedpdf/core"),e=require("@embedpdf/models"),n=class extends t.BasePlugin{constructor(t,e){super(t,e)}async initialize(t){}buildCapability(){return{getAttachments:()=>this.getAttachments(),downloadAttachment:t=>this.downloadAttachment(t),forDocument:t=>this.createAttachmentScope(t)}}createAttachmentScope(t){return{getAttachments:()=>this.getAttachments(t),downloadAttachment:e=>this.downloadAttachment(e,t)}}downloadAttachment(t,n){const o=n??this.getActiveDocumentId(),c=this.coreState.core.documents[o];return(null==c?void 0:c.document)?this.engine.readAttachmentContent(c.document,t):e.PdfTaskHelper.reject({code:e.PdfErrorCode.NotFound,message:`Document ${o} not found`})}getAttachments(t){const n=t??this.getActiveDocumentId(),o=this.coreState.core.documents[n];return(null==o?void 0:o.document)?this.engine.getAttachments(o.document):e.PdfTaskHelper.reject({code:e.PdfErrorCode.NotFound,message:`Document ${n} not found`})}};n.id="attachment";let o=n;const c="attachment",a={id:c,name:"Attachment Plugin",version:"1.0.0",provides:["attachment"],requires:[],optional:[],defaultConfig:{
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@embedpdf/core"),e=require("@embedpdf/models"),n=class extends t.BasePlugin{constructor(t,e){super(t,e)}async initialize(t){}buildCapability(){return{getAttachments:()=>this.getAttachments(),downloadAttachment:t=>this.downloadAttachment(t),forDocument:t=>this.createAttachmentScope(t)}}createAttachmentScope(t){return{getAttachments:()=>this.getAttachments(t),downloadAttachment:e=>this.downloadAttachment(e,t)}}downloadAttachment(t,n){const o=n??this.getActiveDocumentId(),c=this.coreState.core.documents[o];return(null==c?void 0:c.document)?this.engine.readAttachmentContent(c.document,t):e.PdfTaskHelper.reject({code:e.PdfErrorCode.NotFound,message:`Document ${o} not found`})}getAttachments(t){const n=t??this.getActiveDocumentId(),o=this.coreState.core.documents[n];return(null==o?void 0:o.document)?this.engine.getAttachments(o.document):e.PdfTaskHelper.reject({code:e.PdfErrorCode.NotFound,message:`Document ${n} not found`})}};n.id="attachment";let o=n;const c="attachment",a={id:c,name:"Attachment Plugin",version:"1.0.0",provides:["attachment"],requires:[],optional:[],defaultConfig:{}},r={manifest:a,create:t=>new o(c,t),reducer:()=>{},initialState:{}};exports.ATTACHMENT_PLUGIN_ID=c,exports.AttachmentPlugin=o,exports.AttachmentPluginPackage=r,exports.manifest=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/lib/attachment-plugin.ts","../src/lib/manifest.ts","../src/lib/index.ts"],"sourcesContent":["import { BasePlugin, PluginRegistry } from '@embedpdf/core';\n\nimport { AttachmentCapability, AttachmentPluginConfig, AttachmentScope } from './types';\nimport {\n PdfAttachmentObject,\n PdfErrorCode,\n PdfErrorReason,\n PdfTaskHelper,\n Task,\n} from '@embedpdf/models';\n\nexport class AttachmentPlugin extends BasePlugin<AttachmentPluginConfig, AttachmentCapability> {\n static readonly id = 'attachment' as const;\n\n constructor(id: string, registry: PluginRegistry) {\n super(id, registry);\n }\n\n async initialize(_: AttachmentPluginConfig): Promise<void> {}\n\n // ─────────────────────────────────────────────────────────\n // Capability\n // ─────────────────────────────────────────────────────────\n\n protected buildCapability(): AttachmentCapability {\n return {\n // Active document operations\n getAttachments: () => this.getAttachments(),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment),\n\n // Document-scoped operations\n forDocument: (documentId: string) => this.createAttachmentScope(documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Document Scoping\n // ─────────────────────────────────────────────────────────\n\n private createAttachmentScope(documentId: string): AttachmentScope {\n return {\n getAttachments: () => this.getAttachments(documentId),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment, documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Core Operations\n // ─────────────────────────────────────────────────────────\n\n private downloadAttachment(\n attachment: PdfAttachmentObject,\n documentId?: string,\n ): Task<ArrayBuffer, PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.readAttachmentContent(coreDoc.document, attachment);\n }\n\n private getAttachments(documentId?: string): Task<PdfAttachmentObject[], PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.getAttachments(coreDoc.document);\n }\n}\n","import { PluginManifest } from '@embedpdf/core';\nimport { AttachmentPluginConfig } from './types';\n\nexport const ATTACHMENT_PLUGIN_ID = 'attachment';\n\nexport const manifest: PluginManifest<AttachmentPluginConfig> = {\n id: ATTACHMENT_PLUGIN_ID,\n name: 'Attachment Plugin',\n version: '1.0.0',\n provides: ['attachment'],\n requires: [],\n optional: [],\n defaultConfig: {
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/lib/attachment-plugin.ts","../src/lib/manifest.ts","../src/lib/index.ts"],"sourcesContent":["import { BasePlugin, PluginRegistry } from '@embedpdf/core';\n\nimport { AttachmentCapability, AttachmentPluginConfig, AttachmentScope } from './types';\nimport {\n PdfAttachmentObject,\n PdfErrorCode,\n PdfErrorReason,\n PdfTaskHelper,\n Task,\n} from '@embedpdf/models';\n\nexport class AttachmentPlugin extends BasePlugin<AttachmentPluginConfig, AttachmentCapability> {\n static readonly id = 'attachment' as const;\n\n constructor(id: string, registry: PluginRegistry) {\n super(id, registry);\n }\n\n async initialize(_: AttachmentPluginConfig): Promise<void> {}\n\n // ─────────────────────────────────────────────────────────\n // Capability\n // ─────────────────────────────────────────────────────────\n\n protected buildCapability(): AttachmentCapability {\n return {\n // Active document operations\n getAttachments: () => this.getAttachments(),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment),\n\n // Document-scoped operations\n forDocument: (documentId: string) => this.createAttachmentScope(documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Document Scoping\n // ─────────────────────────────────────────────────────────\n\n private createAttachmentScope(documentId: string): AttachmentScope {\n return {\n getAttachments: () => this.getAttachments(documentId),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment, documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Core Operations\n // ─────────────────────────────────────────────────────────\n\n private downloadAttachment(\n attachment: PdfAttachmentObject,\n documentId?: string,\n ): Task<ArrayBuffer, PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.readAttachmentContent(coreDoc.document, attachment);\n }\n\n private getAttachments(documentId?: string): Task<PdfAttachmentObject[], PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.getAttachments(coreDoc.document);\n }\n}\n","import { PluginManifest } from '@embedpdf/core';\nimport { AttachmentPluginConfig } from './types';\n\nexport const ATTACHMENT_PLUGIN_ID = 'attachment';\n\nexport const manifest: PluginManifest<AttachmentPluginConfig> = {\n id: ATTACHMENT_PLUGIN_ID,\n name: 'Attachment Plugin',\n version: '1.0.0',\n provides: ['attachment'],\n requires: [],\n optional: [],\n defaultConfig: {},\n};\n","import { PluginPackage } from '@embedpdf/core';\n\nimport { AttachmentPlugin } from './attachment-plugin';\nimport { manifest, ATTACHMENT_PLUGIN_ID } from './manifest';\nimport { AttachmentPluginConfig } from './types';\n\nexport const AttachmentPluginPackage: PluginPackage<AttachmentPlugin, AttachmentPluginConfig> = {\n manifest,\n create: (registry) => new AttachmentPlugin(ATTACHMENT_PLUGIN_ID, registry),\n reducer: () => {},\n initialState: {},\n};\n\nexport * from './attachment-plugin';\nexport * from './types';\nexport * from './manifest';\n"],"names":["_AttachmentPlugin","BasePlugin","constructor","id","registry","super","initialize","_","buildCapability","getAttachments","this","downloadAttachment","attachment","forDocument","documentId","createAttachmentScope","getActiveDocumentId","coreDoc","coreState","core","documents","document","engine","readAttachmentContent","PdfTaskHelper","reject","code","PdfErrorCode","NotFound","message","AttachmentPlugin","ATTACHMENT_PLUGIN_ID","manifest","name","version","provides","requires","optional","defaultConfig","AttachmentPluginPackage","create","reducer","initialState"],"mappings":"gJAWaA,EAAN,cAA+BC,EAAAA,WAGpC,WAAAC,CAAYC,EAAYC,GACtBC,MAAMF,EAAIC,EACZ,CAEA,gBAAME,CAAWC,GAA2C,CAMlD,eAAAC,GACR,MAAO,CAELC,eAAgB,IAAMC,KAAKD,iBAC3BE,mBAAqBC,GAAeF,KAAKC,mBAAmBC,GAG5DC,YAAcC,GAAuBJ,KAAKK,sBAAsBD,GAEpE,CAMQ,qBAAAC,CAAsBD,GAC5B,MAAO,CACLL,eAAgB,IAAMC,KAAKD,eAAeK,GAC1CH,mBAAqBC,GAAeF,KAAKC,mBAAmBC,EAAYE,GAE5E,CAMQ,kBAAAH,CACNC,EACAE,GAEA,MAAMX,EAAKW,GAAcJ,KAAKM,sBACxBC,EAAUP,KAAKQ,UAAUC,KAAKC,UAAUjB,GAE9C,aAAKc,WAASI,UAOPX,KAAKY,OAAOC,sBAAsBN,EAAQI,SAAUT,GANlDY,EAAAA,cAAcC,OAAO,CAC1BC,KAAMC,EAAAA,aAAaC,SACnBC,QAAS,YAAY1B,eAK3B,CAEQ,cAAAM,CAAeK,GACrB,MAAMX,EAAKW,GAAcJ,KAAKM,sBACxBC,EAAUP,KAAKQ,UAAUC,KAAKC,UAAUjB,GAE9C,aAAKc,WAASI,UAOPX,KAAKY,OAAOb,eAAeQ,EAAQI,UANjCG,EAAAA,cAAcC,OAAO,CAC1BC,KAAMC,EAAAA,aAAaC,SACnBC,QAAS,YAAY1B,eAK3B,GAnEAH,EAAgBG,GAAK,aADhB,IAAM2B,EAAN9B,ECRA,MAAM+B,EAAuB,aAEvBC,EAAmD,CAC9D7B,GAAI4B,EACJE,KAAM,oBACNC,QAAS,QACTC,SAAU,CAAC,cACXC,SAAU,GACVC,SAAU,GACVC,cAAe,CAAA,GCNJC,EAAmF,CAC9FP,WACAQ,OAASpC,GAAa,IAAI0B,EAAiBC,EAAsB3B,GACjEqC,QAAS,OACTC,aAAc,CAAA"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/lib/attachment-plugin.ts","../src/lib/manifest.ts","../src/lib/index.ts"],"sourcesContent":["import { BasePlugin, PluginRegistry } from '@embedpdf/core';\n\nimport { AttachmentCapability, AttachmentPluginConfig, AttachmentScope } from './types';\nimport {\n PdfAttachmentObject,\n PdfErrorCode,\n PdfErrorReason,\n PdfTaskHelper,\n Task,\n} from '@embedpdf/models';\n\nexport class AttachmentPlugin extends BasePlugin<AttachmentPluginConfig, AttachmentCapability> {\n static readonly id = 'attachment' as const;\n\n constructor(id: string, registry: PluginRegistry) {\n super(id, registry);\n }\n\n async initialize(_: AttachmentPluginConfig): Promise<void> {}\n\n // ─────────────────────────────────────────────────────────\n // Capability\n // ─────────────────────────────────────────────────────────\n\n protected buildCapability(): AttachmentCapability {\n return {\n // Active document operations\n getAttachments: () => this.getAttachments(),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment),\n\n // Document-scoped operations\n forDocument: (documentId: string) => this.createAttachmentScope(documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Document Scoping\n // ─────────────────────────────────────────────────────────\n\n private createAttachmentScope(documentId: string): AttachmentScope {\n return {\n getAttachments: () => this.getAttachments(documentId),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment, documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Core Operations\n // ─────────────────────────────────────────────────────────\n\n private downloadAttachment(\n attachment: PdfAttachmentObject,\n documentId?: string,\n ): Task<ArrayBuffer, PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.readAttachmentContent(coreDoc.document, attachment);\n }\n\n private getAttachments(documentId?: string): Task<PdfAttachmentObject[], PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.getAttachments(coreDoc.document);\n }\n}\n","import { PluginManifest } from '@embedpdf/core';\nimport { AttachmentPluginConfig } from './types';\n\nexport const ATTACHMENT_PLUGIN_ID = 'attachment';\n\nexport const manifest: PluginManifest<AttachmentPluginConfig> = {\n id: ATTACHMENT_PLUGIN_ID,\n name: 'Attachment Plugin',\n version: '1.0.0',\n provides: ['attachment'],\n requires: [],\n optional: [],\n defaultConfig: {
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/lib/attachment-plugin.ts","../src/lib/manifest.ts","../src/lib/index.ts"],"sourcesContent":["import { BasePlugin, PluginRegistry } from '@embedpdf/core';\n\nimport { AttachmentCapability, AttachmentPluginConfig, AttachmentScope } from './types';\nimport {\n PdfAttachmentObject,\n PdfErrorCode,\n PdfErrorReason,\n PdfTaskHelper,\n Task,\n} from '@embedpdf/models';\n\nexport class AttachmentPlugin extends BasePlugin<AttachmentPluginConfig, AttachmentCapability> {\n static readonly id = 'attachment' as const;\n\n constructor(id: string, registry: PluginRegistry) {\n super(id, registry);\n }\n\n async initialize(_: AttachmentPluginConfig): Promise<void> {}\n\n // ─────────────────────────────────────────────────────────\n // Capability\n // ─────────────────────────────────────────────────────────\n\n protected buildCapability(): AttachmentCapability {\n return {\n // Active document operations\n getAttachments: () => this.getAttachments(),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment),\n\n // Document-scoped operations\n forDocument: (documentId: string) => this.createAttachmentScope(documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Document Scoping\n // ─────────────────────────────────────────────────────────\n\n private createAttachmentScope(documentId: string): AttachmentScope {\n return {\n getAttachments: () => this.getAttachments(documentId),\n downloadAttachment: (attachment) => this.downloadAttachment(attachment, documentId),\n };\n }\n\n // ─────────────────────────────────────────────────────────\n // Core Operations\n // ─────────────────────────────────────────────────────────\n\n private downloadAttachment(\n attachment: PdfAttachmentObject,\n documentId?: string,\n ): Task<ArrayBuffer, PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.readAttachmentContent(coreDoc.document, attachment);\n }\n\n private getAttachments(documentId?: string): Task<PdfAttachmentObject[], PdfErrorReason> {\n const id = documentId ?? this.getActiveDocumentId();\n const coreDoc = this.coreState.core.documents[id];\n\n if (!coreDoc?.document) {\n return PdfTaskHelper.reject({\n code: PdfErrorCode.NotFound,\n message: `Document ${id} not found`,\n });\n }\n\n return this.engine.getAttachments(coreDoc.document);\n }\n}\n","import { PluginManifest } from '@embedpdf/core';\nimport { AttachmentPluginConfig } from './types';\n\nexport const ATTACHMENT_PLUGIN_ID = 'attachment';\n\nexport const manifest: PluginManifest<AttachmentPluginConfig> = {\n id: ATTACHMENT_PLUGIN_ID,\n name: 'Attachment Plugin',\n version: '1.0.0',\n provides: ['attachment'],\n requires: [],\n optional: [],\n defaultConfig: {},\n};\n","import { PluginPackage } from '@embedpdf/core';\n\nimport { AttachmentPlugin } from './attachment-plugin';\nimport { manifest, ATTACHMENT_PLUGIN_ID } from './manifest';\nimport { AttachmentPluginConfig } from './types';\n\nexport const AttachmentPluginPackage: PluginPackage<AttachmentPlugin, AttachmentPluginConfig> = {\n manifest,\n create: (registry) => new AttachmentPlugin(ATTACHMENT_PLUGIN_ID, registry),\n reducer: () => {},\n initialState: {},\n};\n\nexport * from './attachment-plugin';\nexport * from './types';\nexport * from './manifest';\n"],"names":[],"mappings":";;AAWO,MAAM,oBAAN,MAAM,0BAAyB,WAAyD;AAAA,EAG7F,YAAY,IAAY,UAA0B;AAChD,UAAM,IAAI,QAAQ;AAAA,EACpB;AAAA,EAEA,MAAM,WAAW,GAA0C;AAAA,EAAC;AAAA;AAAA;AAAA;AAAA,EAMlD,kBAAwC;AAChD,WAAO;AAAA;AAAA,MAEL,gBAAgB,MAAM,KAAK,eAAA;AAAA,MAC3B,oBAAoB,CAAC,eAAe,KAAK,mBAAmB,UAAU;AAAA;AAAA,MAGtE,aAAa,CAAC,eAAuB,KAAK,sBAAsB,UAAU;AAAA,IAAA;AAAA,EAE9E;AAAA;AAAA;AAAA;AAAA,EAMQ,sBAAsB,YAAqC;AACjE,WAAO;AAAA,MACL,gBAAgB,MAAM,KAAK,eAAe,UAAU;AAAA,MACpD,oBAAoB,CAAC,eAAe,KAAK,mBAAmB,YAAY,UAAU;AAAA,IAAA;AAAA,EAEtF;AAAA;AAAA;AAAA;AAAA,EAMQ,mBACN,YACA,YACmC;AACnC,UAAM,KAAK,cAAc,KAAK,oBAAA;AAC9B,UAAM,UAAU,KAAK,UAAU,KAAK,UAAU,EAAE;AAEhD,QAAI,EAAC,mCAAS,WAAU;AACtB,aAAO,cAAc,OAAO;AAAA,QAC1B,MAAM,aAAa;AAAA,QACnB,SAAS,YAAY,EAAE;AAAA,MAAA,CACxB;AAAA,IACH;AAEA,WAAO,KAAK,OAAO,sBAAsB,QAAQ,UAAU,UAAU;AAAA,EACvE;AAAA,EAEQ,eAAe,YAAkE;AACvF,UAAM,KAAK,cAAc,KAAK,oBAAA;AAC9B,UAAM,UAAU,KAAK,UAAU,KAAK,UAAU,EAAE;AAEhD,QAAI,EAAC,mCAAS,WAAU;AACtB,aAAO,cAAc,OAAO;AAAA,QAC1B,MAAM,aAAa;AAAA,QACnB,SAAS,YAAY,EAAE;AAAA,MAAA,CACxB;AAAA,IACH;AAEA,WAAO,KAAK,OAAO,eAAe,QAAQ,QAAQ;AAAA,EACpD;AACF;AApEE,kBAAgB,KAAK;AADhB,IAAM,mBAAN;ACRA,MAAM,uBAAuB;AAE7B,MAAM,WAAmD;AAAA,EAC9D,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,SAAS;AAAA,EACT,UAAU,CAAC,YAAY;AAAA,EACvB,UAAU,CAAA;AAAA,EACV,UAAU,CAAA;AAAA,EACV,eAAe,CAAA;AACjB;ACPO,MAAM,0BAAmF;AAAA,EAC9F;AAAA,EACA,QAAQ,CAAC,aAAa,IAAI,iBAAiB,sBAAsB,QAAQ;AAAA,EACzE,SAAS,MAAM;AAAA,EAAC;AAAA,EAChB,cAAc,CAAA;AAChB;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedpdf/plugin-attachment",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@embedpdf/models": "2.0.0-next.
|
|
37
|
+
"@embedpdf/models": "2.0.0-next.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/react": "^18.2.0",
|
|
41
41
|
"typescript": "^5.0.0",
|
|
42
|
-
"@embedpdf/
|
|
43
|
-
"@embedpdf/
|
|
42
|
+
"@embedpdf/core": "2.0.0-next.3",
|
|
43
|
+
"@embedpdf/build": "1.1.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"preact": "^10.26.4",
|
|
49
49
|
"vue": ">=3.2.0",
|
|
50
50
|
"svelte": ">=5 <6",
|
|
51
|
-
"@embedpdf/core": "2.0.0-next.
|
|
51
|
+
"@embedpdf/core": "2.0.0-next.3"
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
54
|
"dist",
|