nfets 0.0.97 → 0.0.99
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.
- package/build/addons/darwin-arm64/xml_validator.node +0 -0
- package/build/addons/linux-arm64/xml_validator.node +0 -0
- package/build/addons/linux-x64/xml_validator.node +0 -0
- package/build/addons/win32-x64/libiconv-2.dll +0 -0
- package/build/addons/win32-x64/libxml2-16.dll +0 -0
- package/build/addons/win32-x64/wincrypt_certificate_store.node +0 -0
- package/build/addons/win32-x64/winhttp_ssl_client.node +0 -0
- package/build/addons/win32-x64/xml_validator.node +0 -0
- package/build/addons/win32-x64/zlib1.dll +0 -0
- package/dist/chunk-GG3KUX2D.mjs +259 -0
- package/dist/chunk-HY2TTOIL.mjs +20 -0
- package/dist/core/index.cjs +91 -110
- package/dist/core/index.d.cts +8 -4
- package/dist/core/index.d.ts +8 -4
- package/dist/core/index.mjs +1 -1
- package/dist/index.cjs +104 -123
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/nfe/index.cjs +104 -123
- package/dist/nfe/index.d.cts +1 -6
- package/dist/nfe/index.d.ts +1 -6
- package/dist/nfe/index.mjs +1 -1
- package/dist/{xml-signer-E-132bo8.d.cts → xml-signer-sNjO8e80.d.cts} +2 -1
- package/dist/{xml-signer-E-132bo8.d.ts → xml-signer-sNjO8e80.d.ts} +2 -1
- package/package.json +3 -3
- package/dist/chunk-6Q55WART.mjs +0 -20
- package/dist/chunk-IJON6HO5.mjs +0 -278
package/dist/nfe/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder,
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, ad as Left, ae as Right, N as Namespaced } from '../xml-signer-sNjO8e80.cjs';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -1854,17 +1854,12 @@ declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBu
|
|
|
1854
1854
|
aggregate(): void;
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
|
-
declare class CryptoSignerRepository implements SignerRepository {
|
|
1858
|
-
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Left<NFeTsError> | Right<string>>;
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
1857
|
declare abstract class Pipeline {
|
|
1862
1858
|
protected readonly certificate?: ReadCertificateRequest | undefined;
|
|
1863
1859
|
protected readonly xmlns = "http://www.portalfiscal.inf.br/nfe";
|
|
1864
1860
|
protected readonly http: HttpClient;
|
|
1865
1861
|
protected readonly toolkit: XmlToolkit;
|
|
1866
1862
|
protected readonly caching: CacheAdapter;
|
|
1867
|
-
protected readonly signerRepository: CryptoSignerRepository;
|
|
1868
1863
|
protected readonly certificates: CertificateRepository;
|
|
1869
1864
|
protected readonly soap: RemoteTransmissionRepository<NfeRemoteClient>;
|
|
1870
1865
|
protected readonly signer: EntitySigner;
|
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder,
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, a1 as RequestConfig, a6 as SignedEntity, ac as Either, x as NFeTsError, a as ReadCertificateResponse, O as RowBuilderOptions, V as PdfBuilder, R as ReadCertificateRequest, a3 as HttpClient, w as XmlToolkit, W as CacheAdapter, Y as CertificateRepository, a4 as RemoteTransmissionRepository, a9 as EntitySigner, aa as XmlSigner, ad as Left, ae as Right, N as Namespaced } from '../xml-signer-sNjO8e80.js';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -1854,17 +1854,12 @@ declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBu
|
|
|
1854
1854
|
aggregate(): void;
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
|
-
declare class CryptoSignerRepository implements SignerRepository {
|
|
1858
|
-
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Left<NFeTsError> | Right<string>>;
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
1857
|
declare abstract class Pipeline {
|
|
1862
1858
|
protected readonly certificate?: ReadCertificateRequest | undefined;
|
|
1863
1859
|
protected readonly xmlns = "http://www.portalfiscal.inf.br/nfe";
|
|
1864
1860
|
protected readonly http: HttpClient;
|
|
1865
1861
|
protected readonly toolkit: XmlToolkit;
|
|
1866
1862
|
protected readonly caching: CacheAdapter;
|
|
1867
|
-
protected readonly signerRepository: CryptoSignerRepository;
|
|
1868
1863
|
protected readonly certificates: CertificateRepository;
|
|
1869
1864
|
protected readonly soap: RemoteTransmissionRepository<NfeRemoteClient>;
|
|
1870
1865
|
protected readonly signer: EntitySigner;
|
package/dist/nfe/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
import{A,B,C,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
2
|
+
import{A,B,C,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-HY2TTOIL.mjs";import"../chunk-GG3KUX2D.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,B as DanfceDefaultPdfDocument,C as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,y as NFCeDto,u as NFeDto,q as NfceAuthorizerPipeline,p as NfceCancelPipeline,t as NfceConsultProtocoloPipeline,s as NfceConsultStatusPipeline,n as NfceQrcode,o as NfceRemoteTransmitter,r as NfceVoidRangePipeline,z as NfceXmlBuilder,A as NfceXmlBuilderPipeline,m as NfeAuthorizationResponsePipeline,i as NfeAuthorizerPipeline,h as NfeCancelPipeline,l as NfeConsultProtocoloPipeline,k as NfeConsultStatusPipeline,v as NfeDetXmlBuilder,g as NfeRemoteTransmitter,j as NfeVoidRangePipeline,w as NfeXmlBuilder,x as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nfets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.99",
|
|
4
4
|
"description": "typescript libraries for Brazilian's SEFAZ standards",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"class-transformer": "^0.5.1",
|
|
58
|
-
"class-validator": "^0.
|
|
58
|
+
"class-validator": "^0.15.1",
|
|
59
59
|
"dayjs": "^1.11.18",
|
|
60
60
|
"dotenv": "^17.2.2",
|
|
61
|
-
"pdfkit": "^0.
|
|
61
|
+
"pdfkit": "^0.18.0",
|
|
62
62
|
"reflect-metadata": "^0.2.2",
|
|
63
63
|
"rimraf": "^6.0.1"
|
|
64
64
|
},
|