Skip to content

Commit

Permalink
fix(issuer): fix package imports and exports (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
ditoglez authored Oct 20, 2024
1 parent 576ecdc commit 7f734b1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions packages/issuer-sdk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,23 @@
"clean-package": {
"replace": {
"main": "dist/index.js",
"types": "dist/index.d.ts",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
"import": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"./create-issuer-config": {
"import": "./dist/create-issuer-config.js",
"types": "./dist/types/create-issuer-config.d.ts"
},
"./human": {
"import": "./dist/human.js",
"types": "./dist/types/human.d.ts"
},
"./credentials": {
"import": "./dist/credentials.js",
"types": "./dist/types/credentials.d.ts"
},
"./package.json": "./package.json"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer-sdk-js/src/create-issuer-config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { implicitAddressFromPublicKey, kwilNep413Signer } from "@idos-network/kwil-nep413-signer";
import { KwilSigner, NodeKwil } from "@kwilteam/kwil-js";
import { Wallet } from "ethers";
import { KeyPair } from "near-api-js";
import invariant from "tiny-invariant";
import { implicitAddressFromPublicKey, kwilNep413Signer } from "../../kwil-nep413-signer/src/index";

export interface CreateIssuerConfigParams {
nodeUrl: string;
Expand Down

0 comments on commit 7f734b1

Please sign in to comment.