feat: use @nodecfdi/sat-ws-descarga-masiva for SAT sync
Replace manual SOAP authentication with the official nodecfdi library which properly handles WS-Security signatures for SAT web services. - Add sat-client.service.ts using Fiel.create() for authentication - Update sat.service.ts to use new client - Update fiel.service.ts to return raw certificate data Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
34
pnpm-lock.yaml
generated
34
pnpm-lock.yaml
generated
@@ -26,6 +26,9 @@ importers:
|
||||
'@nodecfdi/credentials':
|
||||
specifier: ^3.2.0
|
||||
version: 3.2.0(luxon@3.7.2)
|
||||
'@nodecfdi/sat-ws-descarga-masiva':
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.0(@nodecfdi/cfdi-core@1.0.1)(luxon@3.7.2)
|
||||
'@prisma/client':
|
||||
specifier: ^5.22.0
|
||||
version: 5.22.0(prisma@5.22.0)
|
||||
@@ -484,6 +487,23 @@ packages:
|
||||
'@types/luxon':
|
||||
optional: true
|
||||
|
||||
'@nodecfdi/rfc@2.0.6':
|
||||
resolution: {integrity: sha512-DiNC6j/mubbci8D9Qj9tdCm4/T/Q3ST92qpQ+AuHKJFVZ+/98F6ap8QFKeYK2ECu71wQGqAgkbmgQmVONAI5gg==}
|
||||
engines: {node: '>=18 <=22 || ^16'}
|
||||
peerDependencies:
|
||||
'@types/luxon': 3.4.2
|
||||
luxon: ^3.4.4
|
||||
peerDependenciesMeta:
|
||||
'@types/luxon':
|
||||
optional: true
|
||||
|
||||
'@nodecfdi/sat-ws-descarga-masiva@2.0.0':
|
||||
resolution: {integrity: sha512-FAmypqJfilOd29bf2bgMdysUkQKsu6ZirgljRfH4VFClXXtDHKmjOKahX0AbegUFc1GhtLjxhQgM+PJX3zhOdA==}
|
||||
engines: {node: '>=18'}
|
||||
peerDependencies:
|
||||
'@nodecfdi/cfdi-core': ^1.0.0
|
||||
luxon: ^3.6.1
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||
engines: {node: '>= 8'}
|
||||
@@ -2545,6 +2565,20 @@ snapshots:
|
||||
luxon: 3.7.2
|
||||
ts-mixer: 6.0.4
|
||||
|
||||
'@nodecfdi/rfc@2.0.6(luxon@3.7.2)':
|
||||
dependencies:
|
||||
luxon: 3.7.2
|
||||
|
||||
'@nodecfdi/sat-ws-descarga-masiva@2.0.0(@nodecfdi/cfdi-core@1.0.1)(luxon@3.7.2)':
|
||||
dependencies:
|
||||
'@nodecfdi/cfdi-core': 1.0.1
|
||||
'@nodecfdi/credentials': 3.2.0(luxon@3.7.2)
|
||||
'@nodecfdi/rfc': 2.0.6(luxon@3.7.2)
|
||||
jszip: 3.10.1
|
||||
luxon: 3.7.2
|
||||
transitivePeerDependencies:
|
||||
- '@types/luxon'
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
dependencies:
|
||||
'@nodelib/fs.stat': 2.0.5
|
||||
|
||||
Reference in New Issue
Block a user