@metalabel/dfos-web-relay 0.13.0 → 0.13.1
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/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -995,11 +995,13 @@ var createHttpPeerClient = () => {
|
|
|
995
995
|
};
|
|
996
996
|
|
|
997
997
|
// src/relay.ts
|
|
998
|
-
import { createRequire } from "module";
|
|
999
998
|
import { dagCborCanonicalEncode as dagCborCanonicalEncode2, decodeJwsUnsafe as decodeJwsUnsafe3 } from "@metalabel/dfos-protocol/crypto";
|
|
1000
999
|
import { Hono } from "hono";
|
|
1001
1000
|
import { z } from "zod";
|
|
1002
1001
|
|
|
1002
|
+
// package.json
|
|
1003
|
+
var version = "0.13.1";
|
|
1004
|
+
|
|
1003
1005
|
// src/auth.ts
|
|
1004
1006
|
import {
|
|
1005
1007
|
matchesResource,
|
|
@@ -1147,8 +1149,6 @@ var sequenceOps = async (store) => {
|
|
|
1147
1149
|
};
|
|
1148
1150
|
|
|
1149
1151
|
// src/relay.ts
|
|
1150
|
-
var require2 = createRequire(import.meta.url);
|
|
1151
|
-
var { version: RELAY_VERSION } = require2("../package.json");
|
|
1152
1152
|
var MAX_OPERATIONS_PER_BATCH = 100;
|
|
1153
1153
|
var IngestBody = z.object({
|
|
1154
1154
|
operations: z.array(z.string()).min(1).max(MAX_OPERATIONS_PER_BATCH)
|
|
@@ -1239,7 +1239,7 @@ var createRelay = async (options) => {
|
|
|
1239
1239
|
return c.json({
|
|
1240
1240
|
did: relayDID,
|
|
1241
1241
|
protocol: "dfos-web-relay",
|
|
1242
|
-
version
|
|
1242
|
+
version,
|
|
1243
1243
|
capabilities: {
|
|
1244
1244
|
proof: true,
|
|
1245
1245
|
write: writeEnabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metalabel/dfos-web-relay",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DFOS Web Relay — verifying HTTP relay for identity chains, content chains, and content blobs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"zod": "^4.4.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@metalabel/dfos-protocol": "^0.13.
|
|
48
|
+
"@metalabel/dfos-protocol": "^0.13.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^24.10.4",
|
|
52
52
|
"tsup": "^8.5.1",
|
|
53
53
|
"tsx": "^4.22.4",
|
|
54
54
|
"vitest": "^4.1.8",
|
|
55
|
-
"@metalabel/dfos-protocol": "0.13.
|
|
55
|
+
"@metalabel/dfos-protocol": "0.13.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsup",
|