@kanonak-protocol/sdk 5.37.0 → 6.0.0

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 (43) hide show
  1. package/dist/auth/CredentialProvider.d.ts +69 -49
  2. package/dist/auth/ExecCredentialProvider.d.ts +55 -0
  3. package/dist/auth/OAuthDiscovery.d.ts +38 -10
  4. package/dist/auth/TokenCredentialProvider.d.ts +26 -6
  5. package/dist/auth/challenges.d.ts +17 -0
  6. package/dist/auth/credentialAnswer.d.ts +34 -0
  7. package/dist/auth/credentialConfig.d.ts +32 -0
  8. package/dist/auth/credentialedFetch.d.ts +33 -22
  9. package/dist/auth/index.d.ts +10 -4
  10. package/dist/auth/scope.d.ts +30 -0
  11. package/dist/browser.d.ts +4 -2
  12. package/dist/browser.js +1 -1
  13. package/dist/chunk-22DSABP6.js +1 -0
  14. package/dist/{chunk-HKX27KBZ.js → chunk-7F2EAT5Y.js} +1 -1
  15. package/dist/{chunk-LE26SEJU.js → chunk-A3HRXFVX.js} +1 -1
  16. package/dist/{chunk-4CXAZH3C.js → chunk-ADSDFJUO.js} +1 -1
  17. package/dist/{chunk-W5AOJ5SJ.js → chunk-GKIX3OD6.js} +1 -1
  18. package/dist/chunk-HKQTB65D.js +2 -0
  19. package/dist/{chunk-R4QCVB5M.js → chunk-O6SOU5Y2.js} +1 -1
  20. package/dist/chunk-PNBTIGX7.js +2 -0
  21. package/dist/{chunk-DONOB6RA.js → chunk-SBO34ENZ.js} +1 -1
  22. package/dist/chunk-TYVZXABI.js +155 -0
  23. package/dist/http/HttpError.d.ts +38 -0
  24. package/dist/http/kanonakFetch.d.ts +5 -2
  25. package/dist/index.d.ts +8 -2
  26. package/dist/index.js +2 -1
  27. package/dist/parsing/index.js +1 -1
  28. package/dist/producer/index.js +1 -1
  29. package/dist/reasoning/index.js +1 -1
  30. package/dist/repositories/browser.js +1 -1
  31. package/dist/repositories/index.js +1 -1
  32. package/dist/search/index.js +1 -1
  33. package/dist/server/index.js +5 -5
  34. package/dist/transformations/index.js +2 -2
  35. package/dist/transformations/v3/CompiledTransformationV3.d.ts +28 -27
  36. package/dist/transformations/v3/TransformationUriConstantsV3.d.ts +27 -0
  37. package/dist/validation/index.js +1 -1
  38. package/package.json +5 -4
  39. package/vectors/credential-helper-vectors.json +1039 -0
  40. package/dist/chunk-2WUZKSLB.js +0 -2
  41. package/dist/chunk-3353RWDC.js +0 -1
  42. package/dist/chunk-EG47OOJC.js +0 -155
  43. package/dist/chunk-OOYGILH4.js +0 -2
