tangled
alpha
login
or
join now
mary.my.id
/
boat
22
fork
atom
handy online tools for AT Protocol
boat.kelinci.net
atproto
bluesky
atcute
typescript
solidjs
22
fork
atom
overview
issues
pulls
pipelines
chore: fmt
mary.my.id
1 year ago
b29abae2
b2e15e29
verified
This commit was signed with the committer's
known signature
.
mary.my.id
SSH Key Fingerprint:
SHA256:ZlTP/auFSGpGnaoDg4mCTG1g9OZvXp62jWR4c6H4O3c=
+3
-2
2 changed files
expand all
collapse all
unified
split
src
views
identity
plc-applicator
steps
step1_handle-input.tsx
step2_private-key-input.tsx
+1
-1
src/views/identity/plc-applicator/steps/step1_handle-input.tsx
···
1
1
import { createSignal } from 'solid-js';
2
2
3
3
+
import { XRPCError } from '@atcute/client';
3
4
import { At } from '@atcute/client/lexicons';
4
5
5
6
import { getDidDocument } from '~/api/queries/did-doc';
···
16
17
17
18
import { type PlcInformation, PlcApplicatorConstraints } from '../page';
18
19
import { getPlcKeying } from '../plc-utils';
19
19
-
import { XRPCError } from '@atcute/client';
20
20
21
21
type Method = 'pds' | 'key';
22
22
+2
-1
src/views/identity/plc-applicator/steps/step2_private-key-input.tsx
···
1
1
import { createSignal } from 'solid-js';
2
2
3
3
+
import { P256Keypair, Secp256k1Keypair } from '@atproto/crypto';
4
4
+
3
5
import { createMutation } from '~/lib/utils/mutation';
4
6
5
7
import Button from '~/components/inputs/button';
···
8
10
import { Stage, StageActions, StageErrorView, WizardStepProps } from '~/components/wizard';
9
11
10
12
import { PlcApplicatorConstraints } from '../page';
11
11
-
import { P256Keypair, Secp256k1Keypair } from '@atproto/crypto';
12
13
13
14
type KeyType = 'nistp256' | 'secp256k1';
14
15