@kya-os/consent 0.1.43 → 0.1.44
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/dist/bundle/inline.d.ts +17 -0
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +19 -2
- package/dist/bundle/inline.js.map +1 -1
- package/dist/bundle/shell.d.ts +13 -8
- package/dist/bundle/shell.d.ts.map +1 -1
- package/dist/bundle/shell.js +33 -30
- package/dist/bundle/shell.js.map +1 -1
- package/dist/cjs/bundle/inline.js +20 -3
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/bundle/shell.js +32 -29
- package/dist/cjs/bundle/shell.js.map +1 -1
- package/dist/cjs/components/mcp-consent.js +7 -0
- package/dist/cjs/components/mcp-consent.js.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mcp-app/inline.js +2 -2
- package/dist/cjs/mcp-app/inline.js.map +1 -1
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +7 -0
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/consent.js +3 -0
- package/dist/consent.min.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp-app/inline.d.ts.map +1 -1
- package/dist/mcp-app/inline.js +2 -2
- package/dist/mcp-app/inline.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ export * from "./styles/index.js";
|
|
|
13
13
|
export * from "./resolution/index.js";
|
|
14
14
|
export * from "./security/index.js";
|
|
15
15
|
export * from "./templates/index.js";
|
|
16
|
-
export { generateConsentShell, generateInlineConsentShell } from "./bundle/shell.js";
|
|
16
|
+
export { generateConsentShell, generateInlineConsentShell, } from "./bundle/shell.js";
|
|
17
17
|
export type { ConsentShellOptions } from "./bundle/shell.js";
|
|
18
|
-
export { CONSENT_BUNDLE, CONSENT_BUNDLE_SIZE } from "./bundle/inline.js";
|
|
18
|
+
export { CONSENT_BUNDLE, CONSENT_BUNDLE_SIZE, CONSENT_BUNDLE_HASH, CONSENT_BUNDLE_PATH, } from "./bundle/inline.js";
|
|
19
19
|
export * from "./capabilities/index.js";
|
|
20
20
|
export * from "./cedar/index.js";
|
|
21
21
|
export * from "./copy/index.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,cAAc,kBAAkB,CAAC;AAGjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,sBAAsB,CAAC;AAGrC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,cAAc,kBAAkB,CAAC;AAGjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,sBAAsB,CAAC;AAGrC,OAAO,EACL,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAG5B,cAAc,yBAAyB,CAAC;AAGxC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,iBAAiB,CAAC;AAGhC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,9 +22,9 @@ export * from "./security/index.js";
|
|
|
22
22
|
// Re-export all templates
|
|
23
23
|
export * from "./templates/index.js";
|
|
24
24
|
// Re-export bundle utilities (shell generator for Workers)
|
|
25
|
-
export { generateConsentShell, generateInlineConsentShell } from "./bundle/shell.js";
|
|
25
|
+
export { generateConsentShell, generateInlineConsentShell, } from "./bundle/shell.js";
|
|
26
26
|
// Re-export inline bundle for Workers (serves as string content)
|
|
27
|
-
export { CONSENT_BUNDLE, CONSENT_BUNDLE_SIZE } from "./bundle/inline.js";
|
|
27
|
+
export { CONSENT_BUNDLE, CONSENT_BUNDLE_SIZE, CONSENT_BUNDLE_HASH, CONSENT_BUNDLE_PATH, } from "./bundle/inline.js";
|
|
28
28
|
// Re-export capability registry
|
|
29
29
|
export * from "./capabilities/index.js";
|
|
30
30
|
// Re-export Cedar policy compilation + plain-language gloss
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,sBAAsB;AACtB,2EAA2E;AAC3E,cAAc,kBAAkB,CAAC;AAEjC,wBAAwB;AACxB,cAAc,oBAAoB,CAAC;AAEnC,0BAA0B;AAC1B,cAAc,sBAAsB,CAAC;AAErC,uBAAuB;AACvB,cAAc,mBAAmB,CAAC;AAElC,qCAAqC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,mCAAmC;AACnC,cAAc,qBAAqB,CAAC;AAEpC,0BAA0B;AAC1B,cAAc,sBAAsB,CAAC;AAErC,2DAA2D;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,sBAAsB;AACtB,2EAA2E;AAC3E,cAAc,kBAAkB,CAAC;AAEjC,wBAAwB;AACxB,cAAc,oBAAoB,CAAC;AAEnC,0BAA0B;AAC1B,cAAc,sBAAsB,CAAC;AAErC,uBAAuB;AACvB,cAAc,mBAAmB,CAAC;AAElC,qCAAqC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,mCAAmC;AACnC,cAAc,qBAAqB,CAAC;AAEpC,0BAA0B;AAC1B,cAAc,sBAAsB,CAAC;AAErC,2DAA2D;AAC3D,OAAO,EACL,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAG3B,iEAAiE;AACjE,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAE5B,gCAAgC;AAChC,cAAc,yBAAyB,CAAC;AAExC,4DAA4D;AAC5D,cAAc,kBAAkB,CAAC;AAEjC,wCAAwC;AACxC,cAAc,iBAAiB,CAAC;AAEhC,0DAA0D;AAC1D,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,MAAit/uB,CAAC;AAErv/uB,4CAA4C;AAC5C,eAAO,MAAM,yBAAyB,EAAE,MAAe,CAAC"}
|