a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

revert: chore: move exports to publishConfig

Mary 700d7dc4 0a684582

+156 -361
+2 -5
packages/bluesky/moderation/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/bluesky/richtext-builder/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/bluesky/richtext-parser/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/bluesky/richtext-segmenter/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/bluesky/search-parser/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/bluesky/threading/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/clients/cache/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+1 -1
packages/clients/client/lib/client.ts
··· 357 357 'atproto-proxy': _constructProxyHeader(this.proxy), 358 358 }), 359 359 duplex: input instanceof ReadableStream ? 'half' : undefined, 360 - } as RequestInit); 360 + }); 361 361 362 362 { 363 363 const status = response.status;
+2 -5
packages/clients/client/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/clients/firehose/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/clients/jetstream/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/clients/tap/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+3 -7
packages/definitions/atproto/package.json
··· 19 19 ], 20 20 "type": "module", 21 21 "exports": { 22 - ".": "./lib/index.ts", 23 - "./types/*": "./lib/lexicons/types/com/atproto/*.ts" 22 + ".": "./dist/index.js", 23 + "./types/*": "./dist/lexicons/types/com/atproto/*.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js", 29 - "./types/*": "./dist/lexicons/types/com/atproto/*.js" 30 - } 26 + "access": "public" 31 27 }, 32 28 "scripts": { 33 29 "build": "tsgo",
+3 -7
packages/definitions/bluemoji/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts", 19 - "./types/": "./lib/lexicons/types/blue/moji/*.ts" 18 + ".": "./dist/index.js", 19 + "./types/": "./dist/lexicons/types/blue/moji/*.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js", 25 - "./types/": "./dist/lexicons/types/blue/moji/*.js" 26 - } 22 + "access": "public" 27 23 }, 28 24 "scripts": { 29 25 "build": "tsgo",
+4 -9
packages/definitions/bluesky/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/app/*": "./lib/lexicons/types/app/bsky/*.ts", 25 - "./types/chat/*": "./lib/lexicons/types/chat/bsky/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/app/*": "./dist/lexicons/types/app/bsky/*.js", 25 + "./types/chat/*": "./dist/lexicons/types/chat/bsky/*.js" 26 26 }, 27 27 "publishConfig": { 28 - "access": "public", 29 - "exports": { 30 - ".": "./dist/index.js", 31 - "./types/app/*": "./dist/lexicons/types/app/bsky/*.js", 32 - "./types/chat/*": "./dist/lexicons/types/chat/bsky/*.js" 33 - } 28 + "access": "public" 34 29 }, 35 30 "scripts": { 36 31 "build": "tsgo --project tsconfig.build.json",
+3 -7
packages/definitions/frontpage/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+3 -7
packages/definitions/leaflet/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/pub/leaflet/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/pub/leaflet/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/pub/leaflet/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+3 -7
packages/definitions/lexicon-community/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts", 19 - "./types/": "./lib/lexicons/types/community/lexicon/*.ts" 18 + ".": "./dist/index.js", 19 + "./types/": "./dist/lexicons/types/community/lexicon/*.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js", 25 - "./types/": "./dist/lexicons/types/community/lexicon/*.js" 26 - } 22 + "access": "public" 27 23 }, 28 24 "scripts": { 29 25 "build": "tsgo",
+4 -9
packages/definitions/microcosm/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts", 19 - "./types/blue/microcosm/*": "./lib/lexicons/types/blue/microcosm/*.ts", 20 - "./types/com/bad-example/*": "./lib/lexicons/types/com/bad-example/*.ts" 18 + ".": "./dist/index.js", 19 + "./types/blue/microcosm/*": "./dist/lexicons/types/blue/microcosm/*.js", 20 + "./types/com/bad-example/*": "./dist/lexicons/types/com/bad-example/*.js" 21 21 }, 22 22 "publishConfig": { 23 - "access": "public", 24 - "exports": { 25 - ".": "./dist/index.js", 26 - "./types/blue/microcosm/*": "./dist/lexicons/types/blue/microcosm/*.js", 27 - "./types/com/bad-example/*": "./dist/lexicons/types/com/bad-example/*.js" 28 - } 23 + "access": "public" 29 24 }, 30 25 "scripts": { 31 26 "build": "tsgo -b",
+3 -7
packages/definitions/ozone/package.json
··· 21 21 ], 22 22 "type": "module", 23 23 "exports": { 24 - ".": "./lib/index.ts", 25 - "./types/": "./lib/lexicons/types/tools/ozone/*.ts" 24 + ".": "./dist/index.js", 25 + "./types/": "./dist/lexicons/types/tools/ozone/*.js" 26 26 }, 27 27 "publishConfig": { 28 - "access": "public", 29 - "exports": { 30 - ".": "./dist/index.js", 31 - "./types/": "./dist/lexicons/types/tools/ozone/*.js" 32 - } 28 + "access": "public" 33 29 }, 34 30 "scripts": { 35 31 "build": "tsgo",
+3 -7
packages/definitions/pckt/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/blog/pckt/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/blog/pckt/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/blog/pckt/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+3 -7
packages/definitions/standard-site/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/site/standard/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/site/standard/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/site/standard/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+3 -7
packages/definitions/tangled/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/sh/tangled/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/sh/tangled/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/sh/tangled/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+3 -7
packages/definitions/whitewind/package.json
··· 20 20 ], 21 21 "type": "module", 22 22 "exports": { 23 - ".": "./lib/index.ts", 24 - "./types/*": "./lib/lexicons/types/com/whtwnd/*.ts" 23 + ".": "./dist/index.js", 24 + "./types/*": "./dist/lexicons/types/com/whtwnd/*.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js", 30 - "./types/*": "./dist/lexicons/types/com/whtwnd/*.js" 31 - } 27 + "access": "public" 32 28 }, 33 29 "scripts": { 34 30 "build": "tsgo",
+2 -5
packages/identity/did-plc/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts" 24 + ".": "./dist/index.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js" 30 - } 27 + "access": "public" 31 28 }, 32 29 "scripts": { 33 30 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/identity/identity-resolver-node/package.json
··· 20 20 "type": "module", 21 21 "sideEffects": false, 22 22 "exports": { 23 - ".": "./lib/index.ts" 23 + ".": "./dist/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js" 29 - } 26 + "access": "public" 30 27 }, 31 28 "scripts": { 32 29 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/identity/identity-resolver/package.json
··· 20 20 "type": "module", 21 21 "sideEffects": false, 22 22 "exports": { 23 - ".": "./lib/index.ts" 23 + ".": "./dist/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js" 29 - } 26 + "access": "public" 30 27 }, 31 28 "scripts": { 32 29 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/identity/identity/package.json
··· 20 20 "type": "module", 21 21 "sideEffects": false, 22 22 "exports": { 23 - ".": "./lib/index.ts" 23 + ".": "./dist/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js" 29 - } 26 + "access": "public" 30 27 }, 31 28 "scripts": { 32 29 "build": "tsgo --project tsconfig.build.json",
+1 -1
packages/internal/dev-env/package.json
··· 4 4 "private": true, 5 5 "type": "module", 6 6 "exports": { 7 - ".": "./lib/index.ts" 7 + ".": "./dist/index.js" 8 8 }, 9 9 "scripts": { 10 10 "build": "tsgo"
+2 -5
packages/lexicons/lex-cli/package.json
··· 18 18 ], 19 19 "type": "module", 20 20 "exports": { 21 - ".": "./src/index.ts" 21 + ".": "./dist/index.js" 22 22 }, 23 23 "publishConfig": { 24 - "access": "public", 25 - "exports": { 26 - ".": "./dist/index.js" 27 - } 24 + "access": "public" 28 25 }, 29 26 "scripts": { 30 27 "build": "pnpm run generate:schema && tsgo",
+4 -9
packages/lexicons/lexicon-doc/package.json
··· 17 17 "type": "module", 18 18 "sideEffects": false, 19 19 "exports": { 20 - ".": "./lib/index.ts", 21 - "./builder": "./lib/builder.ts", 22 - "./validations": "./lib/validations.ts" 20 + ".": "./dist/index.js", 21 + "./builder": "./dist/builder.js", 22 + "./validations": "./dist/validations.js" 23 23 }, 24 24 "publishConfig": { 25 - "access": "public", 26 - "exports": { 27 - ".": "./dist/index.js", 28 - "./builder": "./dist/builder.js", 29 - "./validations": "./dist/validations.js" 30 - } 25 + "access": "public" 31 26 }, 32 27 "scripts": { 33 28 "build": "pnpm run generate:schema && tsgo --project tsconfig.build.json",
+2 -5
packages/lexicons/lexicon-resolver-node/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts" 24 + ".": "./dist/index.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js" 30 - } 27 + "access": "public" 31 28 }, 32 29 "scripts": { 33 30 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/lexicons/lexicon-resolver/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts" 24 + ".": "./dist/index.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js" 30 - } 27 + "access": "public" 31 28 }, 32 29 "scripts": { 33 30 "build": "tsgo --project tsconfig.build.json",
+6 -13
packages/lexicons/lexicons/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts", 20 - "./ambient": "./lib/ambient.ts", 21 - "./interfaces": "./lib/interfaces/index.ts", 22 - "./syntax": "./lib/syntax/index.ts", 23 - "./validations": "./lib/validations/index.ts" 19 + ".": "./dist/index.js", 20 + "./ambient": "./dist/ambient.js", 21 + "./interfaces": "./dist/interfaces/index.js", 22 + "./syntax": "./dist/syntax/index.js", 23 + "./validations": "./dist/validations/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js", 29 - "./ambient": "./dist/ambient.js", 30 - "./interfaces": "./dist/interfaces/index.js", 31 - "./syntax": "./dist/syntax/index.js", 32 - "./validations": "./dist/validations/index.js" 33 - } 26 + "access": "public" 34 27 }, 35 28 "scripts": { 36 29 "build": "tsgo --project tsconfig.build.json",
+5 -14
packages/misc/time-ms/package.json
··· 20 20 "sideEffects": false, 21 21 "exports": { 22 22 ".": { 23 - "types": "./lib/index.ts", 24 - "deno": "./lib/index.deno.ts", 25 - "bun": "./lib/index.bun.ts", 26 - "node": "./lib/index.node.ts", 27 - "default": "./lib/index.ts" 23 + "deno": "./dist/index.deno.js", 24 + "bun": "./dist/index.bun.js", 25 + "node": "./dist/index.node.js", 26 + "default": "./dist/index.js" 28 27 } 29 28 }, 30 29 "publishConfig": { 31 - "access": "public", 32 - "exports": { 33 - ".": { 34 - "deno": "./dist/index.deno.js", 35 - "bun": "./dist/index.bun.js", 36 - "node": "./dist/index.node.js", 37 - "default": "./dist/index.js" 38 - } 39 - } 30 + "access": "public" 40 31 }, 41 32 "scripts": { 42 33 "install": "node-gyp-build || exit 0",
+4 -12
packages/misc/uint8array/package.json
··· 17 17 "sideEffects": false, 18 18 "exports": { 19 19 ".": { 20 - "types": "./lib/index.ts", 21 - "bun": "./lib/index.bun.ts", 22 - "node": "./lib/index.node.ts", 23 - "default": "./lib/index.ts" 20 + "bun": "./dist/index.bun.js", 21 + "node": "./dist/index.node.js", 22 + "default": "./dist/index.js" 24 23 } 25 24 }, 26 25 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": { 30 - "bun": "./dist/index.bun.js", 31 - "node": "./dist/index.node.js", 32 - "default": "./dist/index.js" 33 - } 34 - } 26 + "access": "public" 35 27 }, 36 28 "scripts": { 37 29 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/misc/util-fetch/package.json
··· 20 20 "type": "module", 21 21 "sideEffects": false, 22 22 "exports": { 23 - ".": "./lib/index.ts" 23 + ".": "./dist/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js" 29 - } 26 + "access": "public" 30 27 }, 31 28 "scripts": { 32 29 "build": "tsgo --project tsconfig.build.json",
+3 -9
packages/misc/util-text/package.json
··· 17 17 "sideEffects": false, 18 18 "exports": { 19 19 ".": { 20 - "react-native": "./lib/index.rn.ts", 21 - "default": "./lib/index.ts" 20 + "react-native": "./dist/index.rn.js", 21 + "default": "./dist/index.js" 22 22 } 23 23 }, 24 24 "publishConfig": { 25 - "access": "public", 26 - "exports": { 27 - ".": { 28 - "react-native": "./dist/index.rn.js", 29 - "default": "./dist/index.js" 30 - } 31 - } 25 + "access": "public" 32 26 }, 33 27 "scripts": { 34 28 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/oauth/browser-client/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/oauth/crypto/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/oauth/keyset/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/oauth/node-client/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/oauth/types/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/servers/xrpc-server-bun/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/servers/xrpc-server-cloudflare/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/servers/xrpc-server-deno/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/index.ts" 18 + ".": "./dist/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/servers/xrpc-server-node/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/main/index.ts" 18 + ".": "./dist/main/index.js" 19 19 }, 20 20 "publishConfig": { 21 - "access": "public", 22 - "exports": { 23 - ".": "./dist/main/index.js" 24 - } 21 + "access": "public" 25 22 }, 26 23 "scripts": { 27 24 "build": "tsgo --project tsconfig.build.json",
+4 -9
packages/servers/xrpc-server/package.json
··· 15 15 ], 16 16 "type": "module", 17 17 "exports": { 18 - ".": "./lib/main/index.ts", 19 - "./auth": "./lib/auth/index.ts", 20 - "./middlewares/cors": "./lib/middlewares/cors.ts" 18 + ".": "./dist/main/index.js", 19 + "./auth": "./dist/auth/index.js", 20 + "./middlewares/cors": "./dist/middlewares/cors.js" 21 21 }, 22 22 "publishConfig": { 23 - "access": "public", 24 - "exports": { 25 - ".": "./dist/main/index.js", 26 - "./auth": "./dist/auth/index.js", 27 - "./middlewares/cors": "./dist/middlewares/cors.js" 28 - } 23 + "access": "public" 29 24 }, 30 25 "scripts": { 31 26 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/utilities/car/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts" 24 + ".": "./dist/index.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js" 30 - } 27 + "access": "public" 31 28 }, 32 29 "scripts": { 33 30 "build": "tsgo --project tsconfig.build.json",
+6 -17
packages/utilities/cbor/package.json
··· 22 22 "sideEffects": false, 23 23 "imports": { 24 24 "#runtime": { 25 - "workerd": "./lib/runtime.ts", 26 - "node": "./lib/runtime.node.ts", 27 - "default": "./lib/runtime.ts" 25 + "workerd": "./dist/runtime.js", 26 + "node": "./dist/runtime.node.js", 27 + "default": "./dist/runtime.js" 28 28 } 29 29 }, 30 30 "exports": { 31 - ".": "./lib/index.ts", 32 - "./bytes": "./lib/bytes.ts" 31 + ".": "./dist/index.js", 32 + "./bytes": "./dist/bytes.js" 33 33 }, 34 34 "publishConfig": { 35 - "access": "public", 36 - "exports": { 37 - ".": "./dist/index.js", 38 - "./bytes": "./dist/bytes.js" 39 - }, 40 - "imports": { 41 - "#runtime": { 42 - "workerd": "./dist/runtime.js", 43 - "node": "./dist/runtime.node.js", 44 - "default": "./dist/runtime.js" 45 - } 46 - } 35 + "access": "public" 47 36 }, 48 37 "scripts": { 49 38 "build": "tsgo --project tsconfig.build.json",
+1 -1
packages/utilities/cid/lib/codec.ts
··· 72 72 * @param data raw data to hash 73 73 * @returns CID object 74 74 */ 75 - export const create = async (codec: 0x55 | 0x71, data: Uint8Array<ArrayBuffer>): Promise<Cid> => { 75 + export const create = async (codec: 0x55 | 0x71, data: Uint8Array): Promise<Cid> => { 76 76 const digest = await toSha256(data); 77 77 return fromDigest(codec, digest); 78 78 };
+3 -7
packages/utilities/cid/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts", 25 - "./cid-link": "./lib/cid-link.ts" 24 + ".": "./dist/index.js", 25 + "./cid-link": "./dist/cid-link.js" 26 26 }, 27 27 "publishConfig": { 28 - "access": "public", 29 - "exports": { 30 - ".": "./dist/index.js", 31 - "./cid-link": "./dist/cid-link.js" 32 - } 28 + "access": "public" 33 29 }, 34 30 "scripts": { 35 31 "build": "tsgo --project tsconfig.build.json",
+2 -2
packages/utilities/crypto/lib/keypairs/secp256k1-web.ts
··· 63 63 } 64 64 65 65 const allowMalleable = options?.allowMalleableSig ?? false; 66 - const hashed = await toSha256(data as Uint8Array<ArrayBuffer>); 66 + const hashed = await toSha256(data); 67 67 68 68 return verify(sig, hashed, this._publicKey, { lowS: !allowMalleable, prehash: false }); 69 69 } ··· 125 125 } 126 126 127 127 async sign(data: Uint8Array): Promise<Uint8Array<ArrayBuffer>> { 128 - const hashed = await toSha256(data as Uint8Array<ArrayBuffer>); 128 + const hashed = await toSha256(data); 129 129 const sig = await signAsync(hashed, this._privateKey, { lowS: true, prehash: false }); 130 130 131 131 return sig as Uint8Array<ArrayBuffer>;
+2 -5
packages/utilities/crypto/package.json
··· 32 32 } 33 33 }, 34 34 "exports": { 35 - ".": "./lib/index.ts" 35 + ".": "./dist/index.js" 36 36 }, 37 37 "publishConfig": { 38 - "access": "public", 39 - "exports": { 40 - ".": "./dist/index.js" 41 - } 38 + "access": "public" 42 39 }, 43 40 "scripts": { 44 41 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/utilities/mst/package.json
··· 21 21 "type": "module", 22 22 "sideEffects": false, 23 23 "exports": { 24 - ".": "./lib/index.ts" 24 + ".": "./dist/index.js" 25 25 }, 26 26 "publishConfig": { 27 - "access": "public", 28 - "exports": { 29 - ".": "./dist/index.js" 30 - } 27 + "access": "public" 31 28 }, 32 29 "scripts": { 33 30 "generate-tests": "cd mst-test-suite && mise exec -- uv run python scripts/generate_exhaustive_cars.py",
+2 -5
packages/utilities/multibase/package.json
··· 34 34 } 35 35 }, 36 36 "exports": { 37 - ".": "./lib/index.ts" 37 + ".": "./dist/index.js" 38 38 }, 39 39 "publishConfig": { 40 - "access": "public", 41 - "exports": { 42 - ".": "./dist/index.js" 43 - } 40 + "access": "public" 44 41 }, 45 42 "scripts": { 46 43 "build": "tsgo --project tsconfig.build.json",
+1 -3
packages/utilities/repo/lib/verify.ts
··· 46 46 const cidString = CID.toString(entry.cid); 47 47 48 48 // Verify that `bytes` matches its associated CID 49 - const expectedCid = CID.toString( 50 - await CID.create(entry.cid.codec as 85 | 113, entry.bytes as Uint8Array<ArrayBuffer>), 51 - ); 49 + const expectedCid = CID.toString(await CID.create(entry.cid.codec as 85 | 113, entry.bytes)); 52 50 if (cidString !== expectedCid) { 53 51 throw new Error(`cid does not match bytes`); 54 52 }
+2 -5
packages/utilities/repo/package.json
··· 20 20 "type": "module", 21 21 "sideEffects": false, 22 22 "exports": { 23 - ".": "./lib/index.ts" 23 + ".": "./dist/index.js" 24 24 }, 25 25 "publishConfig": { 26 - "access": "public", 27 - "exports": { 28 - ".": "./dist/index.js" 29 - } 26 + "access": "public" 30 27 }, 31 28 "scripts": { 32 29 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/utilities/tid/package.json
··· 26 26 } 27 27 }, 28 28 "exports": { 29 - ".": "./lib/index.ts" 29 + ".": "./dist/index.js" 30 30 }, 31 31 "publishConfig": { 32 - "access": "public", 33 - "exports": { 34 - ".": "./dist/index.js" 35 - } 32 + "access": "public" 36 33 }, 37 34 "scripts": { 38 35 "build": "tsgo --project tsconfig.build.json",
+2 -5
packages/utilities/varint/package.json
··· 16 16 "type": "module", 17 17 "sideEffects": false, 18 18 "exports": { 19 - ".": "./lib/index.ts" 19 + ".": "./dist/index.js" 20 20 }, 21 21 "publishConfig": { 22 - "access": "public", 23 - "exports": { 24 - ".": "./dist/index.js" 25 - } 22 + "access": "public" 26 23 }, 27 24 "scripts": { 28 25 "build": "tsgo --project tsconfig.build.json",
+7
pnpm-lock.yaml
··· 728 728 prebuildify: 729 729 specifier: ^6.0.1 730 730 version: 6.0.1 731 + vitest: 732 + specifier: ^4.0.18 733 + version: 4.0.18(@types/node@25.2.1)(@vitest/browser-playwright@4.0.18)(jiti@2.6.1)(tsx@4.20.6)(yaml@2.8.0) 731 734 732 735 packages/misc/uint8array: 733 736 devDependencies: ··· 795 798 '@atcute/oauth-crypto': 796 799 specifier: workspace:^ 797 800 version: link:../crypto 801 + devDependencies: 802 + vitest: 803 + specifier: ^4.0.18 804 + version: 4.0.18(@types/node@25.2.1)(@vitest/browser-playwright@4.0.18)(jiti@2.6.1)(tsx@4.20.6)(yaml@2.8.0) 798 805 799 806 packages/oauth/node-client: 800 807 dependencies: