@aglyn/aglyn 1.15.0 → 1.15.2
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/package.json +11 -11
- package/src/lib/app-utils/buy-now-pay-later.d.ts +45 -0
- package/src/lib/app-utils/buy-now-pay-later.js +68 -0
- package/src/lib/app-utils/buy-now-pay-later.js.map +1 -0
- package/src/lib/app-utils/contexts.d.ts +1 -0
- package/src/lib/app-utils/contexts.js +1 -0
- package/src/lib/app-utils/contexts.js.map +1 -1
- package/src/lib/app-utils/docs-help-sections.generated.js +2 -0
- package/src/lib/app-utils/docs-help-sections.generated.js.map +1 -1
- package/src/lib/app-utils/docs-help.generated.d.ts +3 -3
- package/src/lib/app-utils/docs-help.generated.js +9 -0
- package/src/lib/app-utils/docs-help.generated.js.map +1 -1
- package/src/lib/app-utils/docs-index.generated.js +4 -4
- package/src/lib/app-utils/docs-index.generated.js.map +1 -1
- package/src/lib/app-utils/plan-entitlements.d.ts +127 -75
- package/src/lib/app-utils/plan-entitlements.js +120 -77
- package/src/lib/app-utils/plan-entitlements.js.map +1 -1
- package/src/lib/app-utils/plugin-bundle-checks.d.ts +14 -2
- package/src/lib/app-utils/plugin-bundle-checks.js +82 -7
- package/src/lib/app-utils/plugin-bundle-checks.js.map +1 -1
- package/src/lib/app-utils/plugin-connection-editor.d.ts +48 -0
- package/src/lib/app-utils/plugin-connection-editor.js +46 -0
- package/src/lib/app-utils/plugin-connection-editor.js.map +1 -0
- package/src/lib/app-utils/plugin-connection-record.d.ts +42 -0
- package/src/lib/app-utils/plugin-connection-record.js +48 -0
- package/src/lib/app-utils/plugin-connection-record.js.map +1 -0
- package/src/lib/app-utils/plugin-connection-records-context.d.ts +23 -0
- package/src/lib/app-utils/plugin-connection-records-context.js +29 -0
- package/src/lib/app-utils/plugin-connection-records-context.js.map +1 -0
- package/src/lib/app-utils/plugin-connection-records.d.ts +42 -0
- package/src/lib/app-utils/plugin-connection-records.js +56 -0
- package/src/lib/app-utils/plugin-connection-records.js.map +1 -0
- package/src/lib/app-utils/plugin-connections.d.ts +320 -0
- package/src/lib/app-utils/plugin-connections.js +895 -0
- package/src/lib/app-utils/plugin-connections.js.map +1 -0
- package/src/lib/app-utils/plugin-elements.d.ts +104 -0
- package/src/lib/app-utils/plugin-elements.js +128 -0
- package/src/lib/app-utils/plugin-elements.js.map +1 -0
- package/src/lib/app-utils/plugin-manifest.d.ts +20 -75
- package/src/lib/app-utils/plugin-manifest.js +65 -100
- package/src/lib/app-utils/plugin-manifest.js.map +1 -1
- package/src/lib/app-utils/realm-elements-context.d.ts +16 -0
- package/src/lib/app-utils/realm-elements-context.js +16 -0
- package/src/lib/app-utils/realm-elements-context.js.map +1 -1
- package/src/lib/app-utils/realm-host-surface.generated.js +1 -0
- package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
- package/src/lib/app-utils/release-flags.d.ts +1 -1
- package/src/lib/app-utils/release-flags.js +11 -0
- package/src/lib/app-utils/release-flags.js.map +1 -1
- package/src/lib/app-utils/server.d.ts +1 -0
- package/src/lib/app-utils/server.js +2 -0
- package/src/lib/app-utils/server.js.map +1 -1
- package/src/lib/plugin-manager/feature-plugins.d.ts +25 -0
- package/src/lib/plugin-manager/feature-plugins.js +10 -0
- package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
- package/src/lib/plugin-manager/first-party-plugins.generated.js +11 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
- package/src/lib/plugin-manager/index.d.ts +1 -0
- package/src/lib/plugin-manager/index.js +1 -0
- package/src/lib/plugin-manager/index.js.map +1 -1
- package/src/lib/plugin-manager/plugin-artifact-inventory.d.ts +5 -0
- package/src/lib/plugin-manager/plugin-artifact-inventory.js.map +1 -1
- package/src/lib/plugin-manager/plugin-site-csp.d.ts +36 -0
- package/src/lib/plugin-manager/plugin-site-csp.js +50 -1
- package/src/lib/plugin-manager/plugin-site-csp.js.map +1 -1
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js +61 -59
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
- package/src/lib/plugin-manager/site-page-enricher-services.d.ts +35 -0
- package/src/lib/plugin-manager/site-page-enricher-services.js +35 -0
- package/src/lib/plugin-manager/site-page-enricher-services.js.map +1 -0
- package/src/lib/plugin-manager/site-page-hooks.js +16 -3
- package/src/lib/plugin-manager/site-page-hooks.js.map +1 -1
|
@@ -5364,7 +5364,7 @@ export const DOCS_SECTION_INDEX = [
|
|
|
5364
5364
|
title: 'Commerce',
|
|
5365
5365
|
heading: 'Payment methods',
|
|
5366
5366
|
anchor: '#payment-methods',
|
|
5367
|
-
text: 'The Payment methods card, on Products → Payments, chooses what shoppers may pay with besides a card, once your Stripe account is connected on the Payments card. Cards are always on. Every other method is on unless you turn it off, except stablecoins, which you turn on. Stripe shows a method only on orders it suits: the right currency, an amount inside its limits, and a shopper in a country it serves.\n| Method | What the shopper needs | Limits |\n| Apple Pay | Safari on a Mac, iPhone or iPad with a card in Apple Wallet | Same as cards |\n| Google Pay | Chrome or an Android device with a card in Google Pay | Same as cards |\n| Link | A card or bank saved with Link | Same as cards |\n|
|
|
5367
|
+
text: 'The Payment methods card, on Products → Payments, chooses what shoppers may pay with besides a card, once your Stripe account is connected on the Payments card. Cards are always on. Every other method is on unless you turn it off, except stablecoins, which you turn on. Stripe shows a method only on orders it suits: the right currency, an amount inside its limits, and a shopper in a country it serves.\n| Method | What the shopper needs | Limits |\n| Apple Pay | Safari on a Mac, iPhone or iPad with a card in Apple Wallet | Same as cards |\n| Google Pay | Chrome or an Android device with a card in Google Pay | Same as cards |\n| Link | A card or bank saved with Link | Same as cards |\n| Cash App Pay | A US shopper with Cash App | USD only |\n| Amazon Pay | An Amazon account with a saved card | USD only |\n| Stablecoins | A crypto wallet holding USDC or another supported stablecoin | USD only, up to $10,000 |\nThe card only lists the methods the platform offers. A method missing from your card is not available for storefronts yet.\nNo checkout offers buy-now-pay-later. Klarna, Afterpay and Affirm are not offered anywhere a customer pays you: storefront checkout, bookings, reservation deposits, quotes, invoices, draft order links and the register\'s card link. Every method on the card costs Stripe no more than a card does, so the processing passed through on each sale is Stripe\'s card rate, 2.9% + 30¢ (see processing costs).\nAnyone holding Manage orders can read the card; changing it takes Manage payment methods, which a site\'s admins hold by default.\nUntil Stripe is connected, each method you have on reads Connect Stripe first, and a note at the top of the card links to the Payments card above it, where you connect. You can still choose your methods in the meantime; they show at chec'
|
|
5368
5368
|
},
|
|
5369
5369
|
{
|
|
5370
5370
|
path: '/commerce-and-bookings/commerce/overview',
|
|
@@ -5896,7 +5896,7 @@ export const DOCS_SECTION_INDEX = [
|
|
|
5896
5896
|
title: 'Quotes',
|
|
5897
5897
|
heading: 'How your customer pays',
|
|
5898
5898
|
anchor: '#paying',
|
|
5899
|
-
text: 'Pay charges the quote as you saved it, priced from its items, discount, shipping and tax. Your customer pays on the page itself, or on a Stripe payment page that brings them back to the quote afterward. Their email is filled in from the quote. When the quote charges shipping, they\'re asked where it ships, starting from the quote\'s ship-to. Under Stripe Tax, the tax is worked out from that address when they pay.\nYour customer pays by card, or with a wallet you leave on in Payment methods: Apple Pay, Google Pay, Link, Cash App Pay, Amazon Pay, or stablecoins once you turn them on. A quote never offers Klarna, Afterpay or Affirm,
|
|
5899
|
+
text: 'Pay charges the quote as you saved it, priced from its items, discount, shipping and tax. Your customer pays on the page itself, or on a Stripe payment page that brings them back to the quote afterward. Their email is filled in from the quote. When the quote charges shipping, they\'re asked where it ships, starting from the quote\'s ship-to. Under Stripe Tax, the tax is worked out from that address when they pay.\nYour customer pays by card, or with a wallet you leave on in Payment methods: Apple Pay, Google Pay, Link, Cash App Pay, Amazon Pay, or stablecoins once you turn them on. A quote never offers Klarna, Afterpay or Affirm, as no checkout does. Its processing is Stripe\'s card rate, 2.9% + 30¢, passed through at cost beside your plan\'s platform fee. An invoice pays the same way.\nIf you edit the quote while your customer has it open, Pay asks them to reload the page first, so nobody pays for a version they haven\'t seen. Editing a quote, deleting it or replacing its link also closes any payment your customer had started for it.\nPaying needs a connected Stripe account and a decision about sales tax. Until your store has both, the quote page has no Pay button. When Stripe isn\'t ready, the page says your business can\'t take payments online right now and asks the customer to contact you to pay; otherwise it asks them to contact you to pay.\nYou hear about it first, in the console. While Stripe or the sales tax choice stands in the way, a quote\'s editor, its Pay link section, the Send quote form and the Send invoice form say Customers can\'t pay this quote online yet (the Send invoice form says invoice) and name what\'s missing, each with a button to fix it: Open Payments to connect Stripe, Open Taxes to choose how your store handles sales tax, or a reminder to save the quote a'
|
|
5900
5900
|
},
|
|
5901
5901
|
{
|
|
5902
5902
|
path: '/commerce-and-bookings/commerce/quotes-and-proofs',
|
|
@@ -9326,7 +9326,7 @@ export const DOCS_SECTION_INDEX = [
|
|
|
9326
9326
|
title: 'Manifests, trust lifecycle & environment',
|
|
9327
9327
|
heading: 'Environment variables',
|
|
9328
9328
|
anchor: '#environment-variables',
|
|
9329
|
-
text: '| Variable | Runtime | Purpose |\n| NEXTPUBLICPLUGINORIGIN | client + server | Dedicated plugin origin: serves /load (sandbox) and /artifacts/... (realm fetches) |\n| PLUGINARTIFACTSBASE | server | Optional server-side artifacts base override |\n| PLUGINARTIFACTSBUCKET | console server | Isolated bucket the publish flow writes to |\n| NEXTPUBLICPLUGINTRUSTPUBLICKEY | client | Ed25519 public key (base64 raw); when set, client realm loads require valid signatures |\n| PLUGINTRUSTPUBLICKEY | server | Same key, server loaders (mandatory there) |\n| PLUGINTRUSTPRIVATEKEY | console server only | Signing key (base64 PKCS8 DER) for the staff sign-plugin route |\n| PLUGINREMOTESERVER | server | enabled turns on remote server bundles (default off everywhere) |\n| PLUGINREMOTESERVERBUNDLES | server | Per-deploy listingId@version allowlist |\n| PLUGINJOBSSECRET | tenant server | Shared secret the scheduler sends to /api/plugins/run-jobs |\n| NEXTPUBLICPLUGINDEVBUNDLES | client, dev only | Unverified localhost bundle loading for the authoring loop; dead code in production builds |\n| PLUGINDEVMANIFESTS | server, dev only | Comma-separated manifest file paths for the dev loop\'s bundles. Compose reads their functionBindings from disk, because a dev bundle has no install to carry them; never read in production builds |'
|
|
9329
|
+
text: '| Variable | Runtime | Purpose |\n| NEXTPUBLICPLUGINORIGIN | client + server | Dedicated plugin origin: serves /load (sandbox) and /artifacts/... (realm fetches) |\n| PLUGINARTIFACTSBASE | server | Optional server-side artifacts base override |\n| PLUGINARTIFACTSBUCKET | console server | Isolated bucket the publish flow writes to |\n| NEXTPUBLICPLUGINTRUSTPUBLICKEY | client | Ed25519 public key (base64 raw); when set, client realm loads require valid signatures |\n| PLUGINTRUSTPUBLICKEY | server | Same key, server loaders (mandatory there) |\n| PLUGINTRUSTPRIVATEKEY | console server only | Signing key (base64 PKCS8 DER) for the staff sign-plugin route |\n| PLUGINREMOTESERVER | server | enabled turns on remote server bundles (default off everywhere) |\n| PLUGINREMOTESERVERBUNDLES | server | Per-deploy listingId@version allowlist |\n| PLUGINJOBSSECRET | tenant server | Shared secret the scheduler sends to /api/plugins/run-jobs |\n| PLUGINCONNECTIONSTOKENKEY | console server only | 32 random bytes, base64 (NEW,OLD to rotate): seals every publisher\'s OAuth app credentials and every site\'s connection tokens. Unset, no declared connection can be connected |\n| NEXTPUBLICPLUGINDEVBUNDLES | client, dev only | Unverified localhost bundle loading for the authoring loop; dead code in production builds |\n| PLUGINDEVMANIFESTS | server, dev only | Comma-separated manifest file paths for the dev loop\'s bundles. Compose reads their functionBindings from disk, because a dev bundle has no install to carry them; never read in production builds |'
|
|
9330
9330
|
},
|
|
9331
9331
|
{
|
|
9332
9332
|
path: '/developers/plugins/reference/manifest-and-envs',
|
|
@@ -10152,7 +10152,7 @@ export const DOCS_SECTION_INDEX = [
|
|
|
10152
10152
|
title: 'Environment variables',
|
|
10153
10153
|
heading: 'Plugins and the sandbox',
|
|
10154
10154
|
anchor: '#plugins',
|
|
10155
|
-
text: '| Variable | Need | When | Value |\n| PLUGINARTIFACTSBUCKET | Feature | Runtime | The separate GCS bucket holding executable plugin bundles — the code refuses to store executable code in the app bucket. Unset, plugin publishing and artifact serving both answer 501. A bare bucket name. Note the bucket is invisible to the Firebase console; manage it in the Google Cloud console. |\n| PLUGINARTIFACTSBASE | Optional | Runtime | Origin the server-side remote-bundle loader fetches from. Falls back to NEXTPUBLICPLUGINORIGIN. Only relevant with remote server bundles enabled. |\n| NEXTPUBLICPLUGINORIGIN | Feature | Build | Full origin the plugin sandbox iframe and bundles are served from, and the entry added to the CSP frame-src. Must be a different origin from the app — the cross-origin boundary is the sandbox. Unset, realm plugins do not load and installed executable plugins render as nothing, because the CSP has no entry for them. |\n| PLUGINTRUSTPRIVATEKEY | Feature | Runtime | Signs realm trust grants. Base64 PKCS8 DER Ed25519, generated by tools/scripts/generate-plugin-trust-key.mjs. Unset, the grant action answers 501. Console only — never deploy it to a tenant runtime. |\n| PLUGINTRUSTPUBLICKEY | Feature | Runtime | The server-side verification key, base64 raw Ed25519. Required with remote server bundles enabled; unset there, no bundle loads at all — it fails closed rather than degrading to a hash check. |\n| NEXTPUBLICPLUGINTRUSTPUBLICKEY | Feature | Build | The same public key again, for browser-side verification of realm bundles. A mismatch with the server-side name refuses every bundle. |\n| PLUGINJOBSSECRET | Feature | Runtime | See Secrets. |\
|
|
10155
|
+
text: '| Variable | Need | When | Value |\n| PLUGINARTIFACTSBUCKET | Feature | Runtime | The separate GCS bucket holding executable plugin bundles — the code refuses to store executable code in the app bucket. Unset, plugin publishing and artifact serving both answer 501. A bare bucket name. Note the bucket is invisible to the Firebase console; manage it in the Google Cloud console. |\n| PLUGINARTIFACTSBASE | Optional | Runtime | Origin the server-side remote-bundle loader fetches from. Falls back to NEXTPUBLICPLUGINORIGIN. Only relevant with remote server bundles enabled. |\n| NEXTPUBLICPLUGINORIGIN | Feature | Build | Full origin the plugin sandbox iframe and bundles are served from, and the entry added to the CSP frame-src. Must be a different origin from the app — the cross-origin boundary is the sandbox. Unset, realm plugins do not load and installed executable plugins render as nothing, because the CSP has no entry for them. |\n| PLUGINTRUSTPRIVATEKEY | Feature | Runtime | Signs realm trust grants. Base64 PKCS8 DER Ed25519, generated by tools/scripts/generate-plugin-trust-key.mjs. Unset, the grant action answers 501. Console only — never deploy it to a tenant runtime. |\n| PLUGINTRUSTPUBLICKEY | Feature | Runtime | The server-side verification key, base64 raw Ed25519. Required with remote server bundles enabled; unset there, no bundle loads at all — it fails closed rather than degrading to a hash check. |\n| NEXTPUBLICPLUGINTRUSTPUBLICKEY | Feature | Build | The same public key again, for browser-side verification of realm bundles. A mismatch with the server-side name refuses every bundle. |\n| PLUGINJOBSSECRET | Feature | Runtime | See Secrets. |\n| PLUGINCONNECTIONSTOKENKEY | Feature | Runtime | 32 random bytes, base64 — openssl rand -base64 32. Seals every marketplace plugin '
|
|
10156
10156
|
},
|
|
10157
10157
|
{
|
|
10158
10158
|
path: '/developers/self-hosting-environment',
|