@plainkey/types 0.1.0

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.
@@ -0,0 +1,13 @@
1
+ //#region src/index.d.ts
2
+ type UserIdentifier = {
3
+ userId?: string;
4
+ userName?: string;
5
+ };
6
+ type PublicUser = {
7
+ id: string;
8
+ userName?: string;
9
+ metadata?: Record<string, unknown>;
10
+ };
11
+ //#endregion
12
+ export { PublicUser, UserIdentifier };
13
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";KAAY,cAAA;EAAA,MAAA,CAAA,EAAA,MAAA;EAKA,QAAA,CAAA,EAAA,MAAU;;KAAV,UAAA;;;aAGC"}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export { };
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@plainkey/types",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.js",
5
+ "module": "dist/index.mjs",
6
+ "types": "dist/index.d.mts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "tsdown src/index.ts --format esm --dts --clean",
12
+ "prepare": "npm run build"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "dependencies": {
18
+ "@simplewebauthn/browser": "^13.2.0"
19
+ },
20
+ "devDependencies": {
21
+ "tsdown": "^0.15.5"
22
+ }
23
+ }