File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 8
8
// 8. Perform some action after successful addition
9
9
// All values of variables starting with "YOUR_****" should be replaced by real user values
10
10
11
- import credentials from "../../../Credentials /credentials.json" with { type : "json" } ; // json-file in this format: { "id": "*****", "key": "*******" }
11
+ import credentials from "./credentials.json" with { type : "json" } ; // json-file in this format: { "id": "*****", "key": "*******" }
12
12
import fs from 'node:fs/promises' ;
13
13
import path from 'node:path' ;
14
- import { PdfApi } from "../../src/api/api.js" ;
15
- import { ImageHeader } from "../../src/models/imageHeader.js" ;
14
+ import { PdfApi } from "asposepdfcloud" ;
15
+ import { ImageHeader } from "asposepdfcloud/src/models/imageHeader.js" ;
16
+ import { HorizontalAlignment } from "asposepdfcloud/src/models/horizontalAlignment.js" ;
16
17
17
18
const configParams = {
18
19
LOCAL_FOLDER : "C:\\Samples\\" ,
@@ -71,4 +72,4 @@ async function main() {
71
72
}
72
73
}
73
74
74
- main ( ) ;
75
+ main ( ) ;
You can’t perform that action at this time.
0 commit comments