@secondlayer/shared 11.16.1 → 11.18.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.
- package/dist/src/archive/range-digest.d.ts +8 -0
- package/dist/src/archive/semantic-digest-builder.d.ts +8 -0
- package/dist/src/coverage/index.d.ts +8 -0
- package/dist/src/db/index.d.ts +11 -1
- package/dist/src/db/index.js +2 -1
- package/dist/src/db/index.js.map +3 -3
- package/dist/src/db/queries/chain-reorgs.d.ts +8 -0
- package/dist/src/db/queries/chain-reorgs.js +2 -1
- package/dist/src/db/queries/chain-reorgs.js.map +3 -3
- package/dist/src/db/queries/contracts.d.ts +8 -0
- package/dist/src/db/queries/instance.d.ts +8 -0
- package/dist/src/db/queries/integrity.d.ts +8 -0
- package/dist/src/db/queries/subgraph-gaps.d.ts +8 -0
- package/dist/src/db/queries/subgraph-operations.d.ts +8 -0
- package/dist/src/db/queries/subgraphs.d.ts +8 -0
- package/dist/src/db/queries/sync-scope.d.ts +8 -0
- package/dist/src/db/queries/webhooks.d.ts +8 -0
- package/dist/src/db/schema.d.ts +10 -1
- package/dist/src/index-http.d.ts +4 -0
- package/dist/src/index.d.ts +11 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +3 -3
- package/dist/src/node/local-client.d.ts +8 -0
- package/dist/src/queue/listener.js +2 -1
- package/dist/src/queue/listener.js.map +3 -3
- package/dist/src/streams-rows/index.d.ts +4 -0
- package/migrations/0150_sentinel_accounts.ts +27 -0
- package/package.json +1 -1
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type WebhookStatus = "active" | "paused" | "error";
|
|
905
913
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
906
914
|
* `chain` reacts to raw chain events matched directly off the Index/Streams
|
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type WebhookStatus = "active" | "paused" | "error";
|
|
905
913
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
906
914
|
* `chain` reacts to raw chain events matched directly off the Index/Streams
|
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type WebhookStatus = "active" | "paused" | "error";
|
|
905
913
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
906
914
|
* `chain` reacts to raw chain events matched directly off the Index/Streams
|
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type SubgraphOperation = Selectable<SubgraphOperationsTable>;
|
|
905
913
|
type WebhookStatus = "active" | "paused" | "error";
|
|
906
914
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type Subgraph = Selectable<SubgraphsTable>;
|
|
905
913
|
type WebhookStatus = "active" | "paused" | "error";
|
|
906
914
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
@@ -832,6 +832,7 @@ interface Database {
|
|
|
832
832
|
archive_fetches: ArchiveFetchesTable;
|
|
833
833
|
usage_ledger: UsageLedgerTable;
|
|
834
834
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
835
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
835
836
|
waitlists: WaitlistsTable;
|
|
836
837
|
waitlist_signups: WaitlistSignupsTable;
|
|
837
838
|
}
|
|
@@ -911,6 +912,13 @@ interface AccountBalanceAlertsTable {
|
|
|
911
912
|
sent_2d_at: Date | null;
|
|
912
913
|
sent_stopped_at: Date | null;
|
|
913
914
|
}
|
|
915
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
916
|
+
* owner opted in. */
|
|
917
|
+
interface SentinelAccountsTable {
|
|
918
|
+
account_id: string;
|
|
919
|
+
linked_at: Generated<Date>;
|
|
920
|
+
via: "created" | "consent";
|
|
921
|
+
}
|
|
914
922
|
type WebhookStatus = "active" | "paused" | "error";
|
|
915
923
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
916
924
|
* `chain` reacts to raw chain events matched directly off the Index/Streams
|
|
@@ -822,6 +822,7 @@ interface Database {
|
|
|
822
822
|
archive_fetches: ArchiveFetchesTable;
|
|
823
823
|
usage_ledger: UsageLedgerTable;
|
|
824
824
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
825
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
825
826
|
waitlists: WaitlistsTable;
|
|
826
827
|
waitlist_signups: WaitlistSignupsTable;
|
|
827
828
|
}
|
|
@@ -901,6 +902,13 @@ interface AccountBalanceAlertsTable {
|
|
|
901
902
|
sent_2d_at: Date | null;
|
|
902
903
|
sent_stopped_at: Date | null;
|
|
903
904
|
}
|
|
905
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
906
|
+
* owner opted in. */
|
|
907
|
+
interface SentinelAccountsTable {
|
|
908
|
+
account_id: string;
|
|
909
|
+
linked_at: Generated<Date>;
|
|
910
|
+
via: "created" | "consent";
|
|
911
|
+
}
|
|
904
912
|
type WebhookStatus = "active" | "paused" | "error";
|
|
905
913
|
/** Polymorphic webhook mode: `subgraph` reacts to processed table rows;
|
|
906
914
|
* `chain` reacts to raw chain events matched directly off the Index/Streams
|
package/dist/src/db/schema.d.ts
CHANGED
|
@@ -821,6 +821,7 @@ interface Database {
|
|
|
821
821
|
archive_fetches: ArchiveFetchesTable;
|
|
822
822
|
usage_ledger: UsageLedgerTable;
|
|
823
823
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
824
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
824
825
|
waitlists: WaitlistsTable;
|
|
825
826
|
waitlist_signups: WaitlistSignupsTable;
|
|
826
827
|
}
|
|
@@ -912,6 +913,14 @@ interface AccountBalanceAlertsTable {
|
|
|
912
913
|
sent_2d_at: Date | null;
|
|
913
914
|
sent_stopped_at: Date | null;
|
|
914
915
|
}
|
|
916
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
917
|
+
* owner opted in. */
|
|
918
|
+
interface SentinelAccountsTable {
|
|
919
|
+
account_id: string;
|
|
920
|
+
linked_at: Generated<Date>;
|
|
921
|
+
via: "created" | "consent";
|
|
922
|
+
}
|
|
923
|
+
type SentinelAccount = Selectable<SentinelAccountsTable>;
|
|
915
924
|
type AccountBalanceAlerts = Selectable<AccountBalanceAlertsTable>;
|
|
916
925
|
type InsertAccountBalanceAlerts = Insertable<AccountBalanceAlertsTable>;
|
|
917
926
|
type UpdateAccountBalanceAlerts = Updateable<AccountBalanceAlertsTable>;
|
|
@@ -1089,4 +1098,4 @@ interface WaitlistSignupsTable {
|
|
|
1089
1098
|
type Waitlist = Selectable<WaitlistsTable>;
|
|
1090
1099
|
type WaitlistSignup = Selectable<WaitlistSignupsTable>;
|
|
1091
1100
|
type InsertWaitlistSignup = Insertable<WaitlistSignupsTable>;
|
|
1092
|
-
export { Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiKey, ApiKeysTable, ArchiveFetch, ArchiveFetchesTable, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, ChainReadCacheTable, ChainReorgsTable, Contract, ContractsTable, CoverageSegmentsTable, Database, DeadLetterEventsTable, DecodedEventsTable, DecoderCheckpointsTable, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiKey, InsertArchiveFetch, InsertBlock, InsertContract, InsertEvent, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InstancesTable, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, NativeClock, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, PendingForkBlocksTable, Pox4CallsTable, Pox4FunctionName, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, RepairMode, RetryState, RunStatus, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SbtcTokenEventType, SbtcTokenEventsTable, ServiceHeartbeatsTable, Session, SessionsTable, StageBlockReceiptsTable, StageFailuresTable, StageKind, StageRegistryTable, StageRunsTable, Subgraph, SubgraphGap, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSubgraph, UpdateSubgraphOperation, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UsageLedgerRow, UsageLedgerTable, VmEvent, VmEventsArchiveTable, VmEventsTable, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookFormat, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookRuntime, WebhookStatus, WebhooksTable };
|
|
1101
|
+
export { Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiKey, ApiKeysTable, ArchiveFetch, ArchiveFetchesTable, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, ChainReadCacheTable, ChainReorgsTable, Contract, ContractsTable, CoverageSegmentsTable, Database, DeadLetterEventsTable, DecodedEventsTable, DecoderCheckpointsTable, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiKey, InsertArchiveFetch, InsertBlock, InsertContract, InsertEvent, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InstancesTable, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, NativeClock, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, PendingForkBlocksTable, Pox4CallsTable, Pox4FunctionName, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, RepairMode, RetryState, RunStatus, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SbtcTokenEventType, SbtcTokenEventsTable, SentinelAccount, SentinelAccountsTable, ServiceHeartbeatsTable, Session, SessionsTable, StageBlockReceiptsTable, StageFailuresTable, StageKind, StageRegistryTable, StageRunsTable, Subgraph, SubgraphGap, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSubgraph, UpdateSubgraphOperation, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UsageLedgerRow, UsageLedgerTable, VmEvent, VmEventsArchiveTable, VmEventsTable, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookFormat, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookRuntime, WebhookStatus, WebhooksTable };
|
package/dist/src/index-http.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ type RuneStreamsEvent = {
|
|
|
56
56
|
event_type: RuneEventType
|
|
57
57
|
rune_id: string
|
|
58
58
|
payload: RuneEventPayload
|
|
59
|
+
/** The event's block time, ISO 8601. Absent when the indexer has no header
|
|
60
|
+
* time for that block yet (rows written before block times were recorded,
|
|
61
|
+
* until backfilled). */
|
|
62
|
+
ts?: string
|
|
59
63
|
/** True when this event's block is past the finality boundary (immutable).
|
|
60
64
|
* Optional for back-compat with the same reasoning as `StreamsEventBase`. */
|
|
61
65
|
finalized?: boolean
|
package/dist/src/index.d.ts
CHANGED
|
@@ -821,6 +821,7 @@ interface Database {
|
|
|
821
821
|
archive_fetches: ArchiveFetchesTable;
|
|
822
822
|
usage_ledger: UsageLedgerTable;
|
|
823
823
|
account_balance_alerts: AccountBalanceAlertsTable;
|
|
824
|
+
sentinel_accounts: SentinelAccountsTable;
|
|
824
825
|
waitlists: WaitlistsTable;
|
|
825
826
|
waitlist_signups: WaitlistSignupsTable;
|
|
826
827
|
}
|
|
@@ -912,6 +913,14 @@ interface AccountBalanceAlertsTable {
|
|
|
912
913
|
sent_2d_at: Date | null;
|
|
913
914
|
sent_stopped_at: Date | null;
|
|
914
915
|
}
|
|
916
|
+
/** Accounts Sentinel's service key may touch: created by Sentinel, or the
|
|
917
|
+
* owner opted in. */
|
|
918
|
+
interface SentinelAccountsTable {
|
|
919
|
+
account_id: string;
|
|
920
|
+
linked_at: Generated<Date>;
|
|
921
|
+
via: "created" | "consent";
|
|
922
|
+
}
|
|
923
|
+
type SentinelAccount = Selectable<SentinelAccountsTable>;
|
|
915
924
|
type AccountBalanceAlerts = Selectable<AccountBalanceAlertsTable>;
|
|
916
925
|
type InsertAccountBalanceAlerts = Insertable<AccountBalanceAlertsTable>;
|
|
917
926
|
type UpdateAccountBalanceAlerts = Updateable<AccountBalanceAlertsTable>;
|
|
@@ -2114,6 +2123,7 @@ declare const TABLE_TO_DB: {
|
|
|
2114
2123
|
archive_fetches: string
|
|
2115
2124
|
usage_ledger: string
|
|
2116
2125
|
account_balance_alerts: string
|
|
2126
|
+
sentinel_accounts: string
|
|
2117
2127
|
waitlists: string
|
|
2118
2128
|
waitlist_signups: string
|
|
2119
2129
|
service_heartbeats: string
|
|
@@ -3318,4 +3328,4 @@ declare function publicKeyPemFromPrivate(privateKeyPem: string): string;
|
|
|
3318
3328
|
declare function ed25519KeyId(publicKeyPem: string): string;
|
|
3319
3329
|
declare function signEd25519(payload: string, privateKey: KeyObject): string;
|
|
3320
3330
|
declare function verifyEd25519(payload: string, signatureBase64: string, publicKey: KeyObject): boolean;
|
|
3321
|
-
export { Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiKey, ApiKeysTable, ArchiveFetch, ArchiveFetchesTable, AuthenticationError, AuthorizationError, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, CHAIN_TRIGGER_FIELDS, CHAIN_TRIGGER_TYPES, CODE_TO_STATUS, ChainApplyDeliveryOf, ChainApplyEnvelope, ChainApplyEnvelopeOf, ChainEventEnvelope, ChainFtBurnData, ChainFtMintData, ChainFtTransferData, ChainNftBurnData, ChainNftMintData, ChainNftTransferData, ChainPrintEventData, ChainReadCacheTable, ChainReorgOrphanedEntry, ChainReorgRollbackDelivery, ChainReorgRollbackEnvelope, ChainReorgsTable, ChainStxBurnData, ChainStxLockData, ChainStxMintData, ChainStxTransferData, ChainTestDelivery, ChainTxLevelEvent, ChainWebhookDelivery, ChainWebhookEnvelope, Contract, ContractsTable, CoverageSegmentsTable, CreateWebhookRequest, CreateWebhookRequestSchema, CreateWebhookResponse, DB_TO_STREAMS_EVENT_TYPE, DECODED_EVENT_TYPES2 as DECODED_EVENT_TYPES, DEFAULT_BTC_CONFIRMATIONS, Database, DatabaseError, DbPlane, DbReadRow, DbSplitStatus, DeadLetterEventsTable, DeadRow, DecodedEventType2 as DecodedEventType, DecodedEventsTable, DecoderCheckpointsTable, DeliveryRow, DeploySubgraphRequest, DeploySubgraphRequestSchema, DeploySubgraphResponse, EMPTY_RANGE_EVENT_INDEX_SENTINEL, Env, ErrorCode, ErrorCodes, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, ForbiddenError, IndexColumn, IndexColumnType, IndexPrimaryKey, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiKey, InsertArchiveFetch, InsertBlock, InsertContract, InsertEvent, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InstancesTable, KeyRotatedError, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, MigrationRole, NativeClock, NotFoundError, NumericAsText, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, ParsedCreateWebhookRequest, ParsedReplayWebhookRequest, ParsedUpdateWebhookRequest, PaymentRequiredError, PendingForkBlocksTable, Pox4CallsTable, Pox4FunctionName, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, RUNE_EVENT_TYPES, RateLimitError, ReindexResponse, RepairMode, ReplayResult, ReplayWebhookRequest, ReplayWebhookRequestSchema, RetryState, RotateSecretResponse, RunStatus, RuneApplyDeliveryOf, RuneApplyEnvelope, RuneEventType, SOURCE_READ_COLUMNS, SOURCE_READ_PKS, SOURCE_READ_TYPES, STREAMS_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_TO_DB_EVENT_TYPES, SbtcDepositEvent, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SbtcTokenEventType, SbtcTokenEventsTable, SbtcWithdrawalEvent, SbtcWithdrawalSweptConfirmedEvent, SecondLayerError, ServiceHeartbeatsTable, Session, SessionsTable, StageBlockReceiptsTable, StageFailuresTable, StageKind, StageRegistryTable, StageRunsTable, StreamsCursor, StreamsDbEventType, StreamsEventType, Subgraph, SubgraphAgentSchema, SubgraphAggregateParams, SubgraphAggregateResponse, SubgraphDetail, SubgraphGap, SubgraphGapEntry, SubgraphGapRange, SubgraphGapsResponse, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphQueryParams, SubgraphSpecFormat, SubgraphSpecOptions, SubgraphSummary, SubgraphSyncInfo, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, TABLE_TO_DB, TenantSuspendedError, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSubgraph, UpdateSubgraphOperation, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UpdateWebhookRequest, UpdateWebhookRequestSchema, UsageLedgerRow, UsageLedgerTable, VM_EVENT_TYPES, VM_NODE_TO_STORED_TYPE2 as VM_NODE_TO_STORED_TYPE, VM_STORED_TO_NODE_TYPE, ValidationError, VersionConflictError, VmEvent, VmEventType, VmEventsArchiveTable, VmEventsTable, VmNodeEventType, WEBHOOK_FILTER_OPERATORS, WEBHOOK_FORMATS, WEBHOOK_RUNTIMES, WEBHOOK_STATUSES, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookDetail, WebhookFilter, WebhookFilterClause, WebhookFilterClauseSchema, WebhookFilterOperator, WebhookFilterOperatorSchema, WebhookFilterPrimitive, WebhookFilterPrimitiveSchema, WebhookFilterSchema, WebhookFormat, WebhookFormatSchema, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookRuntime, WebhookRuntimeSchema, WebhookSchemaColumn, WebhookSchemaTable, WebhookSchemaTables, WebhookStatus, WebhookStatusSchema, WebhookSummary, WebhooksTable, applicationDatabaseUrl, assertDbSplit, blockEndCursor, closeDb, closeDbOrTimeout, committedHeight, compareStreamsCursor, exports_hmac as crypto, decodeStreamsCursor, describeDbUrl, exports_ed25519 as ed25519, encodeStreamsCursor, finalizedBurnHeight, formatWebhookSchemaErrors, generateSubgraphAgentSchema, generateSubgraphMarkdown, generateSubgraphOpenApi, generateSubgraphSpec, getDb, getDbSplitStatus, getEnv, getErrorMessage, getMigrationRole, getRawClient, getRawClientFor, getSourceDb, getTargetDb, isBnsDecoderEnabled, isEmptyRangeCursor, isPox4DecoderEnabled, isPox5DecoderEnabled, isSbtcDecoderEnabled, jsonb, logger, onChainPlane, onControlPlane, parseJsonb, resolveSourceUrl, resolveTargetUrl, setMigrationRole, sql, validateWebhookFilterForTable };
|
|
3331
|
+
export { Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiKey, ApiKeysTable, ArchiveFetch, ArchiveFetchesTable, AuthenticationError, AuthorizationError, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, CHAIN_TRIGGER_FIELDS, CHAIN_TRIGGER_TYPES, CODE_TO_STATUS, ChainApplyDeliveryOf, ChainApplyEnvelope, ChainApplyEnvelopeOf, ChainEventEnvelope, ChainFtBurnData, ChainFtMintData, ChainFtTransferData, ChainNftBurnData, ChainNftMintData, ChainNftTransferData, ChainPrintEventData, ChainReadCacheTable, ChainReorgOrphanedEntry, ChainReorgRollbackDelivery, ChainReorgRollbackEnvelope, ChainReorgsTable, ChainStxBurnData, ChainStxLockData, ChainStxMintData, ChainStxTransferData, ChainTestDelivery, ChainTxLevelEvent, ChainWebhookDelivery, ChainWebhookEnvelope, Contract, ContractsTable, CoverageSegmentsTable, CreateWebhookRequest, CreateWebhookRequestSchema, CreateWebhookResponse, DB_TO_STREAMS_EVENT_TYPE, DECODED_EVENT_TYPES2 as DECODED_EVENT_TYPES, DEFAULT_BTC_CONFIRMATIONS, Database, DatabaseError, DbPlane, DbReadRow, DbSplitStatus, DeadLetterEventsTable, DeadRow, DecodedEventType2 as DecodedEventType, DecodedEventsTable, DecoderCheckpointsTable, DeliveryRow, DeploySubgraphRequest, DeploySubgraphRequestSchema, DeploySubgraphResponse, EMPTY_RANGE_EVENT_INDEX_SENTINEL, Env, ErrorCode, ErrorCodes, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, ForbiddenError, IndexColumn, IndexColumnType, IndexPrimaryKey, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiKey, InsertArchiveFetch, InsertBlock, InsertContract, InsertEvent, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InstancesTable, KeyRotatedError, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, MigrationRole, NativeClock, NotFoundError, NumericAsText, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, ParsedCreateWebhookRequest, ParsedReplayWebhookRequest, ParsedUpdateWebhookRequest, PaymentRequiredError, PendingForkBlocksTable, Pox4CallsTable, Pox4FunctionName, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, RUNE_EVENT_TYPES, RateLimitError, ReindexResponse, RepairMode, ReplayResult, ReplayWebhookRequest, ReplayWebhookRequestSchema, RetryState, RotateSecretResponse, RunStatus, RuneApplyDeliveryOf, RuneApplyEnvelope, RuneEventType, SOURCE_READ_COLUMNS, SOURCE_READ_PKS, SOURCE_READ_TYPES, STREAMS_DB_EVENT_TYPES, STREAMS_EVENT_TYPES, STREAMS_TO_DB_EVENT_TYPES, SbtcDepositEvent, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SbtcTokenEventType, SbtcTokenEventsTable, SbtcWithdrawalEvent, SbtcWithdrawalSweptConfirmedEvent, SecondLayerError, SentinelAccount, SentinelAccountsTable, ServiceHeartbeatsTable, Session, SessionsTable, StageBlockReceiptsTable, StageFailuresTable, StageKind, StageRegistryTable, StageRunsTable, StreamsCursor, StreamsDbEventType, StreamsEventType, Subgraph, SubgraphAgentSchema, SubgraphAggregateParams, SubgraphAggregateResponse, SubgraphDetail, SubgraphGap, SubgraphGapEntry, SubgraphGapRange, SubgraphGapsResponse, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphQueryParams, SubgraphSpecFormat, SubgraphSpecOptions, SubgraphSummary, SubgraphSyncInfo, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, TABLE_TO_DB, TenantSuspendedError, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSubgraph, UpdateSubgraphOperation, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UpdateWebhookRequest, UpdateWebhookRequestSchema, UsageLedgerRow, UsageLedgerTable, VM_EVENT_TYPES, VM_NODE_TO_STORED_TYPE2 as VM_NODE_TO_STORED_TYPE, VM_STORED_TO_NODE_TYPE, ValidationError, VersionConflictError, VmEvent, VmEventType, VmEventsArchiveTable, VmEventsTable, VmNodeEventType, WEBHOOK_FILTER_OPERATORS, WEBHOOK_FORMATS, WEBHOOK_RUNTIMES, WEBHOOK_STATUSES, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookDetail, WebhookFilter, WebhookFilterClause, WebhookFilterClauseSchema, WebhookFilterOperator, WebhookFilterOperatorSchema, WebhookFilterPrimitive, WebhookFilterPrimitiveSchema, WebhookFilterSchema, WebhookFormat, WebhookFormatSchema, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookRuntime, WebhookRuntimeSchema, WebhookSchemaColumn, WebhookSchemaTable, WebhookSchemaTables, WebhookStatus, WebhookStatusSchema, WebhookSummary, WebhooksTable, applicationDatabaseUrl, assertDbSplit, blockEndCursor, closeDb, closeDbOrTimeout, committedHeight, compareStreamsCursor, exports_hmac as crypto, decodeStreamsCursor, describeDbUrl, exports_ed25519 as ed25519, encodeStreamsCursor, finalizedBurnHeight, formatWebhookSchemaErrors, generateSubgraphAgentSchema, generateSubgraphMarkdown, generateSubgraphOpenApi, generateSubgraphSpec, getDb, getDbSplitStatus, getEnv, getErrorMessage, getMigrationRole, getRawClient, getRawClientFor, getSourceDb, getTargetDb, isBnsDecoderEnabled, isEmptyRangeCursor, isPox4DecoderEnabled, isPox5DecoderEnabled, isSbtcDecoderEnabled, jsonb, logger, onChainPlane, onControlPlane, parseJsonb, resolveSourceUrl, resolveTargetUrl, setMigrationRole, sql, validateWebhookFilterForTable };
|
package/dist/src/index.js
CHANGED
|
@@ -857,6 +857,7 @@ var TABLE_TO_DB = {
|
|
|
857
857
|
archive_fetches: "target",
|
|
858
858
|
usage_ledger: "target",
|
|
859
859
|
account_balance_alerts: "target",
|
|
860
|
+
sentinel_accounts: "target",
|
|
860
861
|
waitlists: "target",
|
|
861
862
|
waitlist_signups: "target",
|
|
862
863
|
service_heartbeats: "both"
|
|
@@ -2263,5 +2264,5 @@ export {
|
|
|
2263
2264
|
validateWebhookFilterForTable
|
|
2264
2265
|
};
|
|
2265
2266
|
|
|
2266
|
-
//# debugId=
|
|
2267
|
+
//# debugId=F945428B98D5D45C64756E2164756E21
|
|
2267
2268
|
//# sourceMappingURL=index.js.map
|