@secondlayer/shared 11.5.1 → 11.6.1

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.
@@ -137,7 +137,6 @@ interface SubgraphsTable {
137
137
  expires_at: Date | null;
138
138
  /** (event type, contract) probe pairs persisted at deploy for weight classification. */
139
139
  sparse_probe_targets: unknown | null;
140
- database_url_enc: ColumnType<Buffer | null, Buffer | null | undefined, Buffer | null>;
141
140
  sandbox_workers: Generated<boolean>;
142
141
  created_at: Generated<Date>;
143
142
  updated_at: Generated<Date>;
@@ -233,7 +232,7 @@ interface AccountsTable {
233
232
  email: string | null;
234
233
  /** True for anonymous self-serve accounts until claimed via magic link. */
235
234
  ghost: Generated<boolean>;
236
- /** Stacks principal owning a wallet-ghost account (x402-paid deploys). */
235
+ /** Stacks principal owning a wallet-ghost account. */
237
236
  wallet_principal: string | null;
238
237
  display_name: string | null;
239
238
  bio: string | null;
@@ -295,14 +294,6 @@ interface SubgraphProcessingStatsTable {
295
294
  is_catchup: Generated<boolean>;
296
295
  created_at: Generated<Date>;
297
296
  }
298
- interface SubgraphTableSnapshotsTable {
299
- id: Generated<string>;
300
- subgraph_name: string;
301
- api_key_id: string | null;
302
- table_name: string;
303
- row_count: number | null;
304
- created_at: Generated<Date>;
305
- }
306
297
  interface SubgraphHealthSnapshotsTable {
307
298
  id: Generated<string>;
308
299
  subgraph_id: string;
@@ -392,26 +383,6 @@ interface Pox4CallsTable {
392
383
  source_cursor: string;
393
384
  created_at: Generated<Date>;
394
385
  }
395
- interface Pox4CyclesDailyTable {
396
- date: string;
397
- reward_cycle: number;
398
- total_stacked_ustx: Generated<string>;
399
- solo_stackers: Generated<number>;
400
- delegated_principals: Generated<number>;
401
- unique_pools: Generated<number>;
402
- unique_signers: Generated<number>;
403
- calls_today: Generated<number>;
404
- updated_at: Generated<Date>;
405
- }
406
- interface Pox4SignersDailyTable {
407
- date: string;
408
- reward_cycle: number;
409
- signer_key: string;
410
- weight_ustx: Generated<string>;
411
- stacker_count: Generated<number>;
412
- aggregation_calls: Generated<number>;
413
- updated_at: Generated<Date>;
414
- }
415
386
  type Pox5EventTopic = "set-bond-admin" | "set-pause-admin" | "pause-rewards" | "setup-bond" | "add-to-allowlist" | "register-for-bond" | "update-bond-registration" | "register-signer" | "stake" | "stake-update" | "announce-l1-early-exit" | "unstake-sbtc" | "unstake" | "calculate-rewards" | "bond-distribution" | "claim-rewards" | "claim-staker-rewards-for-signer" | "grant-signer-key" | "revoke-signer-grant";
416
387
  interface Pox5EventsTable {
417
388
  cursor: string;
@@ -529,17 +500,6 @@ interface SbtcSettlementsTable {
529
500
  confirmed_at: Date | null;
530
501
  updated_at: Generated<Date>;
531
502
  }
532
- interface SbtcSupplySnapshotsTable {
533
- date: string;
534
- total_supply: Generated<string>;
535
- mints_today: Generated<string>;
536
- burns_today: Generated<string>;
537
- deposit_count: Generated<number>;
538
- withdrawal_create_count: Generated<number>;
539
- withdrawal_accept_count: Generated<number>;
540
- withdrawal_reject_count: Generated<number>;
541
- updated_at: Generated<Date>;
542
- }
543
503
  type BnsNameEventTopic = "new-name" | "transfer-name" | "renew-name" | "burn-name" | "new-airdrop";
544
504
  interface BnsNameEventsTable {
545
505
  cursor: string;
@@ -781,7 +741,6 @@ interface Database {
781
741
  play_provisions: PlayProvisionsTable;
782
742
  subgraph_health_snapshots: SubgraphHealthSnapshotsTable;
783
743
  subgraph_processing_stats: SubgraphProcessingStatsTable;
784
- subgraph_table_snapshots: SubgraphTableSnapshotsTable;
785
744
  subgraph_gaps: SubgraphGapsTable;
786
745
  subgraph_violations: SubgraphViolationsTable;
787
746
  subgraph_operations: SubgraphOperationsTable;
@@ -797,23 +756,18 @@ interface Database {
797
756
  decoder_checkpoints: DecoderCheckpointsTable;
798
757
  chain_reorgs: ChainReorgsTable;
799
758
  pox4_calls: Pox4CallsTable;
800
- pox4_cycles_daily: Pox4CyclesDailyTable;
801
- pox4_signers_daily: Pox4SignersDailyTable;
802
759
  pox5_events: Pox5EventsTable;
803
760
  burn_block_rewards: BurnBlockRewardsTable;
804
761
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
805
762
  sbtc_events: SbtcEventsTable;
806
763
  sbtc_token_events: SbtcTokenEventsTable;
807
764
  sbtc_settlements: SbtcSettlementsTable;
808
- sbtc_supply_snapshots: SbtcSupplySnapshotsTable;
809
765
  bns_name_events: BnsNameEventsTable;
810
766
  bns_namespace_events: BnsNamespaceEventsTable;
811
767
  bns_marketplace_events: BnsMarketplaceEventsTable;
812
768
  bns_names: BnsNamesTable;
813
769
  bns_namespaces: BnsNamespacesTable;
814
770
  service_heartbeats: ServiceHeartbeatsTable;
815
- x402_payments: X402PaymentsTable;
816
- x402_balances: X402BalancesTable;
817
771
  chain_read_cache: ChainReadCacheTable;
818
772
  pending_fork_blocks: PendingForkBlocksTable;
819
773
  observer_journal: ObserverJournalTable;
@@ -825,46 +779,10 @@ interface Database {
825
779
  stage_failures: StageFailuresTable;
826
780
  archive_fetches: ArchiveFetchesTable;
827
781
  }
828
- /** Prepaid x402 credit — one running USD-micros balance per payer principal. */
829
- interface X402BalancesTable {
830
- principal: string;
831
- balance_usd_micros: Generated<string | number | bigint>;
832
- /** Month bucket ("YYYY-MM") the spend counter applies to. */
833
- spent_month: string | null;
834
- spent_month_usd_micros: Generated<string | number | bigint>;
835
- updated_at: Generated<Date>;
836
- }
837
782
  interface ServiceHeartbeatsTable {
838
783
  name: string;
839
784
  updated_at: Generated<Date>;
840
785
  }
841
- /** x402 pay-per-request ledger (control plane). One row per settled payment,
842
- * keyed by challenge nonce + settled txid. `state` tracks confirmed-tier
843
- * settlement and post-serve reorg reversal. */
844
- interface X402PaymentsTable {
845
- id: Generated<string>;
846
- nonce: string;
847
- txid: string;
848
- asset: string;
849
- amount: string;
850
- payer: string;
851
- surface: string;
852
- state: Generated<"pending" | "confirmed" | "reverted">;
853
- created_at: Generated<Date>;
854
- updated_at: Generated<Date>;
855
- /** "payment" = per-call settle; "deposit" = prepaid balance top-up. */
856
- kind: Generated<string>;
857
- /** Linked claimed account once the paying wallet is attached (continuity). */
858
- account_id: string | null;
859
- /** USD-micros to credit on confirmation, for deposit rows the reconciler
860
- * settles asynchronously. NULL for per-call settles (credit nothing). */
861
- credit_usd_micros: string | null;
862
- /** Idempotency key: stamped exactly once when this row's credit is applied.
863
- * NULL means never credited (or not a credit-bearing row). Pre-migration
864
- * non-pending deposit rows are backfilled to a non-null sentinel so the
865
- * reconciler's heal path can never double-credit them. */
866
- credited_at: Generated<Date> | null;
867
- }
868
786
  interface AccountSpendCapsTable {
869
787
  account_id: string;
870
788
  monthly_cap_cents: number | null;
@@ -875,7 +793,7 @@ interface AccountSpendCapsTable {
875
793
  frozen_at: Date | null;
876
794
  updated_at: Generated<Date>;
877
795
  }
878
- /** Prepaid dev credits — card-funded balance per account (peer to x402_balances). */
796
+ /** Prepaid dev credits — card-funded balance per account. */
879
797
  interface AccountCreditsTable {
880
798
  account_id: string;
881
799
  balance_usd_micros: Generated<string | number | bigint>;
@@ -136,7 +136,6 @@ interface SubgraphsTable {
136
136
  expires_at: Date | null;
137
137
  /** (event type, contract) probe pairs persisted at deploy for weight classification. */
138
138
  sparse_probe_targets: unknown | null;
139
- database_url_enc: ColumnType<Buffer | null, Buffer | null | undefined, Buffer | null>;
140
139
  sandbox_workers: Generated<boolean>;
141
140
  created_at: Generated<Date>;
142
141
  updated_at: Generated<Date>;
@@ -232,7 +231,7 @@ interface AccountsTable {
232
231
  email: string | null;
233
232
  /** True for anonymous self-serve accounts until claimed via magic link. */
234
233
  ghost: Generated<boolean>;
235
- /** Stacks principal owning a wallet-ghost account (x402-paid deploys). */
234
+ /** Stacks principal owning a wallet-ghost account. */
236
235
  wallet_principal: string | null;
237
236
  display_name: string | null;
238
237
  bio: string | null;
@@ -294,14 +293,6 @@ interface SubgraphProcessingStatsTable {
294
293
  is_catchup: Generated<boolean>;
295
294
  created_at: Generated<Date>;
296
295
  }
297
- interface SubgraphTableSnapshotsTable {
298
- id: Generated<string>;
299
- subgraph_name: string;
300
- api_key_id: string | null;
301
- table_name: string;
302
- row_count: number | null;
303
- created_at: Generated<Date>;
304
- }
305
296
  interface SubgraphHealthSnapshotsTable {
306
297
  id: Generated<string>;
307
298
  subgraph_id: string;
@@ -391,26 +382,6 @@ interface Pox4CallsTable {
391
382
  source_cursor: string;
392
383
  created_at: Generated<Date>;
393
384
  }
394
- interface Pox4CyclesDailyTable {
395
- date: string;
396
- reward_cycle: number;
397
- total_stacked_ustx: Generated<string>;
398
- solo_stackers: Generated<number>;
399
- delegated_principals: Generated<number>;
400
- unique_pools: Generated<number>;
401
- unique_signers: Generated<number>;
402
- calls_today: Generated<number>;
403
- updated_at: Generated<Date>;
404
- }
405
- interface Pox4SignersDailyTable {
406
- date: string;
407
- reward_cycle: number;
408
- signer_key: string;
409
- weight_ustx: Generated<string>;
410
- stacker_count: Generated<number>;
411
- aggregation_calls: Generated<number>;
412
- updated_at: Generated<Date>;
413
- }
414
385
  type Pox5EventTopic = "set-bond-admin" | "set-pause-admin" | "pause-rewards" | "setup-bond" | "add-to-allowlist" | "register-for-bond" | "update-bond-registration" | "register-signer" | "stake" | "stake-update" | "announce-l1-early-exit" | "unstake-sbtc" | "unstake" | "calculate-rewards" | "bond-distribution" | "claim-rewards" | "claim-staker-rewards-for-signer" | "grant-signer-key" | "revoke-signer-grant";
415
386
  interface Pox5EventsTable {
416
387
  cursor: string;
@@ -528,17 +499,6 @@ interface SbtcSettlementsTable {
528
499
  confirmed_at: Date | null;
529
500
  updated_at: Generated<Date>;
530
501
  }
531
- interface SbtcSupplySnapshotsTable {
532
- date: string;
533
- total_supply: Generated<string>;
534
- mints_today: Generated<string>;
535
- burns_today: Generated<string>;
536
- deposit_count: Generated<number>;
537
- withdrawal_create_count: Generated<number>;
538
- withdrawal_accept_count: Generated<number>;
539
- withdrawal_reject_count: Generated<number>;
540
- updated_at: Generated<Date>;
541
- }
542
502
  type BnsNameEventTopic = "new-name" | "transfer-name" | "renew-name" | "burn-name" | "new-airdrop";
543
503
  interface BnsNameEventsTable {
544
504
  cursor: string;
@@ -780,7 +740,6 @@ interface Database {
780
740
  play_provisions: PlayProvisionsTable;
781
741
  subgraph_health_snapshots: SubgraphHealthSnapshotsTable;
782
742
  subgraph_processing_stats: SubgraphProcessingStatsTable;
783
- subgraph_table_snapshots: SubgraphTableSnapshotsTable;
784
743
  subgraph_gaps: SubgraphGapsTable;
785
744
  subgraph_violations: SubgraphViolationsTable;
786
745
  subgraph_operations: SubgraphOperationsTable;
@@ -796,23 +755,18 @@ interface Database {
796
755
  decoder_checkpoints: DecoderCheckpointsTable;
797
756
  chain_reorgs: ChainReorgsTable;
798
757
  pox4_calls: Pox4CallsTable;
799
- pox4_cycles_daily: Pox4CyclesDailyTable;
800
- pox4_signers_daily: Pox4SignersDailyTable;
801
758
  pox5_events: Pox5EventsTable;
802
759
  burn_block_rewards: BurnBlockRewardsTable;
803
760
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
804
761
  sbtc_events: SbtcEventsTable;
805
762
  sbtc_token_events: SbtcTokenEventsTable;
806
763
  sbtc_settlements: SbtcSettlementsTable;
807
- sbtc_supply_snapshots: SbtcSupplySnapshotsTable;
808
764
  bns_name_events: BnsNameEventsTable;
809
765
  bns_namespace_events: BnsNamespaceEventsTable;
810
766
  bns_marketplace_events: BnsMarketplaceEventsTable;
811
767
  bns_names: BnsNamesTable;
812
768
  bns_namespaces: BnsNamespacesTable;
813
769
  service_heartbeats: ServiceHeartbeatsTable;
814
- x402_payments: X402PaymentsTable;
815
- x402_balances: X402BalancesTable;
816
770
  chain_read_cache: ChainReadCacheTable;
817
771
  pending_fork_blocks: PendingForkBlocksTable;
818
772
  observer_journal: ObserverJournalTable;
@@ -824,46 +778,10 @@ interface Database {
824
778
  stage_failures: StageFailuresTable;
825
779
  archive_fetches: ArchiveFetchesTable;
826
780
  }
827
- /** Prepaid x402 credit — one running USD-micros balance per payer principal. */
828
- interface X402BalancesTable {
829
- principal: string;
830
- balance_usd_micros: Generated<string | number | bigint>;
831
- /** Month bucket ("YYYY-MM") the spend counter applies to. */
832
- spent_month: string | null;
833
- spent_month_usd_micros: Generated<string | number | bigint>;
834
- updated_at: Generated<Date>;
835
- }
836
781
  interface ServiceHeartbeatsTable {
837
782
  name: string;
838
783
  updated_at: Generated<Date>;
839
784
  }
840
- /** x402 pay-per-request ledger (control plane). One row per settled payment,
841
- * keyed by challenge nonce + settled txid. `state` tracks confirmed-tier
842
- * settlement and post-serve reorg reversal. */
843
- interface X402PaymentsTable {
844
- id: Generated<string>;
845
- nonce: string;
846
- txid: string;
847
- asset: string;
848
- amount: string;
849
- payer: string;
850
- surface: string;
851
- state: Generated<"pending" | "confirmed" | "reverted">;
852
- created_at: Generated<Date>;
853
- updated_at: Generated<Date>;
854
- /** "payment" = per-call settle; "deposit" = prepaid balance top-up. */
855
- kind: Generated<string>;
856
- /** Linked claimed account once the paying wallet is attached (continuity). */
857
- account_id: string | null;
858
- /** USD-micros to credit on confirmation, for deposit rows the reconciler
859
- * settles asynchronously. NULL for per-call settles (credit nothing). */
860
- credit_usd_micros: string | null;
861
- /** Idempotency key: stamped exactly once when this row's credit is applied.
862
- * NULL means never credited (or not a credit-bearing row). Pre-migration
863
- * non-pending deposit rows are backfilled to a non-null sentinel so the
864
- * reconciler's heal path can never double-credit them. */
865
- credited_at: Generated<Date> | null;
866
- }
867
785
  interface AccountSpendCapsTable {
868
786
  account_id: string;
869
787
  monthly_cap_cents: number | null;
@@ -877,7 +795,7 @@ interface AccountSpendCapsTable {
877
795
  type AccountSpendCap = Selectable<AccountSpendCapsTable>;
878
796
  type InsertAccountSpendCap = Insertable<AccountSpendCapsTable>;
879
797
  type UpdateAccountSpendCap = Updateable<AccountSpendCapsTable>;
880
- /** Prepaid dev credits — card-funded balance per account (peer to x402_balances). */
798
+ /** Prepaid dev credits — card-funded balance per account. */
881
799
  interface AccountCreditsTable {
882
800
  account_id: string;
883
801
  balance_usd_micros: Generated<string | number | bigint>;
@@ -1060,4 +978,4 @@ interface TriggerEvaluatorStateTable {
1060
978
  updated_at: Generated<Date>;
1061
979
  }
1062
980
  type TriggerEvaluatorState = Selectable<TriggerEvaluatorStateTable>;
1063
- export { X402PaymentsTable, X402BalancesTable, WebhooksTable, WebhookStatus, WebhookRuntime, WebhookOutboxTable, WebhookOutbox, WebhookKind, WebhookFormat, WebhookDelivery, WebhookDeliveriesTable, Webhook, UpdateWebhookOutbox, UpdateWebhook, UpdateTransaction, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateHostedMeterDay, UpdateEvent, UpdateContract, UpdateClaimToken, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, SyncScopesTable, SubgraphsTable, SubgraphViolationsTable, SubgraphTableSnapshotsTable, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGap, Subgraph, StageRunsTable, StageRegistryTable, StageKind, StageFailuresTable, StageBlockReceiptsTable, SessionsTable, Session, ServiceHeartbeatsTable, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSupplySnapshotsTable, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, RunStatus, RetryState, RepairMode, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NativeClock, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, InstancesTable, InsertWebhookOutbox, InsertWebhookDelivery, InsertWebhook, InsertTransaction, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertPlayProvision, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertHostedMeterDay, InsertEvent, InsertContract, InsertClaimToken, InsertBlock, InsertArchiveFetch, InsertApiKey, InsertAccountSpendCap, InsertAccountCredits, InsertAccount, IndexProgressTable, IndexProgress, HostedMeterDaysTable, HostedMeterDay, FailureUnit, FailureClass, EventsTable, EventsArchiveTable, Event, DecoderCheckpointsTable, DecodedEventsTable, DeadLetterEventsTable, Database, CoverageSegmentsTable, ContractsTable, Contract, ClaimTokensTable, ClaimToken, ChainReorgsTable, ChainReadCacheTable, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, ArchiveFetchesTable, ArchiveFetch, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountCreditsTable, AccountCredits, Account };
981
+ export { WebhooksTable, WebhookStatus, WebhookRuntime, WebhookOutboxTable, WebhookOutbox, WebhookKind, WebhookFormat, WebhookDelivery, WebhookDeliveriesTable, Webhook, UpdateWebhookOutbox, UpdateWebhook, UpdateTransaction, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateHostedMeterDay, UpdateEvent, UpdateContract, UpdateClaimToken, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, SyncScopesTable, SubgraphsTable, SubgraphViolationsTable, SubgraphProcessingStatsTable, SubgraphOperationsTable, SubgraphOperationStatus, SubgraphOperationKind, SubgraphOperation, SubgraphHealthSnapshotsTable, SubgraphHealthSnapshot, SubgraphGapsTable, SubgraphGap, Subgraph, StageRunsTable, StageRegistryTable, StageKind, StageFailuresTable, StageBlockReceiptsTable, SessionsTable, Session, ServiceHeartbeatsTable, SbtcTokenEventsTable, SbtcTokenEventType, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, RunStatus, RetryState, RepairMode, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4FunctionName, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NativeClock, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, InstancesTable, InsertWebhookOutbox, InsertWebhookDelivery, InsertWebhook, InsertTransaction, InsertSubgraphOperation, InsertSubgraphHealthSnapshot, InsertSubgraphGap, InsertSubgraph, InsertSession, InsertPlayProvision, InsertMempoolTransaction, InsertMagicLink, InsertIndexProgress, InsertHostedMeterDay, InsertEvent, InsertContract, InsertClaimToken, InsertBlock, InsertArchiveFetch, InsertApiKey, InsertAccountSpendCap, InsertAccountCredits, InsertAccount, IndexProgressTable, IndexProgress, HostedMeterDaysTable, HostedMeterDay, FailureUnit, FailureClass, EventsTable, EventsArchiveTable, Event, DecoderCheckpointsTable, DecodedEventsTable, DeadLetterEventsTable, Database, CoverageSegmentsTable, ContractsTable, Contract, ClaimTokensTable, ClaimToken, ChainReorgsTable, ChainReadCacheTable, BurnBlockRewardsTable, BurnBlockRewardSlotsTable, BnsNamespacesTable, BnsNamespaceEventsTable, BnsNamespaceEventStatus, BnsNamesTable, BnsNameEventsTable, BnsNameEventTopic, BnsMarketplaceEventsTable, BnsMarketplaceAction, BlocksTable, Block, ArchiveFetchesTable, ArchiveFetch, ApiKeysTable, ApiKey, AccountsTable, AccountSpendCapsTable, AccountSpendCap, AccountCreditsTable, AccountCredits, Account };
@@ -136,7 +136,6 @@ interface SubgraphsTable {
136
136
  expires_at: Date | null;
137
137
  /** (event type, contract) probe pairs persisted at deploy for weight classification. */
138
138
  sparse_probe_targets: unknown | null;
139
- database_url_enc: ColumnType<Buffer | null, Buffer | null | undefined, Buffer | null>;
140
139
  sandbox_workers: Generated<boolean>;
141
140
  created_at: Generated<Date>;
142
141
  updated_at: Generated<Date>;
@@ -232,7 +231,7 @@ interface AccountsTable {
232
231
  email: string | null;
233
232
  /** True for anonymous self-serve accounts until claimed via magic link. */
234
233
  ghost: Generated<boolean>;
235
- /** Stacks principal owning a wallet-ghost account (x402-paid deploys). */
234
+ /** Stacks principal owning a wallet-ghost account. */
236
235
  wallet_principal: string | null;
237
236
  display_name: string | null;
238
237
  bio: string | null;
@@ -294,14 +293,6 @@ interface SubgraphProcessingStatsTable {
294
293
  is_catchup: Generated<boolean>;
295
294
  created_at: Generated<Date>;
296
295
  }
297
- interface SubgraphTableSnapshotsTable {
298
- id: Generated<string>;
299
- subgraph_name: string;
300
- api_key_id: string | null;
301
- table_name: string;
302
- row_count: number | null;
303
- created_at: Generated<Date>;
304
- }
305
296
  interface SubgraphHealthSnapshotsTable {
306
297
  id: Generated<string>;
307
298
  subgraph_id: string;
@@ -391,26 +382,6 @@ interface Pox4CallsTable {
391
382
  source_cursor: string;
392
383
  created_at: Generated<Date>;
393
384
  }
394
- interface Pox4CyclesDailyTable {
395
- date: string;
396
- reward_cycle: number;
397
- total_stacked_ustx: Generated<string>;
398
- solo_stackers: Generated<number>;
399
- delegated_principals: Generated<number>;
400
- unique_pools: Generated<number>;
401
- unique_signers: Generated<number>;
402
- calls_today: Generated<number>;
403
- updated_at: Generated<Date>;
404
- }
405
- interface Pox4SignersDailyTable {
406
- date: string;
407
- reward_cycle: number;
408
- signer_key: string;
409
- weight_ustx: Generated<string>;
410
- stacker_count: Generated<number>;
411
- aggregation_calls: Generated<number>;
412
- updated_at: Generated<Date>;
413
- }
414
385
  type Pox5EventTopic = "set-bond-admin" | "set-pause-admin" | "pause-rewards" | "setup-bond" | "add-to-allowlist" | "register-for-bond" | "update-bond-registration" | "register-signer" | "stake" | "stake-update" | "announce-l1-early-exit" | "unstake-sbtc" | "unstake" | "calculate-rewards" | "bond-distribution" | "claim-rewards" | "claim-staker-rewards-for-signer" | "grant-signer-key" | "revoke-signer-grant";
415
386
  interface Pox5EventsTable {
416
387
  cursor: string;
@@ -528,17 +499,6 @@ interface SbtcSettlementsTable {
528
499
  confirmed_at: Date | null;
529
500
  updated_at: Generated<Date>;
530
501
  }
531
- interface SbtcSupplySnapshotsTable {
532
- date: string;
533
- total_supply: Generated<string>;
534
- mints_today: Generated<string>;
535
- burns_today: Generated<string>;
536
- deposit_count: Generated<number>;
537
- withdrawal_create_count: Generated<number>;
538
- withdrawal_accept_count: Generated<number>;
539
- withdrawal_reject_count: Generated<number>;
540
- updated_at: Generated<Date>;
541
- }
542
502
  type BnsNameEventTopic = "new-name" | "transfer-name" | "renew-name" | "burn-name" | "new-airdrop";
543
503
  interface BnsNameEventsTable {
544
504
  cursor: string;
@@ -780,7 +740,6 @@ interface Database {
780
740
  play_provisions: PlayProvisionsTable;
781
741
  subgraph_health_snapshots: SubgraphHealthSnapshotsTable;
782
742
  subgraph_processing_stats: SubgraphProcessingStatsTable;
783
- subgraph_table_snapshots: SubgraphTableSnapshotsTable;
784
743
  subgraph_gaps: SubgraphGapsTable;
785
744
  subgraph_violations: SubgraphViolationsTable;
786
745
  subgraph_operations: SubgraphOperationsTable;
@@ -796,23 +755,18 @@ interface Database {
796
755
  decoder_checkpoints: DecoderCheckpointsTable;
797
756
  chain_reorgs: ChainReorgsTable;
798
757
  pox4_calls: Pox4CallsTable;
799
- pox4_cycles_daily: Pox4CyclesDailyTable;
800
- pox4_signers_daily: Pox4SignersDailyTable;
801
758
  pox5_events: Pox5EventsTable;
802
759
  burn_block_rewards: BurnBlockRewardsTable;
803
760
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
804
761
  sbtc_events: SbtcEventsTable;
805
762
  sbtc_token_events: SbtcTokenEventsTable;
806
763
  sbtc_settlements: SbtcSettlementsTable;
807
- sbtc_supply_snapshots: SbtcSupplySnapshotsTable;
808
764
  bns_name_events: BnsNameEventsTable;
809
765
  bns_namespace_events: BnsNamespaceEventsTable;
810
766
  bns_marketplace_events: BnsMarketplaceEventsTable;
811
767
  bns_names: BnsNamesTable;
812
768
  bns_namespaces: BnsNamespacesTable;
813
769
  service_heartbeats: ServiceHeartbeatsTable;
814
- x402_payments: X402PaymentsTable;
815
- x402_balances: X402BalancesTable;
816
770
  chain_read_cache: ChainReadCacheTable;
817
771
  pending_fork_blocks: PendingForkBlocksTable;
818
772
  observer_journal: ObserverJournalTable;
@@ -824,46 +778,10 @@ interface Database {
824
778
  stage_failures: StageFailuresTable;
825
779
  archive_fetches: ArchiveFetchesTable;
826
780
  }
827
- /** Prepaid x402 credit — one running USD-micros balance per payer principal. */
828
- interface X402BalancesTable {
829
- principal: string;
830
- balance_usd_micros: Generated<string | number | bigint>;
831
- /** Month bucket ("YYYY-MM") the spend counter applies to. */
832
- spent_month: string | null;
833
- spent_month_usd_micros: Generated<string | number | bigint>;
834
- updated_at: Generated<Date>;
835
- }
836
781
  interface ServiceHeartbeatsTable {
837
782
  name: string;
838
783
  updated_at: Generated<Date>;
839
784
  }
840
- /** x402 pay-per-request ledger (control plane). One row per settled payment,
841
- * keyed by challenge nonce + settled txid. `state` tracks confirmed-tier
842
- * settlement and post-serve reorg reversal. */
843
- interface X402PaymentsTable {
844
- id: Generated<string>;
845
- nonce: string;
846
- txid: string;
847
- asset: string;
848
- amount: string;
849
- payer: string;
850
- surface: string;
851
- state: Generated<"pending" | "confirmed" | "reverted">;
852
- created_at: Generated<Date>;
853
- updated_at: Generated<Date>;
854
- /** "payment" = per-call settle; "deposit" = prepaid balance top-up. */
855
- kind: Generated<string>;
856
- /** Linked claimed account once the paying wallet is attached (continuity). */
857
- account_id: string | null;
858
- /** USD-micros to credit on confirmation, for deposit rows the reconciler
859
- * settles asynchronously. NULL for per-call settles (credit nothing). */
860
- credit_usd_micros: string | null;
861
- /** Idempotency key: stamped exactly once when this row's credit is applied.
862
- * NULL means never credited (or not a credit-bearing row). Pre-migration
863
- * non-pending deposit rows are backfilled to a non-null sentinel so the
864
- * reconciler's heal path can never double-credit them. */
865
- credited_at: Generated<Date> | null;
866
- }
867
785
  interface AccountSpendCapsTable {
868
786
  account_id: string;
869
787
  monthly_cap_cents: number | null;
@@ -877,7 +795,7 @@ interface AccountSpendCapsTable {
877
795
  type AccountSpendCap = Selectable<AccountSpendCapsTable>;
878
796
  type InsertAccountSpendCap = Insertable<AccountSpendCapsTable>;
879
797
  type UpdateAccountSpendCap = Updateable<AccountSpendCapsTable>;
880
- /** Prepaid dev credits — card-funded balance per account (peer to x402_balances). */
798
+ /** Prepaid dev credits — card-funded balance per account. */
881
799
  interface AccountCreditsTable {
882
800
  account_id: string;
883
801
  balance_usd_micros: Generated<string | number | bigint>;
@@ -2023,15 +1941,12 @@ declare const TABLE_TO_DB: {
2023
1941
  decoded_events: string
2024
1942
  decoder_checkpoints: string
2025
1943
  pox4_calls: string
2026
- pox4_cycles_daily: string
2027
- pox4_signers_daily: string
2028
1944
  pox5_events: string
2029
1945
  burn_block_rewards: string
2030
1946
  burn_block_reward_slots: string
2031
1947
  sbtc_events: string
2032
1948
  sbtc_token_events: string
2033
1949
  sbtc_settlements: string
2034
- sbtc_supply_snapshots: string
2035
1950
  bns_name_events: string
2036
1951
  bns_namespace_events: string
2037
1952
  bns_marketplace_events: string
@@ -2056,9 +1971,6 @@ declare const TABLE_TO_DB: {
2056
1971
  subgraph_gaps: string
2057
1972
  subgraph_violations: string
2058
1973
  subgraph_processing_stats: string
2059
- subgraph_table_snapshots: string
2060
- x402_payments: string
2061
- x402_balances: string
2062
1974
  account_credits: string
2063
1975
  hosted_meter_days: string
2064
1976
  archive_fetches: string
@@ -2126,9 +2038,9 @@ declare function getDb(connectionString?: string): Kysely<Database>;
2126
2038
  declare function getRawClient(role?: "source" | "target"): ReturnType<typeof postgres>;
2127
2039
  /**
2128
2040
  * Raw postgres.js client for an arbitrary connection string (cached by URL).
2129
- * Used by the BYO data plane to run DDL / serving queries against a
2130
- * user-owned Postgres. Distinct from {@link getRawClient}, which only knows the
2131
- * source/target roles resolved from env.
2041
+ * Used by the CLI setup-wizard and similar one-off tooling. Distinct from
2042
+ * {@link getRawClient}, which only knows the source/target roles resolved
2043
+ * from env.
2132
2044
  */
2133
2045
  declare function getRawClientFor(url: string): ReturnType<typeof postgres>;
2134
2046
  /** Close all DB connection pools. Call in CLI commands to allow process exit. */
@@ -3103,4 +3015,4 @@ interface ChainTestDelivery {
3103
3015
  * "Chain webhook webhook payloads" doc.
3104
3016
  */
3105
3017
  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;
3106
- export { validateWebhookFilterForTable, 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, formatWebhookSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, compareStreamsCursor, closeDb, blockEndCursor, assertDbSplit, applicationDatabaseUrl, X402PaymentsTable, X402BalancesTable, WebhooksTable, WebhookSummary, WebhookStatusSchema, WebhookStatus, WebhookSchemaTables, WebhookSchemaTable, WebhookSchemaColumn, WebhookRuntimeSchema, WebhookRuntime, WebhookOutboxTable, WebhookOutbox, WebhookKind, WebhookFormatSchema, WebhookFormat, WebhookFilterSchema, WebhookFilterPrimitiveSchema, WebhookFilterPrimitive, WebhookFilterOperatorSchema, WebhookFilterOperator, WebhookFilterClauseSchema, WebhookFilterClause, WebhookFilter, WebhookDetail, WebhookDelivery, WebhookDeliveriesTable, Webhook, WEBHOOK_STATUSES, WEBHOOK_RUNTIMES, WEBHOOK_FORMATS, WEBHOOK_FILTER_OPERATORS, VersionConflictError, ValidationError, UpdateWebhookRequestSchema, UpdateWebhookRequest, UpdateWebhookOutbox, UpdateWebhook, UpdateTransaction, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateHostedMeterDay, UpdateEvent, UpdateContract, UpdateClaimToken, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantSuspendedError, TABLE_TO_DB, SyncScopesTable, 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, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RunStatus, RotateSecretResponse, RetryState, ReplayWebhookRequestSchema, ReplayWebhookRequest, ReplayResult, RepairMode, ReindexResponse, RateLimitError, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, PaymentRequiredError, ParsedUpdateWebhookRequest, ParsedReplayWebhookRequest, ParsedCreateWebhookRequest, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NumericAsText, NotFoundError, NativeClock, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InstancesTable, InsertWebhookOutbox, InsertWebhookDelivery, InsertWebhook, InsertTransaction, 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, CreateWebhookResponse, CreateWebhookRequestSchema, CreateWebhookRequest, 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 };
3018
+ export { validateWebhookFilterForTable, 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, formatWebhookSchemaErrors, finalizedBurnHeight, encodeStreamsCursor, exports_ed25519 as ed25519, decodeStreamsCursor, exports_hmac as crypto, compareStreamsCursor, closeDb, blockEndCursor, assertDbSplit, applicationDatabaseUrl, WebhooksTable, WebhookSummary, WebhookStatusSchema, WebhookStatus, WebhookSchemaTables, WebhookSchemaTable, WebhookSchemaColumn, WebhookRuntimeSchema, WebhookRuntime, WebhookOutboxTable, WebhookOutbox, WebhookKind, WebhookFormatSchema, WebhookFormat, WebhookFilterSchema, WebhookFilterPrimitiveSchema, WebhookFilterPrimitive, WebhookFilterOperatorSchema, WebhookFilterOperator, WebhookFilterClauseSchema, WebhookFilterClause, WebhookFilter, WebhookDetail, WebhookDelivery, WebhookDeliveriesTable, Webhook, WEBHOOK_STATUSES, WEBHOOK_RUNTIMES, WEBHOOK_FORMATS, WEBHOOK_FILTER_OPERATORS, VersionConflictError, ValidationError, UpdateWebhookRequestSchema, UpdateWebhookRequest, UpdateWebhookOutbox, UpdateWebhook, UpdateTransaction, UpdateSubgraphOperation, UpdateSubgraph, UpdateIndexProgress, UpdateHostedMeterDay, UpdateEvent, UpdateContract, UpdateClaimToken, UpdateBlock, UpdateArchiveFetch, UpdateApiKey, UpdateAccountSpendCap, UpdateAccountCredits, TriggerEvaluatorStateTable, TriggerEvaluatorState, TransactionsTable, TransactionsArchiveTable, Transaction, TenantSuspendedError, TABLE_TO_DB, SyncScopesTable, SubgraphsTable, SubgraphViolationsTable, 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, SbtcSettlementsTable, SbtcEventsTable, SbtcEventTopic, SbtcDepositEvent, STREAMS_TO_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_DB_EVENT_TYPES, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RunStatus, RotateSecretResponse, RetryState, ReplayWebhookRequestSchema, ReplayWebhookRequest, ReplayResult, RepairMode, ReindexResponse, RateLimitError, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4FunctionName, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, PaymentRequiredError, ParsedUpdateWebhookRequest, ParsedReplayWebhookRequest, ParsedCreateWebhookRequest, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NumericAsText, NotFoundError, NativeClock, MigrationRole, MempoolTransactionsTable, MempoolTransaction, MagicLinksTable, MagicLink, KeyRotatedError, InstancesTable, InsertWebhookOutbox, InsertWebhookDelivery, InsertWebhook, InsertTransaction, 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, CreateWebhookResponse, CreateWebhookRequestSchema, CreateWebhookRequest, 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
@@ -755,15 +755,12 @@ var TABLE_TO_DB = {
755
755
  decoded_events: "source",
756
756
  decoder_checkpoints: "source",
757
757
  pox4_calls: "source",
758
- pox4_cycles_daily: "source",
759
- pox4_signers_daily: "source",
760
758
  pox5_events: "source",
761
759
  burn_block_rewards: "source",
762
760
  burn_block_reward_slots: "source",
763
761
  sbtc_events: "source",
764
762
  sbtc_token_events: "source",
765
763
  sbtc_settlements: "source",
766
- sbtc_supply_snapshots: "source",
767
764
  bns_name_events: "source",
768
765
  bns_namespace_events: "source",
769
766
  bns_marketplace_events: "source",
@@ -788,9 +785,6 @@ var TABLE_TO_DB = {
788
785
  subgraph_gaps: "target",
789
786
  subgraph_violations: "target",
790
787
  subgraph_processing_stats: "target",
791
- subgraph_table_snapshots: "target",
792
- x402_payments: "target",
793
- x402_balances: "target",
794
788
  account_credits: "target",
795
789
  hosted_meter_days: "target",
796
790
  archive_fetches: "target",
@@ -2156,5 +2150,5 @@ export {
2156
2150
  AuthenticationError
2157
2151
  };
2158
2152
 
2159
- //# debugId=D3AB339890A27E2964756E2164756E21
2153
+ //# debugId=8F2ED175D8933C9164756E2164756E21
2160
2154
  //# sourceMappingURL=index.js.map