fix swc build, use code_version in item payload if configured