@lssm/example.openbanking-powens 0.0.0-canary-20251217034842 → 0.0.0-canary-20251217060433

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,33 @@
1
+
2
+ $ tsdown
3
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
+ ℹ config file: /Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/openbanking-powens/tsdown.config.js (unrun)
5
+ ℹ entry: src/example.ts, src/index.ts, src/docs/index.ts, src/docs/openbanking-powens.docblock.ts, src/handlers/oauth-callback.ts, src/handlers/webhook-handler.ts
6
+ ℹ target: esnext
7
+ ℹ tsconfig: tsconfig.json
8
+ ℹ Build start
9
+ ℹ Cleaning 14 files
10
+ ℹ dist/handlers/webhook-handler.js 1.86 kB │ gzip: 0.85 kB
11
+ ℹ dist/docs/openbanking-powens.docblock.js 1.35 kB │ gzip: 0.68 kB
12
+ ℹ dist/handlers/oauth-callback.js 1.29 kB │ gzip: 0.67 kB
13
+ ℹ dist/example.js 0.62 kB │ gzip: 0.37 kB
14
+ ℹ dist/index.js 0.27 kB │ gzip: 0.16 kB
15
+ ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
16
+ ℹ dist/example.d.ts 1.07 kB │ gzip: 0.44 kB
17
+ ℹ dist/index.d.ts 0.25 kB │ gzip: 0.13 kB
18
+ ℹ dist/handlers/oauth-callback.d.ts 0.17 kB │ gzip: 0.14 kB
19
+ ℹ dist/handlers/webhook-handler.d.ts 0.16 kB │ gzip: 0.14 kB
20
+ ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
21
+ ℹ dist/docs/openbanking-powens.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
22
+ ℹ 12 files, total: 7.11 kB
23
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in src/handlers/webhook-handler.ts
24
+ ╭─[ src/handlers/webhook-handler.ts:7:45 ]
25
+ │
26
+ 7 │ import { createHmac, timingSafeEqual } from 'node:crypto';
27
+  │ ──────┬──────
28
+  │ ╰──────── Module not found, treating it as an external dependency
29
+  │
30
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
31
+ ───╯
32
+
33
+ ✔ Build complete in 3749ms
@@ -1,27 +1,29 @@
1
- $ bun build:bundle && bun build:types
2
- $ tsdown
3
- ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
- ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/openbanking-powens/tsdown.config.js
5
- ℹ entry: src/example.ts, src/index.ts, src/docs/index.ts, src/docs/openbanking-powens.docblock.ts, src/handlers/oauth-callback.ts, src/handlers/webhook-handler.ts
6
- ℹ target: esnext
7
- ℹ tsconfig: tsconfig.json
8
- ℹ Build start
9
- ℹ dist/handlers/webhook-handler.js 1.86 kB │ gzip: 0.85 kB
10
- ℹ dist/docs/openbanking-powens.docblock.js 1.35 kB │ gzip: 0.68 kB
11
- ℹ dist/handlers/oauth-callback.js 1.29 kB │ gzip: 0.67 kB
12
- ℹ dist/example.js 0.62 kB │ gzip: 0.37 kB
13
- ℹ dist/index.js 0.27 kB │ gzip: 0.16 kB
14
- ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
15
- ℹ 6 files, total: 5.43 kB
16
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in src/handlers/webhook-handler.ts
17
- ╭─[ src/handlers/webhook-handler.ts:7:45 ]
18
- │
19
- 7 │ import { createHmac, timingSafeEqual } from 'node:crypto';
20
-  │ ──────┬──────
21
-  │ ╰──────── Module not found, treating it as an external dependency
22
-  │
23
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
24
- ───╯
25
-
26
- ✔ Build complete in 75ms
27
- $ tsc --noEmit
1
+
2
+ $ bun build:bundle && bun build:types
3
+ $ tsdown
4
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
5
+ ℹ config file: /Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/openbanking-powens/tsdown.config.js (unrun)
6
+ ℹ entry: src/example.ts, src/index.ts, src/docs/index.ts, src/docs/openbanking-powens.docblock.ts, src/handlers/oauth-callback.ts, src/handlers/webhook-handler.ts
7
+ ℹ target: esnext
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ Cleaning 8 files
11
+ ℹ dist/handlers/webhook-handler.js 1.86 kB │ gzip: 0.85 kB
12
+ ℹ dist/docs/openbanking-powens.docblock.js 1.35 kB │ gzip: 0.68 kB
13
+ ℹ dist/handlers/oauth-callback.js 1.29 kB │ gzip: 0.67 kB
14
+ ℹ dist/example.js 0.62 kB │ gzip: 0.37 kB
15
+ ℹ dist/index.js 0.27 kB │ gzip: 0.16 kB
16
+ ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
17
+ ℹ 6 files, total: 5.43 kB
18
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in src/handlers/webhook-handler.ts
19
+ ╭─[ src/handlers/webhook-handler.ts:7:45 ]
20
+ │
21
+ 7 │ import { createHmac, timingSafeEqual } from 'node:crypto';
22
+  │ ──────┬──────
23
+  │ ╰──────── Module not found, treating it as an external dependency
24
+  │
25
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
26
+ ───╯
27
+
28
+ ✔ Build complete in 121ms
29
+ $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # @lssm/example.openbanking-powens
2
2
 
