techne-sdk 0.15.0 → 0.15.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/CHANGELOG.md +40 -0
- package/dist/catalog/catalog.gen.js +147 -26
- package/dist/generated/index.d.ts +28 -0
- package/dist/generated/index.js +36 -0
- package/dist/generated/lexicons.d.ts +64 -10
- package/dist/generated/lexicons.js +39 -5
- package/dist/generated/nsid.d.ts +1 -0
- package/dist/generated/nsid.js +1 -0
- package/dist/generated/nsid.json +1 -0
- package/dist/generated/records.d.ts +8 -6
- package/dist/generated/types/pub/techne/draft/unfollow.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/unfollow.js +12 -0
- package/dist/generated/types/pub/techne/draft/verdict.d.ts +2 -2
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +10815 -10813
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
3
3
|
`techne-sdk` on npm and the `techne-sdk` crate share a version. Each entry names what changes for an app or
|
|
4
4
|
a crate user.
|
|
5
5
|
|
|
6
|
+
## 0.15.1 (2026-12-02)
|
|
7
|
+
|
|
8
|
+
Inputs: a private unfollow for the curators everyone follows by default. Exports are added; none is removed or
|
|
9
|
+
renamed, and no function changes meaning. Ship after the platform that reads this lexicon is on prod: an older
|
|
10
|
+
platform refuses a write to `pub.techne.draft.unfollow`. npm 0.15.1 and crate 0.15.1 are built from the same
|
|
11
|
+
commit; the crate's code is unchanged and moves to check 0.3.48.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`NSID.UNFOLLOW`** (`pub.techne.draft.unfollow`, key = the unfollowed DID; `subject`, `createdAt`), with its
|
|
16
|
+
record type (`techne-sdk/types/pub/techne/draft/unfollow`, `PubTechneDraftUnfollow.Record`). The owner
|
|
17
|
+
stopped following someone they follow by default (Beacon: a local curator); a missing record means followed,
|
|
18
|
+
and following again deletes it. Private: write it with `put` and
|
|
19
|
+
`space: at://<your DID>/pub.techne.draft.space.personal/self`.
|
|
20
|
+
- **`pub.techne.draft.verdict` `values`** gains the known value `cleared`: an admin writer lifts the `spam`
|
|
21
|
+
and `obscene` verdicts on the exact version it names (never `!takedown`).
|
|
22
|
+
- **`startPhoneSignup` and `beginPasskeySignup` `turnstileToken`** (optional string) in the platform's
|
|
23
|
+
published API (the catalog and the method lexicons). `startPhoneSignIn` does not send one.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **`pub.techne.draft.notificationPref` description** (text only): with no record, `curator.picks` is now on
|
|
28
|
+
by default (it said off), and the notifier reads the owner's `unfollow` records. `curator.new` is no longer
|
|
29
|
+
read: everyone gets that notice, and an old record turning it off is ignored.
|
|
30
|
+
- **`pub.techne.draft.follow` description** (text only): Beacon no longer writes it; following a steward
|
|
31
|
+
curator is the default and `pub.techne.draft.unfollow` records the opt-out. Existing records are left in
|
|
32
|
+
place and nothing reads them. Its placement entry's citation says the same.
|
|
33
|
+
|
|
34
|
+
### Inputs
|
|
35
|
+
|
|
36
|
+
- **Lexicons `v0.1.22-techne.114` (`3c3a5709d`), check crate `techne-lexicon-check` 0.3.48** (exact, from
|
|
37
|
+
crates.io). `space.personal`
|
|
38
|
+
and `placement` admit `pub.techne.draft.unfollow`. techne.113 and check 0.3.47 went to lexicons PR
|
|
39
|
+
e475bbed (check 0.3.47 carrying techne.112's `cleared` text), so the unfollow lexicon is rebuilt on top of
|
|
40
|
+
techne.113 and takes the next tag and check version. The commons `setSteward` and the provenance policy
|
|
41
|
+
changes in techne.110 to techne.113 are not SDK inputs and change nothing here.
|
|
42
|
+
- **Platform API at platform `main` `13dee9ea5`**. Adds
|
|
43
|
+
`turnstileToken` and named errors (`beginPasskeySignup`, `proposeIntro`, `startPhoneSignup`
|
|
44
|
+
`InvalidRequest`); the other method lexicons change only in descriptions.
|
|
45
|
+
|
|
6
46
|
## 0.15.0 (2026-12-01)
|
|
7
47
|
|
|
8
48
|
Inputs: the hidden guest list, curator follows and notification switches, an evaluation's photo. Exports are
|
|
@@ -6143,7 +6143,7 @@ export const catalog = {
|
|
|
6143
6143
|
"doc": ({
|
|
6144
6144
|
"lexicon": 1,
|
|
6145
6145
|
"id": "pub.techne.draft.follow",
|
|
6146
|
-
"description": "The owner follows a person
|
|
6146
|
+
"description": "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.",
|
|
6147
6147
|
"defs": {
|
|
6148
6148
|
"main": {
|
|
6149
6149
|
"type": "record",
|
|
@@ -10402,7 +10402,7 @@ export const catalog = {
|
|
|
10402
10402
|
"doc": ({
|
|
10403
10403
|
"lexicon": 1,
|
|
10404
10404
|
"id": "pub.techne.draft.notificationPref",
|
|
10405
|
-
"description": "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.
|
|
10405
|
+
"description": "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.",
|
|
10406
10406
|
"defs": {
|
|
10407
10407
|
"main": {
|
|
10408
10408
|
"type": "record",
|
|
@@ -18413,6 +18413,63 @@ export const catalog = {
|
|
|
18413
18413
|
}
|
|
18414
18414
|
})
|
|
18415
18415
|
},
|
|
18416
|
+
{
|
|
18417
|
+
"nsid": "pub.techne.draft.unfollow",
|
|
18418
|
+
"name": "draft.unfollow",
|
|
18419
|
+
"group": "pub.techne",
|
|
18420
|
+
"kind": "record",
|
|
18421
|
+
"key": "any",
|
|
18422
|
+
"description": "The record key is the subject's DID.",
|
|
18423
|
+
"fields": [
|
|
18424
|
+
{
|
|
18425
|
+
"name": "subject",
|
|
18426
|
+
"type": "string<did>",
|
|
18427
|
+
"required": true,
|
|
18428
|
+
"description": "The person unfollowed."
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"name": "createdAt",
|
|
18432
|
+
"type": "string<datetime>",
|
|
18433
|
+
"required": true
|
|
18434
|
+
}
|
|
18435
|
+
],
|
|
18436
|
+
"doc": ({
|
|
18437
|
+
"lexicon": 1,
|
|
18438
|
+
"id": "pub.techne.draft.unfollow",
|
|
18439
|
+
"description": "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.",
|
|
18440
|
+
"defs": {
|
|
18441
|
+
"main": {
|
|
18442
|
+
"type": "record",
|
|
18443
|
+
"key": "any",
|
|
18444
|
+
"description": "The record key is the subject's DID.",
|
|
18445
|
+
"record": {
|
|
18446
|
+
"type": "object",
|
|
18447
|
+
"required": [
|
|
18448
|
+
"subject",
|
|
18449
|
+
"createdAt"
|
|
18450
|
+
],
|
|
18451
|
+
"properties": {
|
|
18452
|
+
"subject": {
|
|
18453
|
+
"type": "string",
|
|
18454
|
+
"format": "did",
|
|
18455
|
+
"description": "The person unfollowed."
|
|
18456
|
+
},
|
|
18457
|
+
"createdAt": {
|
|
18458
|
+
"type": "string",
|
|
18459
|
+
"format": "datetime"
|
|
18460
|
+
}
|
|
18461
|
+
}
|
|
18462
|
+
}
|
|
18463
|
+
}
|
|
18464
|
+
}
|
|
18465
|
+
}),
|
|
18466
|
+
"homes": [
|
|
18467
|
+
{
|
|
18468
|
+
"space": "pub.techne.draft.space.personal",
|
|
18469
|
+
"unbuilt": true
|
|
18470
|
+
}
|
|
18471
|
+
]
|
|
18472
|
+
},
|
|
18416
18473
|
{
|
|
18417
18474
|
"nsid": "pub.techne.draft.verdict",
|
|
18418
18475
|
"name": "draft.verdict",
|
|
@@ -18431,7 +18488,7 @@ export const catalog = {
|
|
|
18431
18488
|
"name": "values",
|
|
18432
18489
|
"type": "array<string>",
|
|
18433
18490
|
"required": true,
|
|
18434
|
-
"description": "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing."
|
|
18491
|
+
"description": "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps)."
|
|
18435
18492
|
},
|
|
18436
18493
|
{
|
|
18437
18494
|
"name": "createdAt",
|
|
@@ -18442,7 +18499,7 @@ export const catalog = {
|
|
|
18442
18499
|
"doc": ({
|
|
18443
18500
|
"lexicon": 1,
|
|
18444
18501
|
"id": "pub.techne.draft.verdict",
|
|
18445
|
-
"description": "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get
|
|
18502
|
+
"description": "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.",
|
|
18446
18503
|
"defs": {
|
|
18447
18504
|
"main": {
|
|
18448
18505
|
"type": "record",
|
|
@@ -18472,10 +18529,11 @@ export const catalog = {
|
|
|
18472
18529
|
"spam",
|
|
18473
18530
|
"obscene",
|
|
18474
18531
|
"!takedown",
|
|
18475
|
-
"declined"
|
|
18532
|
+
"declined",
|
|
18533
|
+
"cleared"
|
|
18476
18534
|
]
|
|
18477
18535
|
},
|
|
18478
|
-
"description": "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing."
|
|
18536
|
+
"description": "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps)."
|
|
18479
18537
|
},
|
|
18480
18538
|
"createdAt": {
|
|
18481
18539
|
"type": "string",
|
|
@@ -19656,6 +19714,7 @@ export const catalog = {
|
|
|
19656
19714
|
"pub.techne.draft.attentionPrefs",
|
|
19657
19715
|
"pub.techne.draft.subjectPrefs",
|
|
19658
19716
|
"pub.techne.draft.follow",
|
|
19717
|
+
"pub.techne.draft.unfollow",
|
|
19659
19718
|
"pub.techne.draft.notificationPref",
|
|
19660
19719
|
"pub.techne.draft.notificationState",
|
|
19661
19720
|
"pub.techne.draft.appAccess",
|
|
@@ -19701,6 +19760,7 @@ export const catalog = {
|
|
|
19701
19760
|
"pub.techne.draft.attentionPrefs",
|
|
19702
19761
|
"pub.techne.draft.subjectPrefs",
|
|
19703
19762
|
"pub.techne.draft.follow",
|
|
19763
|
+
"pub.techne.draft.unfollow",
|
|
19704
19764
|
"pub.techne.draft.notificationPref",
|
|
19705
19765
|
"pub.techne.draft.notificationState",
|
|
19706
19766
|
"pub.techne.draft.appAccess",
|
|
@@ -20325,12 +20385,17 @@ export const catalog = {
|
|
|
20325
20385
|
{
|
|
20326
20386
|
"collection": "pub.techne.draft.follow",
|
|
20327
20387
|
"space": "pub.techne.draft.space.personal",
|
|
20328
|
-
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer.
|
|
20388
|
+
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): was written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. Since batch-thanksgiving checklist item 4097f5e5 (2026-12-02) Beacon no longer writes it and the curator notifier no longer reads it: following is the default and pub.techne.draft.unfollow records the opt-out."
|
|
20329
20389
|
},
|
|
20330
20390
|
{
|
|
20331
20391
|
"collection": "pub.techne.draft.notificationPref",
|
|
20332
20392
|
"space": "pub.techne.draft.space.personal",
|
|
20333
|
-
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's
|
|
20393
|
+
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators switches, 9f71195c; since batch-thanksgiving item 4097f5e5, 2026-12-02, only the picks switch); no platform writer. The curator notifier (8a5b25f7) reads its `curator.picks` record."
|
|
20394
|
+
},
|
|
20395
|
+
{
|
|
20396
|
+
"collection": "pub.techne.draft.unfollow",
|
|
20397
|
+
"space": "pub.techne.draft.space.personal",
|
|
20398
|
+
"cite": "batch-thanksgiving 4097f5e5 (2026-12-02): written only by the app with the generic private write (Beacon's Local curators Following switch, af763d58); no platform writer. The curator notifier (5fd5b243) reads it."
|
|
20334
20399
|
}
|
|
20335
20400
|
],
|
|
20336
20401
|
"doc": ({
|
|
@@ -20462,12 +20527,17 @@ export const catalog = {
|
|
|
20462
20527
|
{
|
|
20463
20528
|
"collection": "pub.techne.draft.follow",
|
|
20464
20529
|
"space": "pub.techne.draft.space.personal",
|
|
20465
|
-
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer.
|
|
20530
|
+
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): was written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. Since batch-thanksgiving checklist item 4097f5e5 (2026-12-02) Beacon no longer writes it and the curator notifier no longer reads it: following is the default and pub.techne.draft.unfollow records the opt-out."
|
|
20466
20531
|
},
|
|
20467
20532
|
{
|
|
20468
20533
|
"collection": "pub.techne.draft.notificationPref",
|
|
20469
20534
|
"space": "pub.techne.draft.space.personal",
|
|
20470
|
-
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's
|
|
20535
|
+
"cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators switches, 9f71195c; since batch-thanksgiving item 4097f5e5, 2026-12-02, only the picks switch); no platform writer. The curator notifier (8a5b25f7) reads its `curator.picks` record."
|
|
20536
|
+
},
|
|
20537
|
+
{
|
|
20538
|
+
"collection": "pub.techne.draft.unfollow",
|
|
20539
|
+
"space": "pub.techne.draft.space.personal",
|
|
20540
|
+
"cite": "batch-thanksgiving 4097f5e5 (2026-12-02): written only by the app with the generic private write (Beacon's Local curators Following switch, af763d58); no platform writer. The curator notifier (5fd5b243) reads it."
|
|
20471
20541
|
}
|
|
20472
20542
|
]
|
|
20473
20543
|
}
|
|
@@ -21160,13 +21230,13 @@ export const catalog = {
|
|
|
21160
21230
|
"group": "social.scenius",
|
|
21161
21231
|
"kind": "procedure",
|
|
21162
21232
|
"class": "write",
|
|
21163
|
-
"description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.
|
|
21233
|
+
"description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.placeV2` (the pin and address as its `locations`, no `identifiers`), no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
|
|
21164
21234
|
"input": [
|
|
21165
21235
|
{
|
|
21166
21236
|
"name": "kind",
|
|
21167
21237
|
"type": "string (enum)",
|
|
21168
21238
|
"required": true,
|
|
21169
|
-
"description": "The commons write-path arm; each writes a `pub.techne.draft.
|
|
21239
|
+
"description": "The commons write-path arm; each writes a `pub.techne.draft.placeV2`.",
|
|
21170
21240
|
"knownValues": [
|
|
21171
21241
|
"business",
|
|
21172
21242
|
"publicSpace",
|
|
@@ -21242,7 +21312,7 @@ export const catalog = {
|
|
|
21242
21312
|
"defs": {
|
|
21243
21313
|
"main": {
|
|
21244
21314
|
"type": "procedure",
|
|
21245
|
-
"description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.
|
|
21315
|
+
"description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.placeV2` (the pin and address as its `locations`, no `identifiers`), no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
|
|
21246
21316
|
"input": {
|
|
21247
21317
|
"encoding": "application/json",
|
|
21248
21318
|
"schema": {
|
|
@@ -21259,7 +21329,7 @@ export const catalog = {
|
|
|
21259
21329
|
"publicSpace",
|
|
21260
21330
|
"group"
|
|
21261
21331
|
],
|
|
21262
|
-
"description": "The commons write-path arm; each writes a `pub.techne.draft.
|
|
21332
|
+
"description": "The commons write-path arm; each writes a `pub.techne.draft.placeV2`."
|
|
21263
21333
|
},
|
|
21264
21334
|
"name": {
|
|
21265
21335
|
"type": "string",
|
|
@@ -22561,6 +22631,12 @@ export const catalog = {
|
|
|
22561
22631
|
"type": "string",
|
|
22562
22632
|
"required": false,
|
|
22563
22633
|
"description": "The calling app's web origin, selecting the `PasskeyRegistry` RP instance. Native sends none."
|
|
22634
|
+
},
|
|
22635
|
+
{
|
|
22636
|
+
"name": "turnstileToken",
|
|
22637
|
+
"type": "string",
|
|
22638
|
+
"required": false,
|
|
22639
|
+
"description": "The Cloudflare Turnstile widget's response token for this sign-up. Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (an error answer) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent."
|
|
22564
22640
|
}
|
|
22565
22641
|
],
|
|
22566
22642
|
"output": [
|
|
@@ -22592,6 +22668,11 @@ export const catalog = {
|
|
|
22592
22668
|
"origin": {
|
|
22593
22669
|
"type": "string",
|
|
22594
22670
|
"description": "The calling app's web origin, selecting the `PasskeyRegistry` RP instance. Native sends none."
|
|
22671
|
+
},
|
|
22672
|
+
"turnstileToken": {
|
|
22673
|
+
"type": "string",
|
|
22674
|
+
"maxLength": 2048,
|
|
22675
|
+
"description": "The Cloudflare Turnstile widget's response token for this sign-up. Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (an error answer) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent."
|
|
22595
22676
|
}
|
|
22596
22677
|
}
|
|
22597
22678
|
}
|
|
@@ -22615,7 +22696,25 @@ export const catalog = {
|
|
|
22615
22696
|
}
|
|
22616
22697
|
}
|
|
22617
22698
|
}
|
|
22618
|
-
}
|
|
22699
|
+
},
|
|
22700
|
+
"errors": [
|
|
22701
|
+
{
|
|
22702
|
+
"name": "RateLimited",
|
|
22703
|
+
"description": "Too many passkey sign-ups from this address (HTTP 429, no Retry-After). Try again later; the same Turnstile token may be resent."
|
|
22704
|
+
},
|
|
22705
|
+
{
|
|
22706
|
+
"name": "PasskeyUnavailable",
|
|
22707
|
+
"description": "Passkeys are not configured on this deployment (HTTP 503)."
|
|
22708
|
+
},
|
|
22709
|
+
{
|
|
22710
|
+
"name": "InvalidRequest",
|
|
22711
|
+
"description": "The origin is not one this deployment has a passkey relying party for (HTTP 400), or the body is past 16 KiB (HTTP 413). Also when TURNSTILE_MODE is enforce and the Turnstile token is missing or did not pass, or Cloudflare could not be asked (message \"complete the check and try again\"; try again with the same token). Nothing was minted."
|
|
22712
|
+
},
|
|
22713
|
+
{
|
|
22714
|
+
"name": "AccountSuspended",
|
|
22715
|
+
"description": "The account is suspended (HTTP 403)."
|
|
22716
|
+
}
|
|
22717
|
+
]
|
|
22619
22718
|
}
|
|
22620
22719
|
}
|
|
22621
22720
|
})
|
|
@@ -25319,7 +25418,7 @@ export const catalog = {
|
|
|
25319
25418
|
},
|
|
25320
25419
|
{
|
|
25321
25420
|
"name": "CodeExpired",
|
|
25322
|
-
"description": "This sign-in is over: no tries left, the code expired, or
|
|
25421
|
+
"description": "This sign-in is over: no tries left, the code expired, our PDS refused the request as malformed, or the code was accepted but the sign-in could not finish. Ask for a new code."
|
|
25323
25422
|
},
|
|
25324
25423
|
{
|
|
25325
25424
|
"name": "MethodFrozen",
|
|
@@ -32051,13 +32150,13 @@ export const catalog = {
|
|
|
32051
32150
|
"group": "social.scenius",
|
|
32052
32151
|
"kind": "procedure",
|
|
32053
32152
|
"class": "write",
|
|
32054
|
-
"description": "The connector authors a private introProposal between two existing members. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
|
|
32153
|
+
"description": "The connector authors a private introProposal between two existing members, neither of them the connector. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
|
|
32055
32154
|
"input": [
|
|
32056
32155
|
{
|
|
32057
32156
|
"name": "parties",
|
|
32058
32157
|
"type": "array<string>",
|
|
32059
32158
|
"required": true,
|
|
32060
|
-
"description": "Exactly the two party DIDs to introduce."
|
|
32159
|
+
"description": "Exactly the two party DIDs to introduce: two distinct people, both existing accounts, and neither the connector (any DID of the connector's person)."
|
|
32061
32160
|
},
|
|
32062
32161
|
{
|
|
32063
32162
|
"name": "contexts",
|
|
@@ -32098,7 +32197,7 @@ export const catalog = {
|
|
|
32098
32197
|
"defs": {
|
|
32099
32198
|
"main": {
|
|
32100
32199
|
"type": "procedure",
|
|
32101
|
-
"description": "The connector authors a private introProposal between two existing members. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
|
|
32200
|
+
"description": "The connector authors a private introProposal between two existing members, neither of them the connector. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
|
|
32102
32201
|
"input": {
|
|
32103
32202
|
"encoding": "application/json",
|
|
32104
32203
|
"schema": {
|
|
@@ -32110,7 +32209,7 @@ export const catalog = {
|
|
|
32110
32209
|
"properties": {
|
|
32111
32210
|
"parties": {
|
|
32112
32211
|
"type": "array",
|
|
32113
|
-
"description": "Exactly the two party DIDs to introduce.",
|
|
32212
|
+
"description": "Exactly the two party DIDs to introduce: two distinct people, both existing accounts, and neither the connector (any DID of the connector's person).",
|
|
32114
32213
|
"minLength": 2,
|
|
32115
32214
|
"maxLength": 2,
|
|
32116
32215
|
"items": {
|
|
@@ -32159,7 +32258,17 @@ export const catalog = {
|
|
|
32159
32258
|
}
|
|
32160
32259
|
}
|
|
32161
32260
|
}
|
|
32162
|
-
}
|
|
32261
|
+
},
|
|
32262
|
+
"errors": [
|
|
32263
|
+
{
|
|
32264
|
+
"name": "InvalidRequest",
|
|
32265
|
+
"description": "The parties are not two distinct existing accounts, one of them is the connector (you cannot introduce yourself), or a field is malformed (HTTP 400). Also an `origin` that names no record this AppView knows, or a bad cid."
|
|
32266
|
+
},
|
|
32267
|
+
{
|
|
32268
|
+
"name": "RecordPending",
|
|
32269
|
+
"description": "The `origin` record is moving to its new lexicon name; try again shortly (HTTP 409)."
|
|
32270
|
+
}
|
|
32271
|
+
]
|
|
32163
32272
|
},
|
|
32164
32273
|
"context": {
|
|
32165
32274
|
"type": "object",
|
|
@@ -35703,7 +35812,7 @@ export const catalog = {
|
|
|
35703
35812
|
"group": "social.scenius",
|
|
35704
35813
|
"kind": "procedure",
|
|
35705
35814
|
"class": "write",
|
|
35706
|
-
"description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited,
|
|
35815
|
+
"description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited, except for the errors listed below. In particular: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After); and when no code could be sent at all, Unavailable. With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
|
|
35707
35816
|
"input": [
|
|
35708
35817
|
{
|
|
35709
35818
|
"name": "phone",
|
|
@@ -35720,6 +35829,12 @@ export const catalog = {
|
|
|
35720
35829
|
"name": "attest",
|
|
35721
35830
|
"type": "→ #attest",
|
|
35722
35831
|
"required": false
|
|
35832
|
+
},
|
|
35833
|
+
{
|
|
35834
|
+
"name": "turnstileToken",
|
|
35835
|
+
"type": "string",
|
|
35836
|
+
"required": false,
|
|
35837
|
+
"description": "The Cloudflare Turnstile widget's response token for this sign-up (on a native app, the hosted Turnstile page's). Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (after UseDpopNonce, a 429 or a 503) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent (the endpoints step, `ownSession:{}`, starts nothing and spends nothing)."
|
|
35723
35838
|
}
|
|
35724
35839
|
],
|
|
35725
35840
|
"output": [
|
|
@@ -35740,7 +35855,7 @@ export const catalog = {
|
|
|
35740
35855
|
"defs": {
|
|
35741
35856
|
"main": {
|
|
35742
35857
|
"type": "procedure",
|
|
35743
|
-
"description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited,
|
|
35858
|
+
"description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited, except for the errors listed below. In particular: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After); and when no code could be sent at all, Unavailable. With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
|
|
35744
35859
|
"input": {
|
|
35745
35860
|
"encoding": "application/json",
|
|
35746
35861
|
"schema": {
|
|
@@ -35760,6 +35875,11 @@ export const catalog = {
|
|
|
35760
35875
|
"attest": {
|
|
35761
35876
|
"type": "ref",
|
|
35762
35877
|
"ref": "#attest"
|
|
35878
|
+
},
|
|
35879
|
+
"turnstileToken": {
|
|
35880
|
+
"type": "string",
|
|
35881
|
+
"maxLength": 2048,
|
|
35882
|
+
"description": "The Cloudflare Turnstile widget's response token for this sign-up (on a native app, the hosted Turnstile page's). Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (after UseDpopNonce, a 429 or a 503) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent (the endpoints step, `ownSession:{}`, starts nothing and spends nothing)."
|
|
35763
35883
|
}
|
|
35764
35884
|
}
|
|
35765
35885
|
}
|
|
@@ -35784,7 +35904,8 @@ export const catalog = {
|
|
|
35784
35904
|
},
|
|
35785
35905
|
"errors": [
|
|
35786
35906
|
{
|
|
35787
|
-
"name": "InvalidRequest"
|
|
35907
|
+
"name": "InvalidRequest",
|
|
35908
|
+
"description": "The number cannot get a code: not E.164, a +1 area code that cannot exist, or one our PDS's SMS provider says cannot take a text. Also a malformed body (ownSession, attest). For the number or the body: correct it; asking again unchanged gets the same answer. Also when TURNSTILE_MODE is enforce and the Turnstile token is missing or did not pass, or Cloudflare could not be asked (message \"complete the check and try again\"; try again with the same token). Nothing was texted."
|
|
35788
35909
|
},
|
|
35789
35910
|
{
|
|
35790
35911
|
"name": "RateLimitExceeded",
|
|
@@ -35792,7 +35913,7 @@ export const catalog = {
|
|
|
35792
35913
|
},
|
|
35793
35914
|
{
|
|
35794
35915
|
"name": "Unavailable",
|
|
35795
|
-
"description": "No code
|
|
35916
|
+
"description": "No code was sent, for a reason that is not the number: phone sign-in is off here, our PDS is unreachable or refused the start, or the start could not be saved. Try again later."
|
|
35796
35917
|
},
|
|
35797
35918
|
{
|
|
35798
35919
|
"name": "UseDpopNonce",
|
|
@@ -36902,7 +37023,7 @@ export const catalog = {
|
|
|
36902
37023
|
}
|
|
36903
37024
|
],
|
|
36904
37025
|
"counts": {
|
|
36905
|
-
"records":
|
|
37026
|
+
"records": 203,
|
|
36906
37027
|
"spaces": 14,
|
|
36907
37028
|
"predicates": 10,
|
|
36908
37029
|
"methods": 132
|
|
@@ -141,6 +141,7 @@ import * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
|
|
|
141
141
|
import * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
142
142
|
import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
143
143
|
import * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
144
|
+
import * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
|
|
144
145
|
import * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
145
146
|
import * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
146
147
|
import * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -317,6 +318,7 @@ export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
|
|
|
317
318
|
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
318
319
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
319
320
|
export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
321
|
+
export * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
|
|
320
322
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
321
323
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
322
324
|
export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -609,6 +611,7 @@ export declare class PubTechneDraftNS {
|
|
|
609
611
|
subjectPrefs: PubTechneDraftSubjectPrefsRecord;
|
|
610
612
|
summary: PubTechneDraftSummaryRecord;
|
|
611
613
|
tagFeedback: PubTechneDraftTagFeedbackRecord;
|
|
614
|
+
unfollow: PubTechneDraftUnfollowRecord;
|
|
612
615
|
verdict: PubTechneDraftVerdictRecord;
|
|
613
616
|
verification: PubTechneDraftVerificationRecord;
|
|
614
617
|
weeklyCheckIn: PubTechneDraftWeeklyCheckInRecord;
|
|
@@ -2683,6 +2686,31 @@ export declare class PubTechneDraftTagFeedbackRecord {
|
|
|
2683
2686
|
}>;
|
|
2684
2687
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2685
2688
|
}
|
|
2689
|
+
export declare class PubTechneDraftUnfollowRecord {
|
|
2690
|
+
_client: XrpcClient;
|
|
2691
|
+
constructor(client: XrpcClient);
|
|
2692
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2693
|
+
cursor?: string;
|
|
2694
|
+
records: {
|
|
2695
|
+
uri: string;
|
|
2696
|
+
value: PubTechneDraftUnfollow.Record;
|
|
2697
|
+
}[];
|
|
2698
|
+
}>;
|
|
2699
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2700
|
+
uri: string;
|
|
2701
|
+
cid: string;
|
|
2702
|
+
value: PubTechneDraftUnfollow.Record;
|
|
2703
|
+
}>;
|
|
2704
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftUnfollow.Record>, headers?: Record<string, string>): Promise<{
|
|
2705
|
+
uri: string;
|
|
2706
|
+
cid: string;
|
|
2707
|
+
}>;
|
|
2708
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftUnfollow.Record>, headers?: Record<string, string>): Promise<{
|
|
2709
|
+
uri: string;
|
|
2710
|
+
cid: string;
|
|
2711
|
+
}>;
|
|
2712
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2713
|
+
}
|
|
2686
2714
|
export declare class PubTechneDraftVerdictRecord {
|
|
2687
2715
|
_client: XrpcClient;
|
|
2688
2716
|
constructor(client: XrpcClient);
|
package/dist/generated/index.js
CHANGED
|
@@ -228,6 +228,7 @@ export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
|
|
|
228
228
|
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
229
229
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
230
230
|
export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
231
|
+
export * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
|
|
231
232
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
232
233
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
233
234
|
export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -644,6 +645,7 @@ export class PubTechneDraftNS {
|
|
|
644
645
|
subjectPrefs;
|
|
645
646
|
summary;
|
|
646
647
|
tagFeedback;
|
|
648
|
+
unfollow;
|
|
647
649
|
verdict;
|
|
648
650
|
verification;
|
|
649
651
|
weeklyCheckIn;
|
|
@@ -738,6 +740,7 @@ export class PubTechneDraftNS {
|
|
|
738
740
|
this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
|
|
739
741
|
this.summary = new PubTechneDraftSummaryRecord(client);
|
|
740
742
|
this.tagFeedback = new PubTechneDraftTagFeedbackRecord(client);
|
|
743
|
+
this.unfollow = new PubTechneDraftUnfollowRecord(client);
|
|
741
744
|
this.verdict = new PubTechneDraftVerdictRecord(client);
|
|
742
745
|
this.verification = new PubTechneDraftVerificationRecord(client);
|
|
743
746
|
this.weeklyCheckIn = new PubTechneDraftWeeklyCheckInRecord(client);
|
|
@@ -3803,6 +3806,39 @@ export class PubTechneDraftTagFeedbackRecord {
|
|
|
3803
3806
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.tagFeedback', ...params }, { headers });
|
|
3804
3807
|
}
|
|
3805
3808
|
}
|
|
3809
|
+
export class PubTechneDraftUnfollowRecord {
|
|
3810
|
+
_client;
|
|
3811
|
+
constructor(client) {
|
|
3812
|
+
this._client = client;
|
|
3813
|
+
}
|
|
3814
|
+
async list(params) {
|
|
3815
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3816
|
+
collection: 'pub.techne.draft.unfollow',
|
|
3817
|
+
...params,
|
|
3818
|
+
});
|
|
3819
|
+
return res.data;
|
|
3820
|
+
}
|
|
3821
|
+
async get(params) {
|
|
3822
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3823
|
+
collection: 'pub.techne.draft.unfollow',
|
|
3824
|
+
...params,
|
|
3825
|
+
});
|
|
3826
|
+
return res.data;
|
|
3827
|
+
}
|
|
3828
|
+
async create(params, record, headers) {
|
|
3829
|
+
const collection = 'pub.techne.draft.unfollow';
|
|
3830
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3831
|
+
return res.data;
|
|
3832
|
+
}
|
|
3833
|
+
async put(params, record, headers) {
|
|
3834
|
+
const collection = 'pub.techne.draft.unfollow';
|
|
3835
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3836
|
+
return res.data;
|
|
3837
|
+
}
|
|
3838
|
+
async delete(params, headers) {
|
|
3839
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.unfollow', ...params }, { headers });
|
|
3840
|
+
}
|
|
3841
|
+
}
|
|
3806
3842
|
export class PubTechneDraftVerdictRecord {
|
|
3807
3843
|
_client;
|
|
3808
3844
|
constructor(client) {
|