payid 0.2.3 → 0.2.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payid",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -12,8 +12,7 @@
12
12
  },
13
13
  "scripts": {
14
14
  "build:js": "bun build src/index.ts --outdir dist --target node",
15
- "build:types": "tsc -p tsconfig.lib.json",
16
- "build": "bun run build:js && bun run build:types"
15
+ "build": "bun run build:js"
17
16
  },
18
17
  "devDependencies": {
19
18
  "@types/bun": "latest"
package/src/index.ts CHANGED
@@ -1 +1,3 @@
1
- export { PayID } from "./payid";
1
+ export { PayID } from "./payid";
2
+ export type { RuleContext, RuleResult, RuleConfig } from "payid-types";
3
+ export type { DecisionProof } from "./decision-proof/types";
package/src/types.ts DELETED
@@ -1,10 +0,0 @@
1
- // src/types.ts
2
- export type {
3
- RuleContext,
4
- RuleResult,
5
- RuleConfig
6
- } from "payid-types";
7
-
8
- export type {
9
- DecisionProof
10
- } from "./decision-proof/types";
package/tsconfig.lib.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "declaration": true,
4
- "emitDeclarationOnly": true,
5
- "outDir": "dist",
6
- "target": "ES2020",
7
- "module": "ESNext",
8
- "moduleResolution": "Bundler",
9
- "strict": true,
10
- "skipLibCheck": true
11
- },
12
- "include": [
13
- "src"
14
- ]
15
- }