@owask/tapace-templates 0.1.0 → 0.1.1

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.
@@ -269,8 +269,8 @@ function eventCardRows(def, cls, obj) {
269
269
  },
270
270
  ];
271
271
  }
272
- const module = obj.textModulesData.find((m) => m.id === ref);
273
- return [{ label: module?.header ?? item.field.label, value: module?.body ?? '' }];
272
+ const textModule = obj.textModulesData.find((m) => m.id === ref);
273
+ return [{ label: textModule?.header ?? item.field.label, value: textModule?.body ?? '' }];
274
274
  }));
275
275
  }
276
276
  function googleEventPreview(def, options) {
@@ -1,4 +1,5 @@
1
1
  export * from './contract/index.js';
2
2
  export * from './compiler/template-preview.js';
3
+ export { previewStampCount } from './compiler/stamp-card.js';
3
4
  export type { CompileIssue } from './compiler/passmint-compiler.js';
4
5
  export type { ApplePreview, BarcodePreview, FieldPreview, GoogleCardItemPreview, GoogleEventPreview, GoogleLoyaltyPreview, GooglePreview, PosterPreview, PreviewStyle, } from './compiler/preview-model.js';
@@ -1,2 +1,3 @@
1
1
  export * from './contract/index.js';
2
2
  export * from './compiler/template-preview.js';
3
+ export { previewStampCount } from './compiler/stamp-card.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owask/tapace-templates",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "TapAce template contract and wallet preview compiler, shared by the API and the dashboard.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",