@vivoa/plugin-sdk 0.6.12 → 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/dist/{host-api-Dx6jCIOw.d.mts → host-api-CuLAVsQ2.d.mts} +5 -1
- package/dist/{host-api-Dx6jCIOw.d.ts → host-api-CuLAVsQ2.d.ts} +5 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -869,7 +869,11 @@ interface ShipmentResult {
|
|
|
869
869
|
*/
|
|
870
870
|
interface TrackingEvent {
|
|
871
871
|
trackingNumber: string;
|
|
872
|
-
status: 'in_transit' | 'delivered' | 'cancelled'
|
|
872
|
+
status: 'in_transit' | 'delivered' | 'cancelled'
|
|
873
|
+
/** A delivery attempt failed; the package is still with the carrier. */
|
|
874
|
+
| 'delivery_failed'
|
|
875
|
+
/** The package is coming back to (or reached) the sender. */
|
|
876
|
+
| 'returned' | 'unknown';
|
|
873
877
|
/** ISO-8601 instant the carrier reported the change, when available. */
|
|
874
878
|
occurredAt?: string;
|
|
875
879
|
/** Human-readable carrier status, for audit/logging. */
|
|
@@ -869,7 +869,11 @@ interface ShipmentResult {
|
|
|
869
869
|
*/
|
|
870
870
|
interface TrackingEvent {
|
|
871
871
|
trackingNumber: string;
|
|
872
|
-
status: 'in_transit' | 'delivered' | 'cancelled'
|
|
872
|
+
status: 'in_transit' | 'delivered' | 'cancelled'
|
|
873
|
+
/** A delivery attempt failed; the package is still with the carrier. */
|
|
874
|
+
| 'delivery_failed'
|
|
875
|
+
/** The package is coming back to (or reached) the sender. */
|
|
876
|
+
| 'returned' | 'unknown';
|
|
873
877
|
/** ISO-8601 instant the carrier reported the change, when available. */
|
|
874
878
|
occurredAt?: string;
|
|
875
879
|
/** Human-readable carrier status, for audit/logging. */
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-
|
|
2
|
-
export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-
|
|
1
|
+
import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-CuLAVsQ2.mjs';
|
|
2
|
+
export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-CuLAVsQ2.mjs';
|
|
3
3
|
|
|
4
4
|
declare const PAYMENT_PLUGIN_TOKEN: "PAYMENT_PLUGINS";
|
|
5
5
|
declare const SHIPPING_PLUGIN_TOKEN: "SHIPPING_PLUGINS";
|
|
@@ -74,7 +74,7 @@ declare function checkPermissions(required: string[], grantedRaw: string[]): Per
|
|
|
74
74
|
* - MINOR: additive (new optional fields, new tokens) — backwards compatible.
|
|
75
75
|
* - PATCH: docs/fixes with zero shape changes.
|
|
76
76
|
*/
|
|
77
|
-
declare const SDK_VERSION = "0.
|
|
77
|
+
declare const SDK_VERSION = "0.7.0";
|
|
78
78
|
/**
|
|
79
79
|
* True when a plugin built against `pluginSdkVersion` can run on a host that
|
|
80
80
|
* ships `hostSdkVersion`. Rule: same major, host minor >= plugin minor.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-
|
|
2
|
-
export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-
|
|
1
|
+
import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-CuLAVsQ2.js';
|
|
2
|
+
export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-CuLAVsQ2.js';
|
|
3
3
|
|
|
4
4
|
declare const PAYMENT_PLUGIN_TOKEN: "PAYMENT_PLUGINS";
|
|
5
5
|
declare const SHIPPING_PLUGIN_TOKEN: "SHIPPING_PLUGINS";
|
|
@@ -74,7 +74,7 @@ declare function checkPermissions(required: string[], grantedRaw: string[]): Per
|
|
|
74
74
|
* - MINOR: additive (new optional fields, new tokens) — backwards compatible.
|
|
75
75
|
* - PATCH: docs/fixes with zero shape changes.
|
|
76
76
|
*/
|
|
77
|
-
declare const SDK_VERSION = "0.
|
|
77
|
+
declare const SDK_VERSION = "0.7.0";
|
|
78
78
|
/**
|
|
79
79
|
* True when a plugin built against `pluginSdkVersion` can run on a host that
|
|
80
80
|
* ships `hostSdkVersion`. Rule: same major, host minor >= plugin minor.
|
package/dist/index.js
CHANGED
|
@@ -741,7 +741,7 @@ function checkPermissions(required, grantedRaw) {
|
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
// src/version.ts
|
|
744
|
-
var SDK_VERSION = "0.
|
|
744
|
+
var SDK_VERSION = "0.7.0";
|
|
745
745
|
function isSdkCompatible(pluginSdkVersion, hostSdkVersion) {
|
|
746
746
|
const parse = (v) => {
|
|
747
747
|
const m = /^(\d+)\.(\d+)\.(\d+)/.exec(v);
|
package/dist/index.mjs
CHANGED
|
@@ -672,7 +672,7 @@ function isPluginFactory(value) {
|
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
// src/version.ts
|
|
675
|
-
var SDK_VERSION = "0.
|
|
675
|
+
var SDK_VERSION = "0.7.0";
|
|
676
676
|
function isSdkCompatible(pluginSdkVersion, hostSdkVersion) {
|
|
677
677
|
const parse = (v) => {
|
|
678
678
|
const m = /^(\d+)\.(\d+)\.(\d+)/.exec(v);
|
package/dist/testing/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-
|
|
1
|
+
import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-CuLAVsQ2.mjs';
|
|
2
2
|
|
|
3
3
|
/** Every recorded interaction, keyed by `"port.method"`. */
|
|
4
4
|
interface MockHostCalls {
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-
|
|
1
|
+
import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-CuLAVsQ2.js';
|
|
2
2
|
|
|
3
3
|
/** Every recorded interaction, keyed by `"port.method"`. */
|
|
4
4
|
interface MockHostCalls {
|