@astrasyncai/verification-gateway 5.6.0 → 5.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.
Files changed (72) hide show
  1. package/README.md +3 -1
  2. package/dist/adapters/express.js +1 -1
  3. package/dist/adapters/express.js.map +1 -1
  4. package/dist/adapters/express.mjs +1 -1
  5. package/dist/adapters/express.mjs.map +1 -1
  6. package/dist/adapters/mcp.js +1 -1
  7. package/dist/adapters/mcp.js.map +1 -1
  8. package/dist/adapters/mcp.mjs +1 -1
  9. package/dist/adapters/mcp.mjs.map +1 -1
  10. package/dist/adapters/nextjs.js +1 -1
  11. package/dist/adapters/nextjs.js.map +1 -1
  12. package/dist/adapters/nextjs.mjs +1 -1
  13. package/dist/adapters/nextjs.mjs.map +1 -1
  14. package/dist/adapters/sdk.js +1 -1
  15. package/dist/adapters/sdk.js.map +1 -1
  16. package/dist/adapters/sdk.mjs +1 -1
  17. package/dist/adapters/sdk.mjs.map +1 -1
  18. package/dist/agent/index.js +1 -1
  19. package/dist/agent/index.js.map +1 -1
  20. package/dist/agent/index.mjs +1 -1
  21. package/dist/agent/index.mjs.map +1 -1
  22. package/dist/bin/astrasync-claude-hook.js +4 -4
  23. package/dist/bin/astrasync-codex-hook.js +4 -4
  24. package/dist/bin/astrasync-guard.js +4 -4
  25. package/dist/bin/astrasync.js +4 -4
  26. package/dist/browser/background.js +4 -4
  27. package/dist/browser/background.js.map +1 -1
  28. package/dist/browser/background.mjs +4 -4
  29. package/dist/browser/background.mjs.map +1 -1
  30. package/dist/cli/index.js +4 -4
  31. package/dist/cli/index.js.map +1 -1
  32. package/dist/cli/index.mjs +4 -4
  33. package/dist/cli/index.mjs.map +1 -1
  34. package/dist/codex/index.js +4 -4
  35. package/dist/codex/index.js.map +1 -1
  36. package/dist/codex/index.mjs +4 -4
  37. package/dist/codex/index.mjs.map +1 -1
  38. package/dist/cursor/extension.js +4 -4
  39. package/dist/cursor/extension.js.map +1 -1
  40. package/dist/cursor/extension.mjs +4 -4
  41. package/dist/cursor/extension.mjs.map +1 -1
  42. package/dist/edge-config.js +1 -1
  43. package/dist/edge-config.js.map +1 -1
  44. package/dist/edge-config.mjs +1 -1
  45. package/dist/edge-config.mjs.map +1 -1
  46. package/dist/edge-core/index.js +8 -1
  47. package/dist/edge-core/index.js.map +1 -1
  48. package/dist/edge-core/index.mjs +8 -1
  49. package/dist/edge-core/index.mjs.map +1 -1
  50. package/dist/gateway/gateway.js +4 -4
  51. package/dist/gateway/gateway.js.map +1 -1
  52. package/dist/gateway/gateway.mjs +4 -4
  53. package/dist/gateway/gateway.mjs.map +1 -1
  54. package/dist/index.d.mts +4 -4
  55. package/dist/index.d.ts +4 -4
  56. package/dist/index.js +1 -1
  57. package/dist/index.js.map +1 -1
  58. package/dist/index.mjs +1 -1
  59. package/dist/index.mjs.map +1 -1
  60. package/dist/registration/index.js +1 -1
  61. package/dist/registration/index.js.map +1 -1
  62. package/dist/registration/index.mjs +1 -1
  63. package/dist/registration/index.mjs.map +1 -1
  64. package/dist/transport/index.js +1 -1
  65. package/dist/transport/index.js.map +1 -1
  66. package/dist/transport/index.mjs +1 -1
  67. package/dist/transport/index.mjs.map +1 -1
  68. package/dist/verify.js +1 -1
  69. package/dist/verify.js.map +1 -1
  70. package/dist/verify.mjs +1 -1
  71. package/dist/verify.mjs.map +1 -1
  72. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -417,7 +417,7 @@ interface AppliedPolicy {
417
417
  interface VerificationContext {
418
418
  idVerified: boolean;
419
419
  runtimeChallenge: {
420
- status: 'passed' | 'skipped' | 'failed' | 'timeout' | 'not_supported';
420
+ status: 'passed' | 'skipped' | 'failed' | 'timeout' | 'not_configured';
421
421
  checkedAt: string | null;
422
422
  };
423
423
  pdlssCheck: {
@@ -1287,7 +1287,7 @@ interface TokenGuidance {
1287
1287
  * Runtime challenge result
1288
1288
  */
1289
1289
  interface RuntimeChallengeResult {
1290
- status: 'passed' | 'failed' | 'skipped' | 'timeout' | 'not_supported';
1290
+ status: 'passed' | 'failed' | 'skipped' | 'timeout' | 'not_configured';
1291
1291
  challengeId?: string;
1292
1292
  challengeSentAt?: string;
1293
1293
  responseReceivedAt?: string;
@@ -4758,7 +4758,7 @@ declare function detectRuntime(userAgent: string | undefined | null): string | u
4758
4758
  * silently (never throwing), so this is a no-op there — which is correct:
4759
4759
  * in a browser the page's real UA is the honest identity.
4760
4760
  */
4761
- declare const SDK_USER_AGENT = "astrasync-sdk/5.6.0";
4761
+ declare const SDK_USER_AGENT = "astrasync-sdk/5.7.0";
4762
4762
  declare const sdkFetch: typeof fetch;
4763
4763
 
4764
4764
  /**
@@ -4779,6 +4779,6 @@ declare const sdkFetch: typeof fetch;
4779
4779
  * is fine — bumping both in the release-ceremony commit keeps them
4780
4780
  * lockstep.
4781
4781
  */
4782
- declare const SDK_VERSION = "5.6.0";
4782
+ declare const SDK_VERSION = "5.7.0";
4783
4783
 
4784
4784
  export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, verify };
package/dist/index.d.ts CHANGED
@@ -417,7 +417,7 @@ interface AppliedPolicy {
417
417
  interface VerificationContext {
418
418
  idVerified: boolean;
419
419
  runtimeChallenge: {
420
- status: 'passed' | 'skipped' | 'failed' | 'timeout' | 'not_supported';
420
+ status: 'passed' | 'skipped' | 'failed' | 'timeout' | 'not_configured';
421
421
  checkedAt: string | null;
422
422
  };
423
423
  pdlssCheck: {
@@ -1287,7 +1287,7 @@ interface TokenGuidance {
1287
1287
  * Runtime challenge result
1288
1288
  */
1289
1289
  interface RuntimeChallengeResult {
1290
- status: 'passed' | 'failed' | 'skipped' | 'timeout' | 'not_supported';
1290
+ status: 'passed' | 'failed' | 'skipped' | 'timeout' | 'not_configured';
1291
1291
  challengeId?: string;
1292
1292
  challengeSentAt?: string;
1293
1293
  responseReceivedAt?: string;
@@ -4758,7 +4758,7 @@ declare function detectRuntime(userAgent: string | undefined | null): string | u
4758
4758
  * silently (never throwing), so this is a no-op there — which is correct:
4759
4759
  * in a browser the page's real UA is the honest identity.
4760
4760
  */
4761
- declare const SDK_USER_AGENT = "astrasync-sdk/5.6.0";
4761
+ declare const SDK_USER_AGENT = "astrasync-sdk/5.7.0";
4762
4762
  declare const sdkFetch: typeof fetch;
4763
4763
 
4764
4764
  /**
@@ -4779,6 +4779,6 @@ declare const sdkFetch: typeof fetch;
4779
4779
  * is fine — bumping both in the release-ceremony commit keeps them
4780
4780
  * lockstep.
4781
4781
  */
4782
- declare const SDK_VERSION = "5.6.0";
4782
+ declare const SDK_VERSION = "5.7.0";
4783
4783
 
4784
4784
  export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, verify };
package/dist/index.js CHANGED
@@ -112,7 +112,7 @@ function getTrustLevel(score) {
112
112
  }
113
113
 
114
114
  // src/version.ts
115
- var SDK_VERSION = "5.6.0";
115
+ var SDK_VERSION = "5.7.0";
116
116
 
117
117
  // src/http.ts
118
118
  var SDK_USER_AGENT = `astrasync-sdk/${SDK_VERSION}`;