@onlyworlds/sdk 4.36.1 → 4.36.2
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.36.2] - 2026-10-20
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `pinExpectation`'s doc comment: a legacy key that can write sends its PIN on every read of a world that has one, whether or not the world is open to read (keel #421 PR 105, the demo split). The `'required-for-private-reads'` literal keeps its name until 5.0, since renaming a literal in a published union is a type break. A demo-range key is kind `legacy` too and never needs a PIN. No code change.
|
|
13
|
+
|
|
8
14
|
## [4.36.1] - 2026-10-20
|
|
9
15
|
|
|
10
16
|
### Changed
|
package/dist/index.d.ts
CHANGED
|
@@ -2763,8 +2763,11 @@ declare function detectKeyKind(key: string): OwKeyKind;
|
|
|
2763
2763
|
declare function kindCanWrite(kind: OwKeyKind): boolean;
|
|
2764
2764
|
/**
|
|
2765
2765
|
* Should a credential UI ask for a PIN with this key?
|
|
2766
|
-
* Prefixed keys read PIN-less;
|
|
2767
|
-
*
|
|
2766
|
+
* Prefixed keys read PIN-less; writes on pinned worlds always need it. 'optional' means: show
|
|
2767
|
+
* the field, don't require it. A legacy key that can write sends its PIN on every read of a
|
|
2768
|
+
* world that has one, whether or not the world is open to read (keel #421 PR 105, 2026-10-20):
|
|
2769
|
+
* the literal `'required-for-private-reads'` predates that rule and keeps its name until 5.0.
|
|
2770
|
+
* A demo-range key (`isDemoKey`) is also kind `legacy` and never needs a PIN.
|
|
2768
2771
|
*/
|
|
2769
2772
|
declare function pinExpectation(kind: OwKeyKind): 'never' | 'optional' | 'required-for-private-reads';
|
|
2770
2773
|
|