@wix/app-extensions 1.0.140 → 1.0.142
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/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +54 -6
- package/build/trusted/cjs/index.js +1 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +54 -6
- package/build/trusted/es/index.mjs +1 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -19609,13 +19609,17 @@ interface ItemPath {
|
|
|
19609
19609
|
/** @internal */
|
|
19610
19610
|
interface ContextReferences {
|
|
19611
19611
|
/**
|
|
19612
|
-
*
|
|
19612
|
+
* A list of context providers that were defined in editorElement.contexts and available in this container
|
|
19613
19613
|
* Example: itemsList
|
|
19614
|
+
* @maxLength 100
|
|
19615
|
+
* @maxSize 20
|
|
19614
19616
|
*/
|
|
19615
19617
|
local?: string[];
|
|
19616
19618
|
/**
|
|
19617
19619
|
* A list of contexts this component exposes because it uses other context providers inside it's code
|
|
19618
19620
|
* Example: @wix/stores-products-list-context
|
|
19621
|
+
* @maxLength 100
|
|
19622
|
+
* @maxSize 20
|
|
19619
19623
|
*/
|
|
19620
19624
|
reference?: string[];
|
|
19621
19625
|
}
|
|
@@ -25137,6 +25141,14 @@ interface EditorContextProvider {
|
|
|
25137
25141
|
resources?: EditorContextProviderResources;
|
|
25138
25142
|
/** The exposed context model for this component */
|
|
25139
25143
|
context?: ApiContext;
|
|
25144
|
+
/**
|
|
25145
|
+
* A list of reused contexts that are exposed within this provider,
|
|
25146
|
+
* each identified by the module specifier it is exported from.
|
|
25147
|
+
* Example: @wix/stores-products-list-context
|
|
25148
|
+
* @maxLength 100
|
|
25149
|
+
* @maxSize 20
|
|
25150
|
+
*/
|
|
25151
|
+
refContexts?: string[];
|
|
25140
25152
|
/** data-api of this element, a map of data-items where the key is the data-item name and the value is the data-item definition. These will be manifested as `props` for the component, always has children as a prop */
|
|
25141
25153
|
data?: Record<string, DataItem>;
|
|
25142
25154
|
/**
|
|
@@ -25205,7 +25217,7 @@ interface ContextSpecifier {
|
|
|
25205
25217
|
*/
|
|
25206
25218
|
moduleSpecifier?: string;
|
|
25207
25219
|
/**
|
|
25208
|
-
* The exported hook for components
|
|
25220
|
+
* The name of the exported hook for context consumption by components
|
|
25209
25221
|
* @maxLength 100
|
|
25210
25222
|
*/
|
|
25211
25223
|
hook?: string;
|
|
@@ -26346,11 +26358,21 @@ declare enum VerificationMethod {
|
|
|
26346
26358
|
*/
|
|
26347
26359
|
CALLBACK_TOKEN = "CALLBACK_TOKEN",
|
|
26348
26360
|
/** Authenticity is not established at all. Requires unsigned_deliveries_accepted. */
|
|
26349
|
-
NO_VERIFICATION = "NO_VERIFICATION"
|
|
26361
|
+
NO_VERIFICATION = "NO_VERIFICATION",
|
|
26362
|
+
/**
|
|
26363
|
+
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
26364
|
+
* public_key_url with the expected audience, issuer and subject, for example Cloud Pub/Sub
|
|
26365
|
+
* push authentication. Carries no payload binding, the same limitation CALLBACK_TOKEN
|
|
26366
|
+
* documents for itself: it proves the sender's identity, not that the body is intact.
|
|
26367
|
+
*
|
|
26368
|
+
* Not yet implemented: the delivery path has no resolver for this method's key material, so
|
|
26369
|
+
* no config may select it yet.
|
|
26370
|
+
*/
|
|
26371
|
+
OIDC_BEARER = "OIDC_BEARER"
|
|
26350
26372
|
}
|
|
26351
26373
|
/** @enumType */
|
|
26352
26374
|
/** @internal */
|
|
26353
|
-
type VerificationMethodWithLiterals = VerificationMethod | 'UNKNOWN_VERIFICATION_METHOD' | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION';
|
|
26375
|
+
type VerificationMethodWithLiterals = VerificationMethod | 'UNKNOWN_VERIFICATION_METHOD' | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION' | 'OIDC_BEARER';
|
|
26354
26376
|
/** Scope of the material used by verification_method. */
|
|
26355
26377
|
/** @internal */
|
|
26356
26378
|
declare enum VerificationSource {
|
|
@@ -26710,8 +26732,8 @@ interface WebhookConfig {
|
|
|
26710
26732
|
*/
|
|
26711
26733
|
callbackTokenHeader?: string;
|
|
26712
26734
|
/**
|
|
26713
|
-
* Endpoint publishing the provider's public keys
|
|
26714
|
-
*
|
|
26735
|
+
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and must be empty for
|
|
26736
|
+
* every other method.
|
|
26715
26737
|
*
|
|
26716
26738
|
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26717
26739
|
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
@@ -26843,6 +26865,32 @@ interface WebhookConfig {
|
|
|
26843
26865
|
* @immutable
|
|
26844
26866
|
*/
|
|
26845
26867
|
deliveryTopic?: string;
|
|
26868
|
+
/**
|
|
26869
|
+
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26870
|
+
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26871
|
+
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26872
|
+
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26873
|
+
* for every other method.
|
|
26874
|
+
* @maxLength 2000
|
|
26875
|
+
*/
|
|
26876
|
+
oidcExpectedAudience?: string;
|
|
26877
|
+
/**
|
|
26878
|
+
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26879
|
+
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26880
|
+
* @maxLength 2000
|
|
26881
|
+
*/
|
|
26882
|
+
oidcExpectedIssuer?: string;
|
|
26883
|
+
/**
|
|
26884
|
+
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26885
|
+
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26886
|
+
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26887
|
+
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26888
|
+
* same-audience token — a different Google service account with permission to request an ID
|
|
26889
|
+
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26890
|
+
* must be empty for every other method.
|
|
26891
|
+
* @maxLength 2000
|
|
26892
|
+
*/
|
|
26893
|
+
oidcExpectedSubject?: string;
|
|
26846
26894
|
}
|
|
26847
26895
|
/**
|
|
26848
26896
|
* Declares the connector's MCP (Model Context Protocol) surface: the endpoint connector dispatch
|
|
@@ -3706,6 +3706,7 @@ var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
|
|
|
3706
3706
|
VerificationMethod2["PUBLIC_KEY"] = "PUBLIC_KEY";
|
|
3707
3707
|
VerificationMethod2["CALLBACK_TOKEN"] = "CALLBACK_TOKEN";
|
|
3708
3708
|
VerificationMethod2["NO_VERIFICATION"] = "NO_VERIFICATION";
|
|
3709
|
+
VerificationMethod2["OIDC_BEARER"] = "OIDC_BEARER";
|
|
3709
3710
|
return VerificationMethod2;
|
|
3710
3711
|
})(VerificationMethod || {});
|
|
3711
3712
|
var VerificationSource = /* @__PURE__ */ ((VerificationSource2) => {
|