@cobre-npm/library-response-catalog-node 0.5.0 → 0.7.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 CHANGED
@@ -1,77 +1,127 @@
1
1
  # library-response-catalog-node
2
2
 
3
- Node.js SDK that will resolve a supplier-reported error against Cobre's Response Catalog
4
- Read API (`GET /v1/resolve`). Callers send a supplier, domain, and error code; the catalog
5
- returns a localized frontend message plus internal metadata.
3
+ Node.js SDK that resolves a supplier-reported error against Cobre's response catalog. Call
4
+ `createCatalogClient`, then `fetchResponse`, and let this library own HTTP, retries, the circuit
5
+ breaker, and (unlike the Java sibling) a **local technical fallback**.
6
6
 
7
- As of `0.3.0` this package has the **domain contract** — the `Response` shape, the
8
- `SupplierErrorContext` builder, the `CatalogPort` outbound port, `CatalogClientError` —
9
- plus the **local fallback token map** that resolves a technical error to a locally
10
- known token instead of failing outright, unlike
11
- [`library-response-catalog-java`](https://github.com/Cobre-Colombia/library-response-catalog-java).
12
- There is still no HTTP implementation — that lands in a later stacked PR on
13
- `Feature/BLCK-28319-*`, which will wire the fallback map to `CatalogPort` and add
14
- retries and a circuit breaker.
7
+ ## Outcomes
15
8
 
16
- ## Install
9
+ | What happened | What you get |
10
+ |---|---|
11
+ | Catalog returned a usable body | `Response` with `api` and `internal` populated |
12
+ | Catalog down / 5xx / empty or unusable body / open circuit | **Degraded `Response`** — frontend token in `resolvedMessage`, `fallbackApplied=true`, `api`/`internal` = `null` |
13
+ | Catalog returned HTTP 4xx, or credentials stayed rejected | `CatalogClientError` — do not retry |
14
+ | Options missing or malformed | `Error` while creating the client |
17
15
 
18
- ```bash
19
- pnpm add @cobre-npm/library-response-catalog-node
16
+ ### Intentional divergence from Java
17
+
18
+ [`library-response-catalog-java`](https://github.com/Cobre-Colombia/library-response-catalog-java)
19
+ throws `CatalogClientError` on technical unavailability. **This Node library returns a local
20
+ fallback token instead**, so Node services can keep rendering a stable frontend message when the
21
+ catalog is down.
22
+
23
+ | Flag / shape | Meaning |
24
+ |---|---|
25
+ | Remote `fallbackApplied=true` with `api`/`internal` populated | Catalog substituted a locale/entry **server-side** |
26
+ | Local degraded: `fallbackApplied=true` **and** `api === null` | SDK technical fallback — render `resolvedMessage` as a frontend token |
27
+
28
+ ```typescript
29
+ const response = await catalog.fetchResponse(context)
30
+ if (response.fallbackApplied && response.api === null) {
31
+ return renderToken(response.resolvedMessage) // e.g. #UNKNOWN_ERROR#
32
+ }
33
+ return handleCatalogResponse(response)
20
34
  ```
21
35
 
22
- Requires [pnpm](https://pnpm.io) `10.27.0` (see `packageManager` in `package.json`).
23
- Same-cluster calls will need nothing else. Cross-cluster (`INTERNAL_GATEWAY`) will also
24
- need `@cobre-npm/library-nodejs-common`.
36
+ ## Quickstart
25
37
 
26
- ## Public API (0.3.0)
38
+ ### 1. Dependency
27
39
 
28
- | Export | Role |
29
- |---|---|
30
- | `LIBRARY_VERSION` | Package version string (`0.3.0`). Matches `package.json`. |
31
- | `buildSupplierErrorContext` | Validates and builds a `SupplierErrorContext` (`supplier`/`domain`/`code` required, `locale` optional). |
32
- | `SupplierErrorContext`, `SupplierErrorContextInput` | Validated context type and its raw input. |
33
- | `CatalogPort` | Outbound port: `fetchResponse(context): Promise<Response>`. |
34
- | `Response`, `SupplierInfo`, `InternalInfo`, `ApiInfo` | Resolved catalog entry: supplier/internal/api views plus the localized message. |
35
- | `CatalogClientError` | Thrown by a `CatalogPort` implementation. `isTransient()` / `isCredentialError()` classify the failure. |
40
+ ```bash
41
+ pnpm add @cobre-npm/library-response-catalog-node
42
+ ```
43
+
44
+ Requires pnpm `10.27.0` (`packageManager` in `package.json`). Same-cluster (`CLUSTER_DNS`, the
45
+ default) needs nothing else. Cross-cluster (`INTERNAL_GATEWAY`) also needs
46
+ `@cobre-npm/library-nodejs-common`.
36
47
 
37
- ## Usage
48
+ ### 2. Create the client
38
49
 
39
50
  ```typescript
40
51
  import {
41
52
  buildSupplierErrorContext,
42
- CatalogClientError,
43
- CatalogPort,
53
+ createCatalogClientSync,
54
+ CONNECTION_MODES,
44
55
  } from '@cobre-npm/library-response-catalog-node'
45
56
 
46
- const context = buildSupplierErrorContext({
47
- supplier: 'nequi',
48
- domain: 'wallets',
49
- code: '58',
50
- locale: 'es-CO',
57
+ const catalog = createCatalogClientSync({
58
+ baseUrl: 'http://response-catalog-util.util-prod.svc.cluster.local',
59
+ mode: CONNECTION_MODES.CLUSTER_DNS,
51
60
  })
52
61
 
53
- try {
54
- const response = await catalogPort.fetchResponse(context)
55
- console.log(response.resolvedMessage)
56
- } catch (error) {
57
- if (error instanceof CatalogClientError && error.isTransient()) {
58
- // safe to retry, or fall back to a local token once the HTTP layer ships
59
- }
60
- throw error
61
- }
62
+ const response = await catalog.fetchResponse(
63
+ buildSupplierErrorContext({
64
+ supplier: 'nequi',
65
+ domain: 'wallets',
66
+ code: '58',
67
+ locale: 'es-CO',
68
+ }),
69
+ )
62
70
  ```
63
71
 
64
- A runnable copy of this snippet lives in
65
- [`examples/domain-context.ts`](examples/domain-context.ts). `catalogPort` above is any
66
- `CatalogPort` implementation — the real HTTP client ships in a later layer.
72
+ For `INTERNAL_GATEWAY`, use the async factory (loads API Gateway credentials):
67
73
 
68
- ## What "resolve" means
74
+ ```typescript
75
+ import { createCatalogClient, CONNECTION_MODES } from '@cobre-npm/library-response-catalog-node'
76
+
77
+ const catalog = await createCatalogClient({
78
+ baseUrl: 'https://api-int.prod.co',
79
+ mode: CONNECTION_MODES.INTERNAL_GATEWAY,
80
+ secretName: 'response-catalog/credentials',
81
+ authManagerDomainURL: 'https://auth-manager.example.com',
82
+ })
83
+ ```
84
+
85
+ ## Which connection mode?
86
+
87
+ | Situation | Mode | Extra dependency |
88
+ |---|---|---|
89
+ | Catalog is in the same Kubernetes cluster | `CLUSTER_DNS` (default) | none |
90
+ | Catalog is reached via `api-int.<env>.co` | `INTERNAL_GATEWAY` | `@cobre-npm/library-nodejs-common` + `secretName` + `authManagerDomainURL` |
91
+
92
+ ## Public API
69
93
 
70
- A supplier (for example Nequi) reports a raw error code. The catalog maps that code to:
94
+ | Type | Role |
95
+ |---|---|
96
+ | `CatalogPort` | Only method you call: `fetchResponse` |
97
+ | `buildSupplierErrorContext` | Request: `supplier`, `domain`, `code` required; `locale` optional |
98
+ | `Response`, `SupplierInfo`, `InternalInfo`, `ApiInfo` | Response payload |
99
+ | `CatalogClientError` | HTTP 4xx or persistent credential rejection |
100
+ | `createCatalogClient` / `createCatalogClientSync` | Wiring |
101
+ | `CONNECTION_MODES` | `CLUSTER_DNS` or `INTERNAL_GATEWAY` |
102
+ | `LIBRARY_VERSION` | Package version string |
103
+
104
+ Do not construct `CatalogHttpAdapter` from consumer code.
71
105
 
72
- - a **frontend token** or localized `resolvedMessage`
73
- - `internal` / `api` metadata for support and observability
74
- - an optional remote `fallbackApplied` flag when the catalog itself substituted an entry
106
+ A scaffold snippet for `LIBRARY_VERSION` lives in [`examples/library-version.ts`](examples/library-version.ts).
107
+ A domain-only snippet (no HTTP adapter) lives in [`examples/domain-context.ts`](examples/domain-context.ts).
108
+
109
+ ## Guides
110
+
111
+ | Guide | Contents |
112
+ |---|---|
113
+ | [Direct HTTP](docs/guides/direct-http.md) | Modes, options, `/v1/resolve` |
114
+ | [Error handling](docs/guides/error-handling.md) | What to catch vs local fallback |
115
+ | [Testing](docs/guides/testing.md) | Mock `CatalogPort` |
116
+ | [Observability](docs/guides/observability.md) | Span, logs, metrics |
117
+ | [HTTP client](docs/client.md) | Factory options, resilience, Java divergences |
118
+ | [Fallback behavior](docs/fallback.md) | When fallback applies and the token map |
119
+ | [Architecture](docs/architecture.md) | Package layout and Java divergence |
120
+ | [Stack layering](ARCHITECTURE.md) | Stacked-PR layers and the same-cluster vs `INTERNAL_GATEWAY` split |
121
+ | [Docs index](docs/README.md) | Per-layer release notes |
122
+ | [Examples](examples/README.md) | Runnable snippets |
123
+ | [Changelog](CHANGELOG.md) | Version history |
124
+ | [Contributing](CONTRIBUTING.md) | Stack and tooling |
75
125
 
76
126
  ## Build
77
127
 
@@ -81,12 +131,3 @@ pnpm test
81
131
  pnpm run build
82
132
  pnpm run docs # generates TypeDoc HTML into docs/api/ (gitignored)
83
133
  ```
84
-
85
- ## Documentation
86
-
87
- - [Architecture](ARCHITECTURE.md)
88
- - [Changelog](CHANGELOG.md)
89
- - [Scaffold notes](docs/releases/01-scaffold.md)
90
- - [Docs index](docs/README.md)
91
- - [Examples](examples/README.md)
92
- - [Contributing](CONTRIBUTING.md)
@@ -0,0 +1,41 @@
1
+ import { type AxiosInstance } from 'axios';
2
+ import { CatalogPort } from '../../domain/ports/out/catalog-port';
3
+ import type { Response } from '../../domain/core/models/response';
4
+ import type { SupplierErrorContext } from '../../domain/core/models/supplier-error-context';
5
+ import type { CatalogAuthHeadersSource } from './catalog-auth-headers-source';
6
+ import type { FallbackActivationRecorder } from './fallback-activation-recorder';
7
+ import type { FallbackTokenResolver } from './fallback-token-resolver';
8
+ import { type ResiliencePolicies } from './resilience';
9
+ export declare const RESOLVE_PATH = "/v1/resolve";
10
+ export interface CatalogHttpAdapterDependencies {
11
+ readonly axiosClient: AxiosInstance;
12
+ readonly baseUrl: string;
13
+ readonly authHeadersSource: CatalogAuthHeadersSource;
14
+ readonly fallbackTokenResolver: FallbackTokenResolver;
15
+ readonly fallbackActivationRecorder: FallbackActivationRecorder;
16
+ readonly resilience?: ResiliencePolicies;
17
+ }
18
+ export declare class CatalogHttpAdapter extends CatalogPort {
19
+ private readonly axiosClient;
20
+ private readonly baseUrl;
21
+ private readonly authHeadersSource;
22
+ private readonly fallbackTokenResolver;
23
+ private readonly fallbackActivationRecorder;
24
+ private readonly resilience;
25
+ private readonly httpClientDuration;
26
+ constructor(dependencies: CatalogHttpAdapterDependencies);
27
+ fetchResponse(context: SupplierErrorContext): Promise<Response>;
28
+ private callCatalog;
29
+ private recordHttpDuration;
30
+ private requireBody;
31
+ private isUsable;
32
+ private buildUrl;
33
+ private mapResponseError;
34
+ private catalogErrorForStatus;
35
+ private mapNetworkError;
36
+ private mapUnexpectedError;
37
+ private activateFallback;
38
+ private logSuccess;
39
+ private contextAttributes;
40
+ }
41
+ //# sourceMappingURL=catalog-http-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-http-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/http/catalog-http-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,OAAO,CAAA;AAGxD,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAEjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAA;AAE3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAA;AAG7E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAEhF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AACtE,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,cAAc,CAAA;AAGrB,eAAO,MAAM,YAAY,gBAAgB,CAAA;AAOzC,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAA;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,iBAAiB,EAAE,wBAAwB,CAAA;IACpD,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAA;IACrD,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAA;IAC/D,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAA;CACzC;AAED,qBAAa,kBAAmB,SAAQ,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAe;IAC3C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAQ;IAChC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA0B;IAC5D,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAuB;IAC7D,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA4B;IACvE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoB;IAC/C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAK/B;gBAEQ,YAAY,EAAE,8BAA8B;IAUlD,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;YA4CvD,WAAW;IAgDzB,OAAO,CAAC,kBAAkB;IAQ1B,OAAO,CAAC,WAAW;IAwBnB,OAAO,CAAC,QAAQ;IAShB,OAAO,CAAC,QAAQ;IAsBhB,OAAO,CAAC,gBAAgB;IA+BxB,OAAO,CAAC,qBAAqB;IAiB7B,OAAO,CAAC,eAAe;IAiBvB,OAAO,CAAC,kBAAkB;IAiB1B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,UAAU;IAWlB,OAAO,CAAC,iBAAiB;CAa1B"}
@@ -0,0 +1,22 @@
1
+ import type { CatalogPort } from '../domain/ports/out/catalog-port';
2
+ import type { CatalogAuthHeadersSource } from '../adapter/http/catalog-auth-headers-source';
3
+ import { DEFAULT_FALLBACK_TOKENS_LOCATION } from '../adapter/http/fallback-token-map-loader';
4
+ export interface CatalogClientSettings {
5
+ readonly baseUrl: string;
6
+ readonly connectTimeoutMs?: number;
7
+ readonly readTimeoutMs?: number;
8
+ readonly maxAttempts?: number;
9
+ readonly fallbackTokensLocation?: string;
10
+ }
11
+ /** {@link CatalogClientSettings} with every optional value filled in. */
12
+ export type ResolvedCatalogClientSettings = {
13
+ readonly baseUrl: string;
14
+ readonly connectTimeoutMs: number;
15
+ readonly readTimeoutMs: number;
16
+ readonly maxAttempts: number;
17
+ readonly fallbackTokensLocation: string;
18
+ };
19
+ export declare const buildCatalogClientSettings: (settings: CatalogClientSettings) => ResolvedCatalogClientSettings;
20
+ export declare const createCatalogHttpAdapter: (settings: CatalogClientSettings, authHeadersSource: CatalogAuthHeadersSource) => CatalogPort;
21
+ export { DEFAULT_FALLBACK_TOKENS_LOCATION };
22
+ //# sourceMappingURL=catalog-http-adapters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-http-adapters.d.ts","sourceRoot":"","sources":["../../src/config/catalog-http-adapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAA;AAQ3F,OAAO,EACL,gCAAgC,EAEjC,MAAM,2CAA2C,CAAA;AAKlD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAA;CACzC;AAED,yEAAyE;AACzE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAA;CACxC,CAAA;AAED,eAAO,MAAM,0BAA0B,GACrC,UAAU,qBAAqB,KAC9B,6BAUD,CAAA;AAEF,eAAO,MAAM,wBAAwB,GACnC,UAAU,qBAAqB,EAC/B,mBAAmB,wBAAwB,KAC1C,WAyBF,CAAA;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAA"}
@@ -0,0 +1,26 @@
1
+ import type { CatalogAuthHeadersSource } from '../adapter/http/catalog-auth-headers-source';
2
+ import { type ConnectionMode } from '../adapter/http/connection-mode';
3
+ import type { CatalogPort } from '../domain/ports/out/catalog-port';
4
+ export interface CreateCatalogClientOptions {
5
+ readonly baseUrl: string;
6
+ readonly mode?: ConnectionMode;
7
+ readonly secretName?: string;
8
+ readonly authManagerDomainURL?: string;
9
+ readonly secretAdapterRegion?: string;
10
+ readonly connectTimeoutMs?: number;
11
+ readonly readTimeoutMs?: number;
12
+ readonly maxAttempts?: number;
13
+ readonly fallbackTokensLocation?: string;
14
+ readonly authHeadersSource?: CatalogAuthHeadersSource;
15
+ }
16
+ /**
17
+ * Preferred entry point. Resolves INTERNAL_GATEWAY credentials via
18
+ * `@cobre-npm/library-nodejs-common` when needed.
19
+ */
20
+ export declare const createCatalogClient: (options: CreateCatalogClientOptions) => Promise<CatalogPort>;
21
+ /**
22
+ * Sync factory for CLUSTER_DNS or when you already have an `authHeadersSource`.
23
+ * Cannot auto-resolve INTERNAL_GATEWAY credentials — use `createCatalogClient` instead.
24
+ */
25
+ export declare const createCatalogClientSync: (options: CreateCatalogClientOptions) => CatalogPort;
26
+ //# sourceMappingURL=create-catalog-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-catalog-client.d.ts","sourceRoot":"","sources":["../../src/config/create-catalog-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAA;AAE3F,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMvF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAInE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IACtC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IACrC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAA;IACxC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,wBAAwB,CAAA;CACtD;AAuFD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,SAAS,0BAA0B,KAClC,OAAO,CAAC,WAAW,CAcrB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAClC,SAAS,0BAA0B,KAClC,WAsBF,CAAA"}
package/dist/index.d.ts CHANGED
@@ -17,8 +17,11 @@
17
17
  * ```
18
18
  *
19
19
  * @see {@link https://github.com/Cobre-Colombia/library-response-catalog-node/blob/trunk/CHANGELOG.md | CHANGELOG}
20
+ * @see {@link https://github.com/Cobre-Colombia/library-response-catalog-node/blob/trunk/docs/releases/01-scaffold.md | Scaffold notes}
20
21
  */
21
22
  export declare const LIBRARY_VERSION = "0.3.0";
23
+ export { createCatalogClient, createCatalogClientSync, } from './config/create-catalog-client';
24
+ export type { CreateCatalogClientOptions } from './config/create-catalog-client';
22
25
  export { CatalogPort } from './domain/ports/out/catalog-port';
23
26
  export type { Response, SupplierInfo, InternalInfo, ApiInfo, } from './domain/core/models/response';
24
27
  export { buildSupplierErrorContext } from './domain/core/models/supplier-error-context';
@@ -28,4 +31,6 @@ export { CONNECTION_MODES } from './adapter/http/connection-mode';
28
31
  export type { ConnectionMode } from './adapter/http/connection-mode';
29
32
  export type { CatalogAuthHeadersSource } from './adapter/http/catalog-auth-headers-source';
30
33
  export { noAuthHeadersSource } from './adapter/http/no-auth-headers-source';
34
+ export type { CatalogClientSettings } from './config/catalog-http-adapters';
35
+ export { DEFAULT_FALLBACK_TOKENS_LOCATION } from './config/catalog-http-adapters';
31
36
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,UAAU,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAE7D,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,OAAO,GACR,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAA;AAEvF,YAAY,EACV,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,6CAA6C,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEjE,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,YAAY,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAA;AAE1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,UAAU,CAAA;AAEtC,OAAO,EACL,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,gCAAgC,CAAA;AAEvC,YAAY,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAE7D,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,OAAO,GACR,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAA;AAEvF,YAAY,EACV,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,6CAA6C,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEjE,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,YAAY,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAA;AAE1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AAE3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAE3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAA"}