Skip to content

Commit

Permalink
fix bun exports
Browse files Browse the repository at this point in the history
  • Loading branch information
XY-Wang committed Dec 10, 2024
1 parent 3826d06 commit c10ff6a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
"Xueying Wang <[email protected]>"
],
"repository": "https://github.com/sodazone/ocelloids-services",
"source": "./src/lib.ts",
"source": "./dist/deno/lib.ts",
"exports": "./dist/lib.js",
"module": "./dist/lib.js",
"types": "./dist/ocelloids-client.d.ts",
"files": [
"/dist",
"/src"
"/dist"
],
"license": "Apache-2.0",
"engines": {
Expand Down
20 changes: 19 additions & 1 deletion packages/client/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,25 @@
*
* @packageDocumentation
*/
export * from './server-types'
export * from './client'
export * from './types'
export type {
SubscriptionId,
AnyJson,
HexString,
Message,
SignerData,
AgentId,
QueryParams,
QueryResult,
QueryPagination,
AnyQueryArgs,
NetworkURN,
AnyQueryResultItem,
NetworkInfo,
sourceSteward,
sourceXcm,
} from './server-types'

// The "export * as ___" syntax is not supported yet; as a workaround,
// use "import * as ___" with a separate "export { ___ }" declaration
Expand Down

0 comments on commit c10ff6a

Please sign in to comment.