Commit Graph

4 Commits

Author SHA1 Message Date
ekzyis 5d03e08514 Remove validate.schema as a trap door 2024-07-17 03:32:00 +02:00
ekzyis 6432ea7b44 Generate validation schema for NWC 2024-07-17 00:58:43 +02:00
ekzyis 5b2e835722 Separate client and server imports by files
* wallets now consist of an index.js, a client.js and a server.js file
* client.js is imported on the client and contains the client portion
* server.js is imported on the server and contains the server porition
* both reexport index.js so everything in index.js can be shared by client and server

* every wallet contains a client.js file since they are all imported on the client to show the cards

* client.js of every wallet is reexported as an array in wallets/client.js
* server.js of every wallet is reexported as an array in wallets/server.js

FIXME: for some reason, worker does not properly import the default export of wallets/server.js
2024-07-16 15:46:44 +02:00
ekzyis 7851366cd5 Put wallets into own folder 2024-07-16 07:54:27 +02:00