@rynko/sdk 1.1.1 → 1.2.0

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.js CHANGED
@@ -237,7 +237,7 @@ var DocumentsResource = class {
237
237
  async generate(options) {
238
238
  return this.http.post(
239
239
  "/api/v1/documents/generate",
240
- options
240
+ { ...options, source: "sdk_node" }
241
241
  );
242
242
  }
243
243
  /**
@@ -304,7 +304,7 @@ var DocumentsResource = class {
304
304
  async generateBatch(options) {
305
305
  return this.http.post(
306
306
  "/api/v1/documents/generate/batch",
307
- options
307
+ { ...options, source: "sdk_node" }
308
308
  );
309
309
  }
310
310
  /**
package/dist/index.mjs CHANGED
@@ -202,7 +202,7 @@ var DocumentsResource = class {
202
202
  async generate(options) {
203
203
  return this.http.post(
204
204
  "/api/v1/documents/generate",
205
- options
205
+ { ...options, source: "sdk_node" }
206
206
  );
207
207
  }
208
208
  /**
@@ -269,7 +269,7 @@ var DocumentsResource = class {
269
269
  async generateBatch(options) {
270
270
  return this.http.post(
271
271
  "/api/v1/documents/generate/batch",
272
- options
272
+ { ...options, source: "sdk_node" }
273
273
  );
274
274
  }
275
275
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rynko/sdk",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Official Node.js SDK for Rynko - Generate PDFs and Excel files from templates",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",