@timeback/webhooks 0.1.2-beta.20260226043117 → 0.1.2-beta.20260303064453
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/constants.d.ts +0 -9
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/lib/index.d.ts +0 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/package.json +1 -3
package/dist/constants.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Configuration constants for the Webhooks client.
|
|
5
5
|
*/
|
|
6
|
-
import type { ClientUrlMaps, Platform } from '@timeback/internal-client-infra';
|
|
7
6
|
/**
|
|
8
7
|
* Environment variable names for Webhooks configuration.
|
|
9
8
|
*
|
|
@@ -18,12 +17,4 @@ export declare const WEBHOOKS_ENV_VARS: {
|
|
|
18
17
|
readonly clientId: readonly ["TIMEBACK_API_CLIENT_ID", "TIMEBACK_CLIENT_ID", "WEBHOOKS_CLIENT_ID"];
|
|
19
18
|
readonly clientSecret: readonly ["TIMEBACK_API_CLIENT_SECRET", "TIMEBACK_CLIENT_SECRET", "WEBHOOKS_CLIENT_SECRET"];
|
|
20
19
|
};
|
|
21
|
-
/**
|
|
22
|
-
* Get URL maps for a specific platform.
|
|
23
|
-
* Webhooks share the same base URL as the Caliper API.
|
|
24
|
-
*
|
|
25
|
-
* @param platform - Platform name
|
|
26
|
-
* @returns Client URL maps for the platform
|
|
27
|
-
*/
|
|
28
|
-
export declare function getUrlMapsForPlatform(platform?: Platform): ClientUrlMaps;
|
|
29
20
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;CASpB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -5156,7 +5156,7 @@ function handleIntersectionResults(result, left, right) {
|
|
|
5156
5156
|
result.issues.push(iss);
|
|
5157
5157
|
}
|
|
5158
5158
|
}
|
|
5159
|
-
const bothKeys = [...unrecKeys].filter(([,
|
|
5159
|
+
const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
|
|
5160
5160
|
if (bothKeys.length && unrecIssue) {
|
|
5161
5161
|
result.issues.push({ ...unrecIssue, keys: bothKeys });
|
|
5162
5162
|
}
|
|
@@ -11545,8 +11545,8 @@ class $ZodRegistry {
|
|
|
11545
11545
|
if (p) {
|
|
11546
11546
|
const pm = { ...this.get(p) ?? {} };
|
|
11547
11547
|
delete pm.id;
|
|
11548
|
-
const
|
|
11549
|
-
return Object.keys(
|
|
11548
|
+
const f = { ...pm, ...this._map.get(schema) };
|
|
11549
|
+
return Object.keys(f).length ? f : undefined;
|
|
11550
11550
|
}
|
|
11551
11551
|
return this._map.get(schema);
|
|
11552
11552
|
}
|
|
@@ -16886,6 +16886,7 @@ var QtiAssessmentItemUpdateInput = exports_external.object({
|
|
|
16886
16886
|
content: exports_external.record(exports_external.string(), exports_external.unknown())
|
|
16887
16887
|
}).strict();
|
|
16888
16888
|
var QtiAssessmentItemProcessResponseInput = exports_external.object({
|
|
16889
|
+
identifier: exports_external.string().min(1),
|
|
16889
16890
|
response: exports_external.union([exports_external.string(), exports_external.array(exports_external.string())])
|
|
16890
16891
|
}).strict();
|
|
16891
16892
|
var QtiAssessmentItemRef = exports_external.object({
|
package/dist/lib/index.d.ts
CHANGED
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timeback/webhooks",
|
|
3
|
-
"version": "0.1.2-beta.
|
|
3
|
+
"version": "0.1.2-beta.20260303064453",
|
|
4
4
|
"description": "Webhook management client SDK for Timeback",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@timeback/internal-client-infra": "0.0.0",
|
|
31
|
-
"@timeback/internal-constants": "0.0.0",
|
|
32
|
-
"@timeback/internal-logger": "0.0.0",
|
|
33
31
|
"@timeback/internal-test": "0.0.0",
|
|
34
32
|
"@timeback/internal-utils": "0.0.0",
|
|
35
33
|
"@timeback/types": "0.0.0",
|