@jini-ai/capability-providers 0.4.0 → 0.4.1
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/CHANGELOG.md +6 -0
- package/dist/auth.d.ts +1 -5
- package/dist/auth.js +1 -5
- package/dist/db.d.ts +1 -6
- package/dist/db.js +1 -6
- package/dist/index.d.ts +8 -66
- package/dist/index.js +8 -66
- package/dist/payments.d.ts +1 -5
- package/dist/payments.js +1 -5
- package/dist/realtime.d.ts +2 -7
- package/dist/realtime.js +2 -7
- package/dist/storage.d.ts +1 -4
- package/dist/storage.js +1 -4
- package/dist/tokens.js +2 -11
- package/package.json +19 -5
package/CHANGELOG.md
CHANGED
package/dist/auth.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* port-design exploration (see `archived provenance ledger`): Zana and a fleet orchestrator each
|
|
4
|
-
* independently built an explicit capability-provider layer with auth as one
|
|
5
|
-
* of the swappable capabilities (Supabase/sqlite-backed) — this is the
|
|
6
|
-
* engine-level shape that convergence points at, not a lift from either.
|
|
2
|
+
* Swappable identity/session port. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
9
5
|
* it has no imports at all, so a consumer implementing `AuthProvider`
|
package/dist/auth.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* port-design exploration (see `archived provenance ledger`): Zana and a fleet orchestrator each
|
|
4
|
-
* independently built an explicit capability-provider layer with auth as one
|
|
5
|
-
* of the swappable capabilities (Supabase/sqlite-backed) — this is the
|
|
6
|
-
* engine-level shape that convergence points at, not a lift from either.
|
|
2
|
+
* Swappable identity/session port. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
9
5
|
* it has no imports at all, so a consumer implementing `AuthProvider`
|
package/dist/db.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* record id, not a query language). Speculative port-design exploration
|
|
4
|
-
* (see `archived provenance ledger`) — no OD source; the capability
|
|
5
|
-
* `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3 names as the one Zana
|
|
6
|
-
* (Supabase→db+auth+storage+realtime) and a fleet orchestrator (ports+sqlite/memory)
|
|
7
|
-
* both built explicitly.
|
|
2
|
+
* Swappable minimal document-store port: collections and record ids, not a query language. See index.ts for capability-provider ownership and adoption scope.
|
|
8
3
|
*
|
|
9
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
10
5
|
* it has no imports at all, so a consumer implementing `DbProvider` themselves
|
package/dist/db.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* record id, not a query language). Speculative port-design exploration
|
|
4
|
-
* (see `archived provenance ledger`) — no OD source; the capability
|
|
5
|
-
* `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3 names as the one Zana
|
|
6
|
-
* (Supabase→db+auth+storage+realtime) and a fleet orchestrator (ports+sqlite/memory)
|
|
7
|
-
* both built explicitly.
|
|
2
|
+
* Swappable minimal document-store port: collections and record ids, not a query language. See index.ts for capability-provider ownership and adoption scope.
|
|
8
3
|
*
|
|
9
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
10
5
|
* it has no imports at all, so a consumer implementing `DbProvider` themselves
|
package/dist/index.d.ts
CHANGED
|
@@ -1,70 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* ports
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* reference stubs that prove each port is genuinely implementable
|
|
11
|
-
* (`createInMemoryAuthProvider` and friends) live under
|
|
12
|
-
* `src/unsafe-reference/` and are exported only from the separate
|
|
13
|
-
* `@jini-ai/capability-providers/unsafe-reference` entry point — see that
|
|
14
|
-
* directory's `index.ts` header before importing anything from it.
|
|
15
|
-
|
|
16
|
-
* Archived provenance rationale:
|
|
17
|
-
* ## Why this exists (the gap it names)
|
|
18
|
-
*
|
|
19
|
-
* `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §2 (the capability matrix) and
|
|
20
|
-
* §3.3 identify a **capability-provider registry with auth / storage /
|
|
21
|
-
* payments / db / realtime as Zana + a fleet orchestrator convergent** — both consumers
|
|
22
|
-
* independently built an explicit port+provider layer (Zana: `app-chassis`'s
|
|
23
|
-
* "rigid core, flexible edges" thesis, `packages/{core,ai,db,auth,storage,
|
|
24
|
-
* payments}` + `providers/supabase` declaring which capabilities it
|
|
25
|
-
* implements; the fleet orchestrator: "ports+sqlite/memory"), while Open Design itself
|
|
26
|
-
* only models these capabilities thinly. §3.3 states this "should be an engine
|
|
27
|
-
* primitive... so products swap Supabase/SQLite/Stripe without touching core"
|
|
28
|
-
* — that is the shape this package builds: 5 independent ports (not one
|
|
29
|
-
* umbrella "CapabilityProvider" interface — see "Design decisions" below) each
|
|
30
|
-
* with a typed DI token (`packages/core/src/token.ts`'s pattern) and a minimal
|
|
31
|
-
* in-memory reference implementation proving the port is genuinely
|
|
32
|
-
* implementable.
|
|
33
|
-
*
|
|
34
|
-
* ## Design decisions
|
|
35
|
-
*
|
|
36
|
-
* **Five separate port interfaces, not one `CapabilityProvider` union.** Zana's
|
|
37
|
-
* own model has a single adapter (Supabase) implementing multiple capabilities
|
|
38
|
-
* at once, which might suggest one umbrella interface with optional methods.
|
|
39
|
-
* Rejected: extraction-plan.md §2.2's core lesson (the reason typed tokens beat
|
|
40
|
-
* a structural dependency object in the first place) is that a union/bag
|
|
41
|
-
* interface is exactly the shape that decays into an OD-`ServerContext`-style
|
|
42
|
-
* god-object as capabilities accrete. Five independently bindable tokens means
|
|
43
|
-
* a consumer wiring only `DbProviderToken` + `StorageProviderToken` never sees
|
|
44
|
-
* `AuthProvider`/`PaymentsProvider`/`RealtimeProvider` in its type surface. A
|
|
45
|
-
* real adapter that happens to implement several (a future `SupabaseAdapter`)
|
|
46
|
-
* is free to be one class satisfying multiple interfaces and bound to multiple
|
|
47
|
-
* tokens — that composition happens at the binding site, not in this package.
|
|
48
|
-
*
|
|
49
|
-
* **No registry/discovery module.** The task brief's scope constraint says
|
|
50
|
-
* "abstract port/interface definitions... plus at minimum one trivial
|
|
51
|
-
* reference/stub implementation" and explicitly forbids wiring this into any
|
|
52
|
-
* other package. `@jini/core`'s existing typed-token + `bindings()` mechanism
|
|
53
|
-
* already *is* the registration/discovery layer (extraction-plan.md §2.2) —
|
|
54
|
-
* building a second, parallel registry inside this package would duplicate
|
|
55
|
-
* that machinery for no reason and blur the "zero other package depends on
|
|
56
|
-
* this" boundary the brief asked for. A consumer registers these tokens in its
|
|
57
|
-
* own `createDaemon({ bindings: bindings().bind(AuthProviderToken, ...) })`
|
|
58
|
-
* call; this package supplies only the tokens and the interfaces they carry.
|
|
59
|
-
*
|
|
60
|
-
* **In-memory reference stubs, not "the obvious real adapter."** The brief is
|
|
61
|
-
* explicit: interfaces + minimal stubs only, no full per-provider-type
|
|
62
|
-
* implementations (no real Stripe/Auth0/Supabase integration). Every stub here
|
|
63
|
-
* optimizes for proving the port's shape is satisfiable and unit-testable, not
|
|
64
|
-
* for production use — see each file's header comment for the specific corners
|
|
65
|
-
* cut (plaintext passwords, deterministic always-succeeding charges, no
|
|
66
|
-
* cross-process realtime fan-out, no query language beyond exact-match
|
|
67
|
-
* `where`).
|
|
2
|
+
* @jini-ai/capability-providers supplies independently bindable auth/storage/payment/db/realtime
|
|
3
|
+
* ports and tokens, with no current consumer commitment. Avoid an optional-method umbrella bag:
|
|
4
|
+
* a consumer should see only the capabilities it binds. One adapter can implement several ports
|
|
5
|
+
* and bind to several tokens at the composition site.
|
|
6
|
+
* @jini-ai/core's bindings already own registration; this package must not create a second registry.
|
|
7
|
+
* Concrete implementations are separate entries. unsafe-reference stubs prove the interfaces are
|
|
8
|
+
* implementable, with non-cryptographic/non-production behavior; never infer production guarantees
|
|
9
|
+
* from them. See that entry's index header for its specific limitations.
|
|
68
10
|
*/
|
|
69
11
|
export * from './auth.js';
|
|
70
12
|
export * from './storage.js';
|
package/dist/index.js
CHANGED
|
@@ -1,70 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* ports
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* reference stubs that prove each port is genuinely implementable
|
|
11
|
-
* (`createInMemoryAuthProvider` and friends) live under
|
|
12
|
-
* `src/unsafe-reference/` and are exported only from the separate
|
|
13
|
-
* `@jini-ai/capability-providers/unsafe-reference` entry point — see that
|
|
14
|
-
* directory's `index.ts` header before importing anything from it.
|
|
15
|
-
|
|
16
|
-
* Archived provenance rationale:
|
|
17
|
-
* ## Why this exists (the gap it names)
|
|
18
|
-
*
|
|
19
|
-
* `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §2 (the capability matrix) and
|
|
20
|
-
* §3.3 identify a **capability-provider registry with auth / storage /
|
|
21
|
-
* payments / db / realtime as Zana + a fleet orchestrator convergent** — both consumers
|
|
22
|
-
* independently built an explicit port+provider layer (Zana: `app-chassis`'s
|
|
23
|
-
* "rigid core, flexible edges" thesis, `packages/{core,ai,db,auth,storage,
|
|
24
|
-
* payments}` + `providers/supabase` declaring which capabilities it
|
|
25
|
-
* implements; the fleet orchestrator: "ports+sqlite/memory"), while Open Design itself
|
|
26
|
-
* only models these capabilities thinly. §3.3 states this "should be an engine
|
|
27
|
-
* primitive... so products swap Supabase/SQLite/Stripe without touching core"
|
|
28
|
-
* — that is the shape this package builds: 5 independent ports (not one
|
|
29
|
-
* umbrella "CapabilityProvider" interface — see "Design decisions" below) each
|
|
30
|
-
* with a typed DI token (`packages/core/src/token.ts`'s pattern) and a minimal
|
|
31
|
-
* in-memory reference implementation proving the port is genuinely
|
|
32
|
-
* implementable.
|
|
33
|
-
*
|
|
34
|
-
* ## Design decisions
|
|
35
|
-
*
|
|
36
|
-
* **Five separate port interfaces, not one `CapabilityProvider` union.** Zana's
|
|
37
|
-
* own model has a single adapter (Supabase) implementing multiple capabilities
|
|
38
|
-
* at once, which might suggest one umbrella interface with optional methods.
|
|
39
|
-
* Rejected: extraction-plan.md §2.2's core lesson (the reason typed tokens beat
|
|
40
|
-
* a structural dependency object in the first place) is that a union/bag
|
|
41
|
-
* interface is exactly the shape that decays into an OD-`ServerContext`-style
|
|
42
|
-
* god-object as capabilities accrete. Five independently bindable tokens means
|
|
43
|
-
* a consumer wiring only `DbProviderToken` + `StorageProviderToken` never sees
|
|
44
|
-
* `AuthProvider`/`PaymentsProvider`/`RealtimeProvider` in its type surface. A
|
|
45
|
-
* real adapter that happens to implement several (a future `SupabaseAdapter`)
|
|
46
|
-
* is free to be one class satisfying multiple interfaces and bound to multiple
|
|
47
|
-
* tokens — that composition happens at the binding site, not in this package.
|
|
48
|
-
*
|
|
49
|
-
* **No registry/discovery module.** The task brief's scope constraint says
|
|
50
|
-
* "abstract port/interface definitions... plus at minimum one trivial
|
|
51
|
-
* reference/stub implementation" and explicitly forbids wiring this into any
|
|
52
|
-
* other package. `@jini/core`'s existing typed-token + `bindings()` mechanism
|
|
53
|
-
* already *is* the registration/discovery layer (extraction-plan.md §2.2) —
|
|
54
|
-
* building a second, parallel registry inside this package would duplicate
|
|
55
|
-
* that machinery for no reason and blur the "zero other package depends on
|
|
56
|
-
* this" boundary the brief asked for. A consumer registers these tokens in its
|
|
57
|
-
* own `createDaemon({ bindings: bindings().bind(AuthProviderToken, ...) })`
|
|
58
|
-
* call; this package supplies only the tokens and the interfaces they carry.
|
|
59
|
-
*
|
|
60
|
-
* **In-memory reference stubs, not "the obvious real adapter."** The brief is
|
|
61
|
-
* explicit: interfaces + minimal stubs only, no full per-provider-type
|
|
62
|
-
* implementations (no real Stripe/Auth0/Supabase integration). Every stub here
|
|
63
|
-
* optimizes for proving the port's shape is satisfiable and unit-testable, not
|
|
64
|
-
* for production use — see each file's header comment for the specific corners
|
|
65
|
-
* cut (plaintext passwords, deterministic always-succeeding charges, no
|
|
66
|
-
* cross-process realtime fan-out, no query language beyond exact-match
|
|
67
|
-
* `where`).
|
|
2
|
+
* @jini-ai/capability-providers supplies independently bindable auth/storage/payment/db/realtime
|
|
3
|
+
* ports and tokens, with no current consumer commitment. Avoid an optional-method umbrella bag:
|
|
4
|
+
* a consumer should see only the capabilities it binds. One adapter can implement several ports
|
|
5
|
+
* and bind to several tokens at the composition site.
|
|
6
|
+
* @jini-ai/core's bindings already own registration; this package must not create a second registry.
|
|
7
|
+
* Concrete implementations are separate entries. unsafe-reference stubs prove the interfaces are
|
|
8
|
+
* implementable, with non-cryptographic/non-production behavior; never infer production guarantees
|
|
9
|
+
* from them. See that entry's index header for its specific limitations.
|
|
68
10
|
*/
|
|
69
11
|
export * from './auth.js';
|
|
70
12
|
export * from './storage.js';
|
package/dist/payments.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* port-design exploration (see `archived provenance ledger`) — no OD source; named
|
|
4
|
-
* explicitly in `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3 as one
|
|
5
|
-
* of the capabilities Zana's and a fleet orchestrator's independent provider
|
|
6
|
-
* layers converge on (alongside auth/storage/db/realtime).
|
|
2
|
+
* Swappable payment-charge port. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
9
5
|
* it has no imports at all, so a consumer implementing `PaymentsProvider`
|
package/dist/payments.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* port-design exploration (see `archived provenance ledger`) — no OD source; named
|
|
4
|
-
* explicitly in `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3 as one
|
|
5
|
-
* of the capabilities Zana's and a fleet orchestrator's independent provider
|
|
6
|
-
* layers converge on (alongside auth/storage/db/realtime).
|
|
2
|
+
* Swappable payment-charge port. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
9
5
|
* it has no imports at all, so a consumer implementing `PaymentsProvider`
|
package/dist/realtime.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* subscribers). Speculative port-design exploration (see `archived provenance ledger`) —
|
|
4
|
-
* no OD source; named in `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3
|
|
5
|
-
* as part of the capability set Zana and a fleet orchestrator converge on
|
|
6
|
-
* (Supabase Realtime is Zana's reference adapter).
|
|
2
|
+
* Swappable pub/sub port for live updates. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines only the port's stable interface/type surface. The one
|
|
9
5
|
* real, production-quality adapter (`WebSocketRealtimeProvider` +
|
|
10
6
|
* `createWebSocketRealtimeProvider`, using the `ws` package) lives at the
|
|
11
|
-
* separate `@jini-ai/capability-providers/adapters/ws` entry point
|
|
12
|
-
* there (2026-07-29) so this package's main barrel, which imports this
|
|
7
|
+
* separate `@jini-ai/capability-providers/adapters/ws` entry point so the main barrel, which imports this
|
|
13
8
|
* module, is never forced to resolve `ws` just for the port type. The
|
|
14
9
|
* in-memory reference implementation (`createInMemoryRealtimeProvider`) is a
|
|
15
10
|
* separate, non-production stub that lives under `src/unsafe-reference/`,
|
package/dist/realtime.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* subscribers). Speculative port-design exploration (see `archived provenance ledger`) —
|
|
4
|
-
* no OD source; named in `ADS-memory/reports/jini-port/recon/r5b-consumers-matrix.md` §3.3
|
|
5
|
-
* as part of the capability set Zana and a fleet orchestrator converge on
|
|
6
|
-
* (Supabase Realtime is Zana's reference adapter).
|
|
2
|
+
* Swappable pub/sub port for live updates. See index.ts for capability-provider ownership and adoption scope.
|
|
7
3
|
*
|
|
8
4
|
* This file defines only the port's stable interface/type surface. The one
|
|
9
5
|
* real, production-quality adapter (`WebSocketRealtimeProvider` +
|
|
10
6
|
* `createWebSocketRealtimeProvider`, using the `ws` package) lives at the
|
|
11
|
-
* separate `@jini-ai/capability-providers/adapters/ws` entry point
|
|
12
|
-
* there (2026-07-29) so this package's main barrel, which imports this
|
|
7
|
+
* separate `@jini-ai/capability-providers/adapters/ws` entry point so the main barrel, which imports this
|
|
13
8
|
* module, is never forced to resolve `ws` just for the port type. The
|
|
14
9
|
* in-memory reference implementation (`createInMemoryRealtimeProvider`) is a
|
|
15
10
|
* separate, non-production stub that lives under `src/unsafe-reference/`,
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* assets). Speculative port-design exploration (see `archived provenance ledger`) — no OD
|
|
4
|
-
* source; the shape is the object-storage capability Zana's `app-chassis`
|
|
5
|
-
* (`packages/storage`) and a fleet orchestrator's ports layer both name explicitly.
|
|
2
|
+
* Swappable blob-storage port for uploads and generated assets. See index.ts for capability-provider ownership and adoption scope.
|
|
6
3
|
*
|
|
7
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
8
5
|
* it has no imports at all, so a consumer implementing `StorageProvider`
|
package/dist/storage.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* assets). Speculative port-design exploration (see `archived provenance ledger`) — no OD
|
|
4
|
-
* source; the shape is the object-storage capability Zana's `app-chassis`
|
|
5
|
-
* (`packages/storage`) and a fleet orchestrator's ports layer both name explicitly.
|
|
2
|
+
* Swappable blob-storage port for uploads and generated assets. See index.ts for capability-provider ownership and adoption scope.
|
|
6
3
|
*
|
|
7
4
|
* This file defines the port's stable interface/type surface and nothing else —
|
|
8
5
|
* it has no imports at all, so a consumer implementing `StorageProvider`
|
package/dist/tokens.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* pattern `@jini-ai/core`'s `token()` establishes (see
|
|
4
|
-
* `packages/core/src/token.ts`) and the naming convention `@jini-ai/daemon`'s
|
|
5
|
-
* `src/tokens.ts` / `@jini-ai/media`'s `src/tokens.ts` already set
|
|
6
|
-
* (bare-interface-name-suffixed-`Token`).
|
|
7
|
-
*
|
|
8
|
-
* These tokens are exported for a future consumer to `bind()` in its own
|
|
9
|
-
* composition — this package itself does not bind them anywhere, and
|
|
10
|
-
* nothing else in this repo imports this package (see `archived provenance ledger`).
|
|
11
|
-
*/
|
|
1
|
+
/** Typed capability-provider DI tokens built with core's token() owner. Names use the
|
|
2
|
+
* bare-interface-name + Token convention. Hosts bind each port in their own composition. */
|
|
12
3
|
import { token } from '@jini-ai/core';
|
|
13
4
|
export const AuthProviderToken = token({ id: 'jini.capabilityProviders.auth' });
|
|
14
5
|
export const StorageProviderToken = token({ id: 'jini.capabilityProviders.storage' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/capability-providers",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Swappable capability-provider ports (auth, storage, payments, db, realtime) as interfaces and DI tokens only; concrete adapters live behind ./adapters/* subpaths.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -21,6 +21,15 @@
|
|
|
21
21
|
"./adapters/blob-storage": "node",
|
|
22
22
|
"./adapters/jwt-auth": "node",
|
|
23
23
|
"./adapters/stripe": "universal"
|
|
24
|
+
},
|
|
25
|
+
"isolation": {
|
|
26
|
+
"entries": {
|
|
27
|
+
"./adapters/ws": "realtime",
|
|
28
|
+
"./adapters/sqlite": "db",
|
|
29
|
+
"./adapters/blob-storage": "storage",
|
|
30
|
+
"./adapters/jwt-auth": "auth",
|
|
31
|
+
"./adapters/stripe": "payments"
|
|
32
|
+
}
|
|
24
33
|
}
|
|
25
34
|
},
|
|
26
35
|
"type": "module",
|
|
@@ -86,12 +95,12 @@
|
|
|
86
95
|
"registry": "https://registry.npmjs.org"
|
|
87
96
|
},
|
|
88
97
|
"dependencies": {
|
|
89
|
-
"@jini-ai/core": "0.4.
|
|
90
|
-
"@jini-ai/platform": "0.5.0"
|
|
98
|
+
"@jini-ai/core": "^0.4.2"
|
|
91
99
|
},
|
|
92
100
|
"peerDependencies": {
|
|
93
101
|
"better-sqlite3": "^13.0.0",
|
|
94
|
-
"ws": "^8.18.0"
|
|
102
|
+
"ws": "^8.18.0",
|
|
103
|
+
"@jini-ai/platform": "^0.5.1"
|
|
95
104
|
},
|
|
96
105
|
"peerDependenciesMeta": {
|
|
97
106
|
"better-sqlite3": {
|
|
@@ -99,6 +108,9 @@
|
|
|
99
108
|
},
|
|
100
109
|
"ws": {
|
|
101
110
|
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@jini-ai/platform": {
|
|
113
|
+
"optional": true
|
|
102
114
|
}
|
|
103
115
|
},
|
|
104
116
|
"devDependencies": {
|
|
@@ -106,7 +118,9 @@
|
|
|
106
118
|
"@types/ws": "^8.18.0",
|
|
107
119
|
"@vitest/coverage-v8": "^2.1.9",
|
|
108
120
|
"better-sqlite3": "^13.0.0",
|
|
109
|
-
"ws": "^8.18.0"
|
|
121
|
+
"ws": "^8.18.0",
|
|
122
|
+
"@jini-ai/core": "0.4.2",
|
|
123
|
+
"@jini-ai/platform": "0.5.2"
|
|
110
124
|
},
|
|
111
125
|
"scripts": {
|
|
112
126
|
"build": "tsc -p tsconfig.json",
|