@agent-cards/checkout 0.18.0 → 0.21.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.
Files changed (88) hide show
  1. package/README.md +6 -669
  2. package/cdp.d.ts +1 -0
  3. package/cdp.js +2 -0
  4. package/index.d.ts +1 -0
  5. package/index.js +2 -0
  6. package/package.json +33 -33
  7. package/playwright.d.ts +1 -0
  8. package/playwright.js +2 -0
  9. package/preflight.d.ts +1 -0
  10. package/preflight.js +2 -0
  11. package/CHANGELOG.md +0 -124
  12. package/PREFLIGHT.md +0 -308
  13. package/dist/adyen.generated.d.ts +0 -24
  14. package/dist/adyen.generated.js +0 -64
  15. package/dist/attachment.d.ts +0 -11
  16. package/dist/attachment.js +0 -50
  17. package/dist/braintree.d.ts +0 -2
  18. package/dist/braintree.generated.d.ts +0 -10
  19. package/dist/braintree.generated.js +0 -302
  20. package/dist/braintree.js +0 -2
  21. package/dist/builtin-registry.generated.d.ts +0 -2
  22. package/dist/builtin-registry.generated.js +0 -1
  23. package/dist/card-fields.generated.d.ts +0 -3
  24. package/dist/card-fields.generated.js +0 -46
  25. package/dist/cdp.d.ts +0 -189
  26. package/dist/cdp.js +0 -2194
  27. package/dist/checkout-com.generated.d.ts +0 -4
  28. package/dist/checkout-com.generated.js +0 -183
  29. package/dist/client.d.ts +0 -618
  30. package/dist/client.js +0 -1251
  31. package/dist/hosted-form.d.ts +0 -44
  32. package/dist/hosted-form.js +0 -78
  33. package/dist/index.d.ts +0 -13
  34. package/dist/index.js +0 -6
  35. package/dist/lifecycle.d.ts +0 -165
  36. package/dist/lifecycle.js +0 -370
  37. package/dist/mercado-checkout.d.ts +0 -20
  38. package/dist/mercado-checkout.generated.d.ts +0 -52
  39. package/dist/mercado-checkout.generated.js +0 -198
  40. package/dist/mercado-checkout.js +0 -108
  41. package/dist/owned-shop.generated.d.ts +0 -24
  42. package/dist/owned-shop.generated.js +0 -108
  43. package/dist/paysafe.generated.d.ts +0 -12
  44. package/dist/paysafe.generated.js +0 -87
  45. package/dist/playwright.d.ts +0 -3
  46. package/dist/playwright.js +0 -3
  47. package/dist/preflight-capabilities.generated.d.ts +0 -1253
  48. package/dist/preflight-capabilities.generated.js +0 -1929
  49. package/dist/preflight-catalog.json +0 -4595
  50. package/dist/preflight-playwright.d.ts +0 -34
  51. package/dist/preflight-playwright.js +0 -355
  52. package/dist/preflight-schemas.json +0 -1110
  53. package/dist/preflight.d.ts +0 -1
  54. package/dist/preflight.generated.d.ts +0 -1965
  55. package/dist/preflight.generated.js +0 -556
  56. package/dist/preflight.js +0 -2
  57. package/dist/preparation.d.ts +0 -31
  58. package/dist/preparation.js +0 -164
  59. package/dist/prepared-processor.d.ts +0 -10
  60. package/dist/prepared-processor.js +0 -122
  61. package/dist/recurly.generated.d.ts +0 -1
  62. package/dist/recurly.generated.js +0 -87
  63. package/dist/registry.d.ts +0 -76
  64. package/dist/registry.js +0 -296
  65. package/dist/spreedly.generated.d.ts +0 -10
  66. package/dist/spreedly.generated.js +0 -332
  67. package/dist/stripe-checkout.d.ts +0 -81
  68. package/dist/stripe-checkout.generated.d.ts +0 -82
  69. package/dist/stripe-checkout.generated.js +0 -1004
  70. package/dist/stripe-checkout.js +0 -140
  71. package/dist/substitute.d.ts +0 -38
  72. package/dist/substitute.js +0 -23
  73. package/dist/substitutions.generated.d.ts +0 -10
  74. package/dist/substitutions.generated.js +0 -66
  75. package/examples/existing-browser.mjs +0 -63
  76. package/examples/preflight/classify-direct.mjs +0 -21
  77. package/examples/preflight/classify-kernel.mjs +0 -30
  78. package/examples/preflight/inspect-browser.mjs +0 -44
  79. package/examples/preflight/kernel-native/README.md +0 -112
  80. package/examples/preflight/kernel-native/documented-adapters.json +0 -113
  81. package/examples/preflight/kernel-native/inventory.json +0 -233
  82. package/examples/preflight/kernel-native/qualification.mjs +0 -182
  83. package/examples/preflight/kernel-profile.empty.json +0 -11
  84. package/examples/preflight/mollie-hosted.observations.json +0 -23
  85. package/examples/preflight/mollie-hosted.result.json +0 -103
  86. package/examples/preflight/stripe-script.direct.result.json +0 -92
  87. package/examples/preflight/stripe-script.observations.json +0 -16
  88. package/examples/preflight/stripe-script.result.json +0 -87
