@secondlayer/shared 11.4.0 → 11.4.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.
Files changed (33) hide show
  1. package/dist/src/archive/range-digest.d.ts +39 -0
  2. package/dist/src/archive/semantic-digest-builder.d.ts +39 -0
  3. package/dist/src/coverage/index.d.ts +39 -0
  4. package/dist/src/db/index.d.ts +52 -1
  5. package/dist/src/db/index.js +5 -1
  6. package/dist/src/db/index.js.map +3 -3
  7. package/dist/src/db/queries/chain-reorgs.d.ts +39 -0
  8. package/dist/src/db/queries/chain-reorgs.js +5 -1
  9. package/dist/src/db/queries/chain-reorgs.js.map +3 -3
  10. package/dist/src/db/queries/contracts.d.ts +39 -0
  11. package/dist/src/db/queries/instance.d.ts +39 -0
  12. package/dist/src/db/queries/integrity.d.ts +39 -0
  13. package/dist/src/db/queries/subgraph-gaps.d.ts +39 -0
  14. package/dist/src/db/queries/subgraph-operations.d.ts +39 -0
  15. package/dist/src/db/queries/subgraphs.d.ts +45 -1
  16. package/dist/src/db/queries/subgraphs.js +10 -1
  17. package/dist/src/db/queries/subgraphs.js.map +3 -3
  18. package/dist/src/db/queries/subscriptions.d.ts +39 -0
  19. package/dist/src/db/queries/sync-scope.d.ts +39 -0
  20. package/dist/src/db/schema.d.ts +48 -1
  21. package/dist/src/index.d.ts +54 -1
  22. package/dist/src/index.js +5 -1
  23. package/dist/src/index.js.map +4 -4
  24. package/dist/src/node/local-client.d.ts +39 -0
  25. package/dist/src/schemas/index.d.ts +2 -0
  26. package/dist/src/schemas/index.js.map +1 -1
  27. package/dist/src/schemas/subgraphs.d.ts +2 -0
  28. package/dist/src/schemas/subgraphs.js.map +1 -1
  29. package/dist/src/subgraphs/spec.d.ts +2 -0
  30. package/migrations/0123_subgraph_violations.ts +41 -0
  31. package/migrations/0124_hosted_meter_days.ts +31 -0
  32. package/migrations/0125_claim_tokens.ts +42 -0
  33. package/package.json +1 -1
@@ -163,6 +163,17 @@ interface SubgraphGapsTable {
163
163
  detected_at: Generated<Date>;
164
164
  resolved_at: Date | null;
165
165
  }
166
+ /** Print-validate skips persisted for the authed violations GET. Cap 100/subgraph. */
167
+ interface SubgraphViolationsTable {
168
+ id: Generated<string>;
169
+ subgraph_name: string;
170
+ source_name: string;
171
+ block_height: number;
172
+ tx_id: string;
173
+ reason: string;
174
+ sample_payload: Record<string, unknown>;
175
+ seen_at: Generated<Date>;
176
+ }
166
177
  type SubgraphOperationKind = "reindex" | "backfill";
167
178
  type SubgraphOperationStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
