@thirdweb-dev/service-utils 0.4.22 → 0.4.23-nightly-0aea03e41-20240322213347
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/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.cjs.dev.js +11 -12
- package/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.cjs.prod.js +11 -12
- package/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.esm.js +11 -12
- package/dist/declarations/src/cf-worker/index.d.ts +1 -1
- package/dist/declarations/src/cf-worker/index.d.ts.map +1 -1
- package/dist/declarations/src/node/index.d.ts +1 -1
- package/dist/declarations/src/node/index.d.ts.map +1 -1
- package/node/dist/thirdweb-dev-service-utils-node.cjs.dev.js +9 -14
- package/node/dist/thirdweb-dev-service-utils-node.cjs.prod.js +9 -14
- package/node/dist/thirdweb-dev-service-utils-node.esm.js +9 -14
- package/package.json +1 -1
@@ -227,7 +227,6 @@ function bufferToHex(buffer) {
|
|
227
227
|
}
|
228
228
|
async function logHttpRequest(_ref) {
|
229
229
|
let {
|
230
|
-
source,
|
231
230
|
clientId,
|
232
231
|
req,
|
233
232
|
res,
|
@@ -242,24 +241,24 @@ async function logHttpRequest(_ref) {
|
|
242
241
|
});
|
243
242
|
const headers = req.headers;
|
244
243
|
console.log(JSON.stringify({
|
245
|
-
|
244
|
+
method: req.method,
|
246
245
|
pathname: req.url,
|
247
246
|
hasSecretKey: !!authorizationData.secretKey,
|
248
247
|
hasClientId: !!authorizationData.clientId,
|
249
248
|
hasJwt: !!authorizationData.jwt,
|
250
249
|
clientId: authorizationData.clientId,
|
251
|
-
isAuthed
|
250
|
+
isAuthed,
|
252
251
|
status: res.status,
|
253
|
-
sdkName: headers.get("x-sdk-name") ??
|
254
|
-
sdkVersion: headers.get("x-sdk-version") ??
|
255
|
-
platform: headers.get("x-sdk-platform") ??
|
256
|
-
os: headers.get("x-sdk-os") ??
|
257
|
-
latencyMs
|
252
|
+
sdkName: headers.get("x-sdk-name") ?? undefined,
|
253
|
+
sdkVersion: headers.get("x-sdk-version") ?? undefined,
|
254
|
+
platform: headers.get("x-sdk-platform") ?? undefined,
|
255
|
+
os: headers.get("x-sdk-os") ?? undefined,
|
256
|
+
latencyMs
|
258
257
|
}));
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
}
|
258
|
+
if (statusMessage) {
|
259
|
+
console.log(`statusMessage=${statusMessage}`);
|
260
|
+
}
|
261
|
+
} catch (err) {}
|
263
262
|
}
|
264
263
|
|
265
264
|
exports.rateLimit = index.rateLimit;
|
@@ -227,7 +227,6 @@ function bufferToHex(buffer) {
|
|
227
227
|
}
|
228
228
|
async function logHttpRequest(_ref) {
|
229
229
|
let {
|
230
|
-
source,
|
231
230
|
clientId,
|
232
231
|
req,
|
233
232
|
res,
|
@@ -242,24 +241,24 @@ async function logHttpRequest(_ref) {
|
|
242
241
|
});
|
243
242
|
const headers = req.headers;
|
244
243
|
console.log(JSON.stringify({
|
245
|
-
|
244
|
+
method: req.method,
|
246
245
|
pathname: req.url,
|
247
246
|
hasSecretKey: !!authorizationData.secretKey,
|
248
247
|
hasClientId: !!authorizationData.clientId,
|
249
248
|
hasJwt: !!authorizationData.jwt,
|
250
249
|
clientId: authorizationData.clientId,
|
251
|
-
isAuthed
|
250
|
+
isAuthed,
|
252
251
|
status: res.status,
|
253
|
-
sdkName: headers.get("x-sdk-name") ??
|
254
|
-
sdkVersion: headers.get("x-sdk-version") ??
|
255
|
-
platform: headers.get("x-sdk-platform") ??
|
256
|
-
os: headers.get("x-sdk-os") ??
|
257
|
-
latencyMs
|
252
|
+
sdkName: headers.get("x-sdk-name") ?? undefined,
|
253
|
+
sdkVersion: headers.get("x-sdk-version") ?? undefined,
|
254
|
+
platform: headers.get("x-sdk-platform") ?? undefined,
|
255
|
+
os: headers.get("x-sdk-os") ?? undefined,
|
256
|
+
latencyMs
|
258
257
|
}));
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
}
|
258
|
+
if (statusMessage) {
|
259
|
+
console.log(`statusMessage=${statusMessage}`);
|
260
|
+
}
|
261
|
+
} catch (err) {}
|
263
262
|
}
|
264
263
|
|
265
264
|
exports.rateLimit = index.rateLimit;
|
@@ -224,7 +224,6 @@ function bufferToHex(buffer) {
|
|
224
224
|
}
|
225
225
|
async function logHttpRequest(_ref) {
|
226
226
|
let {
|
227
|
-
source,
|
228
227
|
clientId,
|
229
228
|
req,
|
230
229
|
res,
|
@@ -239,24 +238,24 @@ async function logHttpRequest(_ref) {
|
|
239
238
|
});
|
240
239
|
const headers = req.headers;
|
241
240
|
console.log(JSON.stringify({
|
242
|
-
|
241
|
+
method: req.method,
|
243
242
|
pathname: req.url,
|
244
243
|
hasSecretKey: !!authorizationData.secretKey,
|
245
244
|
hasClientId: !!authorizationData.clientId,
|
246
245
|
hasJwt: !!authorizationData.jwt,
|
247
246
|
clientId: authorizationData.clientId,
|
248
|
-
isAuthed
|
247
|
+
isAuthed,
|
249
248
|
status: res.status,
|
250
|
-
sdkName: headers.get("x-sdk-name") ??
|
251
|
-
sdkVersion: headers.get("x-sdk-version") ??
|
252
|
-
platform: headers.get("x-sdk-platform") ??
|
253
|
-
os: headers.get("x-sdk-os") ??
|
254
|
-
latencyMs
|
249
|
+
sdkName: headers.get("x-sdk-name") ?? undefined,
|
250
|
+
sdkVersion: headers.get("x-sdk-version") ?? undefined,
|
251
|
+
platform: headers.get("x-sdk-platform") ?? undefined,
|
252
|
+
os: headers.get("x-sdk-os") ?? undefined,
|
253
|
+
latencyMs
|
255
254
|
}));
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
}
|
255
|
+
if (statusMessage) {
|
256
|
+
console.log(`statusMessage=${statusMessage}`);
|
257
|
+
}
|
258
|
+
} catch (err) {}
|
260
259
|
}
|
261
260
|
|
262
261
|
export { authorizeWorker, deriveClientIdFromSecretKeyHash, extractAuthorizationData, hashSecretKey, logHttpRequest, publishUsageEvents };
|
@@ -20,7 +20,7 @@ export declare function authorizeWorker(authInput: AuthInput, serviceConfig: Wor
|
|
20
20
|
export declare function extractAuthorizationData(authInput: AuthInput): Promise<AuthorizationInput>;
|
21
21
|
export declare function hashSecretKey(secretKey: string): Promise<string>;
|
22
22
|
export declare function deriveClientIdFromSecretKeyHash(secretKeyHash: string): string;
|
23
|
-
export declare function logHttpRequest({
|
23
|
+
export declare function logHttpRequest({ clientId, req, res, isAuthed, statusMessage, latencyMs, }: AuthInput & {
|
24
24
|
source: string;
|
25
25
|
res: Response;
|
26
26
|
isAuthed?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"../../../../src/cf-worker","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AAEnC,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD,OAAO,EAAE,WAAW,CAAC;IACrB,GAAG,EAAE,gBAAgB,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAIF,KAAK,SAAS,GAAG,aAAa,GAAG;IAC/B,GAAG,EAAE,OAAO,CAAC;CACd,CAAC;AAEF,wBAAsB,eAAe,CACnC,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,mBAAmB,GACjC,OAAO,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AAC,CA2E7B;AAED,wBAAsB,aAAa,CAAC,SAAS,EAAE,MAAM,mBAIpD;AAED,wBAAgB,+BAA+B,CAAC,aAAa,EAAE,MAAM,UAEpE;AAQD,wBAAsB,cAAc,CAAC,EACnC,QAAQ,EACR,GAAG,EACH,GAAG,EACH,QAAQ,EACR,aAAa,EACb,SAAS,GACV,EAAE,SAAS,GAAG;IAEb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,QAAQ,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,iBA0BA"}
|
@@ -33,7 +33,7 @@ export declare function authorizeNode(authInput: AuthInput, serviceConfig: NodeS
|
|
33
33
|
export declare function extractAuthorizationData(authInput: AuthInput): AuthorizationInput;
|
34
34
|
export declare function hashSecretKey(secretKey: string): string;
|
35
35
|
export declare function deriveClientIdFromSecretKeyHash(secretKeyHash: string): string;
|
36
|
-
export declare function logHttpRequest({
|
36
|
+
export declare function logHttpRequest({ clientId, req, res, isAuthed, statusMessage, latencyMs, }: AuthInput & {
|
37
37
|
source: string;
|
38
38
|
res: ServerResponse;
|
39
39
|
isAuthed?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"../../../../src/node","sources":["index.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,KAAK,EAAuB,eAAe,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD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SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,iBAAiB,GAC/B,OAAO,CAAC,mBAAmB,CAAC,CAsB9B;AAaD,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,SAAS,GACnB,kBAAkB,CA2FpB;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,UAE9C;AAED,wBAAgB,+BAA+B,CAAC,aAAa,EAAE,MAAM,UAEpE;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,GAAG,EACH,GAAG,EACH,QAAQ,EACR,aAAa,EACb,SAAS,GACV,EAAE,SAAS,GAAG;IAEb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,cAAc,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,QAwBA"}
|
@@ -143,7 +143,6 @@ function deriveClientIdFromSecretKeyHash(secretKeyHash) {
|
|
143
143
|
}
|
144
144
|
function logHttpRequest(_ref) {
|
145
145
|
let {
|
146
|
-
source,
|
147
146
|
clientId,
|
148
147
|
req,
|
149
148
|
res,
|
@@ -157,27 +156,23 @@ function logHttpRequest(_ref) {
|
|
157
156
|
clientId
|
158
157
|
});
|
159
158
|
const headers = req.headers;
|
160
|
-
const _statusMessage = statusMessage ?? res.statusMessage;
|
161
159
|
console.log(JSON.stringify({
|
162
|
-
|
160
|
+
method: req.method,
|
163
161
|
pathname: req.url,
|
164
162
|
hasSecretKey: !!authorizationData.secretKey,
|
165
163
|
hasClientId: !!authorizationData.clientId,
|
166
164
|
hasJwt: !!authorizationData.jwt,
|
167
165
|
clientId: authorizationData.clientId,
|
168
|
-
isAuthed
|
166
|
+
isAuthed,
|
169
167
|
status: res.statusCode,
|
170
|
-
statusMessage
|
171
|
-
sdkName: headers["x-sdk-name"] ??
|
172
|
-
sdkVersion: headers["x-sdk-version"] ??
|
173
|
-
platform: headers["x-sdk-platform"] ??
|
174
|
-
os: headers["x-sdk-os"] ??
|
175
|
-
latencyMs
|
168
|
+
statusMessage,
|
169
|
+
sdkName: headers["x-sdk-name"] ?? undefined,
|
170
|
+
sdkVersion: headers["x-sdk-version"] ?? undefined,
|
171
|
+
platform: headers["x-sdk-platform"] ?? undefined,
|
172
|
+
os: headers["x-sdk-os"] ?? undefined,
|
173
|
+
latencyMs
|
176
174
|
}));
|
177
|
-
|
178
|
-
} catch (err) {
|
179
|
-
console.error("Failed to log HTTP request:", err);
|
180
|
-
}
|
175
|
+
} catch (err) {}
|
181
176
|
}
|
182
177
|
|
183
178
|
exports.rateLimit = index.rateLimit;
|
@@ -143,7 +143,6 @@ function deriveClientIdFromSecretKeyHash(secretKeyHash) {
|
|
143
143
|
}
|
144
144
|
function logHttpRequest(_ref) {
|
145
145
|
let {
|
146
|
-
source,
|
147
146
|
clientId,
|
148
147
|
req,
|
149
148
|
res,
|
@@ -157,27 +156,23 @@ function logHttpRequest(_ref) {
|
|
157
156
|
clientId
|
158
157
|
});
|
159
158
|
const headers = req.headers;
|
160
|
-
const _statusMessage = statusMessage ?? res.statusMessage;
|
161
159
|
console.log(JSON.stringify({
|
162
|
-
|
160
|
+
method: req.method,
|
163
161
|
pathname: req.url,
|
164
162
|
hasSecretKey: !!authorizationData.secretKey,
|
165
163
|
hasClientId: !!authorizationData.clientId,
|
166
164
|
hasJwt: !!authorizationData.jwt,
|
167
165
|
clientId: authorizationData.clientId,
|
168
|
-
isAuthed
|
166
|
+
isAuthed,
|
169
167
|
status: res.statusCode,
|
170
|
-
statusMessage
|
171
|
-
sdkName: headers["x-sdk-name"] ??
|
172
|
-
sdkVersion: headers["x-sdk-version"] ??
|
173
|
-
platform: headers["x-sdk-platform"] ??
|
174
|
-
os: headers["x-sdk-os"] ??
|
175
|
-
latencyMs
|
168
|
+
statusMessage,
|
169
|
+
sdkName: headers["x-sdk-name"] ?? undefined,
|
170
|
+
sdkVersion: headers["x-sdk-version"] ?? undefined,
|
171
|
+
platform: headers["x-sdk-platform"] ?? undefined,
|
172
|
+
os: headers["x-sdk-os"] ?? undefined,
|
173
|
+
latencyMs
|
176
174
|
}));
|
177
|
-
|
178
|
-
} catch (err) {
|
179
|
-
console.error("Failed to log HTTP request:", err);
|
180
|
-
}
|
175
|
+
} catch (err) {}
|
181
176
|
}
|
182
177
|
|
183
178
|
exports.rateLimit = index.rateLimit;
|
@@ -140,7 +140,6 @@ function deriveClientIdFromSecretKeyHash(secretKeyHash) {
|
|
140
140
|
}
|
141
141
|
function logHttpRequest(_ref) {
|
142
142
|
let {
|
143
|
-
source,
|
144
143
|
clientId,
|
145
144
|
req,
|
146
145
|
res,
|
@@ -154,27 +153,23 @@ function logHttpRequest(_ref) {
|
|
154
153
|
clientId
|
155
154
|
});
|
156
155
|
const headers = req.headers;
|
157
|
-
const _statusMessage = statusMessage ?? res.statusMessage;
|
158
156
|
console.log(JSON.stringify({
|
159
|
-
|
157
|
+
method: req.method,
|
160
158
|
pathname: req.url,
|
161
159
|
hasSecretKey: !!authorizationData.secretKey,
|
162
160
|
hasClientId: !!authorizationData.clientId,
|
163
161
|
hasJwt: !!authorizationData.jwt,
|
164
162
|
clientId: authorizationData.clientId,
|
165
|
-
isAuthed
|
163
|
+
isAuthed,
|
166
164
|
status: res.statusCode,
|
167
|
-
statusMessage
|
168
|
-
sdkName: headers["x-sdk-name"] ??
|
169
|
-
sdkVersion: headers["x-sdk-version"] ??
|
170
|
-
platform: headers["x-sdk-platform"] ??
|
171
|
-
os: headers["x-sdk-os"] ??
|
172
|
-
latencyMs
|
165
|
+
statusMessage,
|
166
|
+
sdkName: headers["x-sdk-name"] ?? undefined,
|
167
|
+
sdkVersion: headers["x-sdk-version"] ?? undefined,
|
168
|
+
platform: headers["x-sdk-platform"] ?? undefined,
|
169
|
+
os: headers["x-sdk-os"] ?? undefined,
|
170
|
+
latencyMs
|
173
171
|
}));
|
174
|
-
|
175
|
-
} catch (err) {
|
176
|
-
console.error("Failed to log HTTP request:", err);
|
177
|
-
}
|
172
|
+
} catch (err) {}
|
178
173
|
}
|
179
174
|
|
180
175
|
export { authorizeNode, deriveClientIdFromSecretKeyHash, extractAuthorizationData, hashSecretKey, logHttpRequest };
|
package/package.json
CHANGED