@solvapay/server 1.0.0-preview.2 → 1.0.0-preview.21
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.md +21 -0
- package/README.md +97 -32
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/edge.d.ts +2723 -287
- package/dist/edge.js +1192 -251
- package/dist/{esm-5GYCIXIY.js → esm-UW7WCMEK.js} +1 -1
- package/dist/index.cjs +1269 -246
- package/dist/index.d.cts +2793 -287
- package/dist/index.d.ts +2793 -287
- package/dist/index.js +1255 -251
- package/package.json +16 -6
- package/dist/chunk-R5U7XKVJ.js +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solvapay/server",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
"deno": "./dist/edge.js",
|
|
14
14
|
"import": "./dist/index.js",
|
|
15
15
|
"require": "./dist/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./edge": {
|
|
18
|
+
"types": "./dist/edge.d.ts",
|
|
19
|
+
"import": "./dist/edge.js",
|
|
20
|
+
"default": "./dist/edge.js"
|
|
16
21
|
}
|
|
17
22
|
},
|
|
18
23
|
"files": [
|
|
@@ -32,7 +37,10 @@
|
|
|
32
37
|
},
|
|
33
38
|
"sideEffects": false,
|
|
34
39
|
"dependencies": {
|
|
35
|
-
"@solvapay/core": "1.0.0-preview.
|
|
40
|
+
"@solvapay/core": "1.0.0-preview.21"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@solvapay/auth": "1.0.0-preview.21"
|
|
36
44
|
},
|
|
37
45
|
"devDependencies": {
|
|
38
46
|
"dotenv": "^17.2.3",
|
|
@@ -43,18 +51,20 @@
|
|
|
43
51
|
"typescript": "^5.5.4",
|
|
44
52
|
"vitest": "^2.0.5",
|
|
45
53
|
"@solvapay/demo-services": "0.0.0",
|
|
46
|
-
"@solvapay/
|
|
54
|
+
"@solvapay/auth": "1.0.0-preview.21",
|
|
55
|
+
"@solvapay/test-utils": "^0.0.0"
|
|
47
56
|
},
|
|
48
57
|
"scripts": {
|
|
49
58
|
"build": "tsup src/index.ts --format esm,cjs --dts --tsconfig tsconfig.build.json && tsup src/edge.ts --format esm --dts --tsconfig tsconfig.build.json",
|
|
50
59
|
"generate:types": "tsx scripts/generate-types.ts",
|
|
51
|
-
"test": "vitest run __tests__/paywall.unit.test.ts",
|
|
52
|
-
"test:unit": "vitest run __tests__/paywall.unit.test.ts",
|
|
60
|
+
"test": "vitest run __tests__/paywall.unit.test.ts __tests__/mcp-auth.unit.test.ts __tests__/bootstrap-mcp.unit.test.ts",
|
|
61
|
+
"test:unit": "vitest run __tests__/paywall.unit.test.ts __tests__/mcp-auth.unit.test.ts __tests__/bootstrap-mcp.unit.test.ts",
|
|
53
62
|
"test:integration": "vitest run __tests__/backend.integration.test.ts",
|
|
54
63
|
"test:integration:payment": "vitest run __tests__/payment-stripe.integration.test.ts",
|
|
55
64
|
"test:all": "vitest run",
|
|
56
65
|
"test:all:integration": "vitest run",
|
|
57
66
|
"test:watch": "vitest",
|
|
58
|
-
"lint": "
|
|
67
|
+
"lint": "eslint src",
|
|
68
|
+
"lint:fix": "eslint src --fix"
|
|
59
69
|
}
|
|
60
70
|
}
|
package/dist/chunk-R5U7XKVJ.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
-
}) : x)(function(x) {
|
|
5
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
__require,
|
|
15
|
-
__export
|
|
16
|
-
};
|