PgBillingKeySnapshot — @gj-kit/toss-payments-postgresql
A public interface from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.
Verified import example
Section titled “Verified import example”import { PgBillingKeySnapshot } from '@gj-kit/toss-payments-postgresql';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Opaque previous snapshot returned by `replaceAndGetPrevious`. * * Only `record` is readable, for recovery or display. Passing the original snapshot object * back to `replaceIfBillingKeyMatches` also restores the nonsecret operation fingerprint. * The fingerprint and the trusted record are linked only through a module-private * `WeakMap`, so JSON copies, spreads, manual reconstructions, or inheriting objects have no * registry identity and the lifecycle fence is intentionally false after such a restore. */interface PgBillingKeySnapshot { readonly record: BillingKeyRecord;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments-postgresql - Version:
0.5.1 - Public entry:
. - Source: GitHub