@solgate/server 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/app-CB9x11xM.d.ts +415 -0
- package/dist/chunk-MCKGQKYU.js +15 -0
- package/dist/chunk-MSHXG5G3.js +1358 -0
- package/dist/chunk-MYF3SW4P.js +43 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +12 -0
- package/dist/index.d.ts +156 -0
- package/dist/index.js +56 -0
- package/dist/lib-HMVXUU3V.js +694 -0
- package/dist/node.d.ts +9 -0
- package/dist/node.js +10 -0
- package/package.json +57 -0
package/dist/node.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as hono from 'hono';
|
|
2
|
+
import * as hono_types from 'hono/types';
|
|
3
|
+
import { S as ServerConfig, A as AppEnv } from './app-CB9x11xM.js';
|
|
4
|
+
import '@solgate/core';
|
|
5
|
+
|
|
6
|
+
declare function configFromEnv(env?: Record<string, string | undefined>): Promise<ServerConfig>;
|
|
7
|
+
declare function startNodeServer(port?: number): Promise<hono.Hono<AppEnv, hono_types.BlankSchema, "/">>;
|
|
8
|
+
|
|
9
|
+
export { configFromEnv, startNodeServer };
|
package/dist/node.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@solgate/server",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Self-hostable allowlist API: wallet auth, on-chain + social verification, exports, webhooks. Runs on Node, Vercel, Cloudflare Workers or Deno.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./node": {
|
|
15
|
+
"import": "./dist/node.js",
|
|
16
|
+
"types": "./dist/node.d.ts"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"bin": {
|
|
20
|
+
"solgate": "./dist/cli.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@hono/node-server": "^1.13.1",
|
|
30
|
+
"@noble/ed25519": "^2.1.0",
|
|
31
|
+
"@noble/hashes": "^1.5.0",
|
|
32
|
+
"bs58": "^6.0.0",
|
|
33
|
+
"hono": "^4.6.3",
|
|
34
|
+
"zod": "^3.23.8",
|
|
35
|
+
"@solgate/core": "0.2.0"
|
|
36
|
+
},
|
|
37
|
+
"optionalDependencies": {
|
|
38
|
+
"better-sqlite3": "^13.0.3"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/better-sqlite3": "^7.6.11",
|
|
42
|
+
"@types/node": "^22.7.4",
|
|
43
|
+
"tsx": "^4.19.1"
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/Solgate-code/solgate.git",
|
|
48
|
+
"directory": "packages/server"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/Solgate-code/solgate",
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsup src/index.ts src/node.ts src/cli.ts --format esm --dts --clean",
|
|
53
|
+
"dev": "tsx watch src/cli.ts",
|
|
54
|
+
"typecheck": "tsc --noEmit",
|
|
55
|
+
"test": "vitest run"
|
|
56
|
+
}
|
|
57
|
+
}
|