168
179
  interface SubgraphOperationsTable {
@@ -252,6 +263,21 @@ interface MagicLinksTable {
252
263
  failed_attempts: Generated<number>;
253
264
  created_at: Generated<Date>;
254
265
  }
266
+ /** One-shot hashed tokens that attach a play ghost to an email at claim. */
267
+ interface ClaimTokensTable {
268
+ id: Generated<string>;
269
+ account_id: string;
270
+ token_hash: string;
271
+ created_at: Generated<Date>;
272
+ expires_at: Date;
273
+ used_at: Date | null;
274
+ }
275
+ /** 3 play provisions per IP per UTC day. PK (ip_hash, day); `count` caps at 3. */
276
+ interface PlayProvisionsTable {
277
+ ip_hash: string;
278
+ day: string;
279
+ count: Generated<number>;
280
+ }
255
281
  interface SubgraphProcessingStatsTable {
256
282
  id: Generated<string>;
257
283
  subgraph_name: string;
@@ -750,14 +776,18 @@ interface Database {
750
776
  accounts: AccountsTable;
751
777
  sessions: SessionsTable;
752
778
  magic_links: MagicLinksTable;
779
+ claim_tokens: ClaimTokensTable;
780
+ play_provisions: PlayProvisionsTable;
753
781
  subgraph_health_snapshots: SubgraphHealthSnapshotsTable;
754
782
  subgraph_processing_stats: SubgraphProcessingStatsTable;
755
783
  subgraph_table_snapshots: SubgraphTableSnapshotsTable;
756
784
  subgraph_gaps: SubgraphGapsTable;
785
+ subgraph_violations: SubgraphViolationsTable;
757
786
  subgraph_operations: SubgraphOperationsTable;
758
787
  processed_stripe_events: ProcessedStripeEventsTable;
759
788
  account_spend_caps: AccountSpendCapsTable;
760
789
  account_credits: AccountCreditsTable;
790
+ hosted_meter_days: HostedMeterDaysTable;
761
791
  subscriptions: SubscriptionsTable;
762
792
  subscription_outbox: SubscriptionOutboxTable;
763
793
  subscription_deliveries: SubscriptionDeliveriesTable;
@@ -863,6 +893,18 @@ interface AccountCreditsTable {
863
893
  type AccountCredits = Selectable<AccountCreditsTable>;
864
894
  type InsertAccountCredits = Insertable<AccountCreditsTable>;
865
895
  type UpdateAccountCredits = Updateable<AccountCreditsTable>;
896
+ /** Daily idempotency ledger for hosted subgraph running + storage meters. */
897
+ interface HostedMeterDaysTable {
898
+ day: string;
899
+ account_id: string;
900
+ subgraph_name: string;
901
+ kind: string;
902
+ usd_micros: string | number | bigint;
903
+ billed_at: Generated<Date>;
904
+ }
905
+ type HostedMeterDay = Selectable<HostedMeterDaysTable>;
906
+ type InsertHostedMeterDay = Insertable<HostedMeterDaysTable>;
907
+ type UpdateHostedMeterDay = Updateable<HostedMeterDaysTable>;
866
908
  /**
867
909
  * Archive fetch charge log (design-f089 gate). Append-only: one row per
868
910
  * priced attempt to fetch a partition object. `usd_micros` is 0 for
@@ -910,6 +952,11 @@ type Account = Selectable<AccountsTable>;
910
952
  type InsertAccount = Insertable<AccountsTable>;
911
953
  type MagicLink = Selectable<MagicLinksTable>;
912
954
  type InsertMagicLink = Insertable<MagicLinksTable>;
955
+ type ClaimToken = Selectable<ClaimTokensTable>;
956
+ type InsertClaimToken = Insertable<ClaimTokensTable>;
957
+ type UpdateClaimToken = Updateable<ClaimTokensTable>;
958
+ type PlayProvision = Selectable<PlayProvisionsTable>;
959
+ type InsertPlayProvision = Insertable<PlayProvisionsTable>;
913
960
  type Session = Selectable<SessionsTable>;
914
961
  type InsertSession = Insertable<SessionsTable>;
915
962
  type SubgraphHealthSnapshot = Selectable<SubgraphHealthSnapshotsTable>;
@@ -1995,6 +2042,8 @@ declare const TABLE_TO_DB: {
1995
2042
  api_keys: string
1996
2043
  sessions: string
1997
2044
  magic_links: string
2045
+ claim_tokens: string
2046
+ play_provisions: string
1998
2047
  account_spend_caps: string
1999
2048
  processed_stripe_events: string
2000
2049
  subscriptions: string
@@ -2005,11 +2054,13 @@ declare const TABLE_TO_DB: {
2005
2054
  subgraph_operations: string
2006
2055
  subgraph_health_snapshots: string
2007
2056
  subgraph_gaps: string
2057
+ subgraph_violations: string
2008
2058
  subgraph_processing_stats: string
2009
2059
  subgraph_table_snapshots: string
2010
2060
  x402_payments: string
2011
2061
  x402_balances: string
2012
2062
  account_credits: string
2063
+ hosted_meter_days: string
2013
2064
  archive_fetches: string
2014
2065
  service_heartbeats: string
2015
2066
  };
@@ -2300,6 +2351,8 @@ interface SubgraphDetail {
2300
2351
  errorRate: number
2301
2352
  lastError: string | null
2302
2353
  lastErrorAt: string | null
2354
+ /** True after the processor matched work but user tables still have 0 rows. */
2355
+ emptyMapping: boolean
2303
2356
  };
2304
2357
  sync: SubgraphSyncInfo;
2305
2358
  tables: Record<string, {
@@ -3050,4 +3103,4 @@ interface ChainTestDelivery {
3050
3103
  * "Chain subscription webhook payloads" doc.
3051
3104
  */
3052
3105
  type ChainWebhookDelivery = ChainApplyDeliveryOf<"stx_transfer", ChainEventEnvelope<"stx_transfer_event", ChainStxTransferData>> | ChainApplyDeliveryOf<"stx_mint", ChainEventEnvelope<"stx_mint_event", ChainStxMintData>> | ChainApplyDeliveryOf<"stx_burn", ChainEventEnvelope<"stx_burn_event", ChainStxBurnData>> | ChainApplyDeliveryOf<"stx_lock", ChainEventEnvelope<"stx_lock_event", ChainStxLockData>> | ChainApplyDeliveryOf<"ft_transfer", ChainEventEnvelope<"ft_transfer_event", ChainFtTransferData>> | ChainApplyDeliveryOf<"ft_mint", ChainEventEnvelope<"ft_mint_event", ChainFtMintData>> | ChainApplyDeliveryOf<"ft_burn", ChainEventEnvelope<"ft_burn_event", ChainFtBurnData>> | ChainApplyDeliveryOf<"nft_transfer", ChainEventEnvelope<"nft_transfer_event", ChainNftTransferData>> | ChainApplyDeliveryOf<"nft_mint", ChainEventEnvelope<"nft_mint_event", ChainNftMintData>> | ChainApplyDeliveryOf<"nft_burn", ChainEventEnvelope<"nft_burn_event", ChainNftBurnData>> | ChainApplyDeliveryOf<"print_event", ChainEventEnvelope<"contract_event", ChainPrintEventData>> | ChainApplyDeliveryOf<"contract_call", ChainTxLevelEvent> | ChainApplyDeliveryOf<"contract_deploy", ChainTxLevelEvent> | ChainApplyDeliveryOf<"sbtc_deposit", SbtcDepositEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_create", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_accept", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_reject", SbtcWithdrawalEvent> | ChainApplyDeliveryOf<"sbtc_withdrawal_swept_confirmed", SbtcWithdrawalSweptConfirmedEvent> | ChainReorgRollbackDelivery | ChainTestDelivery;
3053
- export { validateSubscriptionFilterForTable, sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, logger, jsonb, isSbtcDecoderEnabled, isPox5DecoderEnabled, isPox4DecoderEnabled, isEmptyRangeCursor, isBnsDecoderEnabled, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getErrorMessage, getEnv, getDbSplitStatus, getDb, generateSubgraphSpec, generateSubgraphOpenApi, generateSubgraphMarkdown, generateSubgraphAgentSchema, formatSubscriptionSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, compareStreamsCursor, closeDb, blockEndCursor, assertDbSplit, applicationDatabaseUrl, X402PaymentsTable, X402BalancesTable, VersionConflictError, ValidationError, UpdateTransaction, UpdateSubscriptionRequestSchema, UpdateSubscriptionRequest, UpdateSubscriptionOutbox, UpdateSubscription, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateEvent, UpdateContract, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantSuspendedError, TABLE_TO_DB, SyncScopesTable, SubscriptionsTable, SubscriptionSummary, SubscriptionStatusSchema, SubscriptionStatus, SubscriptionSchemaTables, SubscriptionSchemaTable, SubscriptionSchemaColumn, SubscriptionRuntimeSchema, SubscriptionRuntime, SubscriptionOutboxTable, SubscriptionOutbox, SubscriptionKind, SubscriptionFormatSchema, SubscriptionFormat, SubscriptionFilterSchema, SubscriptionFilterPrimitiveSchema, SubscriptionFilterPrimitive, SubscriptionFilterOperatorSchema, SubscriptionFilterOperator, SubscriptionFilterClauseSchema, SubscriptionFilterClause, SubscriptionFilter, SubscriptionDetail, SubscriptionDelivery, SubscriptionDeliveriesTable, Subscription, SubgraphsTable, SubgraphTableSnapshotsTable, SubgraphSyncInfo, SubgraphSummary, SubgraphSpecOptions, SubgraphSpecFormat, SubgraphQueryParams, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphGap, SubgraphDetail, SubgraphAggregateResponse, SubgraphAggregateParams, SubgraphAgentSchema, Subgraph, StreamsEventType, StreamsDbEventType, StreamsCursor, StageRunsTable, StageRegistryTable, StageKind, StageFailuresTable, StageBlockReceiptsTable, SessionsTable, Session, ServiceHeartbeatsTable, SecondLayerError, SbtcWithdrawalSweptConfirmedEvent, SbtcWithdrawalEvent, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSupplySnapshotsTable, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, SbtcDepositEvent, SUBSCRIPTION_STATUSES, SUBSCRIPTION_RUNTIMES, SUBSCRIPTION_FORMATS, SUBSCRIPTION_FILTER_OPERATORS, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RunStatus, RotateSecretResponse, RetryState, ReplaySubscriptionRequestSchema, ReplaySubscriptionRequest, ReplayResult, RepairMode, ReindexResponse, RateLimitError, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PendingForkBlocksTable, PaymentRequiredError, ParsedUpdateSubscriptionRequest, ParsedReplaySubscriptionRequest, ParsedCreateSubscriptionRequest, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NumericAsText, NotFoundError, NativeClock, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InstancesTable, InsertTransaction, InsertSubscriptionOutbox, InsertSubscriptionDelivery, InsertSubscription, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertEvent, InsertContract, InsertBlock, InsertArchiveFetch, InsertApiKey, InsertAccountSpendCap, InsertAccountCredits, InsertAccount, IndexProgressTable, IndexProgress, IndexPrimaryKey, IndexColumnType, IndexColumn, ForbiddenError, FailureUnit, FailureClass, EventsTable, EventsArchiveTable, Event, ErrorCodes, ErrorCode, Env, EMPTY_RANGE_EVENT_INDEX_SENTINEL, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryRow, DecoderCheckpointsTable, DecodedEventsTable, DecodedEventType2 as DecodedEventType, DeadRow, DeadLetterEventsTable, DbSplitStatus, DbReadRow, DbPlane, DatabaseError, Database, DEFAULT_BTC_CONFIRMATIONS, DECODED_EVENT_TYPES2 as DECODED_EVENT_TYPES, DB_TO_STREAMS_EVENT_TYPE, CreateSubscriptionResponse, CreateSubscriptionRequestSchema, CreateSubscriptionRequest, CoverageSegmentsTable, ContractsTable, Contract, ChainWebhookEnvelope, ChainWebhookDelivery, ChainTxLevelEvent, ChainTestDelivery, ChainStxTransferData, ChainStxMintData, ChainStxLockData, ChainStxBurnData, ChainReorgsTable, ChainReorgRollbackEnvelope, ChainReorgRollbackDelivery, ChainReorgOrphanedEntry, ChainReadCacheTable, ChainPrintEventData, ChainNftTransferData, ChainNftMintData, ChainNftBurnData, ChainFtTransferData, ChainFtMintData, ChainFtBurnData, ChainEventEnvelope, ChainApplyEnvelopeOf, ChainApplyEnvelope, ChainApplyDeliveryOf, CODE_TO_STATUS, CHAIN_TRIGGER_TYPES, CHAIN_TRIGGER_FIELDS, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, AuthorizationError, AuthenticationError, ArchiveFetchesTable, ArchiveFetch, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountCreditsTable, AccountCredits, Account };
3106
+ export { validateSubscriptionFilterForTable, sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, logger, jsonb, isSbtcDecoderEnabled, isPox5DecoderEnabled, isPox4DecoderEnabled, isEmptyRangeCursor, isBnsDecoderEnabled, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getErrorMessage, getEnv, getDbSplitStatus, getDb, generateSubgraphSpec, generateSubgraphOpenApi, generateSubgraphMarkdown, generateSubgraphAgentSchema, formatSubscriptionSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, compareStreamsCursor, closeDb, blockEndCursor, assertDbSplit, applicationDatabaseUrl, X402PaymentsTable, X402BalancesTable, VersionConflictError, ValidationError, UpdateTransaction, UpdateSubscriptionRequestSchema, UpdateSubscriptionRequest, UpdateSubscriptionOutbox, UpdateSubscription, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateHostedMeterDay, UpdateEvent, UpdateContract, UpdateClaimToken, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantSuspendedError, TABLE_TO_DB, SyncScopesTable, SubscriptionsTable, SubscriptionSummary, SubscriptionStatusSchema, SubscriptionStatus, SubscriptionSchemaTables, SubscriptionSchemaTable, SubscriptionSchemaColumn, SubscriptionRuntimeSchema, SubscriptionRuntime, SubscriptionOutboxTable, SubscriptionOutbox, SubscriptionKind, SubscriptionFormatSchema, SubscriptionFormat, SubscriptionFilterSchema, SubscriptionFilterPrimitiveSchema, SubscriptionFilterPrimitive, SubscriptionFilterOperatorSchema, SubscriptionFilterOperator, SubscriptionFilterClauseSchema, SubscriptionFilterClause, SubscriptionFilter, SubscriptionDetail, SubscriptionDelivery, SubscriptionDeliveriesTable, Subscription, SubgraphsTable, SubgraphViolationsTable, SubgraphTableSnapshotsTable, SubgraphSyncInfo, SubgraphSummary, SubgraphSpecOptions, SubgraphSpecFormat, SubgraphQueryParams, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphGap, SubgraphDetail, SubgraphAggregateResponse, SubgraphAggregateParams, SubgraphAgentSchema, Subgraph, StreamsEventType, StreamsDbEventType, StreamsCursor, StageRunsTable, StageRegistryTable, StageKind, StageFailuresTable, StageBlockReceiptsTable, SessionsTable, Session, ServiceHeartbeatsTable, SecondLayerError, SbtcWithdrawalSweptConfirmedEvent, SbtcWithdrawalEvent, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSupplySnapshotsTable, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, SbtcDepositEvent, SUBSCRIPTION_STATUSES, SUBSCRIPTION_RUNTIMES, SUBSCRIPTION_FORMATS, SUBSCRIPTION_FILTER_OPERATORS, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RunStatus, RotateSecretResponse, RetryState, ReplaySubscriptionRequestSchema, ReplaySubscriptionRequest, ReplayResult, RepairMode, ReindexResponse, RateLimitError, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, PaymentRequiredError, ParsedUpdateSubscriptionRequest, ParsedReplaySubscriptionRequest, ParsedCreateSubscriptionRequest, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NumericAsText, NotFoundError, NativeClock, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InstancesTable, InsertTransaction, InsertSubscriptionOutbox, InsertSubscriptionDelivery, InsertSubscription, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertPlayProvision, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertHostedMeterDay, InsertEvent, InsertContract, InsertClaimToken, InsertBlock, InsertArchiveFetch, InsertApiKey, InsertAccountSpendCap, InsertAccountCredits, InsertAccount, IndexProgressTable, IndexProgress, IndexPrimaryKey, IndexColumnType, IndexColumn, HostedMeterDaysTable, HostedMeterDay, ForbiddenError, FailureUnit, FailureClass, EventsTable, EventsArchiveTable, Event, ErrorCodes, ErrorCode, Env, EMPTY_RANGE_EVENT_INDEX_SENTINEL, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryRow, DecoderCheckpointsTable, DecodedEventsTable, DecodedEventType2 as DecodedEventType, DeadRow, DeadLetterEventsTable, DbSplitStatus, DbReadRow, DbPlane, DatabaseError, Database, DEFAULT_BTC_CONFIRMATIONS, DECODED_EVENT_TYPES2 as DECODED_EVENT_TYPES, DB_TO_STREAMS_EVENT_TYPE, CreateSubscriptionResponse, CreateSubscriptionRequestSchema, CreateSubscriptionRequest, CoverageSegmentsTable, ContractsTable, Contract, ClaimTokensTable, ClaimToken, ChainWebhookEnvelope, ChainWebhookDelivery, ChainTxLevelEvent, ChainTestDelivery, ChainStxTransferData, ChainStxMintData, ChainStxLockData, ChainStxBurnData, ChainReorgsTable, ChainReorgRollbackEnvelope, ChainReorgRollbackDelivery, ChainReorgOrphanedEntry, ChainReadCacheTable, ChainPrintEventData, ChainNftTransferData, ChainNftMintData, ChainNftBurnData, ChainFtTransferData, ChainFtMintData, ChainFtBurnData, ChainEventEnvelope, ChainApplyEnvelopeOf, ChainApplyEnvelope, ChainApplyDeliveryOf, CODE_TO_STATUS, CHAIN_TRIGGER_TYPES, CHAIN_TRIGGER_FIELDS, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, AuthorizationError, AuthenticationError, ArchiveFetchesTable, ArchiveFetch, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountCreditsTable, AccountCredits, Account };
package/dist/src/index.js CHANGED
@@ -774,6 +774,8 @@ var TABLE_TO_DB = {
774
774
  api_keys: "target",
775
775
  sessions: "target",
776
776
  magic_links: "target",
777
+ claim_tokens: "target",
778
+ play_provisions: "target",
777
779
  account_spend_caps: "target",
778
780
  processed_stripe_events: "target",
779
781
  subscriptions: "target",
@@ -784,11 +786,13 @@ var TABLE_TO_DB = {
784
786
  subgraph_operations: "target",
785
787
  subgraph_health_snapshots: "target",
786
788
  subgraph_gaps: "target",
789
+ subgraph_violations: "target",
787
790
  subgraph_processing_stats: "target",
788
791
  subgraph_table_snapshots: "target",
789
792
  x402_payments: "target",
790
793
  x402_balances: "target",
791
794
  account_credits: "target",
795
+ hosted_meter_days: "target",
792
796
  archive_fetches: "target",
793
797
  service_heartbeats: "both"
794
798
  };
@@ -2155,5 +2159,5 @@ export {
2155
2159
  AuthenticationError
2156
2160
  };
2157
2161
 
2158
- //# debugId=4B90A9DCE8F0363664756E2164756E21
2162
+ //# debugId=8C0A8E0ACCA81ACC64756E2164756E21
2159
2163
  //# sourceMappingURL=index.js.map