datocms-plugin-sdk 0.7.12 → 0.7.13

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.
@@ -1356,6 +1356,8 @@ export declare type NewUploadResourceAsUrl = {
1356
1356
  * all hosts — allowing the image to be read by DatoCMS
1357
1357
  */
1358
1358
  url: string;
1359
+ /** Any additional headers to pass when making the request to the URL */
1360
+ headers?: Record<string, string>;
1359
1361
  /**
1360
1362
  * Optional filename to be used to generate the final DatoCMS URL. If not
1361
1363
  * passed, the URL will be used
@@ -1356,6 +1356,8 @@ export declare type NewUploadResourceAsUrl = {
1356
1356
  * all hosts — allowing the image to be read by DatoCMS
1357
1357
  */
1358
1358
  url: string;
1359
+ /** Any additional headers to pass when making the request to the URL */
1360
+ headers?: Record<string, string>;
1359
1361
  /**
1360
1362
  * Optional filename to be used to generate the final DatoCMS URL. If not
1361
1363
  * passed, the URL will be used
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datocms-plugin-sdk",
3
- "version": "0.7.12",
3
+ "version": "0.7.13",
4
4
  "description": "DatoCMS Plugin SDK",
5
5
  "keywords": [
6
6
  "datocms",
@@ -43,5 +43,5 @@
43
43
  "devDependencies": {
44
44
  "typedoc": "^0.23.20"
45
45
  },
46
- "gitHead": "d84956eea3e5557ba2b097e1f8753af6c93df6c3"
46
+ "gitHead": "1c87c5859c0f26e86f05ae7abb7a3382e7d2f1a1"
47
47
  }
package/src/types.ts CHANGED
@@ -1506,6 +1506,8 @@ export type NewUploadResourceAsUrl = {
1506
1506
  * all hosts — allowing the image to be read by DatoCMS
1507
1507
  */
1508
1508
  url: string;
1509
+ /** Any additional headers to pass when making the request to the URL */
1510
+ headers?: Record<string, string>;
1509
1511
  /**
1510
1512
  * Optional filename to be used to generate the final DatoCMS URL. If not
1511
1513
  * passed, the URL will be used