@orderingstack/ordering-types 1.24.1 → 1.24.2

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.
@@ -354,8 +354,8 @@ export interface IOrderPayment {
354
354
  id: string;
355
355
  type: EOrderPaymentType;
356
356
  source: string;
357
- amount: number;
358
- initialAmount?: number;
357
+ amount: number | string;
358
+ initialAmount?: number | string;
359
359
  user: string;
360
360
  timestamp?: string;
361
361
  extra?: IStringKeyRecord<string>;
@@ -354,8 +354,8 @@ export interface IOrderPayment {
354
354
  id: string;
355
355
  type: EOrderPaymentType;
356
356
  source: string;
357
- amount: number;
358
- initialAmount?: number;
357
+ amount: number | string;
358
+ initialAmount?: number | string;
359
359
  user: string;
360
360
  timestamp?: string;
361
361
  extra?: IStringKeyRecord<string>;
package/package.json CHANGED
@@ -1,23 +1,22 @@
1
- {
2
- "name": "@orderingstack/ordering-types",
3
- "version": "1.24.1",
4
- "description": "Typescript types for @orderingstack",
5
- "types": "dist/esm/index.d.ts",
6
- "main": "dist/cjs/index.js",
7
- "module": "dist/esm/index.js",
8
- "files": [
9
- "dist/"
10
- ],
11
- "scripts": {
12
- "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
13
- "prepublishOnly": "npm run build"
14
- },
15
- "author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
16
- "devDependencies": {
17
- "@types/react": "^18.0.26",
18
- "react": "^18.2.0",
19
- "react-hook-form": "^7.42.0",
20
- "react-spring": "^9.6.1",
21
- "typescript": "next"
22
- }
1
+ {
2
+ "name": "@orderingstack/ordering-types",
3
+ "version": "1.24.2",
4
+ "description": "Typescript types for @orderingstack",
5
+ "types": "dist/esm/index.d.ts",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "files": [
9
+ "dist/"
10
+ ],
11
+ "author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
12
+ "devDependencies": {
13
+ "@types/react": "^18.0.26",
14
+ "react": "^18.2.0",
15
+ "react-hook-form": "^7.42.0",
16
+ "react-spring": "^9.6.1",
17
+ "typescript": "next"
18
+ },
19
+ "scripts": {
20
+ "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json"
21
+ }
23
22
  }