@aikdna/kdna-core 0.37.0 → 0.37.1-rc.browser.1
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/README.md +12 -2
- package/package.json +6 -1
- package/src/public-contract/browser-native/generated-contract.json +3 -3
- package/src/public-contract/browser-native/sections/contract.json +2 -2
- package/src/public-contract/browser-protected/request.js +77 -0
- package/src/public-contract/browser-protected/state.js +200 -0
- package/src/public-contract/browserwhole06/contract.json +2 -2
- package/src/public-contract/creation06/contract.json +2 -2
- package/src/public-contract/creation06/generation-manifest.json +8 -8
- package/src/public-contract/execution06/contract.json +2 -2
- package/src/public-contract/execution06/generation-manifest.json +8 -8
- package/src/public-contract/generated-contract.json +3 -3
- package/src/public-contract/issuer-contract.generated.json +6 -6
- package/src/public-contract/issuer-validators.generated.js +7 -7
- package/src/public-contract/key-grant-issuer-node.d.ts +1 -1
- package/src/public-contract/package-set-contract.generated.json +5 -5
- package/src/public-contract/package-set-node.d.ts +1 -1
- package/src/public-contract/package-set-validators.generated.js +9 -9
- package/src/public-contract/packageset06/contract.json +2 -2
- package/src/public-contract/packageset06/generation-manifest.json +8 -8
- package/src/public-contract/protected-browser-contract/contract.json +11824 -0
- package/src/public-contract/protected-browser-contract/descriptor.json +5 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedAdmissionResult.json +443 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedAuthorityContext.json +939 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedBinding.json +156 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedCallResult.json +10489 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedDeliveryToken.json +10 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedExpansionHandle.json +320 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedHostContext.json +677 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedHostObservation.json +208 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedReadAuthority.json +10 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedReadResult.json +10795 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedRequest.json +539 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedRequestAdmission.json +1016 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedSignaturePolicy.json +35 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedSnapshotData.json +8451 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedTransportCommitResult.json +304 -0
- package/src/public-contract/protected-browser-contract/schemas/TrustedBrowserProtectedHost.json +10 -0
- package/src/public-contract/protected-browser-contract/types.d.ts +389 -0
- package/src/public-contract/protected-browser-contract/validators.cjs +223756 -0
- package/src/public-contract/protected-sections-browser.d.ts +11 -0
- package/src/public-contract/protected-sections-browser.js +22 -0
- package/src/public-contract/protected-sections-browser.mjs +2 -0
- package/src/public-contract/protected-source-contract.generated.json +8 -8
- package/src/public-contract/protected-source-node.d.ts +1 -1
- package/src/public-contract/protection-admission-browser.js +21 -3
- package/src/public-contract/protection-contract.generated.json +9 -9
- package/src/public-contract/protection-envelope-codec.js +16 -12
- package/src/public-contract/protection-node.d.ts +2 -2
- package/src/public-contract/protection-validators.generated.js +5 -5
- package/src/public-contract/retained/contract.json +2 -2
- package/src/public-contract/retained/generation-manifest.json +8 -8
- package/src/public-contract/retained-browser06/contract.json +2 -2
- package/src/public-contract/sectionbytes/contract.json +2 -2
- package/src/public-contract/sectionbytes/generation-manifest.json +8 -8
- package/src/public-contract/sections/contract.json +2 -2
- package/src/public-contract/sections/generation-manifest.json +8 -8
- package/src/public-contract/source-validators.generated.js +6 -6
- package/src/public-contract/source06/contract.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by scripts/public-contract/generate.mjs from the single public semantic source; do not edit.
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.IssuerOptions = validate20;
|
|
4
|
-
const schema31 = {"$id":"urn:kdna:issuer-validator:IssuerOptions","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerOptions","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.
|
|
4
|
+
const schema31 = {"$id":"urn:kdna:issuer-validator:IssuerOptions","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerOptions","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.1-rc.browser.1","type":"string"}},"required":["package","version"],"type":"object"},"limits":{"additionalProperties":false,"properties":{"container_bytes":{"const":26214400},"grant_bytes":{"const":1048576},"max_concurrent":{"const":4},"timeout_ms_max":{"const":60000}},"required":["container_bytes","grant_bytes","timeout_ms_max","max_concurrent"],"type":"object"},"version":{"const":"1.0.0","type":"string"}},"required":["id","version","definition_digest","implementation","exports","limits"],"type":"object"},"IssuerFailedObservation":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_INPUT_INVALID","type":"string"},"stage":{"enum":["input"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_PROFILE_UNSUPPORTED","type":"string"},"stage":{"enum":["asset"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_AUTHENTICATION_FAILED","type":"string"},"stage":{"enum":["asset","integrity"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_KEY_INVALID","type":"string"},"stage":{"enum":["issuer_key"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_GRANT_OPTIONS_INVALID","type":"string"},"stage":{"enum":["input","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_OUTPUT_INVALID","type":"string"},"stage":{"enum":["input","asset","integrity","issuer_key","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"}]},"IssuerGrantObservation":{"additionalProperties":false,"properties":{"byte_length":{"maximum":1048576,"minimum":1,"type":"integer"},"digest":{"$ref":"#/$defs/Digest"}},"required":["byte_length","digest"],"type":"object"},"IssuerIdentityObservation":{"additionalProperties":false,"properties":{"id":{"format":"uri","maxLength":256,"type":"string"},"public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"}},"required":["id","signing_key_id","public_key"],"type":"object"},"IssuerIssuedObservation":{"additionalProperties":false,"properties":{"admission":{"$ref":"#/$defs/IssuerAdmissionObservation"},"asset":{"$ref":"#/$defs/IssuerAssetDigests"},"grant":{"$ref":"#/$defs/IssuerGrantObservation"},"issuer":{"$ref":"#/$defs/IssuerIdentityObservation"},"proof":{"const":"issuer_output_not_account_or_read_authority","type":"string"},"status":{"const":"issued","type":"string"}},"required":["status","grant","asset","issuer","admission","proof"],"type":"object"},"IssuerOptions":{"additionalProperties":false,"properties":{"account_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_agreement_public_key":{"pattern":"^x25519:[A-Za-z0-9_-]{43}$","type":"string"},"device_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_signing_public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"entitlement_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"entitlement_profile":{"enum":["account","org"]},"expires_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"grant_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"issued_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"issuer":{"format":"uri","maxLength":256,"type":"string"},"offline_grace_until_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"refresh_after_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"status":{"enum":["active","revoked","expired"]},"status_version":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"timeout_ms":{"maximum":60000,"minimum":1,"type":"integer"}},"required":["issuer","signing_key_id","account_id","entitlement_id","entitlement_profile","device_id","device_agreement_public_key","device_signing_public_key","grant_id","status","status_version","issued_at_ms","refresh_after_ms","offline_grace_until_ms","expires_at_ms","timeout_ms"],"type":"object"},"IssuerResultObservation":{"oneOf":[{"$ref":"#/$defs/IssuerIssuedObservation"},{"$ref":"#/$defs/IssuerCoreRejectedObservation"},{"$ref":"#/$defs/IssuerFailedObservation"}]},"IssuerSignaturePolicy":{"additionalProperties":false,"properties":{"expectedPublicKeyHex":{"oneOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}]},"requireSignature":{"type":"boolean"}},"required":["requireSignature","expectedPublicKeyHex"],"type":"object"},"ReadDiagnosticCode":{"enum":["READ_INPUT_INVALID","READ_SNAPSHOT_UNATTESTED","READ_CORE_CAPABILITY_UNAVAILABLE","READ_UNSUPPORTED_VERSION","READ_MIXED_VERSION_TUPLE","READ_CORE_INVALID","READ_INTERPRETATION_INCOMPLETE","READ_STATIC_POLICY_INVALID","READ_ASSET_MISMATCH","READ_ASSET_VERSION_MISMATCH","READ_SELECTION_NOT_FOUND","READ_SELECTION_AMBIGUOUS","READ_HANDLE_UNTRUSTED","READ_HANDLE_VERSION_MISMATCH","READ_HANDLE_STALE","READ_HANDLE_ASSET_MISMATCH","READ_HANDLE_SCOPE_MISMATCH","READ_HOST_CONTEXT_UNTRUSTED","READ_HOST_EPOCH_MISMATCH","READ_HOST_TIME_INVALID","READ_HANDLE_EXPIRED","READ_HOST_CONTEXT_EXPIRED","READ_HOST_DENIED","READ_SCOPE_DENIED","READ_PROJECTION_INVALID","READ_BUDGET_INSUFFICIENT","READ_COMPONENT_DECLARATION_INVALID","READ_COMPONENT_CONTENT_INVALID","READ_COMPONENT_REFERENCE_INVALID","READ_COMPONENT_GRAPH_CYCLE","READ_COMPONENT_LIMIT_EXCEEDED","READ_COMPONENT_BINDING_INVALID","READ_COMPONENT_ADOPTION_INVALID","READ_METHOD_PRESENCE_INVALID","READ_R2_STRUCTURE_INVALID","READ_R2_REFERENCE_INVALID","READ_R2_METHOD_INVALID","READ_R2_PLAN_INVALID","READ_R2_POLICY_INVALID","READ_R2_SCOPE_INVALID","READ_R2_EXAMPLE_INVALID","READ_R2_HISTORY_INVALID","READ_UNSUPPORTED_CRITICAL","READ_UNRESOLVED_EXTERNAL"],"type":"string"}}};
|
|
5
5
|
const schema32 = {"additionalProperties":false,"properties":{"account_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_agreement_public_key":{"pattern":"^x25519:[A-Za-z0-9_-]{43}$","type":"string"},"device_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_signing_public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"entitlement_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"entitlement_profile":{"enum":["account","org"]},"expires_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"grant_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"issued_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"issuer":{"format":"uri","maxLength":256,"type":"string"},"offline_grace_until_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"refresh_after_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"status":{"enum":["active","revoked","expired"]},"status_version":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"timeout_ms":{"maximum":60000,"minimum":1,"type":"integer"}},"required":["issuer","signing_key_id","account_id","entitlement_id","entitlement_profile","device_id","device_agreement_public_key","device_signing_public_key","grant_id","status","status_version","issued_at_ms","refresh_after_ms","offline_grace_until_ms","expires_at_ms","timeout_ms"],"type":"object"};
|
|
6
6
|
const func1 = Object.prototype.hasOwnProperty;
|
|
7
7
|
const func2 = require("ajv/dist/runtime/ucs2length").default;
|
|
@@ -424,7 +424,7 @@ return errors === 0;
|
|
|
424
424
|
validate20.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};
|
|
425
425
|
|
|
426
426
|
exports.IssuerSignaturePolicy = validate21;
|
|
427
|
-
const schema33 = {"$id":"urn:kdna:issuer-validator:IssuerSignaturePolicy","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerSignaturePolicy","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.
|
|
427
|
+
const schema33 = {"$id":"urn:kdna:issuer-validator:IssuerSignaturePolicy","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerSignaturePolicy","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.1-rc.browser.1","type":"string"}},"required":["package","version"],"type":"object"},"limits":{"additionalProperties":false,"properties":{"container_bytes":{"const":26214400},"grant_bytes":{"const":1048576},"max_concurrent":{"const":4},"timeout_ms_max":{"const":60000}},"required":["container_bytes","grant_bytes","timeout_ms_max","max_concurrent"],"type":"object"},"version":{"const":"1.0.0","type":"string"}},"required":["id","version","definition_digest","implementation","exports","limits"],"type":"object"},"IssuerFailedObservation":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_INPUT_INVALID","type":"string"},"stage":{"enum":["input"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_PROFILE_UNSUPPORTED","type":"string"},"stage":{"enum":["asset"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_AUTHENTICATION_FAILED","type":"string"},"stage":{"enum":["asset","integrity"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_KEY_INVALID","type":"string"},"stage":{"enum":["issuer_key"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_GRANT_OPTIONS_INVALID","type":"string"},"stage":{"enum":["input","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_OUTPUT_INVALID","type":"string"},"stage":{"enum":["input","asset","integrity","issuer_key","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"}]},"IssuerGrantObservation":{"additionalProperties":false,"properties":{"byte_length":{"maximum":1048576,"minimum":1,"type":"integer"},"digest":{"$ref":"#/$defs/Digest"}},"required":["byte_length","digest"],"type":"object"},"IssuerIdentityObservation":{"additionalProperties":false,"properties":{"id":{"format":"uri","maxLength":256,"type":"string"},"public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"}},"required":["id","signing_key_id","public_key"],"type":"object"},"IssuerIssuedObservation":{"additionalProperties":false,"properties":{"admission":{"$ref":"#/$defs/IssuerAdmissionObservation"},"asset":{"$ref":"#/$defs/IssuerAssetDigests"},"grant":{"$ref":"#/$defs/IssuerGrantObservation"},"issuer":{"$ref":"#/$defs/IssuerIdentityObservation"},"proof":{"const":"issuer_output_not_account_or_read_authority","type":"string"},"status":{"const":"issued","type":"string"}},"required":["status","grant","asset","issuer","admission","proof"],"type":"object"},"IssuerOptions":{"additionalProperties":false,"properties":{"account_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_agreement_public_key":{"pattern":"^x25519:[A-Za-z0-9_-]{43}$","type":"string"},"device_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_signing_public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"entitlement_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"entitlement_profile":{"enum":["account","org"]},"expires_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"grant_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"issued_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"issuer":{"format":"uri","maxLength":256,"type":"string"},"offline_grace_until_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"refresh_after_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"status":{"enum":["active","revoked","expired"]},"status_version":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"timeout_ms":{"maximum":60000,"minimum":1,"type":"integer"}},"required":["issuer","signing_key_id","account_id","entitlement_id","entitlement_profile","device_id","device_agreement_public_key","device_signing_public_key","grant_id","status","status_version","issued_at_ms","refresh_after_ms","offline_grace_until_ms","expires_at_ms","timeout_ms"],"type":"object"},"IssuerResultObservation":{"oneOf":[{"$ref":"#/$defs/IssuerIssuedObservation"},{"$ref":"#/$defs/IssuerCoreRejectedObservation"},{"$ref":"#/$defs/IssuerFailedObservation"}]},"IssuerSignaturePolicy":{"additionalProperties":false,"properties":{"expectedPublicKeyHex":{"oneOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}]},"requireSignature":{"type":"boolean"}},"required":["requireSignature","expectedPublicKeyHex"],"type":"object"},"ReadDiagnosticCode":{"enum":["READ_INPUT_INVALID","READ_SNAPSHOT_UNATTESTED","READ_CORE_CAPABILITY_UNAVAILABLE","READ_UNSUPPORTED_VERSION","READ_MIXED_VERSION_TUPLE","READ_CORE_INVALID","READ_INTERPRETATION_INCOMPLETE","READ_STATIC_POLICY_INVALID","READ_ASSET_MISMATCH","READ_ASSET_VERSION_MISMATCH","READ_SELECTION_NOT_FOUND","READ_SELECTION_AMBIGUOUS","READ_HANDLE_UNTRUSTED","READ_HANDLE_VERSION_MISMATCH","READ_HANDLE_STALE","READ_HANDLE_ASSET_MISMATCH","READ_HANDLE_SCOPE_MISMATCH","READ_HOST_CONTEXT_UNTRUSTED","READ_HOST_EPOCH_MISMATCH","READ_HOST_TIME_INVALID","READ_HANDLE_EXPIRED","READ_HOST_CONTEXT_EXPIRED","READ_HOST_DENIED","READ_SCOPE_DENIED","READ_PROJECTION_INVALID","READ_BUDGET_INSUFFICIENT","READ_COMPONENT_DECLARATION_INVALID","READ_COMPONENT_CONTENT_INVALID","READ_COMPONENT_REFERENCE_INVALID","READ_COMPONENT_GRAPH_CYCLE","READ_COMPONENT_LIMIT_EXCEEDED","READ_COMPONENT_BINDING_INVALID","READ_COMPONENT_ADOPTION_INVALID","READ_METHOD_PRESENCE_INVALID","READ_R2_STRUCTURE_INVALID","READ_R2_REFERENCE_INVALID","READ_R2_METHOD_INVALID","READ_R2_PLAN_INVALID","READ_R2_POLICY_INVALID","READ_R2_SCOPE_INVALID","READ_R2_EXAMPLE_INVALID","READ_R2_HISTORY_INVALID","READ_UNSUPPORTED_CRITICAL","READ_UNRESOLVED_EXTERNAL"],"type":"string"}}};
|
|
428
428
|
const schema34 = {"additionalProperties":false,"properties":{"expectedPublicKeyHex":{"oneOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}]},"requireSignature":{"type":"boolean"}},"required":["requireSignature","expectedPublicKeyHex"],"type":"object"};
|
|
429
429
|
const pattern11 = new RegExp("^[0-9a-f]{64}$", "u");
|
|
430
430
|
|
|
@@ -570,7 +570,7 @@ return errors === 0;
|
|
|
570
570
|
validate21.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};
|
|
571
571
|
|
|
572
572
|
exports.IssuerResultObservation = validate22;
|
|
573
|
-
const schema35 = {"$id":"urn:kdna:issuer-validator:IssuerResultObservation","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerResultObservation","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.
|
|
573
|
+
const schema35 = {"$id":"urn:kdna:issuer-validator:IssuerResultObservation","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerResultObservation","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.1-rc.browser.1","type":"string"}},"required":["package","version"],"type":"object"},"limits":{"additionalProperties":false,"properties":{"container_bytes":{"const":26214400},"grant_bytes":{"const":1048576},"max_concurrent":{"const":4},"timeout_ms_max":{"const":60000}},"required":["container_bytes","grant_bytes","timeout_ms_max","max_concurrent"],"type":"object"},"version":{"const":"1.0.0","type":"string"}},"required":["id","version","definition_digest","implementation","exports","limits"],"type":"object"},"IssuerFailedObservation":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_INPUT_INVALID","type":"string"},"stage":{"enum":["input"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_PROFILE_UNSUPPORTED","type":"string"},"stage":{"enum":["asset"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_AUTHENTICATION_FAILED","type":"string"},"stage":{"enum":["asset","integrity"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_KEY_INVALID","type":"string"},"stage":{"enum":["issuer_key"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_GRANT_OPTIONS_INVALID","type":"string"},"stage":{"enum":["input","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_OUTPUT_INVALID","type":"string"},"stage":{"enum":["input","asset","integrity","issuer_key","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"}]},"IssuerGrantObservation":{"additionalProperties":false,"properties":{"byte_length":{"maximum":1048576,"minimum":1,"type":"integer"},"digest":{"$ref":"#/$defs/Digest"}},"required":["byte_length","digest"],"type":"object"},"IssuerIdentityObservation":{"additionalProperties":false,"properties":{"id":{"format":"uri","maxLength":256,"type":"string"},"public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"}},"required":["id","signing_key_id","public_key"],"type":"object"},"IssuerIssuedObservation":{"additionalProperties":false,"properties":{"admission":{"$ref":"#/$defs/IssuerAdmissionObservation"},"asset":{"$ref":"#/$defs/IssuerAssetDigests"},"grant":{"$ref":"#/$defs/IssuerGrantObservation"},"issuer":{"$ref":"#/$defs/IssuerIdentityObservation"},"proof":{"const":"issuer_output_not_account_or_read_authority","type":"string"},"status":{"const":"issued","type":"string"}},"required":["status","grant","asset","issuer","admission","proof"],"type":"object"},"IssuerOptions":{"additionalProperties":false,"properties":{"account_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_agreement_public_key":{"pattern":"^x25519:[A-Za-z0-9_-]{43}$","type":"string"},"device_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_signing_public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"entitlement_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"entitlement_profile":{"enum":["account","org"]},"expires_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"grant_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"issued_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"issuer":{"format":"uri","maxLength":256,"type":"string"},"offline_grace_until_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"refresh_after_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"status":{"enum":["active","revoked","expired"]},"status_version":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"timeout_ms":{"maximum":60000,"minimum":1,"type":"integer"}},"required":["issuer","signing_key_id","account_id","entitlement_id","entitlement_profile","device_id","device_agreement_public_key","device_signing_public_key","grant_id","status","status_version","issued_at_ms","refresh_after_ms","offline_grace_until_ms","expires_at_ms","timeout_ms"],"type":"object"},"IssuerResultObservation":{"oneOf":[{"$ref":"#/$defs/IssuerIssuedObservation"},{"$ref":"#/$defs/IssuerCoreRejectedObservation"},{"$ref":"#/$defs/IssuerFailedObservation"}]},"IssuerSignaturePolicy":{"additionalProperties":false,"properties":{"expectedPublicKeyHex":{"oneOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}]},"requireSignature":{"type":"boolean"}},"required":["requireSignature","expectedPublicKeyHex"],"type":"object"},"ReadDiagnosticCode":{"enum":["READ_INPUT_INVALID","READ_SNAPSHOT_UNATTESTED","READ_CORE_CAPABILITY_UNAVAILABLE","READ_UNSUPPORTED_VERSION","READ_MIXED_VERSION_TUPLE","READ_CORE_INVALID","READ_INTERPRETATION_INCOMPLETE","READ_STATIC_POLICY_INVALID","READ_ASSET_MISMATCH","READ_ASSET_VERSION_MISMATCH","READ_SELECTION_NOT_FOUND","READ_SELECTION_AMBIGUOUS","READ_HANDLE_UNTRUSTED","READ_HANDLE_VERSION_MISMATCH","READ_HANDLE_STALE","READ_HANDLE_ASSET_MISMATCH","READ_HANDLE_SCOPE_MISMATCH","READ_HOST_CONTEXT_UNTRUSTED","READ_HOST_EPOCH_MISMATCH","READ_HOST_TIME_INVALID","READ_HANDLE_EXPIRED","READ_HOST_CONTEXT_EXPIRED","READ_HOST_DENIED","READ_SCOPE_DENIED","READ_PROJECTION_INVALID","READ_BUDGET_INSUFFICIENT","READ_COMPONENT_DECLARATION_INVALID","READ_COMPONENT_CONTENT_INVALID","READ_COMPONENT_REFERENCE_INVALID","READ_COMPONENT_GRAPH_CYCLE","READ_COMPONENT_LIMIT_EXCEEDED","READ_COMPONENT_BINDING_INVALID","READ_COMPONENT_ADOPTION_INVALID","READ_METHOD_PRESENCE_INVALID","READ_R2_STRUCTURE_INVALID","READ_R2_REFERENCE_INVALID","READ_R2_METHOD_INVALID","READ_R2_PLAN_INVALID","READ_R2_POLICY_INVALID","READ_R2_SCOPE_INVALID","READ_R2_EXAMPLE_INVALID","READ_R2_HISTORY_INVALID","READ_UNSUPPORTED_CRITICAL","READ_UNRESOLVED_EXTERNAL"],"type":"string"}}};
|
|
574
574
|
const schema36 = {"oneOf":[{"$ref":"#/$defs/IssuerIssuedObservation"},{"$ref":"#/$defs/IssuerCoreRejectedObservation"},{"$ref":"#/$defs/IssuerFailedObservation"}]};
|
|
575
575
|
const schema50 = {"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_INPUT_INVALID","type":"string"},"stage":{"enum":["input"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_PROFILE_UNSUPPORTED","type":"string"},"stage":{"enum":["asset"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_AUTHENTICATION_FAILED","type":"string"},"stage":{"enum":["asset","integrity"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_KEY_INVALID","type":"string"},"stage":{"enum":["issuer_key"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_GRANT_OPTIONS_INVALID","type":"string"},"stage":{"enum":["input","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_OUTPUT_INVALID","type":"string"},"stage":{"enum":["input","asset","integrity","issuer_key","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"}]};
|
|
576
576
|
const schema37 = {"additionalProperties":false,"properties":{"admission":{"$ref":"#/$defs/IssuerAdmissionObservation"},"asset":{"$ref":"#/$defs/IssuerAssetDigests"},"grant":{"$ref":"#/$defs/IssuerGrantObservation"},"issuer":{"$ref":"#/$defs/IssuerIdentityObservation"},"proof":{"const":"issuer_output_not_account_or_read_authority","type":"string"},"status":{"const":"issued","type":"string"}},"required":["status","grant","asset","issuer","admission","proof"],"type":"object"};
|
|
@@ -2412,8 +2412,8 @@ return errors === 0;
|
|
|
2412
2412
|
validate22.evaluated = {"dynamicProps":true,"dynamicItems":false};
|
|
2413
2413
|
|
|
2414
2414
|
exports.IssuerDescriptor = validate35;
|
|
2415
|
-
const schema51 = {"$id":"urn:kdna:issuer-validator:IssuerDescriptor","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerDescriptor","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.
|
|
2416
|
-
const schema52 = {"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.
|
|
2415
|
+
const schema51 = {"$id":"urn:kdna:issuer-validator:IssuerDescriptor","$schema":"https://json-schema.org/draft/2020-12/schema","$ref":"#/$defs/IssuerDescriptor","$defs":{"AssetCapability":{"enum":["asserted_answers","result_forming_rules","mixed"],"type":"string"},"Digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"},"IssuerAdmissionObservation":{"oneOf":[{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"complete","type":"string"},"status":{"const":"accepted","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"},{"additionalProperties":false,"properties":{"asset_capability":{"$ref":"#/$defs/AssetCapability"},"interpretation":{"const":"blocked","type":"string"},"status":{"const":"catalog_only","type":"string"}},"required":["status","asset_capability","interpretation"],"type":"object"}]},"IssuerAssetDigests":{"additionalProperties":false,"properties":{"A":{"$ref":"#/$defs/Digest"},"C":{"$ref":"#/$defs/Digest"},"E":{"$ref":"#/$defs/Digest"}},"required":["A","C","E"],"type":"object"},"IssuerCoreRejectedObservation":{"additionalProperties":false,"properties":{"core":{"additionalProperties":false,"properties":{"reason":{"$ref":"#/$defs/ReadDiagnosticCode"},"status":{"const":"rejected","type":"string"}},"required":["status","reason"],"type":"object"},"stage":{"enum":["asset"]},"status":{"const":"core_rejected","type":"string"}},"required":["status","core","stage"],"type":"object"},"IssuerDescriptor":{"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.1-rc.browser.1","type":"string"}},"required":["package","version"],"type":"object"},"limits":{"additionalProperties":false,"properties":{"container_bytes":{"const":26214400},"grant_bytes":{"const":1048576},"max_concurrent":{"const":4},"timeout_ms_max":{"const":60000}},"required":["container_bytes","grant_bytes","timeout_ms_max","max_concurrent"],"type":"object"},"version":{"const":"1.0.0","type":"string"}},"required":["id","version","definition_digest","implementation","exports","limits"],"type":"object"},"IssuerFailedObservation":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_INPUT_INVALID","type":"string"},"stage":{"enum":["input"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_PROFILE_UNSUPPORTED","type":"string"},"stage":{"enum":["asset"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_ASSET_AUTHENTICATION_FAILED","type":"string"},"stage":{"enum":["asset","integrity"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_KEY_INVALID","type":"string"},"stage":{"enum":["issuer_key"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_GRANT_OPTIONS_INVALID","type":"string"},"stage":{"enum":["input","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"ISSUER_OUTPUT_INVALID","type":"string"},"stage":{"enum":["input","asset","integrity","issuer_key","grant"]},"status":{"const":"issuer_failed","type":"string"}},"required":["status","code","stage"],"type":"object"}]},"IssuerGrantObservation":{"additionalProperties":false,"properties":{"byte_length":{"maximum":1048576,"minimum":1,"type":"integer"},"digest":{"$ref":"#/$defs/Digest"}},"required":["byte_length","digest"],"type":"object"},"IssuerIdentityObservation":{"additionalProperties":false,"properties":{"id":{"format":"uri","maxLength":256,"type":"string"},"public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"}},"required":["id","signing_key_id","public_key"],"type":"object"},"IssuerIssuedObservation":{"additionalProperties":false,"properties":{"admission":{"$ref":"#/$defs/IssuerAdmissionObservation"},"asset":{"$ref":"#/$defs/IssuerAssetDigests"},"grant":{"$ref":"#/$defs/IssuerGrantObservation"},"issuer":{"$ref":"#/$defs/IssuerIdentityObservation"},"proof":{"const":"issuer_output_not_account_or_read_authority","type":"string"},"status":{"const":"issued","type":"string"}},"required":["status","grant","asset","issuer","admission","proof"],"type":"object"},"IssuerOptions":{"additionalProperties":false,"properties":{"account_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_agreement_public_key":{"pattern":"^x25519:[A-Za-z0-9_-]{43}$","type":"string"},"device_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"device_signing_public_key":{"pattern":"^ed25519:[A-Za-z0-9_-]{43}$","type":"string"},"entitlement_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"entitlement_profile":{"enum":["account","org"]},"expires_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"grant_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"issued_at_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"issuer":{"format":"uri","maxLength":256,"type":"string"},"offline_grace_until_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"refresh_after_ms":{"maximum":253402300799999,"minimum":0,"type":"integer"},"signing_key_id":{"pattern":"^[A-Za-z0-9._:@/-]{1,256}$","type":"string"},"status":{"enum":["active","revoked","expired"]},"status_version":{"maximum":9007199254740991,"minimum":1,"type":"integer"},"timeout_ms":{"maximum":60000,"minimum":1,"type":"integer"}},"required":["issuer","signing_key_id","account_id","entitlement_id","entitlement_profile","device_id","device_agreement_public_key","device_signing_public_key","grant_id","status","status_version","issued_at_ms","refresh_after_ms","offline_grace_until_ms","expires_at_ms","timeout_ms"],"type":"object"},"IssuerResultObservation":{"oneOf":[{"$ref":"#/$defs/IssuerIssuedObservation"},{"$ref":"#/$defs/IssuerCoreRejectedObservation"},{"$ref":"#/$defs/IssuerFailedObservation"}]},"IssuerSignaturePolicy":{"additionalProperties":false,"properties":{"expectedPublicKeyHex":{"oneOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}]},"requireSignature":{"type":"boolean"}},"required":["requireSignature","expectedPublicKeyHex"],"type":"object"},"ReadDiagnosticCode":{"enum":["READ_INPUT_INVALID","READ_SNAPSHOT_UNATTESTED","READ_CORE_CAPABILITY_UNAVAILABLE","READ_UNSUPPORTED_VERSION","READ_MIXED_VERSION_TUPLE","READ_CORE_INVALID","READ_INTERPRETATION_INCOMPLETE","READ_STATIC_POLICY_INVALID","READ_ASSET_MISMATCH","READ_ASSET_VERSION_MISMATCH","READ_SELECTION_NOT_FOUND","READ_SELECTION_AMBIGUOUS","READ_HANDLE_UNTRUSTED","READ_HANDLE_VERSION_MISMATCH","READ_HANDLE_STALE","READ_HANDLE_ASSET_MISMATCH","READ_HANDLE_SCOPE_MISMATCH","READ_HOST_CONTEXT_UNTRUSTED","READ_HOST_EPOCH_MISMATCH","READ_HOST_TIME_INVALID","READ_HANDLE_EXPIRED","READ_HOST_CONTEXT_EXPIRED","READ_HOST_DENIED","READ_SCOPE_DENIED","READ_PROJECTION_INVALID","READ_BUDGET_INSUFFICIENT","READ_COMPONENT_DECLARATION_INVALID","READ_COMPONENT_CONTENT_INVALID","READ_COMPONENT_REFERENCE_INVALID","READ_COMPONENT_GRAPH_CYCLE","READ_COMPONENT_LIMIT_EXCEEDED","READ_COMPONENT_BINDING_INVALID","READ_COMPONENT_ADOPTION_INVALID","READ_METHOD_PRESENCE_INVALID","READ_R2_STRUCTURE_INVALID","READ_R2_REFERENCE_INVALID","READ_R2_METHOD_INVALID","READ_R2_PLAN_INVALID","READ_R2_POLICY_INVALID","READ_R2_SCOPE_INVALID","READ_R2_EXAMPLE_INVALID","READ_R2_HISTORY_INVALID","READ_UNSUPPORTED_CRITICAL","READ_UNRESOLVED_EXTERNAL"],"type":"string"}}};
|
|
2416
|
+
const schema52 = {"additionalProperties":false,"properties":{"definition_digest":{"$ref":"#/$defs/Digest"},"exports":{"items":false,"maxItems":2,"minItems":2,"prefixItems":[{"const":"getExternalGrantIssuerContract","type":"string"},{"const":"issueExternalKeyGrantForAsset","type":"string"}],"type":"array"},"id":{"const":"kdna.external-grant-issuer/1","type":"string"},"implementation":{"additionalProperties":false,"properties":{"package":{"const":"@aikdna/kdna-core","type":"string"},"version":{"const":"0.37.1-rc.browser.1","type":"string"}},"required":["package","version"],"type":"object"},"limits":{"additionalProperties":false,"properties":{"container_bytes":{"const":26214400},"grant_bytes":{"const":1048576},"max_concurrent":{"const":4},"timeout_ms_max":{"const":60000}},"required":["container_bytes","grant_bytes","timeout_ms_max","max_concurrent"],"type":"object"},"version":{"const":"1.0.0","type":"string"}},"required":["id","version","definition_digest","implementation","exports","limits"],"type":"object"};
|
|
2417
2417
|
|
|
2418
2418
|
function validate36(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){
|
|
2419
2419
|
let vErrors = null;
|
|
@@ -2590,8 +2590,8 @@ if(typeof data7 !== "string"){
|
|
|
2590
2590
|
validate36.errors = [{instancePath:instancePath+"/implementation/version",schemaPath:"#/properties/implementation/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
2591
2591
|
return false;
|
|
2592
2592
|
}
|
|
2593
|
-
if("0.37.
|
|
2594
|
-
validate36.errors = [{instancePath:instancePath+"/implementation/version",schemaPath:"#/properties/implementation/properties/version/const",keyword:"const",params:{allowedValue: "0.37.
|
|
2593
|
+
if("0.37.1-rc.browser.1" !== data7){
|
|
2594
|
+
validate36.errors = [{instancePath:instancePath+"/implementation/version",schemaPath:"#/properties/implementation/properties/version/const",keyword:"const",params:{allowedValue: "0.37.1-rc.browser.1"},message:"must be equal to constant"}];
|
|
2595
2595
|
return false;
|
|
2596
2596
|
}
|
|
2597
2597
|
var valid3 = _errs18 === errors;
|
|
@@ -10,7 +10,7 @@ export type IssuerIssuedObservation = { readonly "status": "issued"; readonly "g
|
|
|
10
10
|
export type IssuerCoreRejectedObservation = { readonly "status": "core_rejected"; readonly "core": { readonly "status": "rejected"; readonly "reason": ReadDiagnosticCode; }; readonly "stage": "asset"; };
|
|
11
11
|
export type IssuerFailedObservation = ({ readonly "status": "issuer_failed"; readonly "code": "ISSUER_INPUT_INVALID"; readonly "stage": "input"; } | { readonly "status": "issuer_failed"; readonly "code": "ISSUER_ASSET_PROFILE_UNSUPPORTED"; readonly "stage": "asset"; } | { readonly "status": "issuer_failed"; readonly "code": "ISSUER_ASSET_AUTHENTICATION_FAILED"; readonly "stage": "asset" | "integrity"; } | { readonly "status": "issuer_failed"; readonly "code": "ISSUER_KEY_INVALID"; readonly "stage": "issuer_key"; } | { readonly "status": "issuer_failed"; readonly "code": "ISSUER_GRANT_OPTIONS_INVALID"; readonly "stage": "input" | "grant"; } | { readonly "status": "issuer_failed"; readonly "code": "ISSUER_OUTPUT_INVALID"; readonly "stage": "input" | "asset" | "integrity" | "issuer_key" | "grant"; });
|
|
12
12
|
export type IssuerResultObservation = (IssuerIssuedObservation | IssuerCoreRejectedObservation | IssuerFailedObservation);
|
|
13
|
-
export type IssuerDescriptor = { readonly "id": "kdna.external-grant-issuer/1"; readonly "version": "1.0.0"; readonly "definition_digest": Digest; readonly "implementation": { readonly "package": "@aikdna/kdna-core"; readonly "version": "0.37.
|
|
13
|
+
export type IssuerDescriptor = { readonly "id": "kdna.external-grant-issuer/1"; readonly "version": "1.0.0"; readonly "definition_digest": Digest; readonly "implementation": { readonly "package": "@aikdna/kdna-core"; readonly "version": "0.37.1-rc.browser.1"; }; readonly "exports": readonly ["getExternalGrantIssuerContract", "issueExternalKeyGrantForAsset"]; readonly "limits": { readonly "container_bytes": 26214400; readonly "grant_bytes": 1048576; readonly "timeout_ms_max": 60000; readonly "max_concurrent": 4; }; };
|
|
14
14
|
export type IssuerSecrets = { readonly issuerRootKey: Uint8Array; readonly issuerSigningPrivateKeyPkcs8: Uint8Array; readonly signaturePolicy: IssuerSignaturePolicy };
|
|
15
15
|
export type IssuanceResult = (IssuerIssuedObservation & { readonly grantBytes: Uint8Array }) | IssuerCoreRejectedObservation | IssuerFailedObservation;
|
|
16
16
|
export declare function getExternalGrantIssuerContract(): IssuerDescriptor;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"inspectAdmittedPackageSet",
|
|
12
12
|
"verifyPackageSetHandoff"
|
|
13
13
|
],
|
|
14
|
-
"core_version": "0.37.
|
|
15
|
-
"definition_digest": "sha256:
|
|
14
|
+
"core_version": "0.37.1-rc.browser.1",
|
|
15
|
+
"definition_digest": "sha256:4bef99c6e0a3fd36d954fb8e6f249b2dcfe45a3823417228a095502e0559a48e",
|
|
16
16
|
"limits": {
|
|
17
17
|
"maxMembers": 10000,
|
|
18
18
|
"maxTotalSourceBytes": 104857600
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"sealPackageSetHandoff",
|
|
40
40
|
"admitPackageSetHandoff"
|
|
41
41
|
],
|
|
42
|
-
"read_version": "0.11.1"
|
|
42
|
+
"read_version": "0.11.2-rc.browser.1"
|
|
43
43
|
},
|
|
44
44
|
"key_sets": {
|
|
45
45
|
"HandoffMember": {
|
|
@@ -739,7 +739,7 @@
|
|
|
739
739
|
"type": "array"
|
|
740
740
|
},
|
|
741
741
|
"core_version": {
|
|
742
|
-
"const": "0.37.
|
|
742
|
+
"const": "0.37.1-rc.browser.1",
|
|
743
743
|
"type": "string"
|
|
744
744
|
},
|
|
745
745
|
"definition_digest": {
|
|
@@ -769,7 +769,7 @@
|
|
|
769
769
|
"type": "array"
|
|
770
770
|
},
|
|
771
771
|
"read_version": {
|
|
772
|
-
"const": "0.11.1",
|
|
772
|
+
"const": "0.11.2-rc.browser.1",
|
|
773
773
|
"type": "string"
|
|
774
774
|
}
|
|
775
775
|
},
|
|
@@ -6,7 +6,7 @@ export type PackageSetMemberObservationRequest = { readonly "set_id": Identifier
|
|
|
6
6
|
export type PackageSetMemberObservationRow = { readonly "member_id": Identifier; readonly "asset_id": Identifier; readonly "asset_version": VersionLabel; readonly "A": Digest; readonly "decision": "allow" | "deny"; readonly "decision_id": Identifier; readonly "host_id": Identifier; readonly "host_epoch": Identifier; readonly "issued_at": UInt; readonly "expires_at": UInt; readonly "current_ms": UInt; };
|
|
7
7
|
export type PackageSetMemberObservation = { readonly "decisions": ReadonlyArray<PackageSetMemberObservationRow>; };
|
|
8
8
|
export type PackageSetReadObservation = { readonly "context": HostReadContextData; readonly "current_ms": UInt; };
|
|
9
|
-
export type PackageSetNodeDescriptor = { readonly "contract": "kdna.package-set-node/0.2.1"; readonly "module_version": "0.2.0"; readonly "core_version": "0.37.
|
|
9
|
+
export type PackageSetNodeDescriptor = { readonly "contract": "kdna.package-set-node/0.2.1"; readonly "module_version": "0.2.0"; readonly "core_version": "0.37.1-rc.browser.1"; readonly "read_version": "0.11.2-rc.browser.1"; readonly "limits": PackageSetLimits; readonly "local_failures": ReadonlyArray<PackageSetLocalFailure>; readonly "core_callables": ReadonlyArray<Identifier>; readonly "read_callables": ReadonlyArray<Identifier>; readonly "claims": "claims_not_authenticated"; readonly "definition_digest": Digest; };
|
|
10
10
|
export type PackageSetNodeSurface = (PackageSet | PackageSetHandoff | PackageSetMemberObservationRequest | PackageSetMemberObservation | PackageSetReadObservation | PackageSetNodeDescriptor);
|
|
11
11
|
export type PackageSetOperation = "isolated_read" | "semantic_merge" | "cross_asset_reference";
|
|
12
12
|
export type PackageSetMemberSource = { readonly "member_id": string; readonly "bytes": Uint8Array };
|
|
@@ -2324,7 +2324,7 @@ return errors === 0;
|
|
|
2324
2324
|
}
|
|
2325
2325
|
validate41.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};
|
|
2326
2326
|
|
|
2327
|
-
const schema87 = {"additionalProperties":false,"properties":{"claims":{"const":"claims_not_authenticated","type":"string"},"contract":{"const":"kdna.package-set-node/0.2.1","type":"string"},"core_callables":{"items":{"$ref":"#/$defs/Identifier"},"maxItems":7,"minItems":7,"type":"array"},"core_version":{"const":"0.37.
|
|
2327
|
+
const schema87 = {"additionalProperties":false,"properties":{"claims":{"const":"claims_not_authenticated","type":"string"},"contract":{"const":"kdna.package-set-node/0.2.1","type":"string"},"core_callables":{"items":{"$ref":"#/$defs/Identifier"},"maxItems":7,"minItems":7,"type":"array"},"core_version":{"const":"0.37.1-rc.browser.1","type":"string"},"definition_digest":{"$ref":"#/$defs/Digest"},"limits":{"$ref":"#/$defs/PackageSetLimits"},"local_failures":{"items":{"$ref":"#/$defs/PackageSetLocalFailure"},"maxItems":12,"minItems":12,"type":"array"},"module_version":{"const":"0.2.0","type":"string"},"read_callables":{"items":{"$ref":"#/$defs/Identifier"},"maxItems":5,"minItems":5,"type":"array"},"read_version":{"const":"0.11.2-rc.browser.1","type":"string"}},"required":["contract","module_version","core_version","read_version","limits","local_failures","core_callables","read_callables","claims","definition_digest"],"type":"object"};
|
|
2328
2328
|
const schema90 = {"additionalProperties":false,"properties":{"maxMembers":{"const":10000,"type":"integer"},"maxTotalSourceBytes":{"const":104857600,"type":"integer"}},"required":["maxMembers","maxTotalSourceBytes"],"type":"object"};
|
|
2329
2329
|
const schema91 = {"enum":["invalid_limits","member_limit_exceeded","source_bytes_limit_exceeded","invalid_member_source","invalid_read_request","provider_invalid","provider_failed","provider_observation_invalid","cancelled","core_unavailable","delivery_unconfirmed","handoff_invalid"],"type":"string"};
|
|
2330
2330
|
|
|
@@ -2460,8 +2460,8 @@ if(typeof data4 !== "string"){
|
|
|
2460
2460
|
validate45.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
2461
2461
|
return false;
|
|
2462
2462
|
}
|
|
2463
|
-
if("0.37.
|
|
2464
|
-
validate45.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/const",keyword:"const",params:{allowedValue: "0.37.
|
|
2463
|
+
if("0.37.1-rc.browser.1" !== data4){
|
|
2464
|
+
validate45.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/const",keyword:"const",params:{allowedValue: "0.37.1-rc.browser.1"},message:"must be equal to constant"}];
|
|
2465
2465
|
return false;
|
|
2466
2466
|
}
|
|
2467
2467
|
var valid0 = _errs11 === errors;
|
|
@@ -2696,8 +2696,8 @@ if(typeof data14 !== "string"){
|
|
|
2696
2696
|
validate45.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
2697
2697
|
return false;
|
|
2698
2698
|
}
|
|
2699
|
-
if("0.11.1" !== data14){
|
|
2700
|
-
validate45.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/const",keyword:"const",params:{allowedValue: "0.11.1"},message:"must be equal to constant"}];
|
|
2699
|
+
if("0.11.2-rc.browser.1" !== data14){
|
|
2700
|
+
validate45.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/const",keyword:"const",params:{allowedValue: "0.11.2-rc.browser.1"},message:"must be equal to constant"}];
|
|
2701
2701
|
return false;
|
|
2702
2702
|
}
|
|
2703
2703
|
var valid0 = _errs36 === errors;
|
|
@@ -2973,8 +2973,8 @@ if(typeof data4 !== "string"){
|
|
|
2973
2973
|
validate55.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
2974
2974
|
return false;
|
|
2975
2975
|
}
|
|
2976
|
-
if("0.37.
|
|
2977
|
-
validate55.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/const",keyword:"const",params:{allowedValue: "0.37.
|
|
2976
|
+
if("0.37.1-rc.browser.1" !== data4){
|
|
2977
|
+
validate55.errors = [{instancePath:instancePath+"/core_version",schemaPath:"#/properties/core_version/const",keyword:"const",params:{allowedValue: "0.37.1-rc.browser.1"},message:"must be equal to constant"}];
|
|
2978
2978
|
return false;
|
|
2979
2979
|
}
|
|
2980
2980
|
var valid0 = _errs11 === errors;
|
|
@@ -3209,8 +3209,8 @@ if(typeof data14 !== "string"){
|
|
|
3209
3209
|
validate55.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/type",keyword:"type",params:{type: "string"},message:"must be string"}];
|
|
3210
3210
|
return false;
|
|
3211
3211
|
}
|
|
3212
|
-
if("0.11.1" !== data14){
|
|
3213
|
-
validate55.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/const",keyword:"const",params:{allowedValue: "0.11.1"},message:"must be equal to constant"}];
|
|
3212
|
+
if("0.11.2-rc.browser.1" !== data14){
|
|
3213
|
+
validate55.errors = [{instancePath:instancePath+"/read_version",schemaPath:"#/properties/read_version/const",keyword:"const",params:{allowedValue: "0.11.2-rc.browser.1"},message:"must be equal to constant"}];
|
|
3214
3214
|
return false;
|
|
3215
3215
|
}
|
|
3216
3216
|
var valid0 = _errs36 === errors;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"candidate_only": true,
|
|
3
3
|
"source": {
|
|
4
4
|
"path": "specs/public-semantic-source.json",
|
|
5
|
-
"bytes":
|
|
6
|
-
"sha256": "
|
|
5
|
+
"bytes": 1506884,
|
|
6
|
+
"sha256": "a05af27e97be03a8909375217ab353017b72a10532ad7d700b6ae278e30d1d5f"
|
|
7
7
|
},
|
|
8
8
|
"historical_original_source": {
|
|
9
9
|
"scope": "historical_original_contract_source_identity_not_current_generator_input",
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"candidate_only": true,
|
|
4
4
|
"source": {
|
|
5
5
|
"path": "specs/public-semantic-source.json",
|
|
6
|
-
"bytes":
|
|
7
|
-
"sha256": "
|
|
6
|
+
"bytes": 1506884,
|
|
7
|
+
"sha256": "a05af27e97be03a8909375217ab353017b72a10532ad7d700b6ae278e30d1d5f"
|
|
8
8
|
},
|
|
9
9
|
"producer": {
|
|
10
10
|
"recipe": {
|
|
11
11
|
"path": "scripts/public-contract/native-output-recipe.json",
|
|
12
|
-
"bytes":
|
|
13
|
-
"sha256": "
|
|
12
|
+
"bytes": 164001,
|
|
13
|
+
"sha256": "076b8d75b26d3c675fb8f89768e7d3cdddc448f2f29b19adb28b768a0c4dfbfb"
|
|
14
14
|
},
|
|
15
15
|
"scripts": [
|
|
16
16
|
{
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"path": "scripts/public-contract/native-renderer.mjs",
|
|
23
|
-
"bytes":
|
|
24
|
-
"sha256": "
|
|
23
|
+
"bytes": 20169,
|
|
24
|
+
"sha256": "44806a5a6dc43b141791b62b3683acd3145ac14b67ee5e6077923c5c62ca0187"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "scripts/public-contract/generation-writer.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
{
|
|
32
32
|
"path": "scripts/public-contract/generate.mjs",
|
|
33
33
|
"bytes": 73563,
|
|
34
|
-
"sha256": "
|
|
34
|
+
"sha256": "73f19333a9fbff08480884d8b35ade372fe8b682ea25a77d9b370dc88c740f86"
|
|
35
35
|
}
|
|
36
36
|
]
|
|
37
37
|
},
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
{
|
|
587
587
|
"path": "packages/kdna-core/src/public-contract/packageset06/contract.json",
|
|
588
588
|
"bytes": 307339,
|
|
589
|
-
"sha256": "
|
|
589
|
+
"sha256": "c52dee52bd79cde73d6e6efdb5a6a20495fe422b1de000cc9e32b43036751899"
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
"path": "packages/kdna-core/src/public-contract/packageset06/api.d.ts",
|