@fabricorg/gen-events 0.2.0 → 0.2.2
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/CHANGELOG.md +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @fabricorg/compiler@1.0.0
|
|
9
|
+
|
|
10
|
+
## 0.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Close final uplift audit gaps: align Host 2.x documentation and migration evidence, surface every
|
|
15
|
+
compiler/generator API to LLM consumers, make memory outbox egress directly usable, sanitize relay
|
|
16
|
+
failures, validate complete archetype state maps, support recursive JSON Schema generation, reject
|
|
17
|
+
cross-platform path traversal, synchronize artifact version stamps, and include package licenses.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @fabricorg/compiler@0.2.1
|
|
20
|
+
|
|
3
21
|
## 0.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(index_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_compiler = require("@fabricorg/compiler");
|
|
27
|
-
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.
|
|
27
|
+
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.2", generate(ir) {
|
|
28
28
|
return ir.modules.map((module2) => ({ path: `${module2.namespace}/events.json`, content: (0, import_compiler.stableStringify)({ generator: { name: eventsGenerator.name, version: eventsGenerator.version }, manifestDigest: ir.manifestDigest, module: module2.namespace, events: module2.eventTypes }) }));
|
|
29
29
|
} };
|
|
30
30
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.2\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/events.json`, content: stableStringify({ generator:{name:eventsGenerator.name,version:eventsGenerator.version}, manifestDigest:ir.manifestDigest, module:module.namespace, events:module.eventTypes }) })); } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsD;AAC/C,IAAM,kBAAmC,EAAE,MAAK,yBAAyB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAY,EAAE,MAAK,GAAGA,QAAO,SAAS,gBAAgB,aAAS,iCAAgB,EAAE,WAAU,EAAC,MAAK,gBAAgB,MAAK,SAAQ,gBAAgB,QAAO,GAAG,gBAAe,GAAG,gBAAgB,QAAOA,QAAO,WAAW,QAAOA,QAAO,WAAW,CAAC,EAAE,EAAE;AAAG,EAAE;","names":["module"]}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// index.ts
|
|
2
2
|
import { stableStringify } from "@fabricorg/compiler";
|
|
3
|
-
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.
|
|
3
|
+
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.2", generate(ir) {
|
|
4
4
|
return ir.modules.map((module) => ({ path: `${module.namespace}/events.json`, content: stableStringify({ generator: { name: eventsGenerator.name, version: eventsGenerator.version }, manifestDigest: ir.manifestDigest, module: module.namespace, events: module.eventTypes }) }));
|
|
5
5
|
} };
|
|
6
6
|
export {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.2\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/events.json`, content: stableStringify({ generator:{name:eventsGenerator.name,version:eventsGenerator.version}, manifestDigest:ir.manifestDigest, module:module.namespace, events:module.eventTypes }) })); } };\n"],"mappings":";AAAA,SAAS,uBAA6C;AAC/C,IAAM,kBAAmC,EAAE,MAAK,yBAAyB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAY,EAAE,MAAK,GAAG,OAAO,SAAS,gBAAgB,SAAS,gBAAgB,EAAE,WAAU,EAAC,MAAK,gBAAgB,MAAK,SAAQ,gBAAgB,QAAO,GAAG,gBAAe,GAAG,gBAAgB,QAAO,OAAO,WAAW,QAAO,OAAO,WAAW,CAAC,EAAE,EAAE;AAAG,EAAE;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabricorg/gen-events",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Event registry contract generator for Fabric compiler IR.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"CHANGELOG.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@fabricorg/compiler": "^0.
|
|
28
|
+
"@fabricorg/compiler": "^1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.10.0",
|