3
- ## 0.0.0-canary-20251217034842
3
+ ## 0.0.0-canary-20251217060433
4
+
5
+ ### Minor Changes
6
+
7
+ - 66a5dfd: initial release
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - Updated dependencies [3086383]
8
- - @lssm/lib.contracts@0.0.0-canary-20251217034842
9
- - @lssm/integration.providers-impls@0.0.0-canary-20251217034842
11
+ - Updated dependencies [66a5dfd]
12
+ - @lssm/integration.providers-impls@0.0.0-canary-20251217060433
13
+ - @lssm/lib.contracts@0.0.0-canary-20251217060433
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,33 @@
1
+ //#region src/example.d.ts
2
+ declare const example: {
3
+ readonly id: "openbanking-powens";
4
+ readonly title: "Open Banking — Powens";
5
+ readonly summary: "OAuth callback + webhook handler patterns for Powens open banking integration (provider + workflow orchestration).";
6
+ readonly tags: readonly ["openbanking", "powens", "oauth", "webhooks", "integrations"];
7
+ readonly kind: "integration";
8
+ readonly visibility: "public";
9
+ readonly docs: {
10
+ readonly rootDocId: "docs.examples.openbanking-powens";
11
+ readonly usageDocId: "docs.examples.openbanking-powens.usage";
12
+ };
13
+ readonly entrypoints: {
14
+ readonly packageName: "@lssm/example.openbanking-powens";
15
+ readonly docs: "./docs";
16
+ };
17
+ readonly surfaces: {
18
+ readonly templates: true;
19
+ readonly sandbox: {
20
+ readonly enabled: true;
21
+ readonly modes: readonly ["markdown", "specs"];
22
+ };
23
+ readonly studio: {
24
+ readonly enabled: true;
25
+ readonly installable: true;
26
+ };
27
+ readonly mcp: {
28
+ readonly enabled: true;
29
+ };
30
+ };
31
+ };
32
+ //#endregion
33
+ export { example as default };
@@ -0,0 +1,4 @@
1
+ //#region src/handlers/oauth-callback.d.ts
2
+ declare function powensOAuthCallbackHandler(req: Request): Promise<Response>;
3
+ //#endregion
4
+ export { powensOAuthCallbackHandler };
@@ -0,0 +1,4 @@
1
+ //#region src/handlers/webhook-handler.d.ts
2
+ declare function powensWebhookHandler(req: Request): Promise<Response>;
3
+ //#endregion
4
+ export { powensWebhookHandler };
@@ -0,0 +1,4 @@
1
+ import example from "./example.js";
2
+ import { powensOAuthCallbackHandler } from "./handlers/oauth-callback.js";
3
+ import { powensWebhookHandler } from "./handlers/webhook-handler.js";
4
+ export { example, powensOAuthCallbackHandler, powensWebhookHandler };
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "@lssm/example.openbanking-powens",
3
- "version": "0.0.0-canary-20251217034842",
3
+ "version": "0.0.0-canary-20251217060433",
4
4
  "description": "OpenBanking Powens example: OAuth callback + webhook handler patterns (provider + workflows).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
- ".": "./src/index.ts",
10
- "./docs": "./src/docs/index.ts",
11
- "./docs/openbanking-powens.docblock": "./src/docs/openbanking-powens.docblock.ts",
12
- "./example": "./src/example.ts",
13
- "./handlers/oauth-callback": "./src/handlers/oauth-callback.ts",
14
- "./handlers/webhook-handler": "./src/handlers/webhook-handler.ts",
9
+ ".": "./dist/index.js",
10
+ "./docs": "./dist/docs/index.js",
11
+ "./docs/openbanking-powens.docblock": "./dist/docs/openbanking-powens.docblock.js",
12
+ "./example": "./dist/example.js",
13
+ "./handlers/oauth-callback": "./dist/handlers/oauth-callback.js",
14
+ "./handlers/webhook-handler": "./dist/handlers/webhook-handler.js",
15
15
  "./*": "./*"
16
16
  },
17
17
  "scripts": {
18
+ "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
19
+ "publish:pkg:canary": "bun publish:pkg --tag canary",
18
20
  "build": "bun build:bundle && bun build:types",
19
21
  "build:bundle": "tsdown",
20
22
  "build:types": "tsc --noEmit",
@@ -26,12 +28,12 @@
26
28
  "test": "bun test"
27
29
  },
28
30
  "dependencies": {
29
- "@lssm/integration.providers-impls": "workspace:*",
30
- "@lssm/lib.contracts": "workspace:*"
31
+ "@lssm/integration.providers-impls": "0.0.0-canary-20251217060433",
32
+ "@lssm/lib.contracts": "0.0.0-canary-20251217060433"
31
33
  },
32
34
  "devDependencies": {
33
- "@lssm/tool.tsdown": "workspace:*",
34
- "@lssm/tool.typescript": "workspace:*",
35
+ "@lssm/tool.tsdown": "0.0.0-canary-20251217060433",
36
+ "@lssm/tool.typescript": "0.0.0-canary-20251217060433",
35
37
  "tsdown": "^0.17.4",
36
38
  "typescript": "^5.9.3"
37
39
  },