aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
Commit message (Expand)AuthorAgeFilesLines
* feat(instant): have to use INSTANT_HEAP_FORCE_DEVELOPMENT to report to heap i...Steve Klebanoff2018-12-041-5/+7
* Merge branch 'development' into feature/instant/rollbar-envSteve Klebanoff2018-12-011-0/+6
|\
| * Merge pull request #1359 from 0xProject/feature/instant/prod-env-switches-cdnSteve Klebanoff2018-12-011-0/+3
| |\
| * | add missing import from mergeSteve Klebanoff2018-12-011-0/+1
| * | Merge branch 'development' into feature/instant/misc-close-analyticsSteve Klebanoff2018-11-303-6/+56
| |\ \
| * | | feat(instant): Close and View Transaction analytics eventsSteve Klebanoff2018-11-281-1/+6
* | | | Merge branch 'feature/instant/prod-env-switches-cdn' into feature/instant/rol...Steve Klebanoff2018-12-014-9/+172
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'development' into feature/instant/prod-env-switches-cdnSteve Klebanoff2018-12-013-6/+168
| |\ \ \ | | | |/ | | |/|
| | * | assetAmount -> assetBuyAmountSteve Klebanoff2018-11-301-2/+2
| | * | Merge branch 'development' into feature/instant/quote-analyticsSteve Klebanoff2018-11-291-1/+22
| | |\ \
| | | * | Merge branch 'development' into feature/instant/install-analyticsSteve Klebanoff2018-11-281-0/+6
| | | |\|
| | | * | feat(instant): Install Wallet analyticsSteve Klebanoff2018-11-281-0/+10
| | | * | Track install wallet clickedSteve Klebanoff2018-11-281-1/+4
| | * | | Use base unit valueSteve Klebanoff2018-11-291-1/+1
| | * | | Move fetch origin out of optionsSteve Klebanoff2018-11-292-11/+11
| | * | | fetchedVia -> fetchOriginSteve Klebanoff2018-11-293-8/+12
| | * | | QuoteFetchedVia -> QuoteFetchOriginSteve Klebanoff2018-11-293-7/+7
| | * | | Take out asset name and data as we can use the selected event propertiesSteve Klebanoff2018-11-292-16/+2
| | * | | Tracking quote errorsSteve Klebanoff2018-11-282-0/+23
| | * | | feat(instant): Quote fetch trackingSteve Klebanoff2018-11-283-3/+19
| | | |/ | | |/|
| | * | Merge branch 'development' into feature/instant/dropdown-analyticsSteve Klebanoff2018-11-281-0/+55
| | |\|
| | | * Merge branch 'development' into feature/instant/events-buyBrandon Millman2018-11-281-3/+25
| | | |\
| | | * | feat(instant): change event properties to ms times instead of unix timestampsBrandon Millman2018-11-281-8/+5
| | | * | Merge branch 'development' into feature/instant/events-buyBrandon Millman2018-11-271-0/+27
| | | |\ \
| | | * | | feat(instant): add expectedEndTimeUnix and actualEndTimeUnix to buy eventsBrandon Millman2018-11-271-8/+23
| | | * | | feat(instant): add buyQuote properties to buy eventsBrandon Millman2018-11-271-7/+36
| | | * | | feat(instant): add txHash to relevant buy eventsBrandon Millman2018-11-271-3/+3
| | | * | | feat(instant): implement buy events without associated propertiesBrandon Millman2018-11-271-0/+14
| | * | | | Merge branch 'development' into feature/instant/dropdown-analyticsSteve Klebanoff2018-11-281-3/+25
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | | * | | Set selected asset to noneSteve Klebanoff2018-11-271-6/+2
| | | * | | Track numberAvailableAssets, selectedAssetName, selectedAssetData event prope...Steve Klebanoff2018-11-271-2/+14
| | | * | | Fix dupe merge issueSteve Klebanoff2018-11-271-1/+0
| | | * | | Merge branch 'development' into feature/instant/token-picker-eventsSteve Klebanoff2018-11-271-0/+27
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | * | | feat(instant): Event tracking for token selectorSteve Klebanoff2018-11-271-1/+6
| | | * | | Token selector searchedSteve Klebanoff2018-11-271-0/+3
| | | * | | Token Selector open, closed, choseSteve Klebanoff2018-11-271-0/+7
| | | | |/ | | | |/|
| | * | | feat(instant): Add analytics events for payment dropdownSteve Klebanoff2018-11-281-0/+6
| | | |/ | | |/|
| | * | Merge branch 'development' into feature/instant/open-close-eventsSteve Klebanoff2018-11-272-14/+22
| | |\|
| | * | Send in explicit propsSteve Klebanoff2018-11-221-16/+14
| | * | feat(instant): Add more event properties to heapSteve Klebanoff2018-11-211-0/+6
| | * | Move out generating of event properties, and send in orderSourceSteve Klebanoff2018-11-211-0/+23
| * | | cdn -> dischargeTarget, and report to heapSteve Klebanoff2018-12-011-0/+1
| * | | feat: write version info directly to exported objectfragosti2018-11-291-8/+0
| * | | feat: write version info to windowfragosti2018-11-291-0/+8
| | |/ | |/|
* | | Merge branch 'development' into feature/instant/rollbar-envSteve Klebanoff2018-11-272-14/+22
|\| |
| * | chore(instant): revert usage of event propertiesBrandon Millman2018-11-221-10/+3
| * | chore(instant): refactor usage of event properties in heapBrandon Millman2018-11-222-15/+21
| * | feat(instant): implement account related eventsBrandon Millman2018-11-211-2/+11
| |/
* | EMBEDDED_DOMAINS -> HOST_DOMAINSSteve Klebanoff2018-11-271-2/+2
* | Host whitelist so we don't get errors from embedded siteSteve Klebanoff2018-11-221-1/+2
* | LintingSteve Klebanoff2018-11-221-1/+1
* | Use ROLLBAR_ENABLED constant, and change ROLLBAR_ENVIRONMENT to INSTANT_ENVIR...Steve Klebanoff2018-11-221-10/+3
* | Move rollbar setup into function, move setting up into providerSteve Klebanoff2018-11-221-33/+33
* | Always report unexpected errors. Move error message generation into helper f...Steve Klebanoff2018-11-222-21/+25
* | LintingSteve Klebanoff2018-11-211-1/+1
* | Explicit error reportingSteve Klebanoff2018-11-213-3/+9
* | feat(instant): Report errors to rollbarSteve Klebanoff2018-11-211-0/+68
|/
* Get heap analytics id from ENV variableSteve Klebanoff2018-11-201-10/+8
* Change disabled analytics name, add assertion, and always setSteve Klebanoff2018-11-201-4/+4
* Add way to disable via propsSteve Klebanoff2018-11-171-3/+20
* Better way of reporting Fallback providerSteve Klebanoff2018-11-173-7/+1
* Specify fallback web3 provider in analyticsSteve Klebanoff2018-11-172-0/+6
* Remove old functionSteve Klebanoff2018-11-171-2/+0
* Widget -> InstantSteve Klebanoff2018-11-171-0/+2
* Getting rid of unused function, and using track prefixSteve Klebanoff2018-11-171-4/+2
* Merge branch 'development' into feature/instant/heapSteve Klebanoff2018-11-172-23/+28
|\
| * Send in affiliate info as optionSteve Klebanoff2018-11-161-3/+2
| * Have heartbeat update not trigger errorsSteve Klebanoff2018-11-162-21/+27
* | Disable tslint for unused function so we can include this for future tracking...Steve Klebanoff2018-11-171-0/+1
* | Report on git sha and npm version of buildSteve Klebanoff2018-11-171-2/+4
* | null -> undefinedSteve Klebanoff2018-11-171-2/+2
* | Add initials to TODO noteSteve Klebanoff2018-11-171-1/+1
* | Take out old TODOSteve Klebanoff2018-11-171-1/+0
* | Switch heap id on environment, and make sure app id is what we expectSteve Klebanoff2018-11-171-2/+14
* | We may not know num available assets available when wallet ready, so not trac...Steve Klebanoff2018-11-171-1/+1
* | Make user and event properties more specificSteve Klebanoff2018-11-172-5/+16
* | Typesafe analytic actionsSteve Klebanoff2018-11-172-25/+44
* | LintingSteve Klebanoff2018-11-161-1/+0
* | Take out console.logsSteve Klebanoff2018-11-161-3/+0
* | Introduce ANALYTICS_ENABLED constantSteve Klebanoff2018-11-161-0/+6
* | Use pure functions instead of classSteve Klebanoff2018-11-161-27/+24
* | feat(instant): Heap middleware and first tracking eventsSteve Klebanoff2018-11-162-7/+41
* | First pass on widget version of heapSteve Klebanoff2018-11-161-0/+87
|/
* feat: use capital values for enumsfragosti2018-11-151-19/+17
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-142-10/+10
|\
| * Merge https://github.com/0xProject/0x-monorepo into feature/instant/metamask-...fragosti2018-11-142-10/+10
| |\
| | * chore(instant): update selectedAssetAmount in the redux state to be named sel...Brandon Millman2018-11-142-10/+10
* | | feat: display the correct provider type and change unlock / install prompt co...fragosti2018-11-142-18/+47
* | | feat: change install wallet panel content based on browser and osfragosti2018-11-141-0/+42
|/ /
* | fix: rename handler creator namefragosti2018-11-131-1/+1
* | fix: remove requirement of default case in all switch statementsfragosti2018-11-132-4/+1
* | feat: integrate wallet flow with heartbeat and other branchesfragosti2018-11-131-2/+2
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-103-2/+62
|\|
| * lintingSteve Klebanoff2018-11-101-0/+1
| * Lodash noopSteve Klebanoff2018-11-101-1/+1
| * Using built in intervalUtils instead of rolling ownSteve Klebanoff2018-11-101-20/+5
| * Linting and renaming variablesSteve Klebanoff2018-11-103-11/+10
| * Use interface like named parameters hereSteve Klebanoff2018-11-101-1/+1
| * Emulate named parameters with interfaceSteve Klebanoff2018-11-101-3/+9
| * Use existing functions instead of writing our ownSteve Klebanoff2018-11-104-86/+21
| * Merge branch 'development' into feature/instant/buy-quote-heartbeatSteve Klebanoff2018-11-104-0/+68
| |\
| * | Variable name cleanupSteve Klebanoff2018-11-091-9/+9
| * | Remove unneeded Promise.resolveSteve Klebanoff2018-11-091-1/+0
| * | move files around and renameSteve Klebanoff2018-11-092-23/+18
| * | wip: BuyQuote heartbeatSteve Klebanoff2018-11-092-3/+33
| * | Make heartbeat more genericSteve Klebanoff2018-11-091-19/+24
| * | wip: abstract out updating buy quoteSteve Klebanoff2018-11-091-0/+55
| * | lintingSteve Klebanoff2018-11-091-0/+1
| * | feat(instant): Heartbeat for updating account infoSteve Klebanoff2018-11-091-0/+47
* | | feat: refactor button styles and add href to Textfragosti2018-11-101-0/+1
| |/ |/|
* | Merge pull request #1232 from 0xProject/feature/instant/account-state-changeBrandon Millman2018-11-092-21/+2
|\ \
| * \ Merge branch 'development' into feature/instant/account-state-changeBrandon Millman2018-11-091-0/+56
| |\ \ | | |/ | |/|
| * | chore(instant): fix lint errorsBrandon Millman2018-11-081-1/+1
| * | feat(instant): fetch balance at startupBrandon Millman2018-11-081-13/+0
| * | feat(instant): fetch account address at startup and drive account state changesBrandon Millman2018-11-081-7/+1
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-091-0/+56
|\ \ \ | | |/ | |/|
| * | fix(instant): update buy quote at start up in the case of default amountBrandon Millman2018-11-081-0/+56
| |/
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-094-16/+120
|\|
| * feat(instant): add Account to the ProviderStateBrandon Millman2018-11-081-0/+69
| * feat(instant): fallback to an empty wallet provider when none is injectedBrandon Millman2018-11-083-16/+51
* | feat: implement copy-to-clipboardfragosti2018-11-081-0/+7
* | feat: create PaymentMethodDropdownfragosti2018-11-081-0/+3
|/
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-037-54/+44
|\
| * Merge branch 'development' into fix/instant/decimal-fields-scaling-amount-inp...Steve Klebanoff2018-11-035-20/+19
| |\
| | * feat(instant): pass in provider through props, fallback to injected providerBrandon Millman2018-11-035-20/+19
| * | Use generic MaybeSteve Klebanoff2018-11-031-4/+4
| * | Merge branch 'development' into fix/instant/decimal-fields-scaling-amount-inp...Steve Klebanoff2018-11-033-8/+73
| |\|
| * | Move MaybeBigNumber functions into helperSteve Klebanoff2018-11-031-0/+25
| * | Getting rid of BigNumberInput in favor of BigNumberSteve Klebanoff2018-11-021-34/+0
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-11-033-8/+73
|\ \ \ | | |/ | |/|
| * | feat(instant): implement affiliateFeeInfo propBrandon Millman2018-11-031-1/+9
| * | Nice formatting of displayed timeSteve Klebanoff2018-10-311-0/+39
| * | Always return estimated time, just use default if not knownSteve Klebanoff2018-10-311-3/+14
| * | Remove old filesSteve Klebanoff2018-10-311-108/+0
| * | WIP: beginning of simulated progress bar componentSteve Klebanoff2018-10-311-1/+1
| * | Dispatching progressSteve Klebanoff2018-10-311-3/+13
| * | Remove old TODOSteve Klebanoff2018-10-311-1/+0
| * | Rename functions and get rid of old unused functionSteve Klebanoff2018-10-311-12/+4
| * | Stall at 95 percentSteve Klebanoff2018-10-311-27/+45
| * | WIP: Progress ticker with finishingSteve Klebanoff2018-10-311-0/+89
| * | return estimated stateSteve Klebanoff2018-10-301-6/+13
| |/
* | fix: change assetdatas for OMG and REP to be all lower case, make MKR bluefragosti2018-11-031-2/+5
* | feat: add asserts for new API additionsfragosti2018-11-021-0/+3
* | feat: implement basic erc20 token selectorfragosti2018-11-011-0/+7
* | feat: modify public API to allow for passing in available assets, or fetch as...fragosti2018-11-012-7/+42
|/
* Add comment and use constantSteve Klebanoff2018-10-301-2/+3
* Use polyfilled fetch from utilsSteve Klebanoff2018-10-301-2/+2
* async suffix and use polyfill fetch utilSteve Klebanoff2018-10-301-4/+4
* Introduce constants for eth gas station and coinbaseSteve Klebanoff2018-10-302-7/+7
* Use constant that exists nowSteve Klebanoff2018-10-301-5/+4
* gas price estimatorSteve Klebanoff2018-10-301-0/+45
* fix(instant): fix spelling error and BigNumber gte operationBrandon Millman2018-10-301-2/+2
* Merge branch 'development' into feature/instant/fixed-orders-in-render-methodBrandon Millman2018-10-303-3/+22
|\
| * Has Sufficient Funds/Balance -> Has Sufficient ETHSteve Klebanoff2018-10-302-2/+2
| * lintingSteve Klebanoff2018-10-271-5/+0
| * Simpler way of validaitng has enough ethSteve Klebanoff2018-10-271-30/+10
| * acccount for no addressSteve Klebanoff2018-10-272-10/+18
| * move funct into utilSteve Klebanoff2018-10-271-0/+30
| * Merge branch 'development' into feature/not-enough-ethSteve Klebanoff2018-10-273-2/+41
| |\
| * | feat(instant): Show message if user doesn't have enough ETHSteve Klebanoff2018-10-272-1/+10
| * | ethDecimals -> ETH_DECIMALSSteve Klebanoff2018-10-271-3/+3
* | | Refactor error handling such that errorMessage lives on the top level stateBrandon Millman2018-10-272-71/+26
* | | fix: init BigNumberInput not BigNumber when initializing statefragosti2018-10-271-7/+12
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-273-2/+41
|\ \ \ | | |/ | |/|
| * | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-262-2/+6
| |\|
| * | chore: dont override toString of BigNumber and other PR feedbackfragosti2018-10-262-9/+9
| * | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-251-0/+24
| |\ \
| * | | chore: run linterfragosti2018-10-252-2/+2
| * | | feat: cover more token symbol edge casesfragosti2018-10-241-1/+1
| * | | feat: add formatted symbol for asset uitlfragosti2018-10-241-1/+11
| * | | feat: support half-written decimal numbers in BigNumberInputfragosti2018-10-241-0/+29
* | | | feat: add assertions to render methodfragosti2018-10-271-0/+44
* | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-262-2/+6
|\ \ \ \ | | |_|/ | |/| |
| * | | txnHash -> txHashSteve Klebanoff2018-10-261-2/+2
| * | | Merge pull request #1180 from 0xProject/feature/instant/metamask-denialSteve Klebanoff2018-10-251-0/+4
| |\ \ \ | | |_|/ | |/| |
| | * | feat: Message when denying signing transactionSteve Klebanoff2018-10-251-1/+1
| | * | Message when signature deniedSteve Klebanoff2018-10-251-0/+4
| | |/
* | | fix: dont fail for mainnet assetData and non-mainnet networkfragosti2018-10-261-1/+4
* | | feat: flash an error if the wrong network is detectedfragosti2018-10-261-0/+4
* | | feat: supply render options from URLfragosti2018-10-261-1/+0
|/ /
* / Get rid of react-shared as a dependency, write own etherscanUtilSteve Klebanoff2018-10-251-0/+24
|/
* chore: run linterfragosti2018-10-201-1/+0
* fix: dont force NFTs to uppercase their namefragosti2018-10-191-1/+1
* feat: add network to state and use it where relevantfragosti2018-10-191-7/+7
* fix: error test undefined casefragosti2018-10-191-2/+2
* fix: add error message and move more logic to assetUtilsfragosti2018-10-191-2/+9
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-195-13/+98
|\
| * chore: change package org from 0xproject to 0xJacob Evans2018-10-186-7/+7
| * ReactNode as default for formatters, and show bold dashSteve Klebanoff2018-10-181-6/+14
| * handle other errorsSteve Klebanoff2018-10-181-1/+12
| * creating big error util file per francescos comment in PRSteve Klebanoff2018-10-183-50/+51
| * use lodash isUndefined per PR commentSteve Klebanoff2018-10-181-2/+4
| * export assetDataUtil big objSteve Klebanoff2018-10-182-14/+15
| * feat(instant): Handle AssetBuyer errorsSteve Klebanoff2018-10-183-0/+68
* | feat: MVP of passing in sraApiUrl, assetData and other settings from render m...fragosti2018-10-192-9/+34
|/
* Add tests for format and use toFixed instead of round for usdfragosti2018-10-171-1/+1
* Remove expiry buffer seconds option from AssetBuyer initfragosti2018-10-161-3/+1
* Put boundNoop in a util filefragosti2018-10-161-0/+5
* feat: have coinbase API return BigNumber for eth-usd price endpointfragosti2018-10-131-2/+4
* feat: populate order details with information from worst buy quotefragosti2018-10-121-0/+45
* feat: Move over features from zrx-buyerfragosti2018-10-114-0/+36