async updateState() {
return this.getState().then((state) => this.env("KV_NAMESPACE").put(this.getCacheKey(), JSON.stringify(state), { expirationTtl: TOKEN_TTL_SEC }));
}
async updateState() {
return this.getState().then((state) => this.env("KV_NAMESPACE").put(this.getCacheKey(), JSON.stringify(state), { expirationTtl: TOKEN_TTL_SEC }));
}