Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f93daa90ae | |||
dfae08f3b1 |
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-04-29 - 9.1.0 - feat(network)
|
||||||
|
Add DNS convenience interface to support ACME DNS-01 challenge management in the network module.
|
||||||
|
|
||||||
|
- Added IConvenientDnsProvider interface in ts/network/dnsconvenience.ts
|
||||||
|
- Updated ts/network/index.ts to export the DNS convenience interface
|
||||||
|
|
||||||
## 2025-04-16 - 9.0.0 - BREAKING CHANGE(finance)
|
## 2025-04-16 - 9.0.0 - BREAKING CHANGE(finance)
|
||||||
refactor: migrate invoice APIs to unified accounting document types
|
refactor: migrate invoice APIs to unified accounting document types
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "9.0.0",
|
"version": "9.1.0",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@tsclass/tsclass',
|
name: '@tsclass/tsclass',
|
||||||
version: '9.0.0',
|
version: '9.1.0',
|
||||||
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
||||||
}
|
}
|
||||||
|
20
ts/network/dnsconvenience.ts
Normal file
20
ts/network/dnsconvenience.ts
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
import type { IDnsChallenge } from './dnschallenge.js'
|
||||||
|
|
||||||
|
export interface IConvenientDnsProvider {
|
||||||
|
convenience: {
|
||||||
|
/**
|
||||||
|
* Create the TXT record for an ACME DNS-01 challenge.
|
||||||
|
*/
|
||||||
|
acmeSetDnsChallenge(dnsChallengeArg: IDnsChallenge): Promise<void>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the TXT record for an ACME DNS-01 challenge.
|
||||||
|
*/
|
||||||
|
acmeRemoveDnsChallenge(dnsChallengeArg: IDnsChallenge): Promise<void>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check whether this DNS provider can serve the given domain.
|
||||||
|
*/
|
||||||
|
isDomainSupported(domain: string): Promise<boolean>;
|
||||||
|
};
|
||||||
|
}
|
@ -3,6 +3,7 @@ export * from './cname.js';
|
|||||||
export * from './device.js';
|
export * from './device.js';
|
||||||
export * from './dns.js';
|
export * from './dns.js';
|
||||||
export * from './dnschallenge.js';
|
export * from './dnschallenge.js';
|
||||||
|
export * from './dnsconvenience.js';
|
||||||
export * from './domaindelegation.js';
|
export * from './domaindelegation.js';
|
||||||
export * from './jwt.js';
|
export * from './jwt.js';
|
||||||
export * from './networknode.js';
|
export * from './networknode.js';
|
||||||
|
Reference in New Issue
Block a user