@zimtsui/typechat 0.0.122 → 0.0.124
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/build/engines/openai-compatible/transport.js +1 -1
- package/build/engines/openai-compatible/transport.js.map +1 -1
- package/build/engines/openai-responses/transport.js +1 -1
- package/build/engines/openai-responses/transport.js.map +1 -1
- package/build/exports/xml.d.ts +3 -0
- package/build/exports/xml.js +5 -0
- package/build/exports/xml.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/xml/quotation.js +1 -1
- package/build/xml/quotation.js.map +1 -1
- package/build/xml/system.js +1 -1
- package/build/xml/system.js.map +1 -1
- package/package.json +2 -3
package/build/xml/quotation.js
CHANGED
|
@@ -2,6 +2,6 @@ import Assets from "../assets.js";
|
|
|
2
2
|
import Handlebars from "./helpers.js";
|
|
3
3
|
const template = Handlebars.compile(Assets.Xml.quotation);
|
|
4
4
|
export function encode(mimeType, text, author) {
|
|
5
|
-
return template({ mimeType:
|
|
5
|
+
return template({ mimeType: String(mimeType), text, author }).trim();
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=quotation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../src/xml/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,UAAU,MAAM,cAAc,CAAC;AAItC,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAiB,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAS1E,MAAM,UAAU,MAAM,CAAC,QAAkB,EAAE,IAAY,EAAE,MAAe;IACpE,OAAO,QAAQ,CAAC,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../src/xml/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,UAAU,MAAM,cAAc,CAAC;AAItC,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAiB,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAS1E,MAAM,UAAU,MAAM,CAAC,QAAkB,EAAE,IAAY,EAAE,MAAe;IACpE,OAAO,QAAQ,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;AACzE,CAAC"}
|
package/build/xml/system.js
CHANGED
|
@@ -2,6 +2,6 @@ import Assets from "../assets.js";
|
|
|
2
2
|
import Handlebars from "./helpers.js";
|
|
3
3
|
const template = Handlebars.compile(Assets.Xml.system);
|
|
4
4
|
export function encode(text) {
|
|
5
|
-
return template({ text });
|
|
5
|
+
return template({ text }).trim();
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=system.js.map
|
package/build/xml/system.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/xml/system.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAiB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAOvE,MAAM,UAAU,MAAM,CAAC,IAAY;IAC/B,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/xml/system.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAiB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAOvE,MAAM,UAAU,MAAM,CAAC,IAAY;IAC/B,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;AACrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimtsui/typechat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.124",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./build/exports.js",
|
|
6
|
-
"./
|
|
7
|
-
"./xml": "./build/xml.js"
|
|
6
|
+
"./xml": "./build/exports/xml.js"
|
|
8
7
|
},
|
|
9
8
|
"engines": {
|
|
10
9
|
"node": ">=24"
|