Hi,
I cant find any relevant documentation to import RevenueCat module in a NodeJS server.
I saw some CommonJS syntaxe :
const sdk = require('api')('@revenuecat/v4.0#1yz2c0m2sl5v5md8q');
but absolutely no ES6 syntaxe, which would look like :
import sdk from '@revenueCat/node-sdk'
Furthermore, the CommonJS imports are fetching from an hard-coded URL subject to change, as mentioned in some topics. What about it ?
Even if any purchase is client-side handled, I need to fetch the customers’ status server-side to return conditional data. I cant find a proper API doc about it.
Best regards