pacc 3.9.0 → 3.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.
package/README.md CHANGED
@@ -48,6 +48,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
48
48
  * [uuid\_attribute](#uuid_attribute)
49
49
  * [empty\_attribute](#empty_attribute)
50
50
  * [secret\_attribute](#secret_attribute)
51
+ * [token\_attribute](#token_attribute)
51
52
  * [count\_attribute](#count_attribute)
52
53
  * [size\_attribute](#size_attribute)
53
54
  * [url\_attribute](#url_attribute)
@@ -207,6 +208,10 @@ Type: [AttributeDefinition](#attributedefinition)
207
208
 
208
209
  Type: [AttributeDefinition](#attributedefinition)
209
210
 
211
+ ## token\_attribute
212
+
213
+ Type: [AttributeDefinition](#attributedefinition)
214
+
210
215
  ## count\_attribute
211
216
 
212
217
  Type: [AttributeDefinition](#attributedefinition)
@@ -268,7 +273,9 @@ Create attributes from its definition.
268
273
 
269
274
  ### Parameters
270
275
 
271
- * `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
276
+ * `newDefinitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
277
+ * `presentDefinitions`  
278
+ * `baseDefinitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** optional merg in attributes
272
279
 
273
280
  Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** attributes
274
281
 
@@ -279,7 +286,7 @@ Merge attribute definitions.
279
286
  ### Parameters
280
287
 
281
288
  * `dest` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** attribute definitions to be used also the merge target
282
- * `atts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** attribute definitions to be used
289
+ * `atts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** attribute definitions to be used
283
290
 
284
291
  Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** merged definitions (dest)
285
292
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -109,6 +109,35 @@ export const token_attribute = {
109
109
  writable: true
110
110
  };
111
111
 
112
+ /**
113
+ * @type {AttributeDefinition}
114
+ */
115
+ export const certificate_attribute = {
116
+ ...default_attribute,
117
+ private: true,
118
+ writable: true
119
+ };
120
+
121
+ /**
122
+ * @type {AttributeDefinition}
123
+ */
124
+ export const private_key_attribute = {
125
+ ...default_attribute,
126
+ description: "private key",
127
+ private: true,
128
+ writable: true
129
+ };
130
+
131
+ /**
132
+ * @type {AttributeDefinition}
133
+ */
134
+ export const public_key_attribute = {
135
+ ...default_attribute,
136
+ description: "public key",
137
+ private: true,
138
+ writable: true
139
+ };
140
+
112
141
  /**
113
142
  * @type {AttributeDefinition}
114
143
  */
@@ -169,6 +198,17 @@ export const priority_attribute = {
169
198
  writable: true
170
199
  };
171
200
 
201
+ /**
202
+ * @type {AttributeDefinition}
203
+ */
204
+ export const timeout_attribute = {
205
+ ...default_attribute,
206
+ description: "timeout",
207
+ type: "number",
208
+ writable: true
209
+ };
210
+
211
+
172
212
  /**
173
213
  * @type {AttributeDefinition}
174
214
  */
@@ -60,6 +60,18 @@ export const secret_attribute: AttributeDefinition;
60
60
  * @type {AttributeDefinition}
61
61
  */
62
62
  export const token_attribute: AttributeDefinition;
63
+ /**
64
+ * @type {AttributeDefinition}
65
+ */
66
+ export const certificate_attribute: AttributeDefinition;
67
+ /**
68
+ * @type {AttributeDefinition}
69
+ */
70
+ export const private_key_attribute: AttributeDefinition;
71
+ /**
72
+ * @type {AttributeDefinition}
73
+ */
74
+ export const public_key_attribute: AttributeDefinition;
63
75
  /**
64
76
  * @type {AttributeDefinition}
65
77
  */
@@ -93,6 +105,10 @@ export const title_attribute: AttributeDefinition;
93
105
  * @type {AttributeDefinition}
94
106
  */
95
107
  export const priority_attribute: AttributeDefinition;
108
+ /**
109
+ * @type {AttributeDefinition}
110
+ */
111
+ export const timeout_attribute: AttributeDefinition;
96
112
  /**
97
113
  * @type {AttributeDefinition}
98
114
  */