@secondlayer/shared 11.5.1 → 11.6.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 +2 -41
- package/dist/src/archive/semantic-digest-builder.d.ts +2 -41
- package/dist/src/coverage/index.d.ts +2 -41
- package/dist/src/db/index.d.ts +6 -47
- package/dist/src/db/index.js +1 -3
- package/dist/src/db/index.js.map +5 -5
- package/dist/src/db/queries/chain-reorgs.d.ts +2 -41
- package/dist/src/db/queries/chain-reorgs.js +1 -3
- package/dist/src/db/queries/chain-reorgs.js.map +5 -5
- package/dist/src/db/queries/contracts.d.ts +2 -41
- package/dist/src/db/queries/instance.d.ts +2 -41
- package/dist/src/db/queries/integrity.d.ts +2 -41
- package/dist/src/db/queries/subgraph-gaps.d.ts +2 -41
- package/dist/src/db/queries/subgraph-operations.d.ts +2 -41
- package/dist/src/db/queries/subgraphs.d.ts +2 -41
- package/dist/src/db/queries/subgraphs.js +2 -4
- package/dist/src/db/queries/subgraphs.js.map +3 -3
- package/dist/src/db/queries/sync-scope.d.ts +2 -41
- package/dist/src/db/queries/webhooks.d.ts +2 -41
- package/dist/src/db/schema.d.ts +3 -42
- package/dist/src/index.d.ts +6 -47
- package/dist/src/index.js +1 -3
- package/dist/src/index.js.map +5 -5
- package/dist/src/node/local-client.d.ts +2 -41
- package/migrations/0128_drop_x402.ts +21 -0
- package/migrations/0129_drop_subgraphs_database_url_enc.ts +24 -0
- package/package.json +2 -2
|
@@ -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
|
|
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;
|
|
@@ -811,8 +810,6 @@ interface Database {
|
|
|
811
810
|
bns_names: BnsNamesTable;
|
|
812
811
|
bns_namespaces: BnsNamespacesTable;
|
|
813
812
|
service_heartbeats: ServiceHeartbeatsTable;
|
|
814
|
-
x402_payments: X402PaymentsTable;
|
|
815
|
-
x402_balances: X402BalancesTable;
|
|
816
813
|
chain_read_cache: ChainReadCacheTable;
|
|
817
814
|
pending_fork_blocks: PendingForkBlocksTable;
|
|
818
815
|
observer_journal: ObserverJournalTable;
|
|
@@ -824,46 +821,10 @@ interface Database {
|
|
|
824
821
|
stage_failures: StageFailuresTable;
|
|
825
822
|
archive_fetches: ArchiveFetchesTable;
|
|
826
823
|
}
|
|
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
824
|
interface ServiceHeartbeatsTable {
|
|
837
825
|
name: string;
|
|
838
826
|
updated_at: Generated<Date>;
|
|
839
827
|
}
|
|
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
828
|
interface AccountSpendCapsTable {
|
|
868
829
|
account_id: string;
|
|
869
830
|
monthly_cap_cents: number | null;
|
|
@@ -874,7 +835,7 @@ interface AccountSpendCapsTable {
|
|
|
874
835
|
frozen_at: Date | null;
|
|
875
836
|
updated_at: Generated<Date>;
|
|
876
837
|
}
|
|
877
|
-
/** Prepaid dev credits — card-funded balance per account
|
|
838
|
+
/** Prepaid dev credits — card-funded balance per account. */
|
|
878
839
|
interface AccountCreditsTable {
|
|
879
840
|
account_id: string;
|
|
880
841
|
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
|
|
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;
|
|
@@ -811,8 +810,6 @@ interface Database {
|
|
|
811
810
|
bns_names: BnsNamesTable;
|
|
812
811
|
bns_namespaces: BnsNamespacesTable;
|
|
813
812
|
service_heartbeats: ServiceHeartbeatsTable;
|
|
814
|
-
x402_payments: X402PaymentsTable;
|
|
815
|
-
x402_balances: X402BalancesTable;
|
|
816
813
|
chain_read_cache: ChainReadCacheTable;
|
|
817
814
|
pending_fork_blocks: PendingForkBlocksTable;
|
|
818
815
|
observer_journal: ObserverJournalTable;
|
|
@@ -824,46 +821,10 @@ interface Database {
|
|
|
824
821
|
stage_failures: StageFailuresTable;
|
|
825
822
|
archive_fetches: ArchiveFetchesTable;
|
|
826
823
|
}
|
|
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
824
|
interface ServiceHeartbeatsTable {
|
|
837
825
|
name: string;
|
|
838
826
|
updated_at: Generated<Date>;
|
|
839
827
|
}
|
|
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
828
|
interface AccountSpendCapsTable {
|
|
868
829
|
account_id: string;
|
|
869
830
|
monthly_cap_cents: number | null;
|
|
@@ -874,7 +835,7 @@ interface AccountSpendCapsTable {
|
|
|
874
835
|
frozen_at: Date | null;
|
|
875
836
|
updated_at: Generated<Date>;
|
|
876
837
|
}
|
|
877
|
-
/** Prepaid dev credits — card-funded balance per account
|
|
838
|
+
/** Prepaid dev credits — card-funded balance per account. */
|
|
878
839
|
interface AccountCreditsTable {
|
|
879
840
|
account_id: string;
|
|
880
841
|
balance_usd_micros: Generated<string | number | bigint>;
|
|
@@ -454,7 +454,6 @@ interface SubgraphsTable {
|
|
|
454
454
|
expires_at: Date | null;
|
|
455
455
|
/** (event type, contract) probe pairs persisted at deploy for weight classification. */
|
|
456
456
|
sparse_probe_targets: unknown | null;
|
|
457
|
-
database_url_enc: ColumnType<Buffer | null, Buffer | null | undefined, Buffer | null>;
|
|
458
457
|
sandbox_workers: Generated<boolean>;
|
|
459
458
|
created_at: Generated<Date>;
|
|
460
459
|
updated_at: Generated<Date>;
|
|
@@ -550,7 +549,7 @@ interface AccountsTable {
|
|
|
550
549
|
email: string | null;
|
|
551
550
|
/** True for anonymous self-serve accounts until claimed via magic link. */
|
|
552
551
|
ghost: Generated<boolean>;
|
|
553
|
-
/** Stacks principal owning a wallet-ghost account
|
|
552
|
+
/** Stacks principal owning a wallet-ghost account. */
|
|
554
553
|
wallet_principal: string | null;
|
|
555
554
|
display_name: string | null;
|
|
556
555
|
bio: string | null;
|
|
@@ -1129,8 +1128,6 @@ interface Database {
|
|
|
1129
1128
|
bns_names: BnsNamesTable;
|
|
1130
1129
|
bns_namespaces: BnsNamespacesTable;
|
|
1131
1130
|
service_heartbeats: ServiceHeartbeatsTable;
|
|
1132
|
-
x402_payments: X402PaymentsTable;
|
|
1133
|
-
x402_balances: X402BalancesTable;
|
|
1134
1131
|
chain_read_cache: ChainReadCacheTable;
|
|
1135
1132
|
pending_fork_blocks: PendingForkBlocksTable;
|
|
1136
1133
|
observer_journal: ObserverJournalTable;
|
|
@@ -1142,46 +1139,10 @@ interface Database {
|
|
|
1142
1139
|
stage_failures: StageFailuresTable;
|
|
1143
1140
|
archive_fetches: ArchiveFetchesTable;
|
|
1144
1141
|
}
|
|
1145
|
-
/** Prepaid x402 credit — one running USD-micros balance per payer principal. */
|
|
1146
|
-
interface X402BalancesTable {
|
|
1147
|
-
principal: string;
|
|
1148
|
-
balance_usd_micros: Generated<string | number | bigint>;
|
|
1149
|
-
/** Month bucket ("YYYY-MM") the spend counter applies to. */
|
|
1150
|
-
spent_month: string | null;
|
|
1151
|
-
spent_month_usd_micros: Generated<string | number | bigint>;
|
|
1152
|
-
updated_at: Generated<Date>;
|
|
1153
|
-
}
|
|
1154
1142
|
interface ServiceHeartbeatsTable {
|
|
1155
1143
|
name: string;
|
|
1156
1144
|
updated_at: Generated<Date>;
|
|
1157
1145
|
}
|
|
1158
|
-
/** x402 pay-per-request ledger (control plane). One row per settled payment,
|
|
1159
|
-
* keyed by challenge nonce + settled txid. `state` tracks confirmed-tier
|
|
1160
|
-
* settlement and post-serve reorg reversal. */
|
|
1161
|
-
interface X402PaymentsTable {
|
|
1162
|
-
id: Generated<string>;
|
|
1163
|
-
nonce: string;
|
|
1164
|
-
txid: string;
|
|
1165
|
-
asset: string;
|
|
1166
|
-
amount: string;
|
|
1167
|
-
payer: string;
|
|
1168
|
-
surface: string;
|
|
1169
|
-
state: Generated<"pending" | "confirmed" | "reverted">;
|
|
1170
|
-
created_at: Generated<Date>;
|
|
1171
|
-
updated_at: Generated<Date>;
|
|
1172
|
-
/** "payment" = per-call settle; "deposit" = prepaid balance top-up. */
|
|
1173
|
-
kind: Generated<string>;
|
|
1174
|
-
/** Linked claimed account once the paying wallet is attached (continuity). */
|
|
1175
|
-
account_id: string | null;
|
|
1176
|
-
/** USD-micros to credit on confirmation, for deposit rows the reconciler
|
|
1177
|
-
* settles asynchronously. NULL for per-call settles (credit nothing). */
|
|
1178
|
-
credit_usd_micros: string | null;
|
|
1179
|
-
/** Idempotency key: stamped exactly once when this row's credit is applied.
|
|
1180
|
-
* NULL means never credited (or not a credit-bearing row). Pre-migration
|
|
1181
|
-
* non-pending deposit rows are backfilled to a non-null sentinel so the
|
|
1182
|
-
* reconciler's heal path can never double-credit them. */
|
|
1183
|
-
credited_at: Generated<Date> | null;
|
|
1184
|
-
}
|
|
1185
1146
|
interface AccountSpendCapsTable {
|
|
1186
1147
|
account_id: string;
|
|
1187
1148
|
monthly_cap_cents: number | null;
|
|
@@ -1192,7 +1153,7 @@ interface AccountSpendCapsTable {
|
|
|
1192
1153
|
frozen_at: Date | null;
|
|
1193
1154
|
updated_at: Generated<Date>;
|
|
1194
1155
|
}
|
|
1195
|
-
/** Prepaid dev credits — card-funded balance per account
|
|
1156
|
+
/** Prepaid dev credits — card-funded balance per account. */
|
|
1196
1157
|
interface AccountCreditsTable {
|
|
1197
1158
|
account_id: string;
|
|
1198
1159
|
balance_usd_micros: Generated<string | number | bigint>;
|
package/dist/src/db/index.d.ts
CHANGED
|
@@ -155,7 +155,6 @@ interface SubgraphsTable {
|
|
|
155
155
|
expires_at: Date | null;
|
|
156
156
|
/** (event type, contract) probe pairs persisted at deploy for weight classification. */
|
|
157
157
|
sparse_probe_targets: unknown | null;
|
|
158
|
-
database_url_enc: ColumnType<Buffer | null, Buffer | null | undefined, Buffer | null>;
|
|
159
158
|
sandbox_workers: Generated<boolean>;
|
|
160
159
|
created_at: Generated<Date>;
|
|
161
160
|
updated_at: Generated<Date>;
|
|
@@ -251,7 +250,7 @@ interface AccountsTable {
|
|
|
251
250
|
email: string | null;
|
|
252
251
|
/** True for anonymous self-serve accounts until claimed via magic link. */
|
|
253
252
|
ghost: Generated<boolean>;
|
|
254
|
-
/** Stacks principal owning a wallet-ghost account
|
|
253
|
+
/** Stacks principal owning a wallet-ghost account. */
|
|
255
254
|
wallet_principal: string | null;
|
|
256
255
|
display_name: string | null;
|
|
257
256
|
bio: string | null;
|
|
@@ -830,8 +829,6 @@ interface Database {
|
|
|
830
829
|
bns_names: BnsNamesTable;
|
|
831
830
|
bns_namespaces: BnsNamespacesTable;
|
|
832
831
|
service_heartbeats: ServiceHeartbeatsTable;
|
|
833
|
-
x402_payments: X402PaymentsTable;
|
|
834
|
-
x402_balances: X402BalancesTable;
|
|
835
832
|
chain_read_cache: ChainReadCacheTable;
|
|
836
833
|
pending_fork_blocks: PendingForkBlocksTable;
|
|
837
834
|
observer_journal: ObserverJournalTable;
|
|
@@ -843,46 +840,10 @@ interface Database {
|
|
|
843
840
|
stage_failures: StageFailuresTable;
|
|
844
841
|
archive_fetches: ArchiveFetchesTable;
|
|
845
842
|
}
|
|
846
|
-
/** Prepaid x402 credit — one running USD-micros balance per payer principal. */
|
|
847
|
-
interface X402BalancesTable {
|
|
848
|
-
principal: string;
|
|
849
|
-
balance_usd_micros: Generated<string | number | bigint>;
|
|
850
|
-
/** Month bucket ("YYYY-MM") the spend counter applies to. */
|
|
851
|
-
spent_month: string | null;
|
|
852
|
-
spent_month_usd_micros: Generated<string | number | bigint>;
|
|
853
|
-
updated_at: Generated<Date>;
|
|
854
|
-
}
|
|
855
843
|
interface ServiceHeartbeatsTable {
|
|
856
844
|
name: string;
|
|
857
845
|
updated_at: Generated<Date>;
|
|
858
846
|
}
|
|
859
|
-
/** x402 pay-per-request ledger (control plane). One row per settled payment,
|
|
860
|
-
* keyed by challenge nonce + settled txid. `state` tracks confirmed-tier
|
|
861
|
-
* settlement and post-serve reorg reversal. */
|
|
862
|
-
interface X402PaymentsTable {
|
|
863
|
-
id: Generated<string>;
|
|
864
|
-
nonce: string;
|
|
865
|
-
txid: string;
|
|
866
|
-
asset: string;
|
|
867
|
-
amount: string;
|
|
868
|
-
payer: string;
|
|
869
|
-
surface: string;
|
|
870
|
-
state: Generated<"pending" | "confirmed" | "reverted">;
|
|
871
|
-
created_at: Generated<Date>;
|
|
872
|
-
updated_at: Generated<Date>;
|
|
873
|
-
/** "payment" = per-call settle; "deposit" = prepaid balance top-up. */
|
|
874
|
-
kind: Generated<string>;
|
|
875
|
-
/** Linked claimed account once the paying wallet is attached (continuity). */
|
|
876
|
-
account_id: string | null;
|
|
877
|
-
/** USD-micros to credit on confirmation, for deposit rows the reconciler
|
|
878
|
-
* settles asynchronously. NULL for per-call settles (credit nothing). */
|
|
879
|
-
credit_usd_micros: string | null;
|
|
880
|
-
/** Idempotency key: stamped exactly once when this row's credit is applied.
|
|
881
|
-
* NULL means never credited (or not a credit-bearing row). Pre-migration
|
|
882
|
-
* non-pending deposit rows are backfilled to a non-null sentinel so the
|
|
883
|
-
* reconciler's heal path can never double-credit them. */
|
|
884
|
-
credited_at: Generated<Date> | null;
|
|
885
|
-
}
|
|
886
847
|
interface AccountSpendCapsTable {
|
|
887
848
|
account_id: string;
|
|
888
849
|
monthly_cap_cents: number | null;
|
|
@@ -896,7 +857,7 @@ interface AccountSpendCapsTable {
|
|
|
896
857
|
type AccountSpendCap = Selectable<AccountSpendCapsTable>;
|
|
897
858
|
type InsertAccountSpendCap = Insertable<AccountSpendCapsTable>;
|
|
898
859
|
type UpdateAccountSpendCap = Updateable<AccountSpendCapsTable>;
|
|
899
|
-
/** Prepaid dev credits — card-funded balance per account
|
|
860
|
+
/** Prepaid dev credits — card-funded balance per account. */
|
|
900
861
|
interface AccountCreditsTable {
|
|
901
862
|
account_id: string;
|
|
902
863
|
balance_usd_micros: Generated<string | number | bigint>;
|
|
@@ -2018,8 +1979,6 @@ declare const TABLE_TO_DB: {
|
|
|
2018
1979
|
subgraph_violations: string
|
|
2019
1980
|
subgraph_processing_stats: string
|
|
2020
1981
|
subgraph_table_snapshots: string
|
|
2021
|
-
x402_payments: string
|
|
2022
|
-
x402_balances: string
|
|
2023
1982
|
account_credits: string
|
|
2024
1983
|
hosted_meter_days: string
|
|
2025
1984
|
archive_fetches: string
|
|
@@ -2087,11 +2046,11 @@ declare function getDb(connectionString?: string): Kysely<Database>;
|
|
|
2087
2046
|
declare function getRawClient(role?: "source" | "target"): ReturnType<typeof postgres>;
|
|
2088
2047
|
/**
|
|
2089
2048
|
* Raw postgres.js client for an arbitrary connection string (cached by URL).
|
|
2090
|
-
* Used by the
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2049
|
+
* Used by the CLI setup-wizard and similar one-off tooling. Distinct from
|
|
2050
|
+
* {@link getRawClient}, which only knows the source/target roles resolved
|
|
2051
|
+
* from env.
|
|
2093
2052
|
*/
|
|
2094
2053
|
declare function getRawClientFor(url: string): ReturnType<typeof postgres>;
|
|
2095
2054
|
/** Close all DB connection pools. Call in CLI commands to allow process exit. */
|
|
2096
2055
|
declare function closeDb(): Promise<void>;
|
|
2097
|
-
export { sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, jsonb, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getDbSplitStatus, getDb, closeDb, assertDbSplit, applicationDatabaseUrl,
|
|
2056
|
+
export { sql, setMigrationRole, parseJsonb, onControlPlane, onChainPlane, jsonb, getTargetDb, getSourceDb, getRawClientFor, getRawClient, getMigrationRole, getDbSplitStatus, getDb, closeDb, assertDbSplit, applicationDatabaseUrl, 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, TABLE_TO_DB, 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, SOURCE_READ_TYPES, SOURCE_READ_PKS, SOURCE_READ_COLUMNS, RunStatus, RetryState, RepairMode, ProcessedStripeEventsTable, Pox5EventsTable, Pox5EventTopic, Pox4SignersDailyTable, Pox4FunctionName, Pox4CyclesDailyTable, Pox4CallsTable, PlayProvisionsTable, PlayProvision, PendingForkBlocksTable, OutboxStatus, ObserverJournalTable, ObserverJournalStatus, NumericAsText, NativeClock, MigrationRole, 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, IndexPrimaryKey, IndexColumnType, IndexColumn, HostedMeterDaysTable, HostedMeterDay, FailureUnit, FailureClass, EventsTable, EventsArchiveTable, Event, DecoderCheckpointsTable, DecodedEventsTable, DeadLetterEventsTable, DbSplitStatus, DbReadRow, DbPlane, 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 };
|
package/dist/src/db/index.js
CHANGED
|
@@ -790,8 +790,6 @@ var TABLE_TO_DB = {
|
|
|
790
790
|
subgraph_violations: "target",
|
|
791
791
|
subgraph_processing_stats: "target",
|
|
792
792
|
subgraph_table_snapshots: "target",
|
|
793
|
-
x402_payments: "target",
|
|
794
|
-
x402_balances: "target",
|
|
795
793
|
account_credits: "target",
|
|
796
794
|
hosted_meter_days: "target",
|
|
797
795
|
archive_fetches: "target",
|
|
@@ -997,5 +995,5 @@ export {
|
|
|
997
995
|
SOURCE_READ_COLUMNS
|
|
998
996
|
};
|
|
999
997
|
|
|
1000
|
-
//# debugId=
|
|
998
|
+
//# debugId=22EC8E320C05811964756E2164756E21
|
|
1001
999
|
//# sourceMappingURL=index.js.map
|