@fragola-ai/prompt 1.0.2 → 1.0.3

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 CHANGED
@@ -1,2 +1,2 @@
1
- export { default as Prompt } from './Prompt';
2
- export { load, MissingVariablesError, NamespaceUndefinedError, LoadFileReadError, type Variables, type Load } from './Prompt';
1
+ export { default as Prompt } from './Prompt.js';
2
+ export { load, MissingVariablesError, NamespaceUndefinedError, LoadFileReadError, type Variables, type Load } from './Prompt.js';
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { default as default2 } from "./Prompt";
1
+ import { default as default2 } from "./Prompt.js";
2
2
  import {
3
3
  load,
4
4
  MissingVariablesError,
5
5
  NamespaceUndefinedError,
6
6
  LoadFileReadError
7
- } from "./Prompt";
7
+ } from "./Prompt.js";
8
8
  export {
9
9
  LoadFileReadError,
10
10
  MissingVariablesError,
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../index.ts"],
4
- "sourcesContent": ["export { default as Prompt } from './Prompt';\nexport { \n load, \n MissingVariablesError, \n NamespaceUndefinedError, \n LoadFileReadError,\n type Variables,\n type Load \n} from './Prompt';"],
4
+ "sourcesContent": ["export { default as Prompt } from './Prompt.js';\nexport { \n load, \n MissingVariablesError, \n NamespaceUndefinedError, \n LoadFileReadError,\n type Variables,\n type Load \n} from './Prompt.js';"],
5
5
  "mappings": "AAAA,SAAoB,WAAXA,gBAAyB;AAClC;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGG;",
6
6
  "names": ["default"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fragola-ai/prompt",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Prompt interpolation and loading library for Node.js/TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",