bosonprotocol / widgets Goto Github PK
View Code? Open in Web Editor NEWWidgets to interact with Boson Protocol
License: Apache License 2.0
Widgets to interact with Boson Protocol
License: Apache License 2.0
An HTTP network error can be seen in the console logs:
POST https://matic-mumbai.chainstacklabs.com/ net::ERR_CONNECTION_TIMED_OUT
NOTE: it's working inside the dApp (where the web3 provider is handle by the dApp), but failing in the standalone hosted widget or in woocommerce integration
In case an exchange id is specified, the widget can directly switched to the redeem form or the exchange details or the cancellation form.
As no check is realized to be sure the connected wallet owns the selected exchange, this may lead to transaction errors.
This should be avoided (message: "you do not own this exchange")
instead of the exchange details page
As a solution, I propose:
Redemption of an exchange from offer ID 323 (testing env) is failing.
The error comes from the XMTP layer, when trying to send the message to the seller (ID 110).
The issue is not happening when committing other offers from other sellers.
It may be due to an inconsistent version of chat-sdk used by the redemption widget compared to the dApp.
here is the PR to replicate in react-kit for the widgets
bosonprotocol/interface#944
Instead of keeping the same exchange details page, in case the wallet has changed, reinitialize the wizard step
At the moment, the env name (testing, staging, production) shall be passed to the widget as a URL query parameter.
It should not.
We should have different widgets deployments per environment (1 testing, 1 staging, 1 production). The env name should be passed as a build env var
Change 'Initialise' button colour from green to purple
At the moment, the redeem widget code suggests the email to be required only when the contact preference of the seller is set to "xmtp_and_email".
If the contact preference is "xmtp", the email is asked but not required.
However, the current implementation fails in doing that in most case.
The following PR bosonprotocol/core-components#642 forces the email to be always required.
This issue is opened to raise that point and reconsider whether or not we want to achieve the initially expected behaviour
remove the content in the main page and instead do a javascript redirect to https://docs.bosonprotocol.io/docs/quick_start/widgets (this page doesnt exist yet)
the signature needs to be created by the assistant wallet, not the admin one. This is because admin wallet may be multi-sig wallets, that can't really sign a message (Gnosis Safe implements a workaround to simulate such a signature, but such a solution would require to adapt our implementation in both the widget and the WC plugin, and will complexify the user flows). In addition, future version of WC plugin with Boson Enterprise will need such a signature that will be more easily implemented with the assistant wallet (owned by BE) than the admin one.
apply changes as for bosonprotocol/interface#677
After the wallet is connected, I click Disconnect and the following error appears in the logs:
chunk-LAFZBYO7.js:642 Uncaught (in promise) Error: No wagmi config found. Ensure you have set up a config: https://wagmi.sh/react/config
at hU (chunk-LAFZBYO7.js:642:11)
at chunk-LAFZBYO7.js:681:19
at useDisconnect.ts:15:11
at Object.De (react-dom.production.min.js:54:317)
at je (react-dom.production.min.js:54:471)
at react-dom.production.min.js:55:35
at Br (react-dom.production.min.js:105:68)
at Lr (react-dom.production.min.js:106:380)
at react-dom.production.min.js:117:104
at cu (react-dom.production.min.js:274:42)
At the moment, there is a callback URL call when the delivery information is submitted
We need another call after the redeem transaction is submitted and another when the redeem transaction is confirmed.
In addition, we need these calls to handle the possible errors, like:
https://widgets-test.on.fleek.co/#/dev: finance widget is not loading
https://widgets-test.on.fleek.co/#/finance?configId=testing-80001-0: page is empty
https://interface-test.on.fleek.co/#/sell/finances (assuming you're connected with a seller wallet): panel is empty
Hey team,
We've noticed that you're referencing a subgraph deployed on The Graph's hosted service in this repository. Just a heads-up: after June 12th, hosted service subgraph endpoints will no longer be available as the offering is being deprecated.
If you are the subgraph owner or maintainer, it's time to upgrade your subgraph to the network. This ensures everything keeps running smoothly and you get access to all the latest features and improvements. Here is a quick guide with all the upgrade steps.
If you're not the subgraph owner or maintainer, check Graph Explorer to see if the subgraph development team has already upgraded to the network. If you don’t find an upgraded subgraph, a friendly nudge to the subgraph development team would be greatly appreciated—it's a quick process that benefits everyone. Here's the upgrade guide with all the necessary steps for the subgraph development team.
Once the subgraph is upgraded to the network, you can create an API key and updated query URL in Subgraph Studio then update this repository to query from the new endpoint, https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>
Need more support or have more questions? Feel free to reach out to [email protected]. We're here to help!
Cheers,
Paka
Errors is raised in xmtp-js code.
Was not happening before the upgrade to XMTP v8 (#22)
same applies with REACT_APP_DEFAULT_TOKENS_LIST
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.