aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/order_schemas.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-06 19:59:25 +0800
committerGitHub <noreply@github.com>2017-06-06 19:59:25 +0800
commitbf66a43ca81f799446fe031a972721f4352470b5 (patch)
tree602ec3bcdf65fbff84ccc35455653d1c95fd8829 /src/schemas/order_schemas.ts
parentb1ecb45f1bf5fed0762e7f17b00f46ae6fdc6b56 (diff)
parent1c7229d7837e92dc89769bd876dffdecc5669eaa (diff)
downloaddexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.gz
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.bz2
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.lz
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.xz
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.zst
dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.zip
Merge pull request #34 from 0xProject/number-regex
Add tests to number regex and BigNumber serialization & fix bugs
Diffstat (limited to 'src/schemas/order_schemas.ts')
-rw-r--r--src/schemas/order_schemas.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts
index 72012dc26..4999f3e9d 100644
--- a/src/schemas/order_schemas.ts
+++ b/src/schemas/order_schemas.ts
@@ -7,7 +7,7 @@ export const addressSchema = {
export const numberSchema = {
id: '/numberSchema',
type: 'string',
- format: '\d+(\.\d+)?',
+ pattern: '^\\d+(\\.\\d+)?$',
};
export const orderSchema = {