@inlay/core 0.0.2 → 0.0.4
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/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/jsx-dev-runtime.d.ts +2 -2
- package/dist/jsx-dev-runtime.d.ts.map +1 -1
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { l } from "@atproto/lex";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export { l } from "@atproto/lex";
|
|
3
|
+
import { type Node, type LexiconComponent } from "./node.ts";
|
|
4
|
+
export { type Node, isValidNode } from "./node.ts";
|
|
4
5
|
type LexiconModule = LexiconComponent & {
|
|
5
6
|
readonly main: l.Procedure;
|
|
6
7
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,gBAAgB,EAGtB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,gBAAgB,EAGtB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,KAAK,IAAI,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAInD,KAAK,aAAa,GAAG,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,GAAG,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAEnD"}
|
package/dist/index.js
CHANGED
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
// parseNode(json) // restores branded nodes
|
|
16
16
|
//
|
|
17
17
|
// Node types are NSIDs (e.g., "com.example.Post")
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
export { l } from "@atproto/lex";
|
|
19
|
+
import { BRAND, createNode, keyStaticChildren, } from "./node.js";
|
|
20
|
+
export { isValidNode } from "./node.js";
|
|
20
21
|
export function jslex(namespace) {
|
|
21
22
|
return namespace;
|
|
22
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { l } from "@atproto/lex";
|
|
2
|
-
import type { Node, LexiconComponent } from "./node";
|
|
3
|
-
import { Fragment } from "./jsx-runtime";
|
|
2
|
+
import type { Node, LexiconComponent } from "./node.ts";
|
|
3
|
+
import { Fragment } from "./jsx-runtime.ts";
|
|
4
4
|
export { Fragment };
|
|
5
5
|
export declare function jsxDEV(type: LexiconComponent, props: l.UnknownObject | null, key?: string, isStaticChildren?: boolean): Node;
|
|
6
6
|
//# sourceMappingURL=jsx-dev-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-dev-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-dev-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"jsx-dev-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-dev-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAAa,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,wBAAgB,MAAM,CACpB,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,CAAC,CAAC,aAAa,GAAG,IAAI,EAC7B,GAAG,CAAC,EAAE,MAAM,EACZ,gBAAgB,CAAC,EAAE,OAAO,GACzB,IAAI,CAEN"}
|
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx, jsxs, Fragment } from "./jsx-runtime";
|
|
1
|
+
import { jsx, jsxs, Fragment } from "./jsx-runtime.js";
|
|
2
2
|
export { Fragment };
|
|
3
3
|
export function jsxDEV(type, props, key, isStaticChildren) {
|
|
4
4
|
return isStaticChildren ? jsxs(type, props, key) : jsx(type, props, key);
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { l } from "@atproto/lex";
|
|
2
|
-
import { type Node, type LexiconComponent } from "./node";
|
|
2
|
+
import { type Node, type LexiconComponent } from "./node.ts";
|
|
3
3
|
export declare function jsx(type: LexiconComponent, props: l.UnknownObject | null, key?: string): Node;
|
|
4
4
|
export declare function jsxs(type: LexiconComponent, props: l.UnknownObject | null, key?: string): Node;
|
|
5
5
|
export declare function Fragment(_props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EAGtB,MAAM,
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,KAAK,IAAI,EACT,KAAK,gBAAgB,EAGtB,MAAM,WAAW,CAAC;AAEnB,wBAAgB,GAAG,CACjB,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,CAAC,CAAC,aAAa,GAAG,IAAI,EAC7B,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAEN;AAED,wBAAgB,IAAI,CAClB,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,CAAC,CAAC,aAAa,GAAG,IAAI,EAC7B,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAQN;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAE9D"}
|
package/dist/jsx-runtime.js
CHANGED