@credo-ts/question-answer 0.6.0-pr-2539-20251127090105 → 0.6.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/build/QuestionAnswerApi.mjs +2 -2
- package/build/_virtual/{_@oxc-project_runtime@0.97.0 → _@oxc-project_runtime@0.99.0}/helpers/decorate.mjs +1 -1
- package/build/_virtual/{_@oxc-project_runtime@0.97.0 → _@oxc-project_runtime@0.99.0}/helpers/decorateMetadata.mjs +1 -1
- package/build/_virtual/{_@oxc-project_runtime@0.97.0 → _@oxc-project_runtime@0.99.0}/helpers/decorateParam.mjs +1 -1
- package/build/messages/AnswerMessage.mjs +2 -2
- package/build/messages/QuestionMessage.mjs +2 -2
- package/build/repository/QuestionAnswerRepository.mjs +3 -3
- package/build/services/QuestionAnswerService.mjs +3 -3
- package/package.json +6 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "./_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "./_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "./_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "./_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
3
|
import { ValidResponse } from "./models/ValidResponse.mjs";
|
|
4
4
|
import { QuestionAnswerService } from "./services/QuestionAnswerService.mjs";
|
|
5
5
|
import "./services/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.99.0/helpers/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.99.0/helpers/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
3
|
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
4
|
import { Expose } from "class-transformer";
|
|
5
5
|
import { IsString } from "class-validator";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
3
|
import { ValidResponse } from "../models/ValidResponse.mjs";
|
|
4
4
|
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
5
5
|
import { Expose, Type } from "class-transformer";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
3
|
import { QuestionAnswerRecord } from "./QuestionAnswerRecord.mjs";
|
|
4
|
-
import { __decorateParam } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorateParam } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateParam.mjs";
|
|
5
5
|
import { EventEmitter, InjectionSymbols, Repository, inject, injectable } from "@credo-ts/core";
|
|
6
6
|
|
|
7
7
|
//#region src/repository/QuestionAnswerRepository.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
3
|
import { AnswerMessage } from "../messages/AnswerMessage.mjs";
|
|
4
4
|
import { QuestionAnswerState } from "../models/QuestionAnswerState.mjs";
|
|
5
5
|
import { QuestionMessage } from "../messages/QuestionMessage.mjs";
|
|
@@ -7,7 +7,7 @@ import "../messages/index.mjs";
|
|
|
7
7
|
import { QuestionAnswerEventTypes } from "../QuestionAnswerEvents.mjs";
|
|
8
8
|
import { QuestionAnswerRole } from "../QuestionAnswerRole.mjs";
|
|
9
9
|
import { QuestionAnswerRecord } from "../repository/QuestionAnswerRecord.mjs";
|
|
10
|
-
import { __decorateParam } from "../_virtual/_@oxc-project_runtime@0.
|
|
10
|
+
import { __decorateParam } from "../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateParam.mjs";
|
|
11
11
|
import { QuestionAnswerRepository } from "../repository/QuestionAnswerRepository.mjs";
|
|
12
12
|
import "../repository/index.mjs";
|
|
13
13
|
import { CredoError, EventEmitter, InjectionSymbols, inject, injectable } from "@credo-ts/core";
|
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@credo-ts/question-answer",
|
|
3
3
|
"exports": {
|
|
4
|
-
".":
|
|
5
|
-
"import": "./build/index.mjs",
|
|
6
|
-
"require": "./build/index.mjs",
|
|
7
|
-
"types": "./build/index.d.mts"
|
|
8
|
-
},
|
|
4
|
+
".": "./build/index.mjs",
|
|
9
5
|
"./package.json": "./package.json"
|
|
10
6
|
},
|
|
11
|
-
"version": "0.6.0
|
|
7
|
+
"version": "0.6.0",
|
|
12
8
|
"files": [
|
|
13
9
|
"build"
|
|
14
10
|
],
|
|
@@ -24,15 +20,15 @@
|
|
|
24
20
|
},
|
|
25
21
|
"dependencies": {
|
|
26
22
|
"class-transformer": "0.5.1",
|
|
27
|
-
"class-validator": "0.14.1",
|
|
23
|
+
"class-validator": "^0.14.1",
|
|
28
24
|
"rxjs": "^7.8.2",
|
|
29
|
-
"@credo-ts/core": "0.6.0
|
|
30
|
-
"@credo-ts/didcomm": "0.6.0
|
|
25
|
+
"@credo-ts/core": "0.6.0",
|
|
26
|
+
"@credo-ts/didcomm": "0.6.0"
|
|
31
27
|
},
|
|
32
28
|
"devDependencies": {
|
|
33
29
|
"reflect-metadata": "0.2.2",
|
|
34
30
|
"typescript": "~5.9.3",
|
|
35
|
-
"@credo-ts/node": "0.6.0
|
|
31
|
+
"@credo-ts/node": "0.6.0"
|
|
36
32
|
},
|
|
37
33
|
"scripts": {
|
|
38
34
|
"build": "tsdown --config-loader unconfig"
|