@otplib/core 13.0.1 → 13.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"inputs":{"src/errors.ts":{"bytes":10709,"imports":[],"format":"esm"},"src/utils.ts":{"bytes":19774,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/crypto-context.ts":{"bytes":2926,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/base32-context.ts":{"bytes":2029,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/utility-types.ts":{"bytes":4866,"imports":[],"format":"esm"},"src/index.ts":{"bytes":2146,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils.js"},{"path":"src/crypto-context.ts","kind":"import-statement","original":"./crypto-context.js"},{"path":"src/base32-context.ts","kind":"import-statement","original":"./base32-context.js"},{"path":"src/utility-types.ts","kind":"import-statement","original":"./utility-types.js"}],"format":"esm"},"src/types.ts":{"bytes":4008,"imports":[],"format":"esm"}},"outputs":{"dist/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":58627},"dist/index.cjs":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":1850},"src/errors.ts":{"bytesInOutput":3998},"src/utils.ts":{"bytesInOutput":2301},"src/crypto-context.ts":{"bytesInOutput":672},"src/base32-context.ts":{"bytesInOutput":356},"src/utility-types.ts":{"bytesInOutput":139}},"bytes":11084},"dist/errors.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16135},"dist/errors.cjs":{"imports":[],"exports":[],"entryPoint":"src/errors.ts","inputs":{"src/errors.ts":{"bytesInOutput":4885}},"bytes":5968},"dist/utils.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":41797},"dist/utils.cjs":{"imports":[],"exports":[],"entryPoint":"src/utils.ts","inputs":{"src/utils.ts":{"bytesInOutput":3141},"src/errors.ts":{"bytesInOutput":3296}},"bytes":7461},"dist/types.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4341},"dist/types.cjs":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":29}},"bytes":397}}}
@@ -0,0 +1 @@
1
+ {"inputs":{"src/errors.ts":{"bytes":10709,"imports":[],"format":"esm"},"src/utils.ts":{"bytes":19774,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/crypto-context.ts":{"bytes":2926,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/base32-context.ts":{"bytes":2029,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"src/utility-types.ts":{"bytes":4866,"imports":[],"format":"esm"},"src/index.ts":{"bytes":2146,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors.js"},{"path":"src/utils.ts","kind":"import-statement","original":"./utils.js"},{"path":"src/crypto-context.ts","kind":"import-statement","original":"./crypto-context.js"},{"path":"src/base32-context.ts","kind":"import-statement","original":"./base32-context.js"},{"path":"src/utility-types.ts","kind":"import-statement","original":"./utility-types.js"}],"format":"esm"},"src/types.ts":{"bytes":4008,"imports":[],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":53777},"dist/index.js":{"imports":[],"exports":["AlgorithmError","Base32Context","Base32DecodeError","Base32EncodeError","Base32Error","Base32PluginMissingError","ConfigurationError","CounterError","CounterNegativeError","CounterOverflowError","CounterToleranceError","CounterToleranceTooLargeError","CryptoContext","CryptoError","CryptoPluginMissingError","DEFAULT_PERIOD","DigitsError","EpochToleranceError","EpochToleranceNegativeError","EpochToleranceTooLargeError","HMACError","IssuerMissingError","LabelMissingError","MAX_COUNTER","MAX_PERIOD","MAX_SECRET_BYTES","MAX_WINDOW","MIN_PERIOD","MIN_SECRET_BYTES","OTPError","PeriodError","PeriodTooLargeError","PeriodTooSmallError","PluginError","RECOMMENDED_SECRET_BYTES","RandomBytesError","SecretError","SecretMissingError","SecretTooLongError","SecretTooShortError","SecretTypeError","TimeError","TimeNegativeError","TokenError","TokenFormatError","TokenLengthError","constantTimeEqual","counterToBytes","createBase32Context","createCryptoContext","dynamicTruncate","generateSecret","getDigestSize","hasBase32","hasCrypto","hasPlugins","hexToBytes","normalizeCounterTolerance","normalizeEpochTolerance","normalizeSecret","requireBase32Plugin","requireBase32String","requireCryptoPlugin","requireIssuer","requireLabel","requireSecret","stringToBytes","truncateDigits","validateByteLengthEqual","validateCounter","validateCounterTolerance","validateEpochTolerance","validatePeriod","validateSecret","validateTime","validateToken","wrapResult","wrapResultAsync"],"entryPoint":"src/index.ts","inputs":{"src/errors.ts":{"bytesInOutput":3998},"src/index.ts":{"bytesInOutput":0},"src/utils.ts":{"bytesInOutput":2299},"src/crypto-context.ts":{"bytesInOutput":672},"src/base32-context.ts":{"bytesInOutput":356},"src/utility-types.ts":{"bytesInOutput":139}},"bytes":9203},"dist/errors.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":15592},"dist/errors.js":{"imports":[],"exports":["AlgorithmError","Base32DecodeError","Base32EncodeError","Base32Error","Base32PluginMissingError","ConfigurationError","CounterError","CounterNegativeError","CounterOverflowError","CounterToleranceError","CounterToleranceTooLargeError","CryptoError","CryptoPluginMissingError","DigitsError","EpochToleranceError","EpochToleranceNegativeError","EpochToleranceTooLargeError","HMACError","IssuerMissingError","LabelMissingError","OTPError","PeriodError","PeriodTooLargeError","PeriodTooSmallError","PluginError","RandomBytesError","SecretError","SecretMissingError","SecretTooLongError","SecretTooShortError","SecretTypeError","TimeError","TimeNegativeError","TokenError","TokenFormatError","TokenLengthError"],"entryPoint":"src/errors.ts","inputs":{"src/errors.ts":{"bytesInOutput":3998}},"bytes":4822},"dist/utils.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":40608},"dist/utils.js":{"imports":[],"exports":["DEFAULT_PERIOD","MAX_COUNTER","MAX_PERIOD","MAX_SECRET_BYTES","MAX_WINDOW","MIN_PERIOD","MIN_SECRET_BYTES","RECOMMENDED_SECRET_BYTES","constantTimeEqual","counterToBytes","dynamicTruncate","generateSecret","getDigestSize","hexToBytes","normalizeCounterTolerance","normalizeEpochTolerance","normalizeSecret","requireBase32Plugin","requireBase32String","requireCryptoPlugin","requireIssuer","requireLabel","requireSecret","stringToBytes","truncateDigits","validateByteLengthEqual","validateCounter","validateCounterTolerance","validateEpochTolerance","validatePeriod","validateSecret","validateTime","validateToken","wrapResult","wrapResultAsync"],"entryPoint":"src/utils.ts","inputs":{"src/errors.ts":{"bytesInOutput":3296},"src/utils.ts":{"bytesInOutput":2287}},"bytes":6364},"dist/types.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/types.js":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":0}},"bytes":0}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otplib/core",
3
- "version": "13.0.1",
3
+ "version": "13.0.2",
4
4
  "description": "Core interfaces, types, and crypto abstraction for otplib",
5
5
  "license": "MIT",
6
6
  "author": "Gerald Yeo <support@yeojz.dev>",