mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 16:52:57 +08:00
* feat: add database migration cli commands * update cargo lock * chore: import first api files * test: cache first * test: cache * test: sats * test: inscription show * test: inscription transfers * test: inscriptions index * test: inscriptions complete * test: counts * test: status * test: block counts * test: brc20 activity * test: brc20 holders * ci: api tests * ci: update nvmrc path * ci: remove migration refs * ci: unused exports * ci: unused * ci: build publish * ci: monorepo * fix: timestamps * Update api/ordinals/docs/feature-guides/rate-limiting.md Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> * Update api/ordinals/docs/feature-guides/rate-limiting.md Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> * Update api/ordinals/docs/overview.md Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> * Update api/ordinals/src/api/schemas.ts Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> * Update api/ordinals/src/api/schemas.ts Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> * fix: warnings --------- Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
4 lines
154 B
TypeScript
4 lines
154 B
TypeScript
export function objRemoveUndefinedValues(obj: object) {
|
|
Object.keys(obj).forEach(key => (obj as any)[key] === undefined && delete (obj as any)[key]);
|
|
}
|