@stackedapp/types 1.9.19 → 1.9.21

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.
@@ -1098,6 +1098,10 @@ interface IThirdPartyApp {
1098
1098
  }>;
1099
1099
  /** Name of the default offer preset to use for new offers */
1100
1100
  offerPresetDefault?: string;
1101
+ /** map of groupID to name. For attaching names to offer groups */
1102
+ offerGroups?: Record<string, {
1103
+ name?: string;
1104
+ }>;
1101
1105
  }
1102
1106
 
1103
1107
  /**
@@ -1284,6 +1288,10 @@ interface ICurrency {
1284
1288
  * round decimal places when saving, depositing, withdrawing.
1285
1289
  */
1286
1290
  roundDecimalPlaces?: number;
1291
+ /**
1292
+ * decimals of the currency contract
1293
+ */
1294
+ decimals?: number;
1287
1295
  /**
1288
1296
  * a composite currency composed the balance as a SUM of the balances
1289
1297
  * of the components. The currencies are spent in array order (first one first)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackedapp/types",
3
- "version": "1.9.19",
3
+ "version": "1.9.21",
4
4
  "description": "Public types for Stacked platform SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/stacked-types.d.ts",