pico-engine 1.6.0 → 1.6.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pico-engine",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "An implementation of the pico-engine targeting node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"!test/helpers/**/*"
|
|
113
113
|
]
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "239f23e636291da954c9eca31ab2454e07193bfa"
|
|
116
116
|
}
|
|
@@ -39,7 +39,7 @@ event:send({
|
|
|
39
39
|
}, host) // optional host for remote ECI
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
**
|
|
42
|
+
**DID-based (1.6+) — send by DID** (requires an established DID-based subscription):
|
|
43
43
|
|
|
44
44
|
```krl
|
|
45
45
|
event:send({
|
|
@@ -50,7 +50,7 @@ event:send({
|
|
|
50
50
|
})
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
**
|
|
53
|
+
**DID-based — send via established subscription map** (from `subscription:established()` etc.):
|
|
54
54
|
|
|
55
55
|
```krl
|
|
56
56
|
event:send({
|
|
@@ -61,7 +61,7 @@ event:send({
|
|
|
61
61
|
})
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
When `bus.layer2` is true, routing uses `Tx_did` and DIDComm (or verified local dispatch on the same engine).
|
|
64
|
+
When `bus.layer2` is true (DID-based subscription), routing uses `Tx_did` and DIDComm (or verified local dispatch on the same engine). ECI-based subscriptions use `bus.Tx` and optional `bus.Tx_host` as before.
|
|
65
65
|
|
|
66
66
|
## event:attr
|
|
67
67
|
|