@@ -1,92 +0,0 @@
1
- {
2
- "snapshot": {
3
- "schema_version": 1,
4
- "catalog_version": "2026-09-15.1",
5
- "signals": [
6
- {
7
- "rule_id": "stripe-js-v3",
8
- "kind": "script",
9
- "frame_id": 0,
10
- "parent_frame_id": null,
11
- "visible": null
12
- },
13
- {
14
- "rule_id": "stripe-js-script",
15
- "kind": "script",
16
- "frame_id": 0,
17
- "parent_frame_id": null,
18
- "visible": null
19
- }
20
- ],
21
- "observation": {
22
- "complete": true,
23
- "truncated": false,
24
- "reasons": []
25
- }
26
- },
27
- "result": {
28
- "schema_version": 1,
29
- "catalog_version": "2026-09-15.1",
30
- "integration": {
31
- "id": "direct_sdk",
32
- "version": "bundled"
33
- },
34
- "scenario": "one_time",
35
- "scenario_defaulted": false,
36
- "psp": "stripe",
37
- "flow": null,
38
- "mode": "token",
39
- "status": "supported",
40
- "support_scope": "processor_integration",
41
- "checkout_flow_status": "unknown",
42
- "candidates": [
43
- {
44
- "psp": "stripe",
45
- "relevance": "undetermined",
46
- "evidence": [
47
- {
48
- "rule_id": "stripe-js-v3",
49
- "kind": "script",
50
- "frame_id": 0,
51
- "parent_frame_id": null,
52
- "visible": null,
53
- "origin": "https://js.stripe.com",
54
- "path_pattern": "/v3/*"
55
- },
56
- {
57
- "rule_id": "stripe-js-script",
58
- "kind": "script",
59
- "frame_id": 0,
60
- "parent_frame_id": null,
61
- "visible": null,
62
- "origin": "https://js.stripe.com",
63
- "path_pattern": "^/v3/?$"
64
- }
65
- ]
66
- }
67
- ],
68
- "reason_codes": [
69
- "checkout_flow_unidentified",
70
- "processor_supported_by_integration"
71
- ],
72
- "limitations": [
73
- "Processor assets alone do not establish the active card payment flow.",
74
- "Tokenization replays a token response; it does not authorize a later PaymentIntent confirm.",
75
- "Direct PaymentIntent confirms require a card-bearing template; the intent’s amount is read from Stripe and a hint sent as amount with currency must agree with it.",
76
- "Direct SetupIntent confirms require a card-bearing template and save a card without charging it; future charges are merchant-managed.",
77
- "Automatic token-to-PaymentIntent or token-to-SetupIntent continuation is unsupported; tokenization does not bind a later intent.",
78
- "A token response does not bind a later PaymentIntent confirmation.",
79
- "A token response does not bind a later SetupIntent confirmation."
80
- ],
81
- "missing_evidence": [
82
- "active_checkout_flow"
83
- ],
84
- "observation": {
85
- "complete": true,
86
- "truncated": false,
87
- "reasons": []
88
- },
89
- "scope": "preflight_hint",
90
- "merchant_confirmation_required": true
91
- }
92
- }
@@ -1,16 +0,0 @@
1
- {
2
- "signals": [
3
- {
4
- "kind": "script",
5
- "url": "https://js.stripe.com/v3/?example=discard-this-query",
6
- "frame_id": 0,
7
- "parent_frame_id": null,
8
- "visible": null
9
- }
10
- ],
11
- "observation": {
12
- "complete": true,
13
- "truncated": false,
14
- "reasons": []
15
- }
16
- }
@@ -1,87 +0,0 @@
1
- {
2
- "snapshot": {
3
- "schema_version": 1,
4
- "catalog_version": "2026-09-15.1",
5
- "signals": [
6
- {
7
- "rule_id": "stripe-js-v3",
8
- "kind": "script",
9
- "frame_id": 0,
10
- "parent_frame_id": null,
11
- "visible": null
12
- },
13
- {
14
- "rule_id": "stripe-js-script",
15
- "kind": "script",
16
- "frame_id": 0,
17
- "parent_frame_id": null,
18
- "visible": null
19
- }
20
- ],
21
- "observation": {
22
- "complete": true,
23
- "truncated": false,
24
- "reasons": []
25
- }
26
- },
27
- "result": {
28
- "schema_version": 1,
29
- "catalog_version": "2026-09-15.1",
30
- "integration": {
31
- "id": "kernel_native",
32
- "version": "example-native-adapter"
33
- },
34
- "scenario": "one_time",
35
- "scenario_defaulted": false,
36
- "psp": "stripe",
37
- "flow": null,
38
- "mode": "token",
39
- "status": "unknown",
40
- "support_scope": null,
41
- "checkout_flow_status": "unknown",
42
- "candidates": [
43
- {
44
- "psp": "stripe",
45
- "relevance": "undetermined",
46
- "evidence": [
47
- {
48
- "rule_id": "stripe-js-v3",
49
- "kind": "script",
50
- "frame_id": 0,
51
- "parent_frame_id": null,
52
- "visible": null,
53
- "origin": "https://js.stripe.com",
54
- "path_pattern": "/v3/*"
55
- },
56
- {
57
- "rule_id": "stripe-js-script",
58
- "kind": "script",
59
- "frame_id": 0,
60
- "parent_frame_id": null,
61
- "visible": null,
62
- "origin": "https://js.stripe.com",
63
- "path_pattern": "^/v3/?$"
64
- }
65
- ]
66
- }
67
- ],
68
- "reason_codes": [
69
- "checkout_flow_unidentified",
70
- "integration_processor_undeclared"
71
- ],
72
- "limitations": [
73
- "Processor assets alone do not establish the active card payment flow."
74
- ],
75
- "missing_evidence": [
76
- "active_checkout_flow",
77
- "integration_processor_capability"
78
- ],
79
- "observation": {
80
- "complete": true,
81
- "truncated": false,
82
- "reasons": []
83
- },
84
- "scope": "preflight_hint",
85
- "merchant_confirmation_required": true
86
- }
87
- }