-
Notifications
You must be signed in to change notification settings - Fork 465
Conversation
…l provider to Provider
…c method but does not create a new instance since website depends on other properties being available
* development: (37 commits) Factor out redundant source param in parse order functions Fix marquee typo Throw error if cannot find error in table Integrate one-time dump and API for nonfungible.com (#1603) Change optional text props to mandatory in LedgerSignNote Add radar_orders parseRadarOrder test Add parser test for Radar orderbook parsing Moved calculateSlippage from parsers to transformers Show greater than less than when minority has a vote Prettier Recieved -> Received Fix style for address table Hide ledger sign note on error Revert broken formatting Added ledger sign notification Fix bug in ledger address selector where provider does not exist. fix null column constraint issue Add parsing radar order test Rename migration to what it is called on prod and qa Fix type bug around Radar response ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall - looks great. But I would argue that even though technically it's not a breaking change in code functionality - it's a change at a core of a public API that changes types and type names so it should be a major version bump.
packages/assert/src/index.ts
Outdated
@@ -59,6 +59,7 @@ export const assert = { | |||
isBoolean(variableName: string, value: boolean): void { | |||
assert.assert(_.isBoolean(value), assert.typeAssertionMessage(variableName, 'boolean', value)); | |||
}, | |||
// DEPRECATED: Please use providerUtils.standardizeOrThrow() instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment will live here forever and no one will ever see it. Can we use logUtils.warn
instead?
packages/assert/test/assert_test.ts
Outdated
@@ -154,18 +154,6 @@ describe('Assertions', () => { | |||
invalidInputs.forEach(input => expect(assert.isBoolean.bind(assert, variableName, input)).to.throw()); | |||
}); | |||
}); | |||
describe('#isWeb3Provider', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's live it here before we remove the code.
* development: Add constraint name to down phase as well Give the constraint an explicit name of token_orderbook_snapshots_pkey Remove comments Fix inconsistently named constraint
…stallation and the latest version has a bug
… by external devs
* development: Demonstrate calling contracts with tuple arrays (#1615) removed default meta tags in public/index.html fixed linting issue updated documentTitle component added metadata for pages (incomplete) fixed title comment-out removed react-document-title in favor of using react-helmet for consistency and bug fix
Description
This PR adds support for EIP 1193 & [email protected] providers and transforms supplied providers into a consistent internal provider interface.
Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.