@routedock/routedock 0.3.1 → 0.4.0
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/README.md +113 -12
- package/dist/{MppSessionHandler-1EL8QBAn.d.cts → MppSessionHandler-3QfCHI5x.d.ts} +40 -2
- package/dist/{MppSessionHandler-Bq4S-JTE.d.ts → MppSessionHandler-xu4Kxu6N.d.cts} +40 -2
- package/dist/{ProviderRegistry-w4_hkI_1.d.ts → ProviderRegistry-D9KqyuH-.d.cts} +16 -36
- package/dist/{ProviderRegistry-CyZ5eryO.d.cts → ProviderRegistry-DVi2uzgk.d.ts} +16 -36
- package/dist/{RouteDockClient-CjM2VyOd.d.ts → RouteDockClient-6rmgkbYb.d.cts} +124 -144
- package/dist/{RouteDockClient-CXvWXix5.d.cts → RouteDockClient-CnAkxwrW.d.ts} +124 -144
- package/dist/{SessionReconciler-Bw-PoBVl.d.ts → SessionReconciler-Cce9MXO1.d.ts} +10 -3
- package/dist/{SessionReconciler-Cz2nuOlJ.d.cts → SessionReconciler-Dpe9qXdD.d.cts} +10 -3
- package/dist/{SessionStore-BaYiegP0.d.ts → SessionStore-DkLBxFQu.d.cts} +28 -3
- package/dist/{SessionStore-B4-Hi4H8.d.cts → SessionStore-_ZkoBzFY.d.ts} +28 -3
- package/dist/SpendStore-BUclV02i.d.ts +73 -0
- package/dist/SpendStore-s_dfcemj.d.cts +73 -0
- package/dist/client.cjs +767 -482
- package/dist/client.d.cts +80 -10
- package/dist/client.d.ts +80 -10
- package/dist/client.js +733 -463
- package/dist/index.cjs +1295 -585
- package/dist/index.d.cts +13 -10
- package/dist/index.d.ts +13 -10
- package/dist/index.js +1247 -554
- package/dist/logger-DVa7VT4c.d.cts +41 -0
- package/dist/logger-DVa7VT4c.d.ts +41 -0
- package/dist/network.cjs +57 -0
- package/dist/network.d.cts +72 -0
- package/dist/network.d.ts +72 -0
- package/dist/network.js +49 -0
- package/dist/node.cjs +166 -0
- package/dist/node.d.cts +77 -0
- package/dist/node.d.ts +77 -0
- package/dist/node.js +159 -0
- package/dist/provider/fastify.cjs +847 -62
- package/dist/provider/fastify.d.cts +10 -3
- package/dist/provider/fastify.d.ts +10 -3
- package/dist/provider/fastify.js +848 -63
- package/dist/provider/hono.cjs +936 -60
- package/dist/provider/hono.d.cts +23 -8
- package/dist/provider/hono.d.ts +23 -8
- package/dist/provider/hono.js +937 -61
- package/dist/provider.cjs +894 -70
- package/dist/provider.d.cts +9 -8
- package/dist/provider.d.ts +9 -8
- package/dist/provider.js +895 -72
- package/dist/react.cjs +736 -431
- package/dist/react.d.cts +7 -5
- package/dist/react.d.ts +7 -5
- package/dist/react.js +725 -420
- package/dist/{routedockMiddleware-57gUaEMf.d.ts → routedockMiddleware-Cq9HOJEa.d.ts} +9 -2
- package/dist/{routedockMiddleware-DlyLrxp7.d.cts → routedockMiddleware-CxsWkSKa.d.cts} +9 -2
- package/dist/schema.cjs +7 -0
- package/dist/schema.js +7 -0
- package/dist/{sign-AKH67sft.d.cts → sign-Bq08SeFq.d.ts} +2 -2
- package/dist/{sign-BEq-OsSq.d.ts → sign-DqGE0Plv.d.cts} +2 -2
- package/dist/testing.d.cts +4 -3
- package/dist/testing.d.ts +4 -3
- package/dist/{logger-D8_Q2ytp.d.cts → types-DXaS5Wip.d.cts} +85 -47
- package/dist/{logger-D8_Q2ytp.d.ts → types-DXaS5Wip.d.ts} +85 -47
- package/package.json +50 -4
package/dist/react.d.cts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { SupabaseClient } from '@supabase/supabase-js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a as RouteDockClient, b as RouteDockClientConfig, M as ModeSelectOptions } from './RouteDockClient-6rmgkbYb.cjs';
|
|
5
|
+
import { d as PaymentResult, m as SessionHandle, j as SessionCloseResult } from './types-DXaS5Wip.cjs';
|
|
6
6
|
import '@stellar/stellar-sdk';
|
|
7
|
+
import './logger-DVa7VT4c.cjs';
|
|
7
8
|
import '@x402/stellar';
|
|
8
|
-
import '@
|
|
9
|
+
import '@x402/core/types';
|
|
9
10
|
import '@routedock/nulth-sdk';
|
|
11
|
+
import './SpendStore-s_dfcemj.cjs';
|
|
10
12
|
import 'mppx';
|
|
11
13
|
|
|
12
14
|
interface RouteDockContextValue {
|
|
@@ -24,7 +26,7 @@ interface RouteDockProviderProps extends RouteDockContextValue {
|
|
|
24
26
|
* const client = useRouteDockClient({ wallet: secret, network: 'testnet' })
|
|
25
27
|
* return <RouteDockProvider client={client} supabase={supabase}>{children}</RouteDockProvider>
|
|
26
28
|
*/
|
|
27
|
-
declare function RouteDockProvider(props: RouteDockProviderProps):
|
|
29
|
+
declare function RouteDockProvider(props: RouteDockProviderProps): react.JSX.Element;
|
|
28
30
|
declare function useRouteDockContext(): RouteDockContextValue;
|
|
29
31
|
|
|
30
32
|
/**
|
package/dist/react.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { SupabaseClient } from '@supabase/supabase-js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a as RouteDockClient, b as RouteDockClientConfig, M as ModeSelectOptions } from './RouteDockClient-CnAkxwrW.js';
|
|
5
|
+
import { d as PaymentResult, m as SessionHandle, j as SessionCloseResult } from './types-DXaS5Wip.js';
|
|
6
6
|
import '@stellar/stellar-sdk';
|
|
7
|
+
import './logger-DVa7VT4c.js';
|
|
7
8
|
import '@x402/stellar';
|
|
8
|
-
import '@
|
|
9
|
+
import '@x402/core/types';
|
|
9
10
|
import '@routedock/nulth-sdk';
|
|
11
|
+
import './SpendStore-BUclV02i.js';
|
|
10
12
|
import 'mppx';
|
|
11
13
|
|
|
12
14
|
interface RouteDockContextValue {
|
|
@@ -24,7 +26,7 @@ interface RouteDockProviderProps extends RouteDockContextValue {
|
|
|
24
26
|
* const client = useRouteDockClient({ wallet: secret, network: 'testnet' })
|
|
25
27
|
* return <RouteDockProvider client={client} supabase={supabase}>{children}</RouteDockProvider>
|
|
26
28
|
*/
|
|
27
|
-
declare function RouteDockProvider(props: RouteDockProviderProps):
|
|
29
|
+
declare function RouteDockProvider(props: RouteDockProviderProps): react.JSX.Element;
|
|
28
30
|
declare function useRouteDockContext(): RouteDockContextValue;
|
|
29
31
|
|
|
30
32
|
/**
|