dataverse-utils 2.9.6 → 2.10.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.
@@ -63,7 +63,9 @@ async function createAssembly(config, content, apiConfig, solution) {
63
63
  version: config.version,
64
64
  publickeytoken: config.name,
65
65
  sourcetype: 0,
66
- culture: ''
66
+ culture: '',
67
+ unsecureconfiguration: config.unsecureconfiguration,
68
+ secureconfiguration: config.secureconfiguration
67
69
  };
68
70
  const options = {};
69
71
  if (solution) {
@@ -79,7 +81,9 @@ async function updateAssembly(config, content, apiConfig) {
79
81
  logger_1.logger.info(`update assembly ${config.name}`);
80
82
  const assembly = {
81
83
  content: content,
82
- version: config.version
84
+ version: config.version,
85
+ unsecureconfiguration: config.unsecureconfiguration,
86
+ secureconfiguration: config.secureconfiguration
83
87
  };
84
88
  const result = await (0, node_1.update)(apiConfig, 'pluginassemblies', config.pluginassemblyid, assembly);
85
89
  if (result?.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataverse-utils",
3
- "version": "2.9.6",
3
+ "version": "2.10.0",
4
4
  "license": "MIT",
5
5
  "description": "Utilities for interacting with Dataverse environments",
6
6
  "main": "lib/index.js",