{"_id":"@absinthelabs/adapters","_rev":"10-3c23d640aca3564cdc0730e20849e41c","name":"@absinthelabs/adapters","dist-tags":{"latest":"1.5.0"},"versions":{"0.0.1":{"name":"@absinthelabs/adapters","version":"0.0.1","_id":"@absinthelabs/adapters@0.0.1","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"iambhavyamehta","email":"bhavya.y.mehta@gmail.com"}],"dist":{"shasum":"8af285a272cce974fff394e9539ca4f4e3960fef","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-0.0.1.tgz","fileCount":4,"integrity":"sha512-YHVl1t/X8Hm97TYbEekAY6c8U6h3Ft213flDSMGFUTW73Jo6SrRmx7yhvWyLU4SaS9pnpeNauUGjqP9Xw5XvzA==","signatures":[{"sig":"MEUCIBGgvtrI/zsdsuupv2uO4+TYrcIDA8KtEH2TxkIv0ShZAiEA7tDjnDMBuAybxEGm4D5tMKr6PJR4dFti4qzOwuGM7ZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14710},"type":"module","exports":{"./schemas":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"}},"gitHead":"08d409b8ef9f83700a274408826b66762e7f4f9e","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate"},"_npmUser":{"name":"gama266","email":"magid.andrew@gmail.com"},"_npmVersion":"11.5.1","description":"This repository contains blockchain adapters for the Absinthe network and exports Zod schemas for cross-repository use.","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"24.5.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_0.0.1_1761166114023_0.13101658797291948","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@absinthelabs/adapters","version":"0.1.0","_id":"@absinthelabs/adapters@0.1.0","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"7999251f268c741489f7a7910c55f82f95cfb6a5","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-0.1.0.tgz","fileCount":6,"integrity":"sha512-lUOV+moGKnsW3Zz8M+wJj5v5c4oSoOpCvm2DRCShMiDpaF3swkKxshmIYFNSRB5uD5B3Wo/tV8vnIaTg8mwE7A==","signatures":[{"sig":"MEQCICzqBPJeXtoP9KIJD9x/jU1RTaes/CCKeOGqS5jTHaubAiBkQa2GnJIbIBpJr9MCfZFLMRnXIyakFpjfKA0LR+APHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26539},"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"}},"gitHead":"99232dce9fd77f31a0ee2d9ba8f2cce9ce901020","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_npmVersion":"10.8.2","description":"This repository contains blockchain adapters for the Absinthe network and exports Zod schemas for cross-repository use.","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.17.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_0.1.0_1762974302248_0.6364241130005066","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@absinthelabs/adapters","version":"0.1.1","_id":"@absinthelabs/adapters@0.1.1","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"485211c865b8115af776d283589a71f10196bdf8","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-0.1.1.tgz","fileCount":6,"integrity":"sha512-HdPqu55ItdDvckzkYGbMYkmrNyLnxvgvqyCZhc+vXvjU8JEIx+6VSoLUrSS9dyRAy2EXEWeHQO/ZOVrdNNqsDQ==","signatures":[{"sig":"MEYCIQCWVxXCaHDR/DzLggLuC3tXYp66wyYyf3rzZrZgb9mrQAIhAPVPNcxqPlvspykTh/3h6eBh/qLNTaXXNrLWk02psB8w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26583},"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"}},"gitHead":"1de703eeac3bb8d5b1ef88184e746fba8ca9cf12","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_npmVersion":"10.8.2","description":"This repository contains blockchain adapters for the Absinthe network and exports Zod schemas for cross-repository use.","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.17.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_0.1.1_1762975311668_0.7399424708700704","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@absinthelabs/adapters","version":"0.1.2","_id":"@absinthelabs/adapters@0.1.2","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"7f227b36100d914a567186c37f034e7467451fce","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-0.1.2.tgz","fileCount":6,"integrity":"sha512-rUNkz0Ye2nWjgdwpQEfRyq6Eh+PrqO7qhBhMcjnm19yPTUThcORUqvbGFnkR1tzq5hB5mdUznGeYfQHAFJgRNw==","signatures":[{"sig":"MEUCIQDCFaytRAvm32FFqhcYHqMt+CMQpB/VBJ3gPWJPdOY9CgIgWcUtszTwHboVce3U3tHUR5cfWMIc79J11b7k++khUy4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19903},"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"}},"gitHead":"5906c3ad288b00a97e61fce76c5dc761a245275d","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_npmVersion":"10.8.2","description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.17.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_0.1.2_1763409741994_0.2580405281944391","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@absinthelabs/adapters","version":"0.2.2","_id":"@absinthelabs/adapters@0.2.2","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"329d16e40c1532ab37e0bf256bdb2bac12e2c3df","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-0.2.2.tgz","fileCount":6,"integrity":"sha512-oTIBvWwJmVtreDgiPwPPl29TbggPNkVk6oPEcdvXGduQh4SQYazyYoDU/Rf/qU0MTEgDrIb5uvylmiFtcypQWA==","signatures":[{"sig":"MEUCIQCdFk4WYUiE9l2fBHG7aYoYs2Ghyld3wuRPxc/BNEkiYAIgC8rv4zdv5H4HnR6GbkNUCjv2P9FjFiHkjFB0IwnBwqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20596},"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"}},"gitHead":"1b8262bb4fed960b10baeaaa40276cf8d8ca90fb","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_npmVersion":"10.8.2","description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.17.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_0.2.2_1763661247765_0.31525756062893096","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@absinthelabs/adapters","version":"1.0.0","_id":"@absinthelabs/adapters@1.0.0","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"a9931f0c46ebcf54da4050ec55d5589cdd8c134a","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-1.0.0.tgz","fileCount":7,"integrity":"sha512-5oIo0GWgqIFQeG4Ig5E3zgA2Zpvx9rxc83O6+IzufOwsPISX+utRVMJ2xjMMBUFv5PiZjYnJNfbWmyGtyBjuxA==","signatures":[{"sig":"MEUCIQDKr41qcP9gni2eD8zlqL+V0gdLHxDDIC6ATdAnb5a6HgIgTFZnrbgxfX73KskEuRZaR2RZ6w4v5VIyTWcreMMyzUk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30170},"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"},"./catalog":{"default":"./_generated/adapter-catalog.json"}},"gitHead":"756e99824b29f15efb987a1f0f03cc3f1289746b","private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","prepare":"pnpm --filter @absinthe/schemas build","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","prepublishOnly":"pnpm build && pnpm generate-catalog","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","generate-catalog":"pnpm build && node dist/src/scripts/generate-adapter-catalog.js","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_npmVersion":"10.8.2","description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.17.0","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8","devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_1.0.0_1765475840463_0.09639883711873987","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@absinthelabs/adapters","version":"1.4.0","_id":"@absinthelabs/adapters@1.4.0","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"dist":{"shasum":"c995749b147f6b2b2ae0e2da5aa682c24d145627","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-1.4.0.tgz","fileCount":7,"integrity":"sha512-znyPuIJ/qJQyBUylFn3j4RG71+gXtOOYiGyrFOr/HTFCQYUjbMtuy707hpyxiSN4efpxYdICjbTFfbsGPoK6VQ==","signatures":[{"sig":"MEYCIQDuq+OKJWYuVlr/myHDT0EDeBDMdznY0VAr9JfryZqA5wIhAIihskQ1dts0R5Wmdz8Af3RKWD+jUe+xVmEL+Ipz1nd+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29822},"type":"module","_from":"file:absinthelabs-adapters-1.4.0.tgz","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"},"./catalog":{"default":"./_generated/adapter-catalog.json"}},"private":false,"scripts":{"dev":"tsc -w","test":"vitest run","build":"tsc","start":"node --env-file=.env dist/src/main.js","pretest":"pnpm build","dev:next":"tsgo -w","prestart":"pnpm build","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","build:next":"tsgo","test:watch":"vitest","build:watch":"tsc -w","lint-staged":"lint-staged","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","migration:apply":"squid-typeorm-migration apply","migration:clean":"npx rimraf ./db/migrations","generate-catalog":"pnpm build && node dist/src/scripts/generate-adapter-catalog.js","migration:generate":"squid-typeorm-migration-generate","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest ."},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"_resolved":"/tmp/6e3ce7aef347dd18f7f6f2cbba1c7bae/absinthelabs-adapters-1.4.0.tgz","_integrity":"sha512-znyPuIJ/qJQyBUylFn3j4RG71+gXtOOYiGyrFOr/HTFCQYUjbMtuy707hpyxiSN4efpxYdICjbTFfbsGPoK6VQ==","_npmVersion":"10.8.2","description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","directories":{},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"],"*.{ts,tsx,js,jsx,json,md}":["prettier --write"]},"_nodeVersion":"20.19.6","dependencies":{"ky":"^1.12.0","zod":"^4.1.8","viem":"^2.38.0","redis":"^5.5.6","tslog":"^4.9.3","big.js":"^7.0.1","dotenv":"^16.5.0","ioredis":"^5.7.0","bottleneck":"^2.19.5","ts-pattern":"^5.8.0","@subsquid/borsh":"^0.3.0","@fast-csv/format":"^5.0.5","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/file-store":"^2.0.0","@subsquid/evm-processor":"^1.19.1","@subsquid/solana-stream":"^0.3.1","@subsquid/typeorm-store":"^1.5.1","@subsquid/solana-typegen":"^0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.35.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","@types/node":"20.17.30","lint-staged":"^16.1.6","@types/big.js":"^6.2.2","typescript-eslint":"^8.44.0","@subsquid/evm-typegen":"^4.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","@typescript-eslint/eslint-plugin":"^8.44.0"},"_npmOperationalInternal":{"tmp":"tmp/adapters_1.4.0_1765479282248_0.04238311600113076","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@absinthelabs/adapters","version":"1.5.0","private":false,"type":"module","exports":{".":{"types":"./dist/src/schemas/index.d.ts","default":"./dist/src/schemas/index.js"},"./types":{"types":"./dist/src/types/events.d.ts","default":"./dist/src/types/events.js"},"./catalog":{"default":"./_generated/adapter-catalog.json"}},"dependencies":{"@fast-csv/format":"^5.0.5","@subsquid/borsh":"^0.3.0","@subsquid/evm-abi":"^0.3.0","@subsquid/evm-codec":"^0.3.0","@subsquid/evm-processor":"^1.19.1","@subsquid/file-store":"^2.0.0","@subsquid/solana-stream":"^0.3.1","@subsquid/solana-typegen":"^0.6.1","@subsquid/typeorm-store":"^1.5.1","big.js":"^7.0.1","bottleneck":"^2.19.5","dotenv":"^16.5.0","ioredis":"^5.7.0","ky":"^1.12.0","redis":"^5.5.6","ts-pattern":"^5.8.0","tslog":"^4.9.3","viem":"^2.38.0","zod":"^4.1.8"},"devDependencies":{"@subsquid/evm-typegen":"^4.4.0","@types/big.js":"^6.2.2","@types/node":"20.17.30","@typescript-eslint/eslint-plugin":"^8.44.0","@typescript-eslint/parser":"^8.44.0","@typescript/native-preview":"7.0.0-dev.20251010.1","eslint":"^9.35.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","lint-staged":"^16.1.6","prettier":"^3.6.2","typescript":"^5.9.3","typescript-eslint":"^8.44.0","vitest":"^3.2.4"},"lint-staged":{"*.{ts,tsx,js,jsx,json,md}":["prettier --write"],"*.{ts,tsx}":["eslint --fix --cache --cache-location .eslintcache"]},"scripts":{"build":"tsc","build:watch":"tsc -w","build:docker":"docker build --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","build:docker:no-cache":"docker build --no-cache --rm --build-arg GIT_COMMIT_SHA_LONG=$(git rev-parse HEAD) -f src/Dockerfile -t yada:latest .","pretest":"pnpm build","test":"vitest run","test:watch":"vitest","prestart":"pnpm build","start":"node --env-file=.env dist/src/main.js","dev":"tsc -w","dev:next":"tsgo -w","build:next":"tsgo","migration:clean":"npx rimraf ./db/migrations","migration:generate":"squid-typeorm-migration-generate","migration:apply":"squid-typeorm-migration apply","lint-staged":"lint-staged","migration":"pnpm build && pnpm migration:clean && pnpm migration:generate && pnpm migration:apply","export-schemas":"pnpm build && node dist/src/scripts/export-adapter-metadata.js","generate-catalog":"pnpm build && node dist/src/scripts/generate-adapter-catalog.js"},"_id":"@absinthelabs/adapters@1.5.0","description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","_integrity":"sha512-aSXnKgbUu8W7Me1kz3uQ99rRZxopJgQmy3SQ6bq/KvV0WoavPw9Xs8j4mq1tStJJw4PuuewNdiF8NyscMkE/iA==","_resolved":"/tmp/b1a405d4c8e1df0176eff3d7127ec1d4/absinthelabs-adapters-1.5.0.tgz","_from":"file:absinthelabs-adapters-1.5.0.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-aSXnKgbUu8W7Me1kz3uQ99rRZxopJgQmy3SQ6bq/KvV0WoavPw9Xs8j4mq1tStJJw4PuuewNdiF8NyscMkE/iA==","shasum":"5ae0744b892196a9ac424e4bb160aa3508f85581","tarball":"https://registry.npmjs.org/@absinthelabs/adapters/-/adapters-1.5.0.tgz","fileCount":7,"unpackedSize":29822,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCiXigTmyCHqtAFKP8aR1q1F4bdnegtkxOzPuN58cVyLwIhAJeo7G+oi/1YS3UpYFaTDmSVXDZUzrkCoLtNfXrnDxhq"}]},"_npmUser":{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"},"directories":{},"maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapters_1.5.0_1765529032505_0.6554900004674684"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-22T20:48:33.937Z","modified":"2025-12-12T08:43:52.858Z","0.0.1":"2025-10-22T20:48:34.241Z","0.1.0":"2025-11-12T19:05:02.465Z","0.1.1":"2025-11-12T19:21:51.842Z","0.1.2":"2025-11-17T20:02:22.341Z","0.2.2":"2025-11-20T17:54:07.996Z","1.0.0":"2025-12-11T17:57:20.618Z","1.4.0":"2025-12-11T18:54:42.400Z","1.5.0":"2025-12-12T08:43:52.639Z"},"description":"Shared **types and Zod schemas** used across the Absinthe indexing pipeline.   This package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consisten","maintainers":[{"name":"gama266","email":"magid.andrew@gmail.com"},{"name":"kushagra_absinthelabs","email":"kushagra@absinthelabs.xyz"}],"readme":"# @absinthelabs/adapters\n\nShared **types and Zod schemas** used across the Absinthe indexing pipeline.  \nThis package defines the _canonical shape_ of enriched actions, enriched positions, and adapter configuration — ensuring all Absinthe services interpret protocol data consistently.\n\nIt is currently a **types-only** package that exports:\n\n- Enriched Action schema & type\n- Enriched Position schema & type\n- RegisterConfig schema & type\n- Chain/Asset/Denomination/Measurement enums\n- POSITION_REASONS constant\n- CommonFields + AssetFields shared structures\n\nThis package forms the **foundation** of the new adapter architecture (manifest-driven, priced, multi-protocol).\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @absinthelabs/adapters\n# or\npnpm add @absinthelabs/adapters\n```\n\n## 🛠 Usage Examples\n\n### Validate an Incoming Action\n\nimport { ActionSchema } from '@absinthelabs/adapters';\n\nconst action = ActionSchema.parse(rawData);**What this does:**\n\n- ✅ Validates all required fields are present (`user`, `ts_ms`, `height`, `tx_ref`, etc.)\n- ✅ Ensures field types match the schema\n- ✅ Automatically strips extra fields not in the schema\n- ❌ Throws `ZodError` if validation fails (use `.safeParse()` for non-throwing validation)\n\n---\n\n### Validate a Position\n\nscript\nimport { PositionSchema } from '@absinthelabs/adapters';\n\nconst pos = PositionSchema.parse(rawPos);**What this does:**\n\n- ✅ Validates position window fields (`window_utc_start_ts_ms`, `window_utc_end_ts_ms`, etc.)\n- ✅ Validates asset fields (`asset_key`, `decimals`, `asset_type`) - required for positions\n- ✅ Validates common fields (chain metadata, measurement type, etc.)\n- ❌ Throws if any required field is missing\n\n---\n\n### Use TypeScript Types\n\nimport type { EnrichedAction, EnrichedPosition } from '@absinthelabs/adapters';\n\nfunction consume(p: EnrichedPosition) {\nconsole.log(p.user, p.raw_after);\n// TypeScript knows all available fields and their types\n}**Benefits:**\n\n- 🎯 Full type safety and autocomplete\n- 🔍 Type inference from Zod schemas (single source of truth)\n- ⚡ No runtime overhead (types are stripped at compile time)\n\n---\n\n## 📚 Exports\n\n### ✔ Zod Schemas\n\n| Schema                       | Purpose                                                         | Use Case                           |\n| ---------------------------- | --------------------------------------------------------------- | ---------------------------------- |\n| **`EnrichedActionSchema`**   | Validates enriched action events                                | API ingestion, database validation |\n| **`EnrichedPositionSchema`** | Validates enriched position windows                             | Position tracking, analytics       |\n| **`RegisterConfigSchema`**   | Validates adapter registration config                           | Adapter setup                      |\n| **`ChainArchSchema`**        | Validates chain architecture (`evm` \\| `solana`)                | Chain-specific logic               |\n| **`MeasurementTypeSchema`**  | Validates measurement type (`token_based` \\| `count` \\| `none`) | Trackable configuration            |\n| **`DenominationSchema`**     | Validates denomination (`usd` \\| `scaled_token` \\| `none`)      | Pricing configuration              |\n| **`AssetEnum`**              | Validates asset type (`erc20` \\| `erc721` \\| `spl` \\| `custom`) | Asset identification               |\n\n### ✔ TypeScript Types\n\n| Type                   | Inferred From            | Description                        |\n| ---------------------- | ------------------------ | ---------------------------------- |\n| **`EnrichedAction`**   | `EnrichedActionSchema`   | Type-safe action event shape       |\n| **`EnrichedPosition`** | `EnrichedPositionSchema` | Type-safe position window shape    |\n| **`RegisterConfig`**   | `RegisterConfigSchema`   | Adapter registration configuration |\n\n---\n\n## ⚠️ Common Validation Errors\n\n### Missing Required Fields\n\n```cript\n// ❌ This will throw\nActionSchema.parse({ user: '0x123' });\n// Error: Required field 'ts_ms' is missingcript\n// ✅ Use safeParse for graceful handling\nconst result = ActionSchema.safeParse({ user: '0x123' });\nif (!result.success) {\nconsole.error(result.error.errors);\n}---\n```\n\n### Type Mismatches\n\n```\n// ❌ This will throw\nActionSchema.parse({\nuser: '0x123',\nts_ms: 'not-a-number' // Should be number\n});\n// Error: Expected number, received string---\n```\n\n### Unknown Fields\n\n```escript\n// ✅ Extra fields are automatically stripped\nconst action = ActionSchema.parse({\nuser: '0x123',\nts_ms: Date.now(),\nheight: 12345,\ntx_ref: '0xabc',\nextraField: 'will be removed', // Automatically stripped\n// ... all required fields\n});\n// Result: action.extraField is undefined\n\n```\n\n**Note:** The schema uses `.strip()` which automatically removes any fields not defined in the schema definition. This ensures data consistency across all consumers.\n","readmeFilename":"README.md"}