{"_id":"@astami/temporal-functions","_rev":"7-3d35613de39df7abba37d138653b55bf","name":"@astami/temporal-functions","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@astami/temporal-functions","version":"0.1.0","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.1.0","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"091babd24428f8ce2ef5fda559faa8b0b81de8b5","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.1.0.tgz","fileCount":28,"integrity":"sha512-wHpAWvympjssk8q411vLbhHEzzTSBsrMFXG+TD72p49fjgo7lLZZsaeKkxiLdpQsLGowbBNcScbW29uMa5M3KQ==","signatures":[{"sig":"MEQCIFeNWb2vQx+xNSBr4lNzqIt+1VdD8i2s2Z1H0FiN4iedAiBW+k8bE+F0wbroegJAVC38aR5Av/ZVOfTEJdMRxyOeyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187227},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"}},"gitHead":"e4a1be42922800d6208d29c970adf911ccdfec65","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"astamia","email":"astami@outlook.com"},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"25.2.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.1.0_1768329197556_0.448788046409375","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@astami/temporal-functions","version":"0.1.4","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.1.4","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"cda18700b25252d9cf43d31029281cdc23e41904","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.1.4.tgz","fileCount":28,"integrity":"sha512-3l9sDb4uNuPRnlMl5iQYeMUYKcQjRoxglMs1a7cKymXohj7CWMowOL4ZvsFZCkYvlPhMDN7vOouHzZZIhrThNg==","signatures":[{"sig":"MEUCIQD1rDHCqfR1LH/N8/u1OzOUEXMTVuoZ+Wzc77PMHy86hAIgP9T3AFPageDYN7fC6Z2lEgY0jWnV5eUQ/B5ALRJM/4E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":187100},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"}},"gitHead":"27a5f8742b2a74a2983166f146960ac175274a1d","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.7.0","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.1.4_1768334305788_0.7295939373404039","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@astami/temporal-functions","version":"0.1.5","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.1.5","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"7bd1845f253f9bf52ce8d8cd71fad3116e8aefb4","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.1.5.tgz","fileCount":28,"integrity":"sha512-h0QghHVe5Ecb+xc+j2SyO6Sz8gUgchI0CLYb3FTLclWTun98Adppy2A9ssq9KQ7E/Q3eAxhMhCKMw2MSfuvWEg==","signatures":[{"sig":"MEQCIFj6ZDiaYlelsZkY1K/AFo/yctA0MFDm3PWt3oLmaexzAiAkdIfSniUVLM3xwvcbkZkLqxQC6jrOEmuJUcPKEM8vog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":187100},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"}},"gitHead":"58d250d693d17b22bd5e7ddca0629a398662de19","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.7.0","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.1.5_1768334680663_0.8395550166947912","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@astami/temporal-functions","version":"0.2.1","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.2.1","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"3e7d4cc31f4de2dfa4844b2bd371f1f56f226a40","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.2.1.tgz","fileCount":28,"integrity":"sha512-VtgTSqZraLafshnK5ckAvFdBqsk6IunWhYYxHiAiuSbW09MFuFgve97R2SFbCAd7Evgy89MtKvQlbNc6LEsOMA==","signatures":[{"sig":"MEYCIQC3yUZcniFJVgt699uoEedQ7db4KSPJE88+zzNxQ32wwQIhAIzYT7hJzNQHvhPis+KzydoAG/Pb9Ht6KbgJjYCIalTQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":194536},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"}},"gitHead":"3f08a0afb644f4b7279e2e5d42cc9307266e63b7","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.7.0","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.2.1_1768552742580_0.7249602483403497","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@astami/temporal-functions","version":"0.2.2","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.2.2","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"854eb34b085440b29a4f2471cbded0c40549fc16","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.2.2.tgz","fileCount":28,"integrity":"sha512-MC1seKX/2odDYKq+XKy7pQ24fW5uJ1CGLZl2D/8o3DlW78l9eF0qpPzLtZ+akbGQ7U4kC5I6E/5XbNNxrYW65A==","signatures":[{"sig":"MEQCIGGBbNY2tHIK0MW1q6BvvgLrhvmo7u6k+ubHKzxWLcA2AiBD6Jb3m50j3EHJzj1W+PrTc0oHeoBQ9TtzaPIVseRwyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":197832},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"}},"gitHead":"4150eef7feffcccd8ab189dd70c2024ad79eb3be","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.7.0","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.2.2_1768761486428_0.19066732372452222","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@astami/temporal-functions","version":"0.3.0","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","_id":"@astami/temporal-functions@0.3.0","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"homepage":"https://github.com/ninformations/temporal-functions#readme","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"dist":{"shasum":"93fc3eebc1ffa7f85380da9d41a516de357e051e","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.3.0.tgz","fileCount":34,"integrity":"sha512-J+ZaHMsiCg6136Qu1KHo9NwbschLNIqN7gwYmOwi4yziimam/ynWToRmhNj2N6+o0uqRw+6xJoT0dzXkFjwGKA==","signatures":[{"sig":"MEUCIE4a8IKV5MnFHHaozCsHlUhw64ANlfJDbRsdZFLaNixwAiEAlLyUQzWRKc+I14AjbjqoZ+SntNfz+BL6aPZuzIqYWMw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":233376},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"},"./observability":{"types":"./dist/observability/index.d.ts","import":"./dist/observability/index.mjs","require":"./dist/observability/index.js"}},"gitHead":"172ede73be7e669b506a5f8c8f289f0e20b29ed2","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist","test:run":"vitest run","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"repository":{"url":"git+https://github.com/ninformations/temporal-functions.git","type":"git"},"_npmVersion":"11.7.0","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.0","@opentelemetry/api":"^1.9.0","@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/workflow":"^1.11.7","@typescript-eslint/parser":"^6.19.0","@typescript-eslint/eslint-plugin":"^6.19.0","@temporalio/interceptors-opentelemetry":"^1.11.7"},"peerDependencies":{"@opentelemetry/api":"^1.0.0","@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0","@temporalio/interceptors-opentelemetry":"^1.9.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true},"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true},"@temporalio/interceptors-opentelemetry":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/temporal-functions_0.3.0_1768764477650_0.03220939888471053","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@astami/temporal-functions","version":"0.3.1","description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./worker":{"types":"./dist/worker/index.d.ts","import":"./dist/worker/index.mjs","require":"./dist/worker/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.mjs","require":"./dist/testing/index.js"},"./observability":{"types":"./dist/observability/index.d.ts","import":"./dist/observability/index.mjs","require":"./dist/observability/index.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest","test:run":"vitest run","lint":"eslint src/","typecheck":"tsc --noEmit","clean":"rm -rf dist","prepublishOnly":"npm run build","release:patch":"npm version patch && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:major":"npm version major && git push && git push --tags"},"keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ninformations/temporal-functions.git"},"engines":{"node":">=18.0.0"},"peerDependencies":{"@temporalio/client":"^1.9.0","@temporalio/worker":"^1.9.0","@temporalio/workflow":"^1.9.0","@temporalio/interceptors-opentelemetry":"^1.9.0","@opentelemetry/api":"^1.0.0"},"peerDependenciesMeta":{"@temporalio/worker":{"optional":true},"@temporalio/workflow":{"optional":true},"@temporalio/interceptors-opentelemetry":{"optional":true},"@opentelemetry/api":{"optional":true}},"devDependencies":{"@temporalio/client":"^1.11.7","@temporalio/worker":"^1.11.7","@temporalio/workflow":"^1.11.7","@temporalio/activity":"^1.11.7","@temporalio/interceptors-opentelemetry":"^1.11.7","@opentelemetry/api":"^1.9.0","@types/node":"^20.11.0","tsup":"^8.0.1","typescript":"^5.3.3","vitest":"^2.0.0","eslint":"^8.56.0","@typescript-eslint/eslint-plugin":"^6.19.0","@typescript-eslint/parser":"^6.19.0"},"gitHead":"1bfe645c0e2512d59b8e386036a37924cdc19a1f","_id":"@astami/temporal-functions@0.3.1","bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"homepage":"https://github.com/ninformations/temporal-functions#readme","_nodeVersion":"24.12.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-dDiOxEgF2yiqO/8FZo/5YY/px4AZi18T+yL2XU9Wod3RKbWXyZ8wJZu7S0E0e5hAW+n1zDf4eDtsVwPJ19tGOQ==","shasum":"4aa8fb675981a6be1b838f259b3c03ffbbc34a04","tarball":"https://registry.npmjs.org/@astami/temporal-functions/-/temporal-functions-0.3.1.tgz","fileCount":34,"unpackedSize":239661,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astami%2ftemporal-functions@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGbBNEqCuS9xD62ZQ321BNxSSBaV4oRhb8J4p/MyFBs5AiEAx8guLXc74k9bLcFy2h0zPoa874Z5e9Ctuln5id9bGP8="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c2bd098-17bf-4ff3-9b31-d5786c0eb4c9"}},"directories":{},"maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/temporal-functions_0.3.1_1768794049457_0.8688920553851418"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-13T18:33:17.490Z","modified":"2026-01-19T03:40:49.975Z","0.1.0":"2026-01-13T18:33:17.689Z","0.1.4":"2026-01-13T19:58:25.964Z","0.1.5":"2026-01-13T20:04:40.817Z","0.2.1":"2026-01-16T08:39:02.744Z","0.2.2":"2026-01-18T18:38:06.574Z","0.3.0":"2026-01-18T19:27:57.800Z","0.3.1":"2026-01-19T03:40:49.660Z"},"bugs":{"url":"https://github.com/ninformations/temporal-functions/issues"},"license":"MIT","homepage":"https://github.com/ninformations/temporal-functions#readme","keywords":["temporal","workflow","durable","functions","serverless","lambda","typescript"],"repository":{"type":"git","url":"git+https://github.com/ninformations/temporal-functions.git"},"description":"A lightweight TypeScript framework providing lambda-like DX on top of Temporal's durable execution engine","maintainers":[{"name":"astamia","email":"astami@outlook.com"}],"readme":"# Temporal Functions\n\nA lightweight TypeScript framework that provides a **lambda-like developer experience** on top of **Temporal's durable execution engine**.\n\nWrite only function bodies and trigger bindings — the framework handles all Temporal boilerplate (workers, activities, workflows, serialization).\n\n## Why Temporal Functions?\n\n| Aspect | Lambda/Serverless | Raw Temporal | Temporal Functions |\n|--------|-------------------|--------------|-------------------|\n| Function definition | Simple | Verbose | Simple |\n| Durable execution | No | Yes | Yes |\n| Retries/timeouts | Limited | Powerful | Powerful |\n| Worker management | Managed | Manual | Abstracted |\n| Type safety | Varies | Yes | Yes |\n\n## Quick Example\n\n```typescript\nimport { tfn } from 'temporal-functions';\n\n// Define functions (activities)\nexport const validateOrder = tfn.fn('validateOrder', async (order: Order) => {\n  // validation logic\n});\n\nexport const chargePayment = tfn.fn('chargePayment', async (order: ValidatedOrder) => {\n  // payment logic\n});\n\n// Define workflow\nexport const processOrder = tfn.workflow('processOrder', async (ctx, order: Order) => {\n  const validated = await ctx.run(validateOrder, order);\n  const paid = await ctx.run(chargePayment, validated);\n  return { orderId: paid.id, status: 'complete' };\n});\n```\n\n**That's it.** No worker setup, no activity proxies, no boilerplate.\n\n## Key Principles\n\n1. **Lambda-like DX** — Write functions, not infrastructure\n2. **Temporal underneath** — Get durability, retries, exactly-once semantics for free\n3. **TypeScript native** — Full type safety, great IDE support\n4. **Client-Worker separation** — Scale triggers and executors independently\n5. **Minimal abstraction** — Thin layer, not a new platform\n\n## Installation\n\n```bash\nnpm install temporal-functions\n```\n\n## Usage\n\n### Define Functions\n\n```typescript\nimport { tfn } from 'temporal-functions';\n\nexport const sendEmail = tfn.fn(\n  'sendEmail',\n  async (params: EmailParams): Promise<EmailResult> => {\n    return await emailService.send(params);\n  },\n  {\n    timeout: '30s',\n    retries: 3,\n  }\n);\n```\n\n### Define Workflows\n\n```typescript\nexport const processOrder = tfn.workflow(\n  'processOrder',\n  async (ctx, order: Order) => {\n    const validated = await ctx.run(validateOrder, order);\n\n    // Parallel execution\n    const [inventory, pricing] = await Promise.all([\n      ctx.run(checkInventory, validated.items),\n      ctx.run(calculatePricing, validated.items),\n    ]);\n\n    // Durable sleep\n    await ctx.sleep('5 minutes');\n\n    const payment = await ctx.run(processPayment, {\n      amount: pricing.total,\n      orderId: order.id,\n    });\n\n    return { orderId: order.id, status: 'complete' };\n  }\n);\n```\n\n### Client (Trigger Workflows)\n\n```typescript\nimport { tfn } from 'temporal-functions/client';\nimport { processOrder } from '@myproject/functions';\n\nconst client = tfn.client({\n  temporal: {\n    address: 'localhost:7233',\n    namespace: 'default',\n  },\n  taskQueue: 'orders',\n});\n\n// Fire and wait\nconst result = await client.invoke(processOrder, order);\n\n// Fire and forget\nconst handle = await client.start(processOrder, order, {\n  workflowId: `order-${order.id}`,\n});\n```\n\n### Worker (Execute Functions)\n\n```typescript\nimport { tfn } from 'temporal-functions/worker';\nimport { validateOrder, chargePayment, processOrder } from '@myproject/functions';\n\nconst worker = tfn.worker({\n  temporal: {\n    address: 'localhost:7233',\n    namespace: 'default',\n  },\n  taskQueue: 'orders',\n});\n\nworker.register(validateOrder);\nworker.register(chargePayment);\nworker.register(processOrder);\n\nawait worker.start();\n```\n\n## Triggers\n\n```typescript\n// HTTP\ntfn.http('POST', '/api/orders', processOrder);\n\n// Cron\ntfn.cron('0 9 * * *', dailyReport);\n\n// Signal\ntfn.signal('order.cancel', handleCancellation);\n```\n\n## Project Structure\n\n```\nmy-project/\n├── packages/\n│   ├── functions/          # Shared function definitions\n│   │   └── src/\n│   │       ├── orders/\n│   │       └── notifications/\n│   ├── worker/             # Worker service\n│   │   └── src/index.ts\n│   └── api/                # API/Client service\n│       └── src/index.ts\n└── package.json\n```\n\n## Architecture\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│                    TEMPORAL FUNCTIONS                        │\n├─────────────────────────────────────────────────────────────┤\n│                                                              │\n│   SHARED: Function Definitions                               │\n│   tfn.fn()    tfn.workflow()    Types & Interfaces          │\n│                                                              │\n│        │                              │                      │\n│        ▼                              ▼                      │\n│   ┌──────────────┐            ┌──────────────┐              │\n│   │    CLIENT    │            │    WORKER    │              │\n│   │  Lightweight │            │   Full SDK   │              │\n│   │    ~20KB     │            │    ~2MB      │              │\n│   │              │            │              │              │\n│   │  • start()   │            │  • register()│              │\n│   │  • invoke()  │            │  • start()   │              │\n│   │  • signal()  │            │              │              │\n│   └──────┬───────┘            └──────┬───────┘              │\n│          │                           │                       │\n│          └───────────┬───────────────┘                       │\n│                      ▼                                       │\n│            ┌─────────────────┐                               │\n│            │ TEMPORAL CLUSTER │                               │\n│            └─────────────────┘                               │\n│                                                              │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## Documentation\n\nSee [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the full architecture document.\n\n## Status\n\n**Design Phase** — This project is currently in the design and early implementation phase.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}