UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

10 lines (9 loc) 262 B
import { RuntimeProvider } from '../runtime-provider.js'; import { NodeCrypto } from '../crypto/node-crypto.js'; export class NodeRuntime { static initialize() { RuntimeProvider.setProvider({ crypto: new NodeCrypto(), }); } }