@@ -1 +1 @@
1
- import{A,B,C,D,E,F,G,H,I,J,K,L,M,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-R4QCVB5M.js";import"../chunk-VORVR5BZ.js";import"../chunk-EG47OOJC.js";import"../chunk-QHABFCRC.js";import"../chunk-6VIUXP4N.js";import"../chunk-3353RWDC.js";import"../chunk-7JBKOJB4.js";import"../chunk-PEJALHXK.js";import"../chunk-NUTHBBDZ.js";import"../chunk-D4QGPMRW.js";import"../chunk-FUUTGGJS.js";import"../chunk-F67UH4FD.js";import"../chunk-QILEJIFU.js";export{v as AmbiguousReferenceRule,B as ClassDefinitionRule,o as ClassHierarchyCycleRule,L as DiamondNameClashRule,D as DisplayLensScopeRule,l as EmbeddedKanonakTypeRule,m as ImportExistenceRule,M as KanonakObjectValidator,f as LinkTargetRule,H as LookBandPathRule,E as LookSemanticSvgPathRule,C as MarkdownLinkRule,t as NamespaceImportCycleRule,g as NamespacePrefixRule,x as ObjectPropertyValueValidationRule,c as OntologyValidationError,a as OntologyValidationResult,K as OwlOneOfRule,k as PackageHeaderRule,y as PropertyDomainRule,p as PropertyHierarchyCycleRule,z as PropertyKindRangeConsistencyRule,w as PropertyRangeReferenceRule,q as PropertyRangeRequiredRule,i as PropertyTypeSpecificityRule,A as ReservedNameShadowRule,h as ResourceNamingRule,G as SequenceNarrativeRule,J as ShaclShapeRule,r as SubClassOfReferenceRule,s as SubPropertyOfReferenceRule,j as SubjectKanonakTypeRequiredRule,F as TxExpressionCompilesRule,I as TxExpressionPathRule,u as UnresolvedPredicateRule,n as UnresolvedReferenceRule,e as ValidationCache,d as ValidationContext,b as ValidationSeverity};
1
+ import{A,B,C,D,E,F,G,H,I,J,K,L,M,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-O6SOU5Y2.js";import"../chunk-VORVR5BZ.js";import"../chunk-TYVZXABI.js";import"../chunk-QHABFCRC.js";import"../chunk-6VIUXP4N.js";import"../chunk-22DSABP6.js";import"../chunk-7JBKOJB4.js";import"../chunk-PEJALHXK.js";import"../chunk-NUTHBBDZ.js";import"../chunk-D4QGPMRW.js";import"../chunk-FUUTGGJS.js";import"../chunk-F67UH4FD.js";import"../chunk-QILEJIFU.js";export{v as AmbiguousReferenceRule,B as ClassDefinitionRule,o as ClassHierarchyCycleRule,L as DiamondNameClashRule,D as DisplayLensScopeRule,l as EmbeddedKanonakTypeRule,m as ImportExistenceRule,M as KanonakObjectValidator,f as LinkTargetRule,H as LookBandPathRule,E as LookSemanticSvgPathRule,C as MarkdownLinkRule,t as NamespaceImportCycleRule,g as NamespacePrefixRule,x as ObjectPropertyValueValidationRule,c as OntologyValidationError,a as OntologyValidationResult,K as OwlOneOfRule,k as PackageHeaderRule,y as PropertyDomainRule,p as PropertyHierarchyCycleRule,z as PropertyKindRangeConsistencyRule,w as PropertyRangeReferenceRule,q as PropertyRangeRequiredRule,i as PropertyTypeSpecificityRule,A as ReservedNameShadowRule,h as ResourceNamingRule,G as SequenceNarrativeRule,J as ShaclShapeRule,r as SubClassOfReferenceRule,s as SubPropertyOfReferenceRule,j as SubjectKanonakTypeRequiredRule,F as TxExpressionCompilesRule,I as TxExpressionPathRule,u as UnresolvedPredicateRule,n as UnresolvedReferenceRule,e as ValidationCache,d as ValidationContext,b as ValidationSeverity};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanonak-protocol/sdk",
3
- "version": "5.37.0",
3
+ "version": "6.0.0",
4
4
  "description": "TypeScript SDK for the Kanonak Protocol — parse, resolve, validate, reason over, and render .kan.yml packages.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -99,7 +99,8 @@
99
99
  "default": "./dist/browser.js"
100
100
  },
101
101
  "./vectors/lexical-vectors.json": "./vectors/lexical-vectors.json",
102
- "./vectors/full-form-vectors.json": "./vectors/full-form-vectors.json"
102
+ "./vectors/full-form-vectors.json": "./vectors/full-form-vectors.json",
103
+ "./vectors/credential-helper-vectors.json": "./vectors/credential-helper-vectors.json"
103
104
  },
104
105
  "files": [
105
106
  "dist/**/*",
@@ -134,11 +135,11 @@
134
135
  ],
135
136
  "dependencies": {
136
137
  "@kanonak-protocol/canonical": "^0.1.3",
137
- "@kanonak-protocol/types": "^5.37.0",
138
+ "@kanonak-protocol/types": "^6.0.0",
138
139
  "ignore": "^7.0.5",
139
140
  "js-yaml": "^4.1.0",
140
141
  "yaml": "^2.7.0",
141
- "@kanonak-protocol/expression": "^0.3.0"
142
+ "@kanonak-protocol/expression": "^1.1.0"
142
143
  },
143
144
  "optionalDependencies": {
144
145
  "@huggingface/transformers": "^3.8.1"