@andco/protocol 0.0.3 → 0.0.5
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/LICENSE +1 -1
- package/README.md +51 -3
- package/dist/api-errors.d.ts +114 -0
- package/dist/api-errors.d.ts.map +1 -0
- package/dist/api-errors.js +116 -0
- package/dist/authorization-preparation.d.ts +52 -543
- package/dist/authorization-preparation.d.ts.map +1 -1
- package/dist/authorization-preparation.js +19 -42
- package/dist/authorization.d.ts +64 -22
- package/dist/authorization.d.ts.map +1 -1
- package/dist/authorization.js +136 -55
- package/dist/consent.d.ts +5 -8
- package/dist/consent.d.ts.map +1 -1
- package/dist/consent.js +5 -62
- package/dist/constants.d.ts +19 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +19 -3
- package/dist/errors.d.ts +154 -58
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +174 -57
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/intent-input.d.ts +1022 -288
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +284 -40
- package/dist/messages/error.d.ts +1 -2
- package/dist/messages/error.d.ts.map +1 -1
- package/dist/messages/error.js +5 -2
- package/dist/messages/index.d.ts +1 -1
- package/dist/native-copy.d.ts +23 -2
- package/dist/native-copy.d.ts.map +1 -1
- package/dist/native-copy.js +65 -117
- package/dist/native-intent.d.ts +126 -75
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +140 -48
- package/dist/rar/account-matchers.d.ts +579 -0
- package/dist/rar/account-matchers.d.ts.map +1 -0
- package/dist/rar/account-matchers.js +480 -0
- package/dist/rar/bank.d.ts +1549 -0
- package/dist/rar/bank.d.ts.map +1 -0
- package/dist/rar/bank.js +379 -0
- package/dist/rar/catalog.d.ts +1155 -0
- package/dist/rar/catalog.d.ts.map +1 -0
- package/dist/rar/catalog.js +175 -0
- package/dist/rar/detail.d.ts +39 -0
- package/dist/rar/detail.d.ts.map +1 -0
- package/dist/rar/detail.js +44 -0
- package/dist/rar/index.d.ts +9 -0
- package/dist/rar/index.d.ts.map +1 -0
- package/dist/rar/index.js +8 -0
- package/dist/rar/money.d.ts +58 -0
- package/dist/rar/money.d.ts.map +1 -0
- package/dist/rar/money.js +61 -0
- package/dist/rar/project-users.d.ts +43 -0
- package/dist/rar/project-users.d.ts.map +1 -0
- package/dist/rar/project-users.js +63 -0
- package/dist/rar/subject-data.d.ts +170 -0
- package/dist/rar/subject-data.d.ts.map +1 -0
- package/dist/rar/subject-data.js +127 -0
- package/dist/rar/subject.d.ts +166 -0
- package/dist/rar/subject.d.ts.map +1 -0
- package/dist/rar/subject.js +119 -0
- package/dist/scopes.d.ts +5 -30
- package/dist/scopes.d.ts.map +1 -1
- package/dist/scopes.js +0 -13
- package/dist/service-grants.d.ts +44 -0
- package/dist/service-grants.d.ts.map +1 -0
- package/dist/service-grants.js +45 -0
- package/dist/signing.d.ts +56 -0
- package/dist/signing.d.ts.map +1 -0
- package/dist/signing.js +233 -0
- package/dist/transport/financial-events.d.ts +90 -35
- package/dist/transport/financial-events.d.ts.map +1 -1
- package/dist/transport/financial-events.js +7 -1
- package/dist/transport/generated/oauth-api.d.ts +932 -441
- package/dist/transport/generated/oauth-api.d.ts.map +1 -1
- package/dist/transport/index.d.ts +0 -1
- package/dist/transport/index.d.ts.map +1 -1
- package/dist/transport/index.js +0 -1
- package/dist/transport/intents.d.ts +155 -23
- package/dist/transport/intents.d.ts.map +1 -1
- package/dist/transport/intents.js +192 -59
- package/dist/transport/rest.d.ts +19 -8
- package/dist/transport/rest.d.ts.map +1 -1
- package/dist/transport/rest.js +1 -1
- package/dist/urls.d.ts.map +1 -1
- package/dist/urls.js +1 -1
- package/dist/userinfo.d.ts +10 -1
- package/dist/userinfo.d.ts.map +1 -1
- package/dist/userinfo.js +10 -1
- package/dist/utils.d.ts +15 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +31 -0
- package/dist/webhooks.d.ts +154 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +249 -0
- package/package.json +21 -2
- package/dist/automatic-charge.d.ts +0 -314
- package/dist/automatic-charge.d.ts.map +0 -1
- package/dist/automatic-charge.js +0 -126
- package/dist/bank-account-authorization.d.ts +0 -6
- package/dist/bank-account-authorization.d.ts.map +0 -1
- package/dist/bank-account-authorization.js +0 -13
- package/dist/transport/webhooks.d.ts +0 -27
- package/dist/transport/webhooks.d.ts.map +0 -1
- package/dist/transport/webhooks.js +0 -68
- package/dist/webhook-input.d.ts +0 -22
- package/dist/webhook-input.d.ts.map +0 -1
- package/dist/webhook-input.js +0 -11
- package/dist/webhook-signature.d.ts +0 -54
- package/dist/webhook-signature.d.ts.map +0 -1
- package/dist/webhook-signature.js +0 -74
package/dist/errors.js
CHANGED
|
@@ -1,61 +1,178 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Conditions Andco's own client code detects, in the shape the Andco API already uses for the codes
|
|
3
|
+
* it sends: lower snake_case, no prefix. Both vocabularies end up in the same `error.code` field, so
|
|
4
|
+
* an integrator should not have to remember which half of a failure produced the string in hand.
|
|
5
|
+
*
|
|
6
|
+
* The backend never reports any of these -- it cannot see a blocked popup or a browser without Web
|
|
7
|
+
* Crypto -- which is why they live apart from {@link ANDCO_API_ERROR_CODES} rather than in one list.
|
|
8
|
+
*
|
|
9
|
+
* Compare against a member rather than a literal, and always leave a branch for a code you do not
|
|
10
|
+
* recognise. This list grows, `AndcoError.code` is a plain `string` for that reason, and an
|
|
11
|
+
* integration that only handles what existed when it was written should degrade rather than fall
|
|
12
|
+
* through in silence.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* // Typed by the shape the example needs, so it reads the same from `@andco/protocol`, whose
|
|
16
|
+
* // error is `AndCoSDKError`, and from `@andco/sdk`, whose error is `AndcoError`.
|
|
17
|
+
* function messageFor(error: { code: string }): string {
|
|
18
|
+
* switch (error.code) {
|
|
19
|
+
* case ANDCO_ERROR_CODES.POPUP_BLOCKED:
|
|
20
|
+
* return "Habilita las ventanas emergentes para continuar.";
|
|
21
|
+
* case ANDCO_ERROR_CODES.SESSION_MISSING:
|
|
22
|
+
* return "Tu sesión expiró. Vuelve a ingresar.";
|
|
23
|
+
* default:
|
|
24
|
+
* // A code this build does not know about: report it, never swallow it.
|
|
25
|
+
* console.error("[messageFor] unhandled Andco error code: %s", error.code);
|
|
26
|
+
* return "No pudimos completar la operación.";
|
|
27
|
+
* }
|
|
28
|
+
* }
|
|
29
|
+
*
|
|
30
|
+
* @see https://sdk.andco.com/docs/reference/error-codes
|
|
31
|
+
*/
|
|
32
|
+
export const ANDCO_ERROR_CODES = {
|
|
33
|
+
// -- Runtime ---------------------------------------------------------------------------------
|
|
34
|
+
/** An operation that needs a browser ran somewhere else. Not recoverable at runtime: move the call. */
|
|
35
|
+
BROWSER_REQUIRED: "browser_required",
|
|
36
|
+
/** A browser ran the operation but does not provide an API the SDK needs. */
|
|
37
|
+
BROWSER_UNAVAILABLE: "browser_unavailable",
|
|
38
|
+
/** An operation that must not run in a browser was attempted there, because it would leak a secret. */
|
|
39
|
+
BROWSER_FORBIDDEN: "browser_forbidden",
|
|
40
|
+
/** The runtime provides no Fetch and none was configured. */
|
|
41
|
+
FETCH_UNAVAILABLE: "fetch_unavailable",
|
|
42
|
+
/** The runtime provides no Web Crypto, so PKCE and state cannot be generated safely. */
|
|
43
|
+
WEB_CRYPTO_UNAVAILABLE: "web_crypto_unavailable",
|
|
44
|
+
// -- Configuration ---------------------------------------------------------------------------
|
|
45
|
+
// Integration errors: they surface the first time the code path runs and are fixed in the
|
|
46
|
+
// application's setup, never by the person using it.
|
|
47
|
+
/** The SDK was constructed with something it cannot work with -- a missing client id, a malformed endpoint. */
|
|
48
|
+
INVALID_CONFIGURATION: "invalid_configuration",
|
|
49
|
+
/** The configured Authorization Server endpoint is not a usable URL. */
|
|
50
|
+
INVALID_ENDPOINT_AUTH: "invalid_endpoint_auth",
|
|
51
|
+
/** The configured Andco API endpoint is not a usable URL. */
|
|
52
|
+
INVALID_ENDPOINT_API: "invalid_endpoint_api",
|
|
53
|
+
/** The configured button endpoint is not a usable URL. */
|
|
54
|
+
INVALID_ENDPOINT_BUTTON: "invalid_endpoint_button",
|
|
55
|
+
/** The configured OAuth client identifier is not well formed. */
|
|
56
|
+
INVALID_CLIENT_ID: "invalid_client_id",
|
|
57
|
+
/** The configured callback URL is not a usable URL, or uses a scheme that cannot receive a callback. */
|
|
58
|
+
INVALID_REDIRECT_TO: "invalid_redirect_to",
|
|
59
|
+
/** The requested authentication mode is not one the SDK offers. */
|
|
60
|
+
INVALID_AUTH_MODE: "invalid_auth_mode",
|
|
61
|
+
/** At least one requested permission scope is not a scope Andco publishes. */
|
|
62
|
+
INVALID_SCOPE: "invalid_scope",
|
|
63
|
+
/** The requested SDK protocol version is not one this build speaks. */
|
|
64
|
+
INVALID_VERSION: "invalid_version",
|
|
65
|
+
/** The requested button theme is not one the widget ships. */
|
|
66
|
+
UNSUPPORTED_THEME: "unsupported_theme",
|
|
67
|
+
/** The requested colour-scheme mode is not one the chosen theme supports. */
|
|
68
|
+
UNSUPPORTED_THEME_MODE: "unsupported_theme_mode",
|
|
69
|
+
/** The button endpoint shares the host application's origin, which would defeat the frame boundary. */
|
|
70
|
+
SAME_ORIGIN_ENDPOINT: "same_origin_endpoint",
|
|
71
|
+
// -- Presentation ----------------------------------------------------------------------------
|
|
72
|
+
/**
|
|
73
|
+
* The browser refused to open the authorization window, almost always because it was not opened
|
|
74
|
+
* from a direct user gesture. Actionable: ask the person to allow popups, or present by redirect.
|
|
75
|
+
*/
|
|
76
|
+
POPUP_BLOCKED: "popup_blocked",
|
|
77
|
+
/** A popup opened but the browser refused to navigate it to the Authorization Server. */
|
|
78
|
+
POPUP_NAVIGATION_FAILED: "popup_navigation_failed",
|
|
38
79
|
/** A popup presentation did not settle before its bounded lifetime elapsed. */
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
-
/** The
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
80
|
+
POPUP_TIMEOUT: "popup_timeout",
|
|
81
|
+
/** The requested presentation is not one this surface supports. */
|
|
82
|
+
PRESENTATION_UNSUPPORTED: "presentation_unsupported",
|
|
83
|
+
/** Resolving the URL to present failed before anything was shown. */
|
|
84
|
+
PRESENTATION_TARGET_FAILED: "presentation_target_failed",
|
|
85
|
+
/** Presenting an Intent directly in a popup requires an explicit callback URL, and none was given. */
|
|
86
|
+
INTENT_CALLBACK_REQUIRED: "intent_callback_required",
|
|
87
|
+
/** The supplied iframe is missing, detached, or cannot be used to host the widget. */
|
|
88
|
+
INVALID_IFRAME: "invalid_iframe",
|
|
89
|
+
/**
|
|
90
|
+
* The widget in the iframe never completed its handshake with the host page. The SDK retries this
|
|
91
|
+
* one automatically, once; seeing it means the retry also failed.
|
|
92
|
+
*/
|
|
93
|
+
HANDSHAKE_TIMEOUT: "handshake_timeout",
|
|
94
|
+
/**
|
|
95
|
+
* A message reached the host from an origin the bridge does not trust. Not actionable by the
|
|
96
|
+
* person using the application: the embedding is misconfigured, or something is impersonating the
|
|
97
|
+
* widget.
|
|
98
|
+
*/
|
|
99
|
+
UNTRUSTED_ORIGIN: "untrusted_origin",
|
|
100
|
+
// -- Authorization lifecycle -----------------------------------------------------------------
|
|
101
|
+
/** The person closed or rejected the authorization before it completed. Not a failure: a decision. */
|
|
102
|
+
AUTHORIZATION_CANCELLED: "authorization_cancelled",
|
|
103
|
+
/** The authorization did not complete before its timeout elapsed. */
|
|
104
|
+
AUTHORIZATION_TIMEOUT: "authorization_timeout",
|
|
105
|
+
/** Building or pushing (RFC 9126 PAR) an authorization request failed. */
|
|
106
|
+
AUTHORIZATION_REQUEST_FAILED: "authorization_request_failed",
|
|
107
|
+
/** Exchanging an authorization code for a session failed. */
|
|
108
|
+
AUTHORIZATION_EXCHANGE_FAILED: "authorization_exchange_failed",
|
|
109
|
+
/** Starting an RFC 8628 device authorization request failed. */
|
|
110
|
+
DEVICE_AUTHORIZATION_FAILED: "device_authorization_failed",
|
|
111
|
+
/** Exchanging an approved device authorization grant for a session failed. */
|
|
112
|
+
DEVICE_EXCHANGE_FAILED: "device_exchange_failed",
|
|
113
|
+
/** Exchanging a refresh token for a new session failed. The Grant may have been revoked. */
|
|
114
|
+
REFRESH_FAILED: "refresh_failed",
|
|
115
|
+
/** Fetching the OpenID Connect UserInfo endpoint failed. */
|
|
116
|
+
USERINFO_FAILED: "userinfo_failed",
|
|
117
|
+
/** A callback could not be correlated with the transaction that started it, so it is not trusted. */
|
|
118
|
+
INVALID_CALLBACK: "invalid_callback",
|
|
119
|
+
/** The token endpoint answered without a field the session needs, or with an unusable value for one. */
|
|
120
|
+
INVALID_TOKEN_RESPONSE: "invalid_token_response",
|
|
121
|
+
/** An operation that needs a session ran without one. Actionable: send the person to authorize. */
|
|
122
|
+
SESSION_MISSING: "session_missing",
|
|
123
|
+
/** Reading or writing the session store failed -- private browsing, or storage the browser denied. */
|
|
124
|
+
STORAGE_FAILED: "storage_failed",
|
|
125
|
+
/**
|
|
126
|
+
* The operation needs a confidential Client and this one is public. A public Client cannot keep a
|
|
127
|
+
* secret, so it may not perform it at all -- this is a registration question, not a runtime one.
|
|
128
|
+
*/
|
|
129
|
+
CONFIDENTIAL_CLIENT_REQUIRED: "confidential_client_required",
|
|
130
|
+
/** The pushed authorization request (RFC 9126) answered without a usable `request_uri`. */
|
|
131
|
+
INVALID_PAR_RESPONSE: "invalid_par_response",
|
|
132
|
+
// -- Operations ------------------------------------------------------------------------------
|
|
133
|
+
/**
|
|
134
|
+
* An Intent watch was stopped, by `stop()` or its signal, before the Intent reached a terminal
|
|
135
|
+
* status. A decision of the caller, not a failure; the watch's `intent` still holds the last read.
|
|
136
|
+
*/
|
|
137
|
+
WATCH_STOPPED: "watch_stopped",
|
|
138
|
+
/**
|
|
139
|
+
* The API answered a failure with no code the SDK could read. Distinct from `invalid_response`,
|
|
140
|
+
* which is a success whose shape is unusable: here the request failed and said so, just not in a
|
|
141
|
+
* vocabulary anybody shares.
|
|
142
|
+
*/
|
|
143
|
+
REQUEST_FAILED: "request_failed",
|
|
144
|
+
/** A response arrived in a shape the SDK cannot read. */
|
|
145
|
+
INVALID_RESPONSE: "invalid_response",
|
|
146
|
+
// -- Fallback --------------------------------------------------------------------------------
|
|
147
|
+
/** A failure the SDK could not attribute to any condition above. Its cause carries what is known. */
|
|
148
|
+
UNKNOWN_ERROR: "unknown_error",
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* The subset a widget may report to its host page over postMessage.
|
|
152
|
+
*
|
|
153
|
+
* Narrower than the vocabulary above on purpose. `session_missing` and `storage_failed` happen in
|
|
154
|
+
* the host page, and the iframe has no way to observe them, so accepting them here would widen a
|
|
155
|
+
* wire contract to admit messages nothing can send. Derived from what the widget actually produces:
|
|
156
|
+
* a new producer belongs in this list, and the message schema refusing its code is the intended way
|
|
157
|
+
* to find that out.
|
|
158
|
+
*/
|
|
159
|
+
export const ANDCO_BRIDGE_ERROR_CODES = [
|
|
160
|
+
ANDCO_ERROR_CODES.INVALID_ENDPOINT_AUTH,
|
|
161
|
+
ANDCO_ERROR_CODES.INVALID_AUTH_MODE,
|
|
162
|
+
ANDCO_ERROR_CODES.INVALID_CLIENT_ID,
|
|
163
|
+
ANDCO_ERROR_CODES.INVALID_REDIRECT_TO,
|
|
164
|
+
ANDCO_ERROR_CODES.INVALID_SCOPE,
|
|
165
|
+
ANDCO_ERROR_CODES.INVALID_VERSION,
|
|
166
|
+
ANDCO_ERROR_CODES.UNSUPPORTED_THEME,
|
|
167
|
+
ANDCO_ERROR_CODES.UNSUPPORTED_THEME_MODE,
|
|
168
|
+
ANDCO_ERROR_CODES.PRESENTATION_UNSUPPORTED,
|
|
169
|
+
ANDCO_ERROR_CODES.POPUP_BLOCKED,
|
|
170
|
+
ANDCO_ERROR_CODES.POPUP_NAVIGATION_FAILED,
|
|
171
|
+
ANDCO_ERROR_CODES.POPUP_TIMEOUT,
|
|
172
|
+
ANDCO_ERROR_CODES.HANDSHAKE_TIMEOUT,
|
|
173
|
+
ANDCO_ERROR_CODES.UNTRUSTED_ORIGIN,
|
|
174
|
+
ANDCO_ERROR_CODES.UNKNOWN_ERROR,
|
|
175
|
+
];
|
|
59
176
|
/** Error base class that preserves its prototype at runtime. */
|
|
60
177
|
export class ErrorExtendable extends Error {
|
|
61
178
|
constructor(message, options) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
export * from "./api-errors.js";
|
|
1
2
|
export * from "./authorization.js";
|
|
2
3
|
export * from "./authorization-preparation.js";
|
|
3
|
-
export * from "./automatic-charge.js";
|
|
4
|
-
export * from "./bank-account-authorization.js";
|
|
5
4
|
export * from "./callback-state.js";
|
|
6
5
|
export * from "./consent.js";
|
|
7
6
|
export * from "./constants.js";
|
|
@@ -22,12 +21,13 @@ export * from "./native.js";
|
|
|
22
21
|
export * from "./native-copy.js";
|
|
23
22
|
export * from "./native-intent.js";
|
|
24
23
|
export * from "./oauth.js";
|
|
24
|
+
export * from "./rar/index.js";
|
|
25
25
|
export * from "./release.js";
|
|
26
26
|
export * from "./scopes.js";
|
|
27
|
+
export * from "./service-grants.js";
|
|
28
|
+
export * from "./signing.js";
|
|
27
29
|
export * from "./urls.js";
|
|
28
30
|
export * from "./userinfo.js";
|
|
29
31
|
export * from "./utils.js";
|
|
30
|
-
export * from "./webhook-input.js";
|
|
31
|
-
export * from "./webhook-signature.js";
|
|
32
32
|
export { ANDCO_POPUP_NAME_PREFIX, type AndcoPopupGeometry, type AndcoPopupPosition, isBrowser, windowFeaturesFrom, } from "./window-features.js";
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,SAAS,EACT,kBAAkB,GACnB,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
export * from "./api-errors.js";
|
|
1
2
|
export * from "./authorization.js";
|
|
2
3
|
export * from "./authorization-preparation.js";
|
|
3
|
-
export * from "./automatic-charge.js";
|
|
4
|
-
export * from "./bank-account-authorization.js";
|
|
5
4
|
export * from "./callback-state.js";
|
|
6
5
|
export * from "./consent.js";
|
|
7
6
|
export * from "./constants.js";
|
|
@@ -22,11 +21,12 @@ export * from "./native.js";
|
|
|
22
21
|
export * from "./native-copy.js";
|
|
23
22
|
export * from "./native-intent.js";
|
|
24
23
|
export * from "./oauth.js";
|
|
24
|
+
export * from "./rar/index.js";
|
|
25
25
|
export * from "./release.js";
|
|
26
26
|
export * from "./scopes.js";
|
|
27
|
+
export * from "./service-grants.js";
|
|
28
|
+
export * from "./signing.js";
|
|
27
29
|
export * from "./urls.js";
|
|
28
30
|
export * from "./userinfo.js";
|
|
29
31
|
export * from "./utils.js";
|
|
30
|
-
export * from "./webhook-input.js";
|
|
31
|
-
export * from "./webhook-signature.js";
|
|
32
32
|
export { ANDCO_POPUP_NAME_PREFIX, isBrowser, windowFeaturesFrom, } from "./window-features.js";
|