@nutrient-sdk/document-authoring 1.9.0-preview.202508270852.adc4540892b8be34f441894263371d7886eb6c4a → 1.9.0-preview.202508271434.6b6072d5c2caee25860e088729947eaf160b1d8b
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/README.md +2 -2
- package/lib/docauth.mjs +1 -1
- package/lib/docauth.umd.js +1 -1
- package/lib/index.d.cts +0 -4
- package/lib/index.d.mts +0 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ the SDK via `npm`).
|
|
|
78
78
|
|
|
79
79
|
### Example
|
|
80
80
|
|
|
81
|
-
You can download an example project demoing both TypeScript and JavaScript integration from [here](https://document-authoring.cdn.staging.nutrient.io/releases/document-authoring-1.9.0-preview.
|
|
81
|
+
You can download an example project demoing both TypeScript and JavaScript integration from [here](https://document-authoring.cdn.staging.nutrient.io/releases/document-authoring-1.9.0-preview.202508271434.6b6072d5c2caee25860e088729947eaf160b1d8b-example.zip), unzip it and run:
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
npm install
|
|
@@ -92,7 +92,7 @@ By default, the Document Authoring SDK will fetch the required files (fonts, emo
|
|
|
92
92
|
|
|
93
93
|
### Self-hosting the assets
|
|
94
94
|
|
|
95
|
-
To host the assets on your own infrastructure you can download them from [here](https://document-authoring.cdn.staging.nutrient.io/releases/document-authoring-1.9.0-preview.
|
|
95
|
+
To host the assets on your own infrastructure you can download them from [here](https://document-authoring.cdn.staging.nutrient.io/releases/document-authoring-1.9.0-preview.202508271434.6b6072d5c2caee25860e088729947eaf160b1d8b-assets.zip) and deploy them to a suitable location.
|
|
96
96
|
Provide an appropriate base path when initializing the Document Authoring SDK.
|
|
97
97
|
|
|
98
98
|
#### Example:
|
package/lib/docauth.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t={type:"default-index"},e=async t=>(await(async t=>{const e=new URL(t??"https://document-authoring.cdn.staging.nutrient.io/2025/1/",window.location.href).href,n=new URL("docauth-impl-
|
|
1
|
+
const t={type:"default-index"},e=async t=>(await(async t=>{const e=new URL(t??"https://document-authoring.cdn.staging.nutrient.io/2025/1/",window.location.href).href,n=new URL("docauth-impl-61199f67e6b264dc.js",e).href;return import(
|
|
2
2
|
/*webpackIgnore: true*/
|
|
3
3
|
/* @vite-ignore */
|
|
4
4
|
n)})(t?.assets?.base)).createDocAuthSystem(t);var n={createDocAuthSystem:e,defaultFontIndex:t};export{e as createDocAuthSystem,n as default,t as defaultFontIndex};
|
package/lib/docauth.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).DocAuth={})}(this,(function(e){"use strict";const t={type:"default-index"},n=async e=>(await(async e=>{const t=new URL(e??"https://document-authoring.cdn.staging.nutrient.io/2025/1/",window.location.href).href,n=new URL("docauth-impl-
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).DocAuth={})}(this,(function(e){"use strict";const t={type:"default-index"},n=async e=>(await(async e=>{const t=new URL(e??"https://document-authoring.cdn.staging.nutrient.io/2025/1/",window.location.href).href,n=new URL("docauth-impl-61199f67e6b264dc.js",t).href;return import(
|
|
2
2
|
/*webpackIgnore: true*/
|
|
3
3
|
/* @vite-ignore */
|
|
4
4
|
n)})(e?.assets?.base)).createDocAuthSystem(e);var o={createDocAuthSystem:n,defaultFontIndex:t};e.createDocAuthSystem=n,e.default=o,e.defaultFontIndex=t,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/index.d.cts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as JsonDiffTs from 'json-diff-ts';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
*/
|
|
@@ -144,8 +142,6 @@ export declare type DocAuthDocument = {
|
|
|
144
142
|
* Exports a snapshot of the current document as a DOCX file.
|
|
145
143
|
*/
|
|
146
144
|
exportDOCX(options?: ExportDOCXOptions): Promise<ArrayBuffer>;
|
|
147
|
-
__athenaSetJSONDiffHandler(handler: (diff: JsonDiffTs.IChange[]) => void): void;
|
|
148
|
-
__athenaApplyJSONDiff(diffGetter: () => JsonDiffTs.IChange[][]): void;
|
|
149
145
|
/**
|
|
150
146
|
* @alpha
|
|
151
147
|
*/
|
package/lib/index.d.mts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as JsonDiffTs from 'json-diff-ts';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
*/
|
|
@@ -144,8 +142,6 @@ export declare type DocAuthDocument = {
|
|
|
144
142
|
* Exports a snapshot of the current document as a DOCX file.
|
|
145
143
|
*/
|
|
146
144
|
exportDOCX(options?: ExportDOCXOptions): Promise<ArrayBuffer>;
|
|
147
|
-
__athenaSetJSONDiffHandler(handler: (diff: JsonDiffTs.IChange[]) => void): void;
|
|
148
|
-
__athenaApplyJSONDiff(diffGetter: () => JsonDiffTs.IChange[][]): void;
|
|
149
145
|
/**
|
|
150
146
|
* @alpha
|
|
151
147
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutrient-sdk/document-authoring",
|
|
3
|
-
"version": "1.9.0-preview.
|
|
3
|
+
"version": "1.9.0-preview.202508271434.6b6072d5c2caee25860e088729947eaf160b1d8b",
|
|
4
4
|
"description": "A web SDK for word processing and rich text capabilities.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "lib/docauth.umd.js",
|