@napplet/sdk 0.34.0 → 0.34.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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -197,7 +197,7 @@ if (!result.ok) throw new Error(result.error);
|
|
|
197
197
|
console.log(`Accepted by ${result.handler}`);
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
Intent calls derive archetype and action from the URI. An `ok: true` result means the runtime accepted delivery responsibility and includes the normalized identity and handler catalog identifier; an `ok: false` result includes `error`. Targets receive runtime-attested `IntentDelivery` values through `onDelivery`, including deliveries retained before registration.
|
|
200
|
+
Intent calls derive archetype and action from the URI. An `ok: true` result means the runtime accepted delivery responsibility and includes the normalized identity and handler catalog identifier; an `ok: false` result includes `error`. Targets receive runtime-attested `IntentDelivery` values through `onDelivery`, including deliveries retained before registration. `sender` is the runtime-attested source catalog identifier. A shell replay to a selected instance is an ordinary delivery whose `sender` is the target's own catalog identifier. Deliveries carry no `id`. This follows the [NAP-INTENT selected-instance delivery draft](https://github.com/napplet/naps/pull/128). Behavior hints are `focus` and `reuse`. This non-normative guidance defers to the living [NAP-INTENT](https://github.com/napplet/naps/blob/master/naps/NAP-INTENT.md).
|
|
201
201
|
|
|
202
202
|
### `storage`
|
|
203
203
|
|
|
@@ -545,7 +545,7 @@ if (window.napplet?.navigation && window.napplet?.intent) {
|
|
|
545
545
|
}
|
|
546
546
|
```
|
|
547
547
|
|
|
548
|
-
Report an initial and every subsequent committed view; `null` means no eligible advertised invocation represents it. The runtime owns history and Back/Forward requests, delivered through `intent.onDelivery`. Serialize transitions and reports,
|
|
548
|
+
Report an initial and every subsequent committed view; `null` means no eligible advertised invocation represents it. The runtime owns history and Back/Forward requests, delivered through `intent.onDelivery`. Serialize transitions and reports, report the actual committed location after each delivery, and inspect structured rejections before relying on shell history. Missing domains use the SDK's normal unavailable-domain error. This non-normative API guide follows the [NAP-NAVIGATION draft](https://github.com/napplet/naps/pull/126) and [NAP-INTENT delivery draft](https://github.com/napplet/naps/pull/128); see the [router integration guide](../../apps/docs/naps/navigation.md).
|
|
549
549
|
|
|
550
550
|
### Language model inference
|
|
551
551
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@napplet/sdk",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.1",
|
|
4
4
|
"description": "Typed named exports wrapping window.napplet for bundler-consuming napplet developers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@napplet/core": "0.
|
|
52
|
-
"@napplet/nap": "0.
|
|
51
|
+
"@napplet/core": "0.41.0",
|
|
52
|
+
"@napplet/nap": "0.40.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsup": "^8.5.0",
|