pacc 3.9.0 → 3.9.1

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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +1 -1
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.9.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true