Derrick Hammer
|
243f350a54
|
*re-structure code
|
2022-09-21 08:59:22 -04:00 |
Derrick Hammer
|
a1abf09c28
|
*Router functions are now in app
|
2022-09-21 08:56:24 -04:00 |
Derrick Hammer
|
dc7bc3c5c4
|
*Consolidate all start functions to the main entry boot
|
2022-09-21 08:55:35 -04:00 |
Derrick Hammer
|
650666515b
|
*Move ssl start logic to its own start function
|
2022-09-21 08:55:05 -04:00 |
Derrick Hammer
|
e2ccfa5220
|
*Move app server logic on port 80 to a dedicated component
|
2022-09-21 08:54:27 -04:00 |
Derrick Hammer
|
b35989c8bb
|
*Update deps
|
2022-09-21 07:31:36 -04:00 |
Derrick Hammer
|
f4211342e1
|
*Define new api to check ssl on boot and on demand
|
2022-09-21 07:31:29 -04:00 |
Derrick Hammer
|
2aa8300ec6
|
*Clean up deps
|
2022-09-21 07:27:47 -04:00 |
Derrick Hammer
|
f0bdf0364e
|
*Remove --no-bytecode
|
2022-09-21 07:25:08 -04:00 |
Derrick Hammer
|
74b88393a6
|
*Include additional files to be packaged and remove ones that are in plugins
|
2022-09-21 07:16:08 -04:00 |
Derrick Hammer
|
7df0a5cf09
|
*clean up build script since most code has been ported to plugins
|
2022-09-21 07:15:39 -04:00 |
Derrick Hammer
|
3904dc72e3
|
*Update deps to use package forks that are CJS compat
|
2022-09-21 07:15:09 -04:00 |
Derrick Hammer
|
aac4b26398
|
*Remove unneeded externals
|
2022-09-21 07:14:30 -04:00 |
Derrick Hammer
|
8b68ce04d2
|
*option name needs to be retries
|
2022-09-21 07:14:10 -04:00 |
Derrick Hammer
|
4a4b46df5b
|
*Remove use of dynamic imports
|
2022-09-21 07:13:48 -04:00 |
Derrick Hammer
|
5362d83af6
|
*Rename pluginFolder to pluginDir
|
2022-09-20 12:45:24 -04:00 |
Derrick Hammer
|
5c8c4cc1dd
|
*add 15 ms delay (found via trial/error) on stream writes since there appears to be a event loop based backlog preventing some streams from being processed, causing client detected timeouts
|
2022-09-19 16:48:25 -04:00 |
Derrick Hammer
|
a3dc9aeb35
|
*Update deps
|
2022-09-09 06:25:06 -04:00 |
Derrick Hammer
|
f2f6f05923
|
*Pass domain to dnsProvider
|
2022-09-09 06:24:59 -04:00 |
Derrick Hammer
|
a12f6c0c89
|
*Update error codes
|
2022-09-09 06:19:08 -04:00 |
Derrick Hammer
|
fe021500c6
|
*Call loadUtilFunctions before loading plugins
|
2022-09-09 06:18:59 -04:00 |
Derrick Hammer
|
68422f0c1a
|
*Add a helper function loadUtilFunctions
|
2022-09-09 06:18:39 -04:00 |
Derrick Hammer
|
1143edfb81
|
*plugins need to load first
|
2022-09-09 06:18:14 -04:00 |
Derrick Hammer
|
522807d8af
|
*missed setting activeIp
|
2022-09-09 06:17:58 -04:00 |
Derrick Hammer
|
e7e4911961
|
*Remove unneeded deps
|
2022-09-09 05:18:36 -04:00 |
Derrick Hammer
|
08fdc88874
|
*Move dns and ssl control to plugin apis
*Add files plugin api
*Add logger to api
*Add seed getter to api
*Add app router to api
|
2022-09-09 05:17:25 -04:00 |
Derrick Hammer
|
8e881a7dc1
|
*Add support for a stream being canceled or aborted
|
2022-08-31 21:32:14 -04:00 |
Derrick Hammer
|
231c4a36b4
|
*add safety check to ensure the rpc response complies with the structure
|
2022-08-31 00:14:05 -04:00 |
Derrick Hammer
|
afc49802b0
|
*Set the updated property to the current timestamp in cacheRequest
|
2022-08-28 23:01:47 -04:00 |
Derrick Hammer
|
bd6c791675
|
*ensure we only cache if the method has it enabled
|
2022-08-28 23:01:17 -04:00 |
Derrick Hammer
|
e1e90957cf
|
*Use @lumeweb/relay-types
|
2022-08-28 22:40:25 -04:00 |
Derrick Hammer
|
d1b180c8cd
|
*loadPlugin needs to be bound
|
2022-08-28 22:39:51 -04:00 |
Derrick Hammer
|
a6c0d5aa7b
|
*Switch to @lumeweb/relay-types
|
2022-08-28 22:38:56 -04:00 |
Derrick Hammer
|
c347692490
|
*Move code to types package
|
2022-08-28 22:35:07 -04:00 |
Derrick Hammer
|
744ab44af8
|
*Move code to plugin
|
2022-08-28 22:34:48 -04:00 |
Derrick Hammer
|
6283e8c1b1
|
*Fix for loop iteration
|
2022-08-28 02:49:48 -04:00 |
Derrick Hammer
|
61e10d8121
|
*getMethods needs to be bound to the server instance
|
2022-08-28 02:49:20 -04:00 |
Derrick Hammer
|
16e8eab836
|
*Remove use of anyOf and set Avj allowUnionTypes
*Compile schema to validateRpcRequest
*Use errorsText to generate errors for validation
|
2022-08-28 02:48:53 -04:00 |
Derrick Hammer
|
44af1cf765
|
*add default to the Plugin type as an optional property
|
2022-08-28 00:27:48 -04:00 |
Derrick Hammer
|
17da91a558
|
*Importing a plugin may be ESM and so check for the default property
|
2022-08-28 00:27:20 -04:00 |
Derrick Hammer
|
7cfad02ae5
|
*remove globby and just use fs/path
|
2022-08-28 00:26:24 -04:00 |
Derrick Hammer
|
b9bb588a35
|
*pokt-rpc-endpoints needs to be imported dynamically
|
2022-08-27 22:25:05 -04:00 |
Derrick Hammer
|
d0b65f4dc2
|
*globby needs to be imported dynamically
|
2022-08-27 22:24:43 -04:00 |
Derrick Hammer
|
4d00de2b40
|
*Make data type any
|
2022-08-27 14:52:02 -04:00 |
Derrick Hammer
|
0c577c43bd
|
*Add getMethods to RPCServer for plugin api
|
2022-08-26 22:38:32 -04:00 |
Derrick Hammer
|
ad9d838d20
|
*Fix typo
|
2022-08-26 22:30:11 -04:00 |
Derrick Hammer
|
d73bb04a3d
|
*RPCMethod handler type needs to return a promise
|
2022-08-26 22:21:21 -04:00 |
Derrick Hammer
|
c2dfe1f162
|
*Rename PluginAPI to PluginApiManager
*Rename RelayPluginAPI to PluginAPI
|
2022-08-26 22:14:02 -04:00 |
Derrick Hammer
|
ba20b1f36e
|
*Dont put api methods in an api namespace
|
2022-08-26 22:12:13 -04:00 |
Derrick Hammer
|
b91fd5d8b5
|
*Add types to package.json
|
2022-08-26 21:58:42 -04:00 |