0.156.5 • Published 2 months ago

@luvio/network-adapter-composable v0.156.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

network-adapter-fetch

An implementation of the Luvio NetworkAdapter that allows for multiple NetworkAdapters in the same environment.

Install

npm i @luvio/network-adapter-composable

Usage

import { buildComposableNetworkAdapter } from '@luvio/network-adapter-composable';
import { composedJwtNetworkAdapter } from '@luvio/network-adapter-jwt';
import { fetchNetworkAdapter } from '@luvio/network-adapter-fetch';

const networkAdapter = buildComposableNetworkAdapter([
  composedJwtNetworkAdapter, // Ex: handle ResourceRequests that needs JWT authentication, leveraging on the baseUri
  {
    shouldHandleRequest: () => true, // default network adapter
    adapter: fetchNetworkAdapter,
  },
]);

const luvio = new Luvio(new Environment(new InMemoryStore(), networkAdapter));
0.156.4-dev2

2 months ago

0.156.5

3 months ago

0.156.4

4 months ago

0.156.2

6 months ago

0.156.3

6 months ago

0.156.4-dev1

5 months ago

0.156.0

6 months ago

0.156.1

6 months ago

0.155.1

7 months ago

0.155.0

7 months ago

0.154.17-dev4

5 months ago

0.154.17-dev3

6 months ago

0.154.20

8 months ago

0.154.17-dev2

8 months ago

0.154.7-dev9

8 months ago

0.154.19

8 months ago

0.154.17-dev1

8 months ago

0.154.18

9 months ago

0.154.17

9 months ago

0.154.16

9 months ago

0.154.7-dev8

10 months ago

0.154.15

10 months ago

0.154.14

10 months ago

0.154.7-dev7

11 months ago

0.154.7-dev6

11 months ago

0.154.13

11 months ago

0.154.12

11 months ago

0.154.7-dev5

11 months ago

0.154.11

11 months ago

0.154.10

11 months ago

0.154.7-dev4

12 months ago

0.154.9

12 months ago

0.154.8

12 months ago

0.154.7-dev3

12 months ago

0.154.7-dev2

12 months ago

0.154.7-dev1

12 months ago

0.154.7

12 months ago

0.154.6

1 year ago

0.154.5

1 year ago

0.154.4

1 year ago

0.154.3

1 year ago

0.154.1

1 year ago

0.154.0

1 year ago

0.153.0

1 year ago

0.146.0-dev5

1 year ago

0.152.2

1 year ago

0.152.1

1 year ago

0.152.0

1 year ago

0.151.1

1 year ago

0.146.0-dev4

1 year ago

0.151.0

1 year ago

0.150.7

1 year ago

0.150.6

1 year ago

0.150.5

1 year ago

0.150.3

1 year ago

0.146.0-dev3

1 year ago

0.146.0-dev2

1 year ago

0.146.0-dev1

1 year ago

0.150.2

1 year ago

0.150.1

1 year ago

0.150.0

1 year ago

0.149.0

1 year ago

0.148.1

1 year ago

0.148.0

1 year ago

0.147.1

1 year ago

0.147.0

1 year ago