@distilled.cloud/acme 0.0.0-placeholder → 1.0.0-rc.13

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.
Files changed (53) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +73 -0
  3. package/lib/credentials.d.ts +50 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +57 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +73 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +50 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/jose.d.ts +66 -0
  16. package/lib/jose.d.ts.map +1 -0
  17. package/lib/jose.js +128 -0
  18. package/lib/jose.js.map +1 -0
  19. package/lib/protocol.d.ts +27 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +410 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/response-validation.test.d.ts +4 -0
  24. package/lib/response-validation.test.d.ts.map +1 -0
  25. package/lib/response-validation.test.js +51 -0
  26. package/lib/response-validation.test.js.map +1 -0
  27. package/lib/retry.d.ts +33 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +33 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/acme.d.ts +446 -0
  32. package/lib/services/acme.d.ts.map +1 -0
  33. package/lib/services/acme.js +597 -0
  34. package/lib/services/acme.js.map +1 -0
  35. package/lib/services/index.d.ts +2 -0
  36. package/lib/services/index.d.ts.map +1 -0
  37. package/lib/services/index.js +3 -0
  38. package/lib/services/index.js.map +1 -0
  39. package/lib/traits.d.ts +13 -0
  40. package/lib/traits.d.ts.map +1 -0
  41. package/lib/traits.js +13 -0
  42. package/lib/traits.js.map +1 -0
  43. package/package.json +75 -7
  44. package/src/credentials.ts +106 -0
  45. package/src/errors.ts +101 -0
  46. package/src/index.ts +33 -0
  47. package/src/jose.ts +234 -0
  48. package/src/protocol.ts +582 -0
  49. package/src/response-validation.test.ts +65 -0
  50. package/src/retry.ts +55 -0
  51. package/src/services/acme.ts +1140 -0
  52. package/src/services/index.ts +2 -0
  53. package/src/traits.ts +46 -0
@@ -0,0 +1,2 @@
1
+ // AUTO-GENERATED by scripts/generate.ts. Do not edit.
2
+ export * as acme from "./acme.ts";
package/src/traits.ts ADDED
@@ -0,0 +1,46 @@
1
+ /**
2
+ * ACME SDK trait surface — hand-written.
3
+ *
4
+ * Re-exports the generic protocol traits from core so generated operations
5
+ * import everything from one place (`import * as T from "../traits.ts"`).
6
+ * ACME is JWS-signed JSON, so
7
+ * there are no ACME-specific traits — the REST-protocol traits
8
+ * (`SensitiveValue` / `RawResponse` / `RawResponseRoot`) come from
9
+ * `core/protocol-rest`.
10
+ */
11
+ export {
12
+ SensitiveValue,
13
+ RawResponse,
14
+ RawResponseRoot,
15
+ sensitiveValueSymbol,
16
+ rawResponseSymbol,
17
+ rawResponseRootSymbol,
18
+ } from "@distilled.cloud/core/protocol-rest";
19
+
20
+ export {
21
+ Body,
22
+ Header,
23
+ Query,
24
+ Label,
25
+ Http,
26
+ ResponseCode,
27
+ HttpBody,
28
+ FormDataFile,
29
+ KeyDictionary,
30
+ UnionCases,
31
+ applyErrorMatchers,
32
+ getErrorMatchers,
33
+ type HttpTrait,
34
+ type ErrorMatcher,
35
+ bodySymbol,
36
+ headerSymbol,
37
+ querySymbol,
38
+ labelSymbol,
39
+ httpSymbol,
40
+ responseCodeSymbol,
41
+ httpBodySymbol,
42
+ formDataFileSymbol,
43
+ keyDictionarySymbol,
44
+ unionCasesSymbol,
45
+ errorMatchersSymbol,
46
+ } from "@distilled.cloud/core